public class MedicationOrder extends DomainResource
| Modifier and Type | Class and Description |
|---|---|
static class |
MedicationOrder.MedicationOrderDispenseRequestComponent |
static class |
MedicationOrder.MedicationOrderDosageInstructionComponent |
static class |
MedicationOrder.MedicationOrderStatus |
static class |
MedicationOrder.MedicationOrderStatusEnumFactory |
static class |
MedicationOrder.MedicationOrderSubstitutionComponent |
| Modifier and Type | Field and Description |
|---|---|
static String |
SP_CODE |
static String |
SP_DATEWRITTEN |
static String |
SP_ENCOUNTER |
static String |
SP_IDENTIFIER |
static String |
SP_MEDICATION |
static String |
SP_PATIENT |
static String |
SP_PRESCRIBER |
static String |
SP_STATUS |
| Constructor and Description |
|---|
MedicationOrder() |
MedicationOrder(Type medication) |
addExtension, addExtension, addModifierExtension, addModifierExtension, copyValues, getContained, getExtension, getModifierExtension, getText, hasContained, hasExtension, hasModifierExtension, hasText, setTextcopyValues, getId, getIdElement, getImplicitRules, getImplicitRulesElement, getLanguage, getLanguageElement, getMeta, hasId, hasIdElement, hasImplicitRules, hasImplicitRulesElement, hasLanguage, hasLanguageElement, hasMeta, setId, setIdElement, setImplicitRules, setImplicitRulesElement, setLanguage, setLanguageElement, setMetasetIdchildren, compareDeep, compareDeep, compareDeep, compareValues, compareValues, getChildByName, getFormatCommentsPost, getFormatCommentsPre, getUserData, getUserInt, getUserString, hasFormatComment, hasUserData, listChildrenByName, setUserData, setUserDataINNequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetId, getIdElement, getMeta, setIdsetIdpublic static final String SP_PRESCRIBER
public static final String SP_IDENTIFIER
public static final String SP_CODE
public static final String SP_PATIENT
public static final String SP_DATEWRITTEN
public static final String SP_MEDICATION
public static final String SP_ENCOUNTER
public static final String SP_STATUS
public MedicationOrder()
public MedicationOrder(Type medication)
public List<Identifier> getIdentifier()
identifier (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.)public boolean hasIdentifier()
public Identifier addIdentifier()
identifier (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.)public MedicationOrder addIdentifier(Identifier t)
public DateTimeType getDateWrittenElement()
dateWritten (The date (and perhaps time) when the prescription was written.). This is the underlying object with id, value and extensions. The accessor "getDateWritten" gives direct access to the valuepublic boolean hasDateWrittenElement()
public boolean hasDateWritten()
public MedicationOrder setDateWrittenElement(DateTimeType value)
value - dateWritten (The date (and perhaps time) when the prescription was written.). This is the underlying object with id, value and extensions. The accessor "getDateWritten" gives direct access to the valuepublic Date getDateWritten()
public MedicationOrder setDateWritten(Date value)
value - The date (and perhaps time) when the prescription was written.public Enumeration<MedicationOrder.MedicationOrderStatus> getStatusElement()
status (A code specifying the state of the order. Generally this will be active or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic boolean hasStatusElement()
public boolean hasStatus()
public MedicationOrder setStatusElement(Enumeration<MedicationOrder.MedicationOrderStatus> value)
value - status (A code specifying the state of the order. Generally this will be active or completed state.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the valuepublic MedicationOrder.MedicationOrderStatus getStatus()
public MedicationOrder setStatus(MedicationOrder.MedicationOrderStatus value)
value - A code specifying the state of the order. Generally this will be active or completed state.public DateTimeType getDateEndedElement()
dateEnded (The date (and perhaps time) when the prescription was stopped.). This is the underlying object with id, value and extensions. The accessor "getDateEnded" gives direct access to the valuepublic boolean hasDateEndedElement()
public boolean hasDateEnded()
public MedicationOrder setDateEndedElement(DateTimeType value)
value - dateEnded (The date (and perhaps time) when the prescription was stopped.). This is the underlying object with id, value and extensions. The accessor "getDateEnded" gives direct access to the valuepublic Date getDateEnded()
public MedicationOrder setDateEnded(Date value)
value - The date (and perhaps time) when the prescription was stopped.public CodeableConcept getReasonEnded()
reasonEnded (The reason why the prescription was stopped, if it was.)public boolean hasReasonEnded()
public MedicationOrder setReasonEnded(CodeableConcept value)
value - reasonEnded (The reason why the prescription was stopped, if it was.)public Reference getPatient()
patient (A link to a resource representing the person to whom the medication will be given.)public boolean hasPatient()
public MedicationOrder setPatient(Reference value)
value - patient (A link to a resource representing the person to whom the medication will be given.)public Patient getPatientTarget()
patient The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person to whom the medication will be given.)public MedicationOrder setPatientTarget(Patient value)
value - patient The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing the person to whom the medication will be given.)public Reference getPrescriber()
prescriber (The healthcare professional responsible for authorizing the prescription.)public boolean hasPrescriber()
public MedicationOrder setPrescriber(Reference value)
value - prescriber (The healthcare professional responsible for authorizing the prescription.)public Practitioner getPrescriberTarget()
prescriber The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (The healthcare professional responsible for authorizing the prescription.)public MedicationOrder setPrescriberTarget(Practitioner value)
value - prescriber The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (The healthcare professional responsible for authorizing the prescription.)public Reference getEncounter()
encounter (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public boolean hasEncounter()
public MedicationOrder setEncounter(Reference value)
value - encounter (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public Encounter getEncounterTarget()
encounter The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public MedicationOrder setEncounterTarget(Encounter value)
value - encounter The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource that identifies the particular occurrence of contact between patient and health care provider.)public Type getReason()
reason (Can be the reason or the indication for writing the prescription.)public CodeableConcept getReasonCodeableConcept() throws Exception
public boolean hasReasonCodeableConcept()
throws Exception
Exceptionpublic boolean hasReason()
public MedicationOrder setReason(Type value)
value - reason (Can be the reason or the indication for writing the prescription.)public StringType getNoteElement()
note (Extra information about the prescription that could not be conveyed by the other attributes.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the valuepublic boolean hasNoteElement()
public boolean hasNote()
public MedicationOrder setNoteElement(StringType value)
value - note (Extra information about the prescription that could not be conveyed by the other attributes.). This is the underlying object with id, value and extensions. The accessor "getNote" gives direct access to the valuepublic String getNote()
public MedicationOrder setNote(String value)
value - Extra information about the prescription that could not be conveyed by the other attributes.public Type getMedication()
medication (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.)public CodeableConcept getMedicationCodeableConcept() throws Exception
medication (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.)Exceptionpublic boolean hasMedicationCodeableConcept()
throws Exception
Exceptionpublic Reference getMedicationReference() throws Exception
medication (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.)Exceptionpublic boolean hasMedication()
public MedicationOrder setMedication(Type value)
value - medication (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.)public List<MedicationOrder.MedicationOrderDosageInstructionComponent> getDosageInstruction()
dosageInstruction (Indicates how the medication is to be used by the patient.)public boolean hasDosageInstruction()
public MedicationOrder.MedicationOrderDosageInstructionComponent addDosageInstruction()
dosageInstruction (Indicates how the medication is to be used by the patient.)public MedicationOrder addDosageInstruction(MedicationOrder.MedicationOrderDosageInstructionComponent t)
public MedicationOrder.MedicationOrderDispenseRequestComponent getDispenseRequest()
dispenseRequest (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.)public boolean hasDispenseRequest()
public MedicationOrder setDispenseRequest(MedicationOrder.MedicationOrderDispenseRequestComponent value)
value - dispenseRequest (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.)public MedicationOrder.MedicationOrderSubstitutionComponent getSubstitution()
substitution (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.)public boolean hasSubstitution()
public MedicationOrder setSubstitution(MedicationOrder.MedicationOrderSubstitutionComponent value)
value - substitution (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.)public Reference getPriorPrescription()
priorPrescription (A link to a resource representing an earlier order or prescription that this order supersedes.)public boolean hasPriorPrescription()
public MedicationOrder setPriorPrescription(Reference value)
value - priorPrescription (A link to a resource representing an earlier order or prescription that this order supersedes.)public MedicationOrder getPriorPrescriptionTarget()
priorPrescription The actual object that is the target of the reference. The reference library doesn't populate this, but you can use it to hold the resource if you resolve it. (A link to a resource representing an earlier order or prescription that this order supersedes.)public MedicationOrder setPriorPrescriptionTarget(MedicationOrder value)
value - priorPrescription The actual object that is the target of the reference. The reference library doesn't use these, but you can use it to hold the resource if you resolve it. (A link to a resource representing an earlier order or prescription that this order supersedes.)public MedicationOrder copy()
copy in class DomainResourcepublic boolean equalsDeep(Base other)
equalsDeep in class DomainResourcepublic boolean equalsShallow(Base other)
equalsShallow in class DomainResourcepublic boolean isEmpty()
isEmpty in interface IBaseisEmpty in class DomainResourcepublic ResourceType getResourceType()
getResourceType in class ResourceCopyright © 2014–2015 University Health Network. All rights reserved.