Class MedicationOrder
- All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals2,org.jvnet.jaxb2_commons.lang.HashCode2,org.jvnet.jaxb2_commons.lang.ToString2
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>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected DateTimeprotected DateTimeprotected MedicationOrderDispenseRequestprotected List<MedicationOrderDosageInstruction> protected Referenceprotected List<Identifier> protected CodeableConceptprotected Referenceprotected List<Annotation> protected Referenceprotected Referenceprotected Referenceprotected List<CodeableConcept> protected CodeableConceptprotected MedicationOrderStatusprotected MedicationOrderSubstitutionFields inherited from class org.hl7.fhir.DomainResource
contained, extension, modifierExtension, textFields inherited from class org.hl7.fhir.Resource
id, implicitRules, language, meta -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) booleanbooleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) Gets the value of the dateEnded property.Gets the value of the dateWritten property.Gets the value of the dispenseRequest property.Gets the value of the dosageInstruction property.Gets the value of the encounter property.Gets the value of the identifier property.Gets the value of the medicationCodeableConcept property.Gets the value of the medicationReference property.getNote()Gets the value of the note property.Gets the value of the patient property.Gets the value of the prescriber property.Gets the value of the priorPrescription property.Gets the value of the reasonCode property.Gets the value of the reasonEnded property.Gets the value of the reasonReference property.Gets the value of the status property.Gets the value of the substitution property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy2 strategy) voidsetDateEnded(DateTime value) Sets the value of the dateEnded property.voidsetDateWritten(DateTime value) Sets the value of the dateWritten property.voidSets the value of the dispenseRequest property.voidvoidsetEncounter(Reference value) Sets the value of the encounter property.voidsetIdentifier(List<Identifier> value) voidSets the value of the medicationCodeableConcept property.voidsetMedicationReference(Reference value) Sets the value of the medicationReference property.voidsetNote(List<Annotation> value) voidsetPatient(Reference value) Sets the value of the patient property.voidsetPrescriber(Reference value) Sets the value of the prescriber property.voidsetPriorPrescription(Reference value) Sets the value of the priorPrescription property.voidsetReasonCode(List<CodeableConcept> value) voidsetReasonEnded(CodeableConcept value) Sets the value of the reasonEnded property.voidsetReasonReference(List<Reference> value) voidsetStatus(MedicationOrderStatus value) Sets the value of the status property.voidSets the value of the substitution property.toString()withContained(Collection<ResourceContainer> values) withContained(ResourceContainer... values) withDateEnded(DateTime value) withDateWritten(DateTime value) withEncounter(Reference value) withExtension(Collection<Extension> values) withExtension(Extension... values) withIdentifier(Collection<Identifier> values) withIdentifier(Identifier... values) withImplicitRules(Uri value) withLanguage(Code value) withMedicationReference(Reference value) withModifierExtension(Collection<Extension> values) withModifierExtension(Extension... values) withNote(Collection<Annotation> values) withNote(Annotation... values) withPatient(Reference value) withPrescriber(Reference value) withPriorPrescription(Reference value) withReasonCode(Collection<CodeableConcept> values) withReasonCode(CodeableConcept... values) withReasonEnded(CodeableConcept value) withReasonReference(Collection<Reference> values) withReasonReference(Reference... values) withStatus(MedicationOrderStatus value) Methods inherited from class org.hl7.fhir.DomainResource
getContained, getExtension, getModifierExtension, getText, setContained, setExtension, setModifierExtension, setTextMethods inherited from class org.hl7.fhir.Resource
getId, getImplicitRules, getLanguage, getMeta, setId, setImplicitRules, setLanguage, setMeta
-
Field Details
-
identifier
-
status
-
medicationCodeableConcept
-
medicationReference
-
patient
-
encounter
-
dateWritten
-
prescriber
-
reasonCode
-
reasonReference
-
dateEnded
-
reasonEnded
-
note
-
dosageInstruction
-
dispenseRequest
-
substitution
-
priorPrescription
-
-
Constructor Details
-
MedicationOrder
public MedicationOrder()
-
-
Method Details
-
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 Jakarta XML Binding 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 -
getStatus
Gets the value of the status property.- Returns:
- possible object is
MedicationOrderStatus
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isMedicationOrderStatus
-
getMedicationCodeableConcept
Gets the value of the medicationCodeableConcept property.- Returns:
- possible object is
CodeableConcept
-
setMedicationCodeableConcept
Sets the value of the medicationCodeableConcept property.- Parameters:
value- allowed object isCodeableConcept
-
getMedicationReference
Gets the value of the medicationReference property.- Returns:
- possible object is
Reference
-
setMedicationReference
Sets the value of the medicationReference property.- Parameters:
value- allowed object isReference
-
getPatient
Gets the value of the patient property.- Returns:
- possible object is
Reference
-
setPatient
Sets the value of the patient property.- Parameters:
value- allowed object isReference
-
getEncounter
Gets the value of the encounter property.- Returns:
- possible object is
Reference
-
setEncounter
Sets the value of the encounter property.- Parameters:
value- allowed object isReference
-
getDateWritten
Gets the value of the dateWritten property.- Returns:
- possible object is
DateTime
-
setDateWritten
Sets the value of the dateWritten property.- Parameters:
value- allowed object isDateTime
-
getPrescriber
Gets the value of the prescriber property.- Returns:
- possible object is
Reference
-
setPrescriber
Sets the value of the prescriber property.- Parameters:
value- allowed object isReference
-
getReasonCode
Gets the value of the reasonCode 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getReasonReference
Gets the value of the reasonReference 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getDateEnded
Gets the value of the dateEnded property.- Returns:
- possible object is
DateTime
-
setDateEnded
Sets the value of the dateEnded property.- Parameters:
value- allowed object isDateTime
-
getReasonEnded
Gets the value of the reasonEnded property.- Returns:
- possible object is
CodeableConcept
-
setReasonEnded
Sets the value of the reasonEnded property.- Parameters:
value- allowed object isCodeableConcept
-
getNote
Gets the value of the note 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getDosageInstruction
Gets the value of the dosageInstruction 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 Jakarta XML Binding object. This is why there is not a
setmethod 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 -
getDispenseRequest
Gets the value of the dispenseRequest property.- Returns:
- possible object is
MedicationOrderDispenseRequest
-
setDispenseRequest
Sets the value of the dispenseRequest property.- Parameters:
value- allowed object isMedicationOrderDispenseRequest
-
getSubstitution
Gets the value of the substitution property.- Returns:
- possible object is
MedicationOrderSubstitution
-
setSubstitution
Sets the value of the substitution property.- Parameters:
value- allowed object isMedicationOrderSubstitution
-
getPriorPrescription
Gets the value of the priorPrescription property.- Returns:
- possible object is
Reference
-
setPriorPrescription
Sets the value of the priorPrescription property.- Parameters:
value- allowed object isReference
-
withIdentifier
-
withIdentifier
-
withStatus
-
withMedicationCodeableConcept
-
withMedicationReference
-
withPatient
-
withEncounter
-
withDateWritten
-
withPrescriber
-
withReasonCode
-
withReasonCode
-
withReasonReference
-
withReasonReference
-
withDateEnded
-
withReasonEnded
-
withNote
-
withNote
-
withDosageInstruction
-
withDosageInstruction
-
withDispenseRequest
-
withSubstitution
-
withPriorPrescription
-
withText
- Overrides:
withTextin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withContained
- Overrides:
withContainedin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withExtension
- Overrides:
withExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withModifierExtension
- Overrides:
withModifierExtensionin classDomainResource
-
withId
- Overrides:
withIdin classDomainResource
-
withMeta
- Overrides:
withMetain classDomainResource
-
withImplicitRules
- Overrides:
withImplicitRulesin classDomainResource
-
withLanguage
- Overrides:
withLanguagein classDomainResource
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy2 strategy) - Specified by:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals2- Overrides:
equalsin classDomainResource
-
equals
- 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
- Overrides:
toStringin classDomainResource
-
append
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendin classDomainResource
-
appendFields
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, StringBuilder buffer, org.jvnet.jaxb2_commons.lang.ToStringStrategy2 strategy) - Specified by:
appendFieldsin interfaceorg.jvnet.jaxb2_commons.lang.ToString2- Overrides:
appendFieldsin classDomainResource
-
setIdentifier
-
setReasonCode
-
setReasonReference
-
setNote
-
setDosageInstruction
-