Class MedicationOrder
- java.lang.Object
-
- ca.uhn.fhir.model.api.BaseElement
-
- ca.uhn.fhir.model.dstu2.resource.BaseResource
-
- ca.uhn.fhir.model.dstu2.resource.MedicationOrder
-
- All Implemented Interfaces:
ca.uhn.fhir.model.api.ICompositeElement,ca.uhn.fhir.model.api.IElement,ca.uhn.fhir.model.api.IResource,ca.uhn.fhir.model.api.ISupportsUndeclaredExtensions,Serializable,org.hl7.fhir.instance.model.api.IBase,org.hl7.fhir.instance.model.api.IBaseResource
public class MedicationOrder extends BaseResource implements ca.uhn.fhir.model.api.IResource
HAPI/FHIR MedicationOrder Resource (clinical.medication)Definition: An order for both supply of the medication and the instructions for administration of the medication to a patient. The resource is called \"MedicationOrder\" rather than \"MedicationPrescription\" to generalize the use across inpatient and outpatient settings as well as for care plans, etc.
Requirements:
Profile Definition: http://hl7.org/fhir/profiles/MedicationOrder
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMedicationOrder.DispenseRequestBlock class for child element: MedicationOrder.dispenseRequest ()static classMedicationOrder.DosageInstructionBlock class for child element: MedicationOrder.dosageInstruction ()static classMedicationOrder.SubstitutionBlock class for child element: MedicationOrder.substitution ()
-
Field Summary
Fields Modifier and Type Field Description static ca.uhn.fhir.rest.gclient.TokenClientParamCODEFluent Client search parameter constant for codestatic ca.uhn.fhir.rest.gclient.DateClientParamDATEWRITTENFluent Client search parameter constant for datewrittenstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamENCOUNTERFluent Client search parameter constant for encounterstatic ca.uhn.fhir.rest.gclient.TokenClientParamIDENTIFIERFluent Client search parameter constant for identifierstatic ca.uhn.fhir.model.api.IncludeINCLUDE_ENCOUNTERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_MEDICATIONConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PATIENTConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.model.api.IncludeINCLUDE_PRESCRIBERConstant for fluent queries to be used to add include statements.static ca.uhn.fhir.rest.gclient.ReferenceClientParamMEDICATIONFluent Client search parameter constant for medicationstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPATIENTFluent Client search parameter constant for patientstatic ca.uhn.fhir.rest.gclient.ReferenceClientParamPRESCRIBERFluent Client search parameter constant for prescriberstatic StringSP_CODESearch parameter constant for codestatic StringSP_DATEWRITTENSearch parameter constant for datewrittenstatic StringSP_ENCOUNTERSearch parameter constant for encounterstatic StringSP_IDENTIFIERSearch parameter constant for identifierstatic StringSP_MEDICATIONSearch parameter constant for medicationstatic StringSP_PATIENTSearch parameter constant for patientstatic StringSP_PRESCRIBERSearch parameter constant for prescriberstatic StringSP_STATUSSearch parameter constant for statusstatic ca.uhn.fhir.rest.gclient.TokenClientParamSTATUSFluent Client search parameter constant for status-
Fields inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
RES_ID, SP_RES_ID, SP_RES_LANGUAGE
-
-
Constructor Summary
Constructors Constructor Description MedicationOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MedicationOrder.DosageInstructionaddDosageInstruction()Adds and returns a new value for dosageInstruction ()MedicationOrderaddDosageInstruction(MedicationOrder.DosageInstruction theValue)Adds a given new value for dosageInstruction ()IdentifierDtaddIdentifier()Adds and returns a new value for identifier (id)MedicationOrderaddIdentifier(IdentifierDt theValue)Adds a given new value for identifier (id)<T extends ca.uhn.fhir.model.api.IElement>
List<T>getAllPopulatedChildElementsOfType(Class<T> theType)DategetDateEnded()Gets the value(s) for dateEnded ().ca.uhn.fhir.model.primitive.DateTimeDtgetDateEndedElement()Gets the value(s) for dateEnded ().DategetDateWritten()Gets the value(s) for dateWritten (when.recorded).ca.uhn.fhir.model.primitive.DateTimeDtgetDateWrittenElement()Gets the value(s) for dateWritten (when.recorded).MedicationOrder.DispenseRequestgetDispenseRequest()Gets the value(s) for dispenseRequest ().List<MedicationOrder.DosageInstruction>getDosageInstruction()Gets the value(s) for dosageInstruction ().MedicationOrder.DosageInstructiongetDosageInstructionFirstRep()Gets the first repetition for dosageInstruction (), creating it if it does not already exist.ResourceReferenceDtgetEncounter()Gets the value(s) for encounter (context).List<IdentifierDt>getIdentifier()Gets the value(s) for identifier (id).IdentifierDtgetIdentifierFirstRep()Gets the first repetition for identifier (id), creating it if it does not already exist.ca.uhn.fhir.model.api.IDatatypegetMedication()Gets the value(s) for medication[x] (what).StringgetNote()Gets the value(s) for note ().ca.uhn.fhir.model.primitive.StringDtgetNoteElement()Gets the value(s) for note ().ResourceReferenceDtgetPatient()Gets the value(s) for patient (who.focus).ResourceReferenceDtgetPrescriber()Gets the value(s) for prescriber (who.actor).ResourceReferenceDtgetPriorPrescription()Gets the value(s) for priorPrescription ().ca.uhn.fhir.model.api.IDatatypegetReason()Gets the value(s) for reason[x] (why).CodeableConceptDtgetReasonEnded()Gets the value(s) for reasonEnded ().StringgetResourceName()StringgetStatus()Gets the value(s) for status (status).ca.uhn.fhir.model.primitive.BoundCodeDt<MedicationOrderStatusEnum>getStatusElement()Gets the value(s) for status (status).ca.uhn.fhir.context.FhirVersionEnumgetStructureFhirVersionEnum()MedicationOrder.SubstitutiongetSubstitution()Gets the value(s) for substitution ().booleanisEmpty()MedicationOrdersetDateEnded(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for dateEnded ()MedicationOrdersetDateEnded(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for dateEnded ()MedicationOrdersetDateEndedWithSecondsPrecision(Date theDate)Sets the value for dateEnded ()MedicationOrdersetDateWritten(ca.uhn.fhir.model.primitive.DateTimeDt theValue)Sets the value(s) for dateWritten (when.recorded)MedicationOrdersetDateWritten(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)Sets the value for dateWritten (when.recorded)MedicationOrdersetDateWrittenWithSecondsPrecision(Date theDate)Sets the value for dateWritten (when.recorded)MedicationOrdersetDispenseRequest(MedicationOrder.DispenseRequest theValue)Sets the value(s) for dispenseRequest ()MedicationOrdersetDosageInstruction(List<MedicationOrder.DosageInstruction> theValue)Sets the value(s) for dosageInstruction ()MedicationOrdersetEncounter(ResourceReferenceDt theValue)Sets the value(s) for encounter (context)MedicationOrdersetIdentifier(List<IdentifierDt> theValue)Sets the value(s) for identifier (id)MedicationOrdersetMedication(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for medication[x] (what)MedicationOrdersetNote(ca.uhn.fhir.model.primitive.StringDt theValue)Sets the value(s) for note ()MedicationOrdersetNote(String theString)Sets the value for note ()MedicationOrdersetPatient(ResourceReferenceDt theValue)Sets the value(s) for patient (who.focus)MedicationOrdersetPrescriber(ResourceReferenceDt theValue)Sets the value(s) for prescriber (who.actor)MedicationOrdersetPriorPrescription(ResourceReferenceDt theValue)Sets the value(s) for priorPrescription ()MedicationOrdersetReason(ca.uhn.fhir.model.api.IDatatype theValue)Sets the value(s) for reason[x] (why)MedicationOrdersetReasonEnded(CodeableConceptDt theValue)Sets the value(s) for reasonEnded ()MedicationOrdersetStatus(MedicationOrderStatusEnum theValue)Sets the value(s) for status (status)MedicationOrdersetStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<MedicationOrderStatusEnum> theValue)Sets the value(s) for status (status)MedicationOrdersetSubstitution(MedicationOrder.Substitution theValue)Sets the value(s) for substitution ()-
Methods inherited from class ca.uhn.fhir.model.dstu2.resource.BaseResource
getContained, getId, getIdElement, getLanguage, getMeta, getResourceMetadata, getText, isBaseEmpty, setContained, setId, setId, setId, setLanguage, setResourceMetadata, setText, toString
-
Methods inherited from class ca.uhn.fhir.model.api.BaseElement
addUndeclaredExtension, addUndeclaredExtension, addUndeclaredExtension, getAllUndeclaredExtensions, getFormatCommentsPost, getFormatCommentsPre, getUndeclaredExtensions, getUndeclaredExtensionsByUrl, getUndeclaredModifierExtensions, getUserData, hasFormatComment, setUserData
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.hl7.fhir.instance.model.api.IBase
fhirType, getFormatCommentsPost, getFormatCommentsPre, getUserData, hasFormatComment, setUserData
-
-
-
-
Field Detail
-
SP_DATEWRITTEN
public static final String SP_DATEWRITTEN
Search parameter constant for datewrittenDescription: Return prescriptions written on this date
Type: date
Path: MedicationOrder.dateWritten
- See Also:
- Constant Field Values
-
DATEWRITTEN
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATEWRITTEN
Fluent Client search parameter constant for datewrittenDescription: Return prescriptions written on this date
Type: date
Path: MedicationOrder.dateWritten
-
SP_ENCOUNTER
public static final String SP_ENCOUNTER
Search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationOrder.encounter
- See Also:
- Constant Field Values
-
ENCOUNTER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
Fluent Client search parameter constant for encounterDescription: Return prescriptions with this encounter identifier
Type: reference
Path: MedicationOrder.encounter
-
SP_IDENTIFIER
public static final String SP_IDENTIFIER
Search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: MedicationOrder.identifier
- See Also:
- Constant Field Values
-
IDENTIFIER
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
Fluent Client search parameter constant for identifierDescription: Return prescriptions with this external identifier
Type: token
Path: MedicationOrder.identifier
-
SP_MEDICATION
public static final String SP_MEDICATION
Search parameter constant for medicationDescription: Return administrations of this medication reference
Type: reference
Path: MedicationOrder.medicationReference
- See Also:
- Constant Field Values
-
MEDICATION
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam MEDICATION
Fluent Client search parameter constant for medicationDescription: Return administrations of this medication reference
Type: reference
Path: MedicationOrder.medicationReference
-
SP_CODE
public static final String SP_CODE
Search parameter constant for codeDescription: Return administrations of this medication code
Type: token
Path: MedicationOrder.medicationCodeableConcept
- See Also:
- Constant Field Values
-
CODE
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE
Fluent Client search parameter constant for codeDescription: Return administrations of this medication code
Type: token
Path: MedicationOrder.medicationCodeableConcept
-
SP_PATIENT
public static final String SP_PATIENT
Search parameter constant for patientDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationOrder.patient
- See Also:
- Constant Field Values
-
PATIENT
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
Fluent Client search parameter constant for patientDescription: The identity of a patient to list orders for
Type: reference
Path: MedicationOrder.patient
-
SP_STATUS
public static final String SP_STATUS
Search parameter constant for statusDescription: Status of the prescription
Type: token
Path: MedicationOrder.status
- See Also:
- Constant Field Values
-
STATUS
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
Fluent Client search parameter constant for statusDescription: Status of the prescription
Type: token
Path: MedicationOrder.status
-
SP_PRESCRIBER
public static final String SP_PRESCRIBER
Search parameter constant for prescriberDescription:
Type: reference
Path: MedicationOrder.prescriber
- See Also:
- Constant Field Values
-
PRESCRIBER
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PRESCRIBER
Fluent Client search parameter constant for prescriberDescription:
Type: reference
Path: MedicationOrder.prescriber
-
INCLUDE_ENCOUNTER
public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationOrder:encounter".
-
INCLUDE_MEDICATION
public static final ca.uhn.fhir.model.api.Include INCLUDE_MEDICATION
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationOrder:medication".
-
INCLUDE_PATIENT
public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationOrder:patient".
-
INCLUDE_PRESCRIBER
public static final ca.uhn.fhir.model.api.Include INCLUDE_PRESCRIBER
Constant for fluent queries to be used to add include statements. Specifies the path value of "MedicationOrder:prescriber".
-
-
Constructor Detail
-
MedicationOrder
public MedicationOrder()
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceorg.hl7.fhir.instance.model.api.IBase
-
getAllPopulatedChildElementsOfType
public <T extends ca.uhn.fhir.model.api.IElement> List<T> getAllPopulatedChildElementsOfType(Class<T> theType)
- Specified by:
getAllPopulatedChildElementsOfTypein interfaceca.uhn.fhir.model.api.ICompositeElement
-
getIdentifier
public List<IdentifierDt> getIdentifier()
Gets the value(s) for identifier (id). creating it if it does not exist. Will not returnnull.Definition: External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.
-
setIdentifier
public MedicationOrder setIdentifier(List<IdentifierDt> theValue)
Sets the value(s) for identifier (id)Definition: External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.
-
addIdentifier
public IdentifierDt addIdentifier()
Adds and returns a new value for identifier (id)Definition: External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.
-
addIdentifier
public MedicationOrder addIdentifier(IdentifierDt theValue)
Adds a given new value for identifier (id)Definition: External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.
- Parameters:
theValue- The identifier to add (must not benull)
-
getIdentifierFirstRep
public IdentifierDt getIdentifierFirstRep()
Gets the first repetition for identifier (id), creating it if it does not already exist.Definition: External identifier - one that would be used by another non-FHIR system - for example a re-imbursement system might issue its own id for each prescription that is created. This is particularly important where FHIR only provides part of an entire workflow process where records have to be tracked through an entire system.
-
getDateWrittenElement
public ca.uhn.fhir.model.primitive.DateTimeDt getDateWrittenElement()
Gets the value(s) for dateWritten (when.recorded). creating it if it does not exist. Will not returnnull.Definition: The date (and perhaps time) when the prescription was written
-
getDateWritten
public Date getDateWritten()
Gets the value(s) for dateWritten (when.recorded). creating it if it does not exist. This method may returnnull.Definition: The date (and perhaps time) when the prescription was written
-
setDateWritten
public MedicationOrder setDateWritten(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for dateWritten (when.recorded)Definition: The date (and perhaps time) when the prescription was written
-
setDateWritten
public MedicationOrder setDateWritten(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for dateWritten (when.recorded)Definition: The date (and perhaps time) when the prescription was written
-
setDateWrittenWithSecondsPrecision
public MedicationOrder setDateWrittenWithSecondsPrecision(Date theDate)
Sets the value for dateWritten (when.recorded)Definition: The date (and perhaps time) when the prescription was written
-
getStatusElement
public ca.uhn.fhir.model.primitive.BoundCodeDt<MedicationOrderStatusEnum> getStatusElement()
Gets the value(s) for status (status). creating it if it does not exist. Will not returnnull.Definition: A code specifying the state of the order. Generally this will be active or completed state
-
getStatus
public String getStatus()
Gets the value(s) for status (status). creating it if it does not exist. This method may returnnull.Definition: A code specifying the state of the order. Generally this will be active or completed state
-
setStatus
public MedicationOrder setStatus(ca.uhn.fhir.model.primitive.BoundCodeDt<MedicationOrderStatusEnum> theValue)
Sets the value(s) for status (status)Definition: A code specifying the state of the order. Generally this will be active or completed state
-
setStatus
public MedicationOrder setStatus(MedicationOrderStatusEnum theValue)
Sets the value(s) for status (status)Definition: A code specifying the state of the order. Generally this will be active or completed state
-
getDateEndedElement
public ca.uhn.fhir.model.primitive.DateTimeDt getDateEndedElement()
Gets the value(s) for dateEnded (). creating it if it does not exist. Will not returnnull.Definition: The date (and perhaps time) when the prescription was stopped
-
getDateEnded
public Date getDateEnded()
Gets the value(s) for dateEnded (). creating it if it does not exist. This method may returnnull.Definition: The date (and perhaps time) when the prescription was stopped
-
setDateEnded
public MedicationOrder setDateEnded(ca.uhn.fhir.model.primitive.DateTimeDt theValue)
Sets the value(s) for dateEnded ()Definition: The date (and perhaps time) when the prescription was stopped
-
setDateEnded
public MedicationOrder setDateEnded(Date theDate, ca.uhn.fhir.model.api.TemporalPrecisionEnum thePrecision)
Sets the value for dateEnded ()Definition: The date (and perhaps time) when the prescription was stopped
-
setDateEndedWithSecondsPrecision
public MedicationOrder setDateEndedWithSecondsPrecision(Date theDate)
Sets the value for dateEnded ()Definition: The date (and perhaps time) when the prescription was stopped
-
getReasonEnded
public CodeableConceptDt getReasonEnded()
Gets the value(s) for reasonEnded (). creating it if it does not exist. Will not returnnull.Definition: The reason why the prescription was stopped, if it was
-
setReasonEnded
public MedicationOrder setReasonEnded(CodeableConceptDt theValue)
Sets the value(s) for reasonEnded ()Definition: The reason why the prescription was stopped, if it was
-
getPatient
public ResourceReferenceDt getPatient()
Gets the value(s) for patient (who.focus). creating it if it does not exist. Will not returnnull.Definition: A link to a resource representing the person to whom the medication will be given.
-
setPatient
public MedicationOrder setPatient(ResourceReferenceDt theValue)
Sets the value(s) for patient (who.focus)Definition: A link to a resource representing the person to whom the medication will be given.
-
getPrescriber
public ResourceReferenceDt getPrescriber()
Gets the value(s) for prescriber (who.actor). creating it if it does not exist. Will not returnnull.Definition: The healthcare professional responsible for authorizing the prescription
-
setPrescriber
public MedicationOrder setPrescriber(ResourceReferenceDt theValue)
Sets the value(s) for prescriber (who.actor)Definition: The healthcare professional responsible for authorizing the prescription
-
getEncounter
public ResourceReferenceDt getEncounter()
Gets the value(s) for encounter (context). creating it if it does not exist. Will not returnnull.Definition: A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
-
setEncounter
public MedicationOrder setEncounter(ResourceReferenceDt theValue)
Sets the value(s) for encounter (context)Definition: A link to a resource that identifies the particular occurrence of contact between patient and health care provider.
-
getReason
public ca.uhn.fhir.model.api.IDatatype getReason()
Gets the value(s) for reason[x] (why). creating it if it does not exist. Will not returnnull.Definition: Can be the reason or the indication for writing the prescription.
-
setReason
public MedicationOrder setReason(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for reason[x] (why)Definition: Can be the reason or the indication for writing the prescription.
-
getNoteElement
public ca.uhn.fhir.model.primitive.StringDt getNoteElement()
Gets the value(s) for note (). creating it if it does not exist. Will not returnnull.Definition: Extra information about the prescription that could not be conveyed by the other attributes.
-
getNote
public String getNote()
Gets the value(s) for note (). creating it if it does not exist. This method may returnnull.Definition: Extra information about the prescription that could not be conveyed by the other attributes.
-
setNote
public MedicationOrder setNote(ca.uhn.fhir.model.primitive.StringDt theValue)
Sets the value(s) for note ()Definition: Extra information about the prescription that could not be conveyed by the other attributes.
-
setNote
public MedicationOrder setNote(String theString)
Sets the value for note ()Definition: Extra information about the prescription that could not be conveyed by the other attributes.
-
getMedication
public ca.uhn.fhir.model.api.IDatatype getMedication()
Gets the value(s) for medication[x] (what). creating it if it does not exist. Will not returnnull.Definition: Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
-
setMedication
public MedicationOrder setMedication(ca.uhn.fhir.model.api.IDatatype theValue)
Sets the value(s) for medication[x] (what)Definition: Identifies the medication being administered. This is a link to a resource that represents the medication which may be the details of the medication or simply an attribute carrying a code that identifies the medication from a known list of medications.
-
getDosageInstruction
public List<MedicationOrder.DosageInstruction> getDosageInstruction()
Gets the value(s) for dosageInstruction (). creating it if it does not exist. Will not returnnull.Definition: Indicates how the medication is to be used by the patient
-
setDosageInstruction
public MedicationOrder setDosageInstruction(List<MedicationOrder.DosageInstruction> theValue)
Sets the value(s) for dosageInstruction ()Definition: Indicates how the medication is to be used by the patient
-
addDosageInstruction
public MedicationOrder.DosageInstruction addDosageInstruction()
Adds and returns a new value for dosageInstruction ()Definition: Indicates how the medication is to be used by the patient
-
addDosageInstruction
public MedicationOrder addDosageInstruction(MedicationOrder.DosageInstruction theValue)
Adds a given new value for dosageInstruction ()Definition: Indicates how the medication is to be used by the patient
- Parameters:
theValue- The dosageInstruction to add (must not benull)
-
getDosageInstructionFirstRep
public MedicationOrder.DosageInstruction getDosageInstructionFirstRep()
Gets the first repetition for dosageInstruction (), creating it if it does not already exist.Definition: Indicates how the medication is to be used by the patient
-
getDispenseRequest
public MedicationOrder.DispenseRequest getDispenseRequest()
Gets the value(s) for dispenseRequest (). creating it if it does not exist. Will not returnnull.Definition: Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). Note that this information is NOT always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
-
setDispenseRequest
public MedicationOrder setDispenseRequest(MedicationOrder.DispenseRequest theValue)
Sets the value(s) for dispenseRequest ()Definition: Indicates the specific details for the dispense or medication supply part of a medication order (also known as a Medication Prescription). Note that this information is NOT always sent with the order. There may be in some settings (e.g. hospitals) institutional or system support for completing the dispense details in the pharmacy department.
-
getSubstitution
public MedicationOrder.Substitution getSubstitution()
Gets the value(s) for substitution (). creating it if it does not exist. Will not returnnull.Definition: Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.
-
setSubstitution
public MedicationOrder setSubstitution(MedicationOrder.Substitution theValue)
Sets the value(s) for substitution ()Definition: Indicates whether or not substitution can or should be part of the dispense. In some cases substitution must happen, in other cases substitution must not happen, and in others it does not matter. This block explains the prescriber's intent. If nothing is specified substitution may be done.
-
getPriorPrescription
public ResourceReferenceDt getPriorPrescription()
Gets the value(s) for priorPrescription (). creating it if it does not exist. Will not returnnull.Definition: A link to a resource representing an earlier order or prescription that this order supersedes
-
setPriorPrescription
public MedicationOrder setPriorPrescription(ResourceReferenceDt theValue)
Sets the value(s) for priorPrescription ()Definition: A link to a resource representing an earlier order or prescription that this order supersedes
-
getResourceName
public String getResourceName()
- Specified by:
getResourceNamein interfaceca.uhn.fhir.model.api.IResource
-
getStructureFhirVersionEnum
public ca.uhn.fhir.context.FhirVersionEnum getStructureFhirVersionEnum()
- Specified by:
getStructureFhirVersionEnumin interfaceorg.hl7.fhir.instance.model.api.IBaseResource- Specified by:
getStructureFhirVersionEnumin interfaceca.uhn.fhir.model.api.IResource
-
-