public class Order extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for Order complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Order">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="date" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="subject" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="source" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="target" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<choice minOccurs="0">
<element name="reasonCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="reasonReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="when" type="{http://hl7.org/fhir}Order.When" minOccurs="0"/>
<element name="detail" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DateTime |
date |
protected java.util.List<Reference> |
detail |
protected java.util.List<Identifier> |
identifier |
protected CodeableConcept |
reasonCodeableConcept |
protected Reference |
reasonReference |
protected Reference |
source |
protected Reference |
subject |
protected Reference |
target |
protected OrderWhen |
when |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
Order() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
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.EqualsStrategy strategy) |
DateTime |
getDate()
Gets the value of the date property.
|
java.util.List<Reference> |
getDetail()
Gets the value of the detail property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
CodeableConcept |
getReasonCodeableConcept()
Gets the value of the reasonCodeableConcept property.
|
Reference |
getReasonReference()
Gets the value of the reasonReference property.
|
Reference |
getSource()
Gets the value of the source property.
|
Reference |
getSubject()
Gets the value of the subject property.
|
Reference |
getTarget()
Gets the value of the target property.
|
OrderWhen |
getWhen()
Gets the value of the when property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDate(DateTime value)
Sets the value of the date property.
|
void |
setReasonCodeableConcept(CodeableConcept value)
Sets the value of the reasonCodeableConcept property.
|
void |
setReasonReference(Reference value)
Sets the value of the reasonReference property.
|
void |
setSource(Reference value)
Sets the value of the source property.
|
void |
setSubject(Reference value)
Sets the value of the subject property.
|
void |
setTarget(Reference value)
Sets the value of the target property.
|
void |
setWhen(OrderWhen value)
Sets the value of the when property.
|
java.lang.String |
toString() |
Order |
withContained(java.util.Collection<ResourceContainer> values) |
Order |
withContained(ResourceContainer... values) |
Order |
withDate(DateTime value) |
Order |
withDetail(java.util.Collection<Reference> values) |
Order |
withDetail(Reference... values) |
Order |
withExtension(java.util.Collection<Extension> values) |
Order |
withExtension(Extension... values) |
Order |
withId(Id value) |
Order |
withIdentifier(java.util.Collection<Identifier> values) |
Order |
withIdentifier(Identifier... values) |
Order |
withImplicitRules(Uri value) |
Order |
withLanguage(Code value) |
Order |
withMeta(Meta value) |
Order |
withModifierExtension(java.util.Collection<Extension> values) |
Order |
withModifierExtension(Extension... values) |
Order |
withReasonCodeableConcept(CodeableConcept value) |
Order |
withReasonReference(Reference value) |
Order |
withSource(Reference value) |
Order |
withSubject(Reference value) |
Order |
withTarget(Reference value) |
Order |
withText(Narrative value) |
Order |
withWhen(OrderWhen value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected DateTime date
protected Reference subject
protected Reference source
protected Reference target
protected CodeableConcept reasonCodeableConcept
protected Reference reasonReference
protected OrderWhen when
protected java.util.List<Reference> detail
public java.util.List<Identifier> getIdentifier()
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 set method 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
public DateTime getDate()
DateTimepublic void setDate(DateTime value)
value - allowed object is
DateTimepublic Reference getSubject()
Referencepublic void setSubject(Reference value)
value - allowed object is
Referencepublic Reference getSource()
Referencepublic void setSource(Reference value)
value - allowed object is
Referencepublic Reference getTarget()
Referencepublic void setTarget(Reference value)
value - allowed object is
Referencepublic CodeableConcept getReasonCodeableConcept()
CodeableConceptpublic void setReasonCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getReasonReference()
Referencepublic void setReasonReference(Reference value)
value - allowed object is
Referencepublic OrderWhen getWhen()
OrderWhenpublic void setWhen(OrderWhen value)
value - allowed object is
OrderWhenpublic java.util.List<Reference> getDetail()
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 set method for the detail property.
For example, to add a new item, do as follows:
getDetail().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public Order withIdentifier(Identifier... values)
public Order withIdentifier(java.util.Collection<Identifier> values)
public Order withReasonCodeableConcept(CodeableConcept value)
public Order withText(Narrative value)
withText in class DomainResourcepublic Order withContained(ResourceContainer... values)
withContained in class DomainResourcepublic Order withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic Order withExtension(Extension... values)
withExtension in class DomainResourcepublic Order withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic Order withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic Order withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic Order withId(Id value)
withId in class DomainResourcepublic Order withMeta(Meta value)
withMeta in class DomainResourcepublic Order withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic Order withLanguage(Code value)
withLanguage in class DomainResourcepublic 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.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalsequals in class DomainResourcepublic boolean equals(java.lang.Object object)
equals in class DomainResourcepublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodehashCode in class DomainResourcepublic int hashCode()
hashCode in class DomainResourcepublic java.lang.String toString()
toString in class DomainResourcepublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringappend in class DomainResourcepublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringappendFields in class DomainResource