Skip to main content

HS.FHIR.DTL.vDSTU2.Model.Resource.MedicationOrder

class HS.FHIR.DTL.vDSTU2.Model.Resource.MedicationOrder extends HS.FHIR.DTL.vDSTU2.Model.Base.DomainResource

Prescription of medication to for patient.

Property Inventory

Parameters

parameter ELEMENTQUALIFIED = 1;
Inherited description: ELEMENTQUALIFIED controls the format of exported XML. The ELEMENTQUALIFIED specification should be based on the elementFormDefault attribute of the schema that defines the type. To maintain compatibility, ELEMENTQUALIFIED will default to 1 (true) for literal format export and will default to 0 (false) for encoded or encoded12 format export. These were the values always previously assumed for the elementFormDefault attribute.

NOTE: Direct use of XMLExport method does not support the ELEMENTQUALIFIED. The export must be done using %XML.Writer or SOAP support.

parameter XMLNAME = MedicationOrder;
Inherited description: This parameter provides the default XMLNAME for the class. If it is empty then the class name will be used to construct a default XML name. The default XMLNAME is used as the top level tag when exporting objects and the export context did not provide an XML container name.
parameter XMLPROJECTION = ELEMENT;
parameter XMLSEQUENCE = 1;
Inherited description: If the XMLSEQUENCE = 1, then the order of the XML elements must match the order of the class properties. This allows us to deal with XML where the same field appears multiple times and is distinguished by the order.
parameter XMLTYPE = MedicationOrder;
Inherited description: This parameter provides the default XMLTYPE for the class. If it is empty then the class name will be used to construct a default XML type.

The default XMLTYPE is used when naming and referencing this type in a schema and the schema context did not provide an XML type name.

Properties

property dateEnded as %String (MAXLEN = 1000000, XMLNAME = "dateEnded", XMLPROJECTION = "ATTRIBUTE");
dateTime

When prescription was stopped.

Property methods: dateEndedDisplayToLogical(), dateEndedGet(), dateEndedIsValid(), dateEndedLogicalToDisplay(), dateEndedLogicalToOdbc(), dateEndedNormalize(), dateEndedSet()
property dateWritten as %String (MAXLEN = 1000000, XMLNAME = "dateWritten", XMLPROJECTION = "ATTRIBUTE");
dateTime

When prescription was authorized.

Property methods: dateWrittenDisplayToLogical(), dateWrittenGet(), dateWrittenIsValid(), dateWrittenLogicalToDisplay(), dateWrittenLogicalToOdbc(), dateWrittenNormalize(), dateWrittenSet()
property dispenseRequest as HS.FHIR.DTL.vDSTU2.Model.Element.MedicationOrder.dispenseRequest (XMLNAME = "dispenseRequest", XMLPROJECTION = "ELEMENT");
BackboneElement

Medication supply authorization.

Property methods: dispenseRequestGet(), dispenseRequestGetSwizzled(), dispenseRequestIsValid(), dispenseRequestNewObject(), dispenseRequestSet()
property dosageInstruction as list of HS.FHIR.DTL.vDSTU2.Model.Element.MedicationOrder.dosageInstruction (XMLNAME = "dosageInstruction", XMLPROJECTION = "ELEMENT");
BackboneElement

How medication should be taken.

Property methods: dosageInstructionBuildValueArray(), dosageInstructionCollectionToDisplay(), dosageInstructionCollectionToOdbc(), dosageInstructionDisplayToCollection(), dosageInstructionGet(), dosageInstructionGetObject(), dosageInstructionGetObjectId(), dosageInstructionGetSwizzled(), dosageInstructionIsValid(), dosageInstructionOdbcToCollection(), dosageInstructionSet(), dosageInstructionSetObject(), dosageInstructionSetObjectId()
property encounter as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "encounter", XMLPROJECTION = "ELEMENT");
Reference

Created during encounter/admission/stay.

Encounter

Property methods: encounterGet(), encounterGetSwizzled(), encounterIsValid(), encounterNewObject(), encounterSet()
property identifier as list of HS.FHIR.DTL.vDSTU2.Model.Datatype.Identifier (XMLNAME = "identifier", XMLPROJECTION = "ELEMENT");
Identifier

External identifier.

Property methods: identifierBuildValueArray(), identifierCollectionToDisplay(), identifierCollectionToOdbc(), identifierDisplayToCollection(), identifierGet(), identifierGetObject(), identifierGetObjectId(), identifierGetSwizzled(), identifierIsValid(), identifierOdbcToCollection(), identifierSet(), identifierSetObject(), identifierSetObjectId()
property medicationCodeableConcept as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "medicationCodeableConcept", XMLPROJECTION = "ELEMENT") [ Required ];
CodeableConcept

Medication to be taken.

any FHIR2 code from any ValueSet may be used.

Property methods: medicationCodeableConceptGet(), medicationCodeableConceptGetSwizzled(), medicationCodeableConceptIsValid(), medicationCodeableConceptNewObject(), medicationCodeableConceptSet()
property medicationReference as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "medicationReference", XMLPROJECTION = "ELEMENT") [ Required ];
Reference

Medication to be taken.

Medication.

Property methods: medicationReferenceGet(), medicationReferenceGetSwizzled(), medicationReferenceIsValid(), medicationReferenceNewObject(), medicationReferenceSet()
property note as %String (MAXLEN = 1000000, XMLNAME = "note", XMLPROJECTION = "ATTRIBUTE");
string

Information about the prescription.

Property methods: noteDisplayToLogical(), noteGet(), noteIsValid(), noteLogicalToDisplay(), noteLogicalToOdbc(), noteNormalize(), noteSet()
property patient as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "patient", XMLPROJECTION = "ELEMENT");
Reference

Who prescription is for.

Patient

Property methods: patientGet(), patientGetSwizzled(), patientIsValid(), patientNewObject(), patientSet()
property prescriber as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "prescriber", XMLPROJECTION = "ELEMENT");
Reference

Who ordered the medication(s)

Practitioner

Property methods: prescriberGet(), prescriberGetSwizzled(), prescriberIsValid(), prescriberNewObject(), prescriberSet()
property priorPrescription as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "priorPrescription", XMLPROJECTION = "ELEMENT");
Reference

An order/prescription that this supersedes.

MedicationOrder

Property methods: priorPrescriptionGet(), priorPrescriptionGetSwizzled(), priorPrescriptionIsValid(), priorPrescriptionNewObject(), priorPrescriptionSet()
property reasonCodeableConcept as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "reasonCodeableConcept", XMLPROJECTION = "ELEMENT");
CodeableConcept

Reason or indication for writing the prescription.

any FHIR2 code may be used; condition-code shows EXAMPLE codes, but you may use codes from any ValueSet.

Property methods: reasonCodeableConceptGet(), reasonCodeableConceptGetSwizzled(), reasonCodeableConceptIsValid(), reasonCodeableConceptNewObject(), reasonCodeableConceptSet()
property reasonEnded as HS.FHIR.DTL.vDSTU2.Model.Datatype.CodeableConcept (XMLNAME = "reasonEnded", XMLPROJECTION = "ELEMENT");
CodeableConcept

Why prescription was stopped.

any FHIR2 code from any ValueSet may be used.

Property methods: reasonEndedGet(), reasonEndedGetSwizzled(), reasonEndedIsValid(), reasonEndedNewObject(), reasonEndedSet()
property reasonReference as HS.FHIR.DTL.vDSTU2.Model.Base.Reference (XMLNAME = "reasonReference", XMLPROJECTION = "ELEMENT");
Reference

Reason or indication for writing the prescription.

Condition.

Property methods: reasonReferenceGet(), reasonReferenceGetSwizzled(), reasonReferenceIsValid(), reasonReferenceNewObject(), reasonReferenceSet()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE");
code

active | on-hold | completed | entered-in-error | stopped | draft

medication-order-status is the REQUIRED FHIR2 ValueSet for codes; you may NOT extend medication-order-status and you may NOT use codes from other ValueSets.

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property substitution as HS.FHIR.DTL.vDSTU2.Model.Element.MedicationOrder.substitution (XMLNAME = "substitution", XMLPROJECTION = "ELEMENT");
BackboneElement

Any restrictions on medication substitution.

Property methods: substitutionGet(), substitutionGetSwizzled(), substitutionIsValid(), substitutionNewObject(), substitutionSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab