Class OrderResponse
- java.lang.Object
-
- org.hl7.fhir.Resource
-
- org.hl7.fhir.DomainResource
-
- org.hl7.fhir.OrderResponse
-
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
public class OrderResponse extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals2, org.jvnet.jaxb2_commons.lang.HashCode2, org.jvnet.jaxb2_commons.lang.ToString2
If the element is present, it must have either a @value, an @id, or extensionsJava class for OrderResponse complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="OrderResponse"> <complexContent> <extension base="{http://hl7.org/fhir}DomainResource"> <sequence> <element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/> <element name="request" type="{http://hl7.org/fhir}Reference"/> <element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/> <element name="who" type="{http://hl7.org/fhir}Reference" minOccurs="0"/> <element name="orderStatus" type="{http://hl7.org/fhir}OrderStatus"/> <element name="description" type="{http://hl7.org/fhir}string" minOccurs="0"/> <element name="fulfillment" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected DateTimedateprotected Stringdescriptionprotected java.util.List<Reference>fulfillmentprotected java.util.List<Identifier>identifierprotected OrderStatusorderStatusprotected Referencerequestprotected Referencewho-
Fields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, text
-
Fields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta
-
-
Constructor Summary
Constructors Constructor Description OrderResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringBuilderappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)java.lang.StringBuilderappendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)booleanequals(java.lang.Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)DateTimegetDate()Gets the value of the date property.StringgetDescription()Gets the value of the description property.java.util.List<Reference>getFulfillment()Gets the value of the fulfillment property.java.util.List<Identifier>getIdentifier()Gets the value of the identifier property.OrderStatusgetOrderStatus()Gets the value of the orderStatus property.ReferencegetRequest()Gets the value of the request property.ReferencegetWho()Gets the value of the who property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)voidsetDate(DateTime value)Sets the value of the date property.voidsetDescription(String value)Sets the value of the description property.voidsetOrderStatus(OrderStatus value)Sets the value of the orderStatus property.voidsetRequest(Reference value)Sets the value of the request property.voidsetWho(Reference value)Sets the value of the who property.java.lang.StringtoString()OrderResponsewithContained(java.util.Collection<ResourceContainer> values)OrderResponsewithContained(ResourceContainer... values)OrderResponsewithDate(DateTime value)OrderResponsewithDescription(String value)OrderResponsewithExtension(java.util.Collection<Extension> values)OrderResponsewithExtension(Extension... values)OrderResponsewithFulfillment(java.util.Collection<Reference> values)OrderResponsewithFulfillment(Reference... values)OrderResponsewithId(Id value)OrderResponsewithIdentifier(java.util.Collection<Identifier> values)OrderResponsewithIdentifier(Identifier... values)OrderResponsewithImplicitRules(Uri value)OrderResponsewithLanguage(Code value)OrderResponsewithMeta(Meta value)OrderResponsewithModifierExtension(java.util.Collection<Extension> values)OrderResponsewithModifierExtension(Extension... values)OrderResponsewithOrderStatus(OrderStatus value)OrderResponsewithRequest(Reference value)OrderResponsewithText(Narrative value)OrderResponsewithWho(Reference value)-
Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setText
-
Methods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
-
-
-
Field Detail
-
identifier
protected java.util.List<Identifier> identifier
-
request
protected Reference request
-
date
protected DateTime date
-
who
protected Reference who
-
orderStatus
protected OrderStatus orderStatus
-
description
protected String description
-
fulfillment
protected java.util.List<Reference> fulfillment
-
-
Method Detail
-
getIdentifier
public java.util.List<Identifier> getIdentifier()
Gets the value of the identifier property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the identifier property.For example, to add a new item, do as follows:
getIdentifier().add(newItem);Objects of the following type(s) are allowed in the list
Identifier
-
getRequest
public Reference getRequest()
Gets the value of the request property.- Returns:
- possible object is
Reference
-
setRequest
public void setRequest(Reference value)
Sets the value of the request property.- Parameters:
value- allowed object isReference
-
getDate
public DateTime getDate()
Gets the value of the date property.- Returns:
- possible object is
DateTime
-
setDate
public void setDate(DateTime value)
Sets the value of the date property.- Parameters:
value- allowed object isDateTime
-
getWho
public Reference getWho()
Gets the value of the who property.- Returns:
- possible object is
Reference
-
setWho
public void setWho(Reference value)
Sets the value of the who property.- Parameters:
value- allowed object isReference
-
getOrderStatus
public OrderStatus getOrderStatus()
Gets the value of the orderStatus property.- Returns:
- possible object is
OrderStatus
-
setOrderStatus
public void setOrderStatus(OrderStatus value)
Sets the value of the orderStatus property.- Parameters:
value- allowed object isOrderStatus
-
getDescription
public String getDescription()
Gets the value of the description property.- Returns:
- possible object is
String
-
setDescription
public void setDescription(String value)
Sets the value of the description property.- Parameters:
value- allowed object isString
-
getFulfillment
public java.util.List<Reference> getFulfillment()
Gets the value of the fulfillment property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the fulfillment property.For example, to add a new item, do as follows:
getFulfillment().add(newItem);Objects of the following type(s) are allowed in the list
Reference
-
withIdentifier
public OrderResponse withIdentifier(Identifier... values)
-
withIdentifier
public OrderResponse withIdentifier(java.util.Collection<Identifier> values)
-
withRequest
public OrderResponse withRequest(Reference value)
-
withDate
public OrderResponse withDate(DateTime value)
-
withWho
public OrderResponse withWho(Reference value)
-
withOrderStatus
public OrderResponse withOrderStatus(OrderStatus value)
-
withDescription
public OrderResponse withDescription(String value)
-
withFulfillment
public OrderResponse withFulfillment(Reference... values)
-
withFulfillment
public OrderResponse withFulfillment(java.util.Collection<Reference> values)
-
withText
public OrderResponse withText(Narrative value)
- Overrides:
withTextin classDomainResource
-
withContained
public OrderResponse withContained(ResourceContainer... values)
- Overrides:
withContainedin classDomainResource
-
withContained
public OrderResponse withContained(java.util.Collection<ResourceContainer> values)
- Overrides:
withContainedin classDomainResource
-
withExtension
public OrderResponse withExtension(Extension... values)
- Overrides:
withExtensionin classDomainResource
-
withExtension
public OrderResponse withExtension(java.util.Collection<Extension> values)
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
public OrderResponse withModifierExtension(Extension... values)
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
public OrderResponse withModifierExtension(java.util.Collection<Extension> values)
- Overrides:
withModifierExtensionin classDomainResource
-
withId
public OrderResponse withId(Id value)
- Overrides:
withIdin classDomainResource
-
withMeta
public OrderResponse withMeta(Meta value)
- Overrides:
withMetain classDomainResource
-
withImplicitRules
public OrderResponse withImplicitRules(Uri value)
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
public OrderResponse withLanguage(Code value)
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy)- Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classDomainResource
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode2- Overrides:
hashCodein classDomainResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDomainResource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classDomainResource
-
append
public java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, java.lang.StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy)- Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
-