public class MedicationOrder extends DomainResource implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for MedicationOrder complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MedicationOrder">
<complexContent>
<extension base="{http://hl7.org/fhir}DomainResource">
<sequence>
<element name="identifier" type="{http://hl7.org/fhir}Identifier" maxOccurs="unbounded" minOccurs="0"/>
<element name="status" type="{http://hl7.org/fhir}MedicationOrderStatus" minOccurs="0"/>
<choice>
<element name="medicationCodeableConcept" type="{http://hl7.org/fhir}CodeableConcept"/>
<element name="medicationReference" type="{http://hl7.org/fhir}Reference"/>
</choice>
<element name="patient" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="encounter" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="dateWritten" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="prescriber" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
<element name="reasonCode" type="{http://hl7.org/fhir}CodeableConcept" maxOccurs="unbounded" minOccurs="0"/>
<element name="reasonReference" type="{http://hl7.org/fhir}Reference" maxOccurs="unbounded" minOccurs="0"/>
<element name="dateEnded" type="{http://hl7.org/fhir}dateTime" minOccurs="0"/>
<element name="reasonEnded" type="{http://hl7.org/fhir}CodeableConcept" minOccurs="0"/>
<element name="note" type="{http://hl7.org/fhir}Annotation" maxOccurs="unbounded" minOccurs="0"/>
<element name="dosageInstruction" type="{http://hl7.org/fhir}MedicationOrder.DosageInstruction" maxOccurs="unbounded" minOccurs="0"/>
<element name="dispenseRequest" type="{http://hl7.org/fhir}MedicationOrder.DispenseRequest" minOccurs="0"/>
<element name="substitution" type="{http://hl7.org/fhir}MedicationOrder.Substitution" minOccurs="0"/>
<element name="priorPrescription" type="{http://hl7.org/fhir}Reference" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected DateTime |
dateEnded |
protected DateTime |
dateWritten |
protected MedicationOrderDispenseRequest |
dispenseRequest |
protected java.util.List<MedicationOrderDosageInstruction> |
dosageInstruction |
protected Reference |
encounter |
protected java.util.List<Identifier> |
identifier |
protected CodeableConcept |
medicationCodeableConcept |
protected Reference |
medicationReference |
protected java.util.List<Annotation> |
note |
protected Reference |
patient |
protected Reference |
prescriber |
protected Reference |
priorPrescription |
protected java.util.List<CodeableConcept> |
reasonCode |
protected CodeableConcept |
reasonEnded |
protected java.util.List<Reference> |
reasonReference |
protected MedicationOrderStatus |
status |
protected MedicationOrderSubstitution |
substitution |
contained, extension, modifierExtension, textid, implicitRules, language, meta| Constructor and Description |
|---|
MedicationOrder() |
| 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 |
getDateEnded()
Gets the value of the dateEnded property.
|
DateTime |
getDateWritten()
Gets the value of the dateWritten property.
|
MedicationOrderDispenseRequest |
getDispenseRequest()
Gets the value of the dispenseRequest property.
|
java.util.List<MedicationOrderDosageInstruction> |
getDosageInstruction()
Gets the value of the dosageInstruction property.
|
Reference |
getEncounter()
Gets the value of the encounter property.
|
java.util.List<Identifier> |
getIdentifier()
Gets the value of the identifier property.
|
CodeableConcept |
getMedicationCodeableConcept()
Gets the value of the medicationCodeableConcept property.
|
Reference |
getMedicationReference()
Gets the value of the medicationReference property.
|
java.util.List<Annotation> |
getNote()
Gets the value of the note property.
|
Reference |
getPatient()
Gets the value of the patient property.
|
Reference |
getPrescriber()
Gets the value of the prescriber property.
|
Reference |
getPriorPrescription()
Gets the value of the priorPrescription property.
|
java.util.List<CodeableConcept> |
getReasonCode()
Gets the value of the reasonCode property.
|
CodeableConcept |
getReasonEnded()
Gets the value of the reasonEnded property.
|
java.util.List<Reference> |
getReasonReference()
Gets the value of the reasonReference property.
|
MedicationOrderStatus |
getStatus()
Gets the value of the status property.
|
MedicationOrderSubstitution |
getSubstitution()
Gets the value of the substitution property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
void |
setDateEnded(DateTime value)
Sets the value of the dateEnded property.
|
void |
setDateWritten(DateTime value)
Sets the value of the dateWritten property.
|
void |
setDispenseRequest(MedicationOrderDispenseRequest value)
Sets the value of the dispenseRequest property.
|
void |
setEncounter(Reference value)
Sets the value of the encounter property.
|
void |
setMedicationCodeableConcept(CodeableConcept value)
Sets the value of the medicationCodeableConcept property.
|
void |
setMedicationReference(Reference value)
Sets the value of the medicationReference property.
|
void |
setPatient(Reference value)
Sets the value of the patient property.
|
void |
setPrescriber(Reference value)
Sets the value of the prescriber property.
|
void |
setPriorPrescription(Reference value)
Sets the value of the priorPrescription property.
|
void |
setReasonEnded(CodeableConcept value)
Sets the value of the reasonEnded property.
|
void |
setStatus(MedicationOrderStatus value)
Sets the value of the status property.
|
void |
setSubstitution(MedicationOrderSubstitution value)
Sets the value of the substitution property.
|
java.lang.String |
toString() |
MedicationOrder |
withContained(java.util.Collection<ResourceContainer> values) |
MedicationOrder |
withContained(ResourceContainer... values) |
MedicationOrder |
withDateEnded(DateTime value) |
MedicationOrder |
withDateWritten(DateTime value) |
MedicationOrder |
withDispenseRequest(MedicationOrderDispenseRequest value) |
MedicationOrder |
withDosageInstruction(java.util.Collection<MedicationOrderDosageInstruction> values) |
MedicationOrder |
withDosageInstruction(MedicationOrderDosageInstruction... values) |
MedicationOrder |
withEncounter(Reference value) |
MedicationOrder |
withExtension(java.util.Collection<Extension> values) |
MedicationOrder |
withExtension(Extension... values) |
MedicationOrder |
withId(Id value) |
MedicationOrder |
withIdentifier(java.util.Collection<Identifier> values) |
MedicationOrder |
withIdentifier(Identifier... values) |
MedicationOrder |
withImplicitRules(Uri value) |
MedicationOrder |
withLanguage(Code value) |
MedicationOrder |
withMedicationCodeableConcept(CodeableConcept value) |
MedicationOrder |
withMedicationReference(Reference value) |
MedicationOrder |
withMeta(Meta value) |
MedicationOrder |
withModifierExtension(java.util.Collection<Extension> values) |
MedicationOrder |
withModifierExtension(Extension... values) |
MedicationOrder |
withNote(Annotation... values) |
MedicationOrder |
withNote(java.util.Collection<Annotation> values) |
MedicationOrder |
withPatient(Reference value) |
MedicationOrder |
withPrescriber(Reference value) |
MedicationOrder |
withPriorPrescription(Reference value) |
MedicationOrder |
withReasonCode(CodeableConcept... values) |
MedicationOrder |
withReasonCode(java.util.Collection<CodeableConcept> values) |
MedicationOrder |
withReasonEnded(CodeableConcept value) |
MedicationOrder |
withReasonReference(java.util.Collection<Reference> values) |
MedicationOrder |
withReasonReference(Reference... values) |
MedicationOrder |
withStatus(MedicationOrderStatus value) |
MedicationOrder |
withSubstitution(MedicationOrderSubstitution value) |
MedicationOrder |
withText(Narrative value) |
getContained, getExtension, getModifierExtension, getText, setTextgetId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMetaprotected java.util.List<Identifier> identifier
protected MedicationOrderStatus status
protected CodeableConcept medicationCodeableConcept
protected Reference medicationReference
protected Reference patient
protected Reference encounter
protected DateTime dateWritten
protected Reference prescriber
protected java.util.List<CodeableConcept> reasonCode
protected java.util.List<Reference> reasonReference
protected DateTime dateEnded
protected CodeableConcept reasonEnded
protected java.util.List<Annotation> note
protected java.util.List<MedicationOrderDosageInstruction> dosageInstruction
protected MedicationOrderDispenseRequest dispenseRequest
protected MedicationOrderSubstitution substitution
protected Reference priorPrescription
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 MedicationOrderStatus getStatus()
MedicationOrderStatuspublic void setStatus(MedicationOrderStatus value)
value - allowed object is
MedicationOrderStatuspublic CodeableConcept getMedicationCodeableConcept()
CodeableConceptpublic void setMedicationCodeableConcept(CodeableConcept value)
value - allowed object is
CodeableConceptpublic Reference getMedicationReference()
Referencepublic void setMedicationReference(Reference value)
value - allowed object is
Referencepublic Reference getPatient()
Referencepublic void setPatient(Reference value)
value - allowed object is
Referencepublic Reference getEncounter()
Referencepublic void setEncounter(Reference value)
value - allowed object is
Referencepublic DateTime getDateWritten()
DateTimepublic void setDateWritten(DateTime value)
value - allowed object is
DateTimepublic Reference getPrescriber()
Referencepublic void setPrescriber(Reference value)
value - allowed object is
Referencepublic java.util.List<CodeableConcept> getReasonCode()
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 reasonCode property.
For example, to add a new item, do as follows:
getReasonCode().add(newItem);
Objects of the following type(s) are allowed in the list
CodeableConcept
public java.util.List<Reference> getReasonReference()
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 reasonReference property.
For example, to add a new item, do as follows:
getReasonReference().add(newItem);
Objects of the following type(s) are allowed in the list
Reference
public DateTime getDateEnded()
DateTimepublic void setDateEnded(DateTime value)
value - allowed object is
DateTimepublic CodeableConcept getReasonEnded()
CodeableConceptpublic void setReasonEnded(CodeableConcept value)
value - allowed object is
CodeableConceptpublic java.util.List<Annotation> getNote()
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 note property.
For example, to add a new item, do as follows:
getNote().add(newItem);
Objects of the following type(s) are allowed in the list
Annotation
public java.util.List<MedicationOrderDosageInstruction> getDosageInstruction()
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 dosageInstruction property.
For example, to add a new item, do as follows:
getDosageInstruction().add(newItem);
Objects of the following type(s) are allowed in the list
MedicationOrderDosageInstruction
public MedicationOrderDispenseRequest getDispenseRequest()
MedicationOrderDispenseRequestpublic void setDispenseRequest(MedicationOrderDispenseRequest value)
value - allowed object is
MedicationOrderDispenseRequestpublic MedicationOrderSubstitution getSubstitution()
MedicationOrderSubstitutionpublic void setSubstitution(MedicationOrderSubstitution value)
value - allowed object is
MedicationOrderSubstitutionpublic Reference getPriorPrescription()
Referencepublic void setPriorPrescription(Reference value)
value - allowed object is
Referencepublic MedicationOrder withIdentifier(Identifier... values)
public MedicationOrder withIdentifier(java.util.Collection<Identifier> values)
public MedicationOrder withStatus(MedicationOrderStatus value)
public MedicationOrder withMedicationCodeableConcept(CodeableConcept value)
public MedicationOrder withMedicationReference(Reference value)
public MedicationOrder withPatient(Reference value)
public MedicationOrder withEncounter(Reference value)
public MedicationOrder withDateWritten(DateTime value)
public MedicationOrder withPrescriber(Reference value)
public MedicationOrder withReasonCode(CodeableConcept... values)
public MedicationOrder withReasonCode(java.util.Collection<CodeableConcept> values)
public MedicationOrder withReasonReference(Reference... values)
public MedicationOrder withReasonReference(java.util.Collection<Reference> values)
public MedicationOrder withDateEnded(DateTime value)
public MedicationOrder withReasonEnded(CodeableConcept value)
public MedicationOrder withNote(Annotation... values)
public MedicationOrder withNote(java.util.Collection<Annotation> values)
public MedicationOrder withDosageInstruction(MedicationOrderDosageInstruction... values)
public MedicationOrder withDosageInstruction(java.util.Collection<MedicationOrderDosageInstruction> values)
public MedicationOrder withDispenseRequest(MedicationOrderDispenseRequest value)
public MedicationOrder withSubstitution(MedicationOrderSubstitution value)
public MedicationOrder withPriorPrescription(Reference value)
public MedicationOrder withText(Narrative value)
withText in class DomainResourcepublic MedicationOrder withContained(ResourceContainer... values)
withContained in class DomainResourcepublic MedicationOrder withContained(java.util.Collection<ResourceContainer> values)
withContained in class DomainResourcepublic MedicationOrder withExtension(Extension... values)
withExtension in class DomainResourcepublic MedicationOrder withExtension(java.util.Collection<Extension> values)
withExtension in class DomainResourcepublic MedicationOrder withModifierExtension(Extension... values)
withModifierExtension in class DomainResourcepublic MedicationOrder withModifierExtension(java.util.Collection<Extension> values)
withModifierExtension in class DomainResourcepublic MedicationOrder withId(Id value)
withId in class DomainResourcepublic MedicationOrder withMeta(Meta value)
withMeta in class DomainResourcepublic MedicationOrder withImplicitRules(Uri value)
withImplicitRules in class DomainResourcepublic MedicationOrder 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