Skip to main content

HS.FHIR.DTL.vSTU3.Model.Resource.MedicationDispense

class HS.FHIR.DTL.vSTU3.Model.Resource.MedicationDispense extends HS.FHIR.DTL.vSTU3.Model.Base.DomainResource

Indicates that a medication product is to be or has been dispensed for a named person/Patient: This includes a description of the medication product (supply) provided and the instructions for administering the medication. The medication dispense is the result of a pharmacy system responding to a medication order.

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 = MedicationDispense;
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 = MedicationDispense;
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 authorizingPrescription as list of HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "authorizingPrescription", XMLPROJECTION = "ELEMENT");
Reference

Medication order that authorizes the dispense.

MedicationRequest

Property methods: authorizingPrescriptionBuildValueArray(), authorizingPrescriptionCollectionToDisplay(), authorizingPrescriptionCollectionToOdbc(), authorizingPrescriptionDisplayToCollection(), authorizingPrescriptionGet(), authorizingPrescriptionGetObject(), authorizingPrescriptionGetObjectId(), authorizingPrescriptionGetSwizzled(), authorizingPrescriptionIsValid(), authorizingPrescriptionOdbcToCollection(), authorizingPrescriptionSet(), authorizingPrescriptionSetObject(), authorizingPrescriptionSetObjectId()
property category as HS.FHIR.DTL.vSTU3.Model.Datatype.CodeableConcept (XMLNAME = "category", XMLPROJECTION = "ELEMENT");
CodeableConcept

Type of medication dispense.

medication-dispense-category is the PREFERRED FHIR3 ValueSet for codes, but if you need to express meanings not found in medication-dispense-category, you may use codes from any ValueSet.

Property methods: categoryGet(), categoryGetSwizzled(), categoryIsValid(), categoryNewObject(), categorySet()
property context as HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "context", XMLPROJECTION = "ELEMENT");
Reference

Encounter / Episode associated with event.

Encounter | EpisodeOfCare

Property methods: contextGet(), contextGetSwizzled(), contextIsValid(), contextNewObject(), contextSet()
property daysSupply as HS.FHIR.DTL.vSTU3.Model.Datatype.SimpleQuantity (XMLNAME = "daysSupply", XMLPROJECTION = "ELEMENT");
SimpleQuantity

Amount of medication expressed as a timing amount.

Property methods: daysSupplyGet(), daysSupplyGetSwizzled(), daysSupplyIsValid(), daysSupplyNewObject(), daysSupplySet()
property destination as HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "destination", XMLPROJECTION = "ELEMENT");
Reference

Where the medication was sent.

Location

Property methods: destinationGet(), destinationGetSwizzled(), destinationIsValid(), destinationNewObject(), destinationSet()
property detectedIssue as list of HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "detectedIssue", XMLPROJECTION = "ELEMENT");
Reference

Clinical issue with action.

DetectedIssue

Property methods: detectedIssueBuildValueArray(), detectedIssueCollectionToDisplay(), detectedIssueCollectionToOdbc(), detectedIssueDisplayToCollection(), detectedIssueGet(), detectedIssueGetObject(), detectedIssueGetObjectId(), detectedIssueGetSwizzled(), detectedIssueIsValid(), detectedIssueOdbcToCollection(), detectedIssueSet(), detectedIssueSetObject(), detectedIssueSetObjectId()
property dosageInstruction as list of HS.FHIR.DTL.vSTU3.Model.Element.Dosage (XMLNAME = "dosageInstruction", XMLPROJECTION = "ELEMENT");
Dosage

How the medication is to be used by the patient or administered by the caregiver.

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

A list of releveant lifecycle events.

Provenance

Property methods: eventHistoryBuildValueArray(), eventHistoryCollectionToDisplay(), eventHistoryCollectionToOdbc(), eventHistoryDisplayToCollection(), eventHistoryGet(), eventHistoryGetObject(), eventHistoryGetObjectId(), eventHistoryGetSwizzled(), eventHistoryIsValid(), eventHistoryOdbcToCollection(), eventHistorySet(), eventHistorySetObject(), eventHistorySetObjectId()
property identifier as list of HS.FHIR.DTL.vSTU3.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.vSTU3.Model.Datatype.CodeableConcept (XMLNAME = "medicationCodeableConcept", XMLPROJECTION = "ELEMENT") [ Required ];
CodeableConcept

What medication was supplied.

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

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

What medication was supplied.

Medication.

Property methods: medicationReferenceGet(), medicationReferenceGetSwizzled(), medicationReferenceIsValid(), medicationReferenceNewObject(), medicationReferenceSet()
property notDone as %Boolean (XMLNAME = "notDone", XMLPROJECTION = "ATTRIBUTE");
boolean

Whether the dispense was or was not performed.

Property methods: notDoneDisplayToLogical(), notDoneGet(), notDoneIsValid(), notDoneLogicalToDisplay(), notDoneLogicalToXSD(), notDoneNormalize(), notDoneReasonCodeableConceptGet(), notDoneReasonCodeableConceptGetSwizzled(), notDoneReasonCodeableConceptIsValid(), notDoneReasonCodeableConceptNewObject(), notDoneReasonCodeableConceptSet(), notDoneReasonReferenceGet(), notDoneReasonReferenceGetSwizzled(), notDoneReasonReferenceIsValid(), notDoneReasonReferenceNewObject(), notDoneReasonReferenceSet(), notDoneSet(), notDoneXSDToLogical()
property notDoneReasonCodeableConcept as HS.FHIR.DTL.vSTU3.Model.Datatype.CodeableConcept (XMLNAME = "notDoneReasonCodeableConcept", XMLPROJECTION = "ELEMENT");
CodeableConcept

Why a dispense was not performed.

any FHIR3 code from any ValueSet may be used.

Property methods: notDoneReasonCodeableConceptGet(), notDoneReasonCodeableConceptGetSwizzled(), notDoneReasonCodeableConceptIsValid(), notDoneReasonCodeableConceptNewObject(), notDoneReasonCodeableConceptSet()
property notDoneReasonReference as HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "notDoneReasonReference", XMLPROJECTION = "ELEMENT");
Reference

Why a dispense was not performed.

DetectedIssue.

Property methods: notDoneReasonReferenceGet(), notDoneReasonReferenceGetSwizzled(), notDoneReasonReferenceIsValid(), notDoneReasonReferenceNewObject(), notDoneReasonReferenceSet()
property note as list of HS.FHIR.DTL.vSTU3.Model.Datatype.Annotation (XMLNAME = "note", XMLPROJECTION = "ELEMENT");
Annotation

Information about the dispense.

Property methods: noteBuildValueArray(), noteCollectionToDisplay(), noteCollectionToOdbc(), noteDisplayToCollection(), noteGet(), noteGetObject(), noteGetObjectId(), noteGetSwizzled(), noteIsValid(), noteOdbcToCollection(), noteSet(), noteSetObject(), noteSetObjectId()
property partOf as list of HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "partOf", XMLPROJECTION = "ELEMENT");
Reference

Event that dispense is part of.

Procedure

Property methods: partOfBuildValueArray(), partOfCollectionToDisplay(), partOfCollectionToOdbc(), partOfDisplayToCollection(), partOfGet(), partOfGetObject(), partOfGetObjectId(), partOfGetSwizzled(), partOfIsValid(), partOfOdbcToCollection(), partOfSet(), partOfSetObject(), partOfSetObjectId()
property performer as list of HS.FHIR.DTL.vSTU3.Model.Element.MedicationDispense.performer (XMLNAME = "performer", XMLPROJECTION = "ELEMENT");
BackboneElement

Who performed event.

Property methods: performerBuildValueArray(), performerCollectionToDisplay(), performerCollectionToOdbc(), performerDisplayToCollection(), performerGet(), performerGetObject(), performerGetObjectId(), performerGetSwizzled(), performerIsValid(), performerOdbcToCollection(), performerSet(), performerSetObject(), performerSetObjectId()
property quantity as HS.FHIR.DTL.vSTU3.Model.Datatype.SimpleQuantity (XMLNAME = "quantity", XMLPROJECTION = "ELEMENT");
SimpleQuantity

Amount dispensed.

Property methods: quantityGet(), quantityGetSwizzled(), quantityIsValid(), quantityNewObject(), quantitySet()
property receiver as list of HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "receiver", XMLPROJECTION = "ELEMENT");
Reference

Who collected the medication.

Patient | Practitioner

Property methods: receiverBuildValueArray(), receiverCollectionToDisplay(), receiverCollectionToOdbc(), receiverDisplayToCollection(), receiverGet(), receiverGetObject(), receiverGetObjectId(), receiverGetSwizzled(), receiverIsValid(), receiverOdbcToCollection(), receiverSet(), receiverSetObject(), receiverSetObjectId()
property status as %String (MAXLEN = 1000000, XMLNAME = "status", XMLPROJECTION = "ATTRIBUTE");
code

preparation | in-progress | on-hold | completed | entered-in-error | stopped

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

Property methods: statusDisplayToLogical(), statusGet(), statusIsValid(), statusLogicalToDisplay(), statusLogicalToOdbc(), statusNormalize(), statusSet()
property subject as HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "subject", XMLPROJECTION = "ELEMENT");
Reference

Who the dispense is for.

Patient | Group

Property methods: subjectGet(), subjectGetSwizzled(), subjectIsValid(), subjectNewObject(), subjectSet()
property substitution as HS.FHIR.DTL.vSTU3.Model.Element.MedicationDispense.substitution (XMLNAME = "substitution", XMLPROJECTION = "ELEMENT");
BackboneElement

Whether a substitution was performed on the dispense.

Property methods: substitutionGet(), substitutionGetSwizzled(), substitutionIsValid(), substitutionNewObject(), substitutionSet()
property supportingInformation as list of HS.FHIR.DTL.vSTU3.Model.Base.Reference (XMLNAME = "supportingInformation", XMLPROJECTION = "ELEMENT");
Reference

Information that supports the dispensing of the medication.

Any FHIR3 Resource may be indicated by this Reference

Property methods: supportingInformationBuildValueArray(), supportingInformationCollectionToDisplay(), supportingInformationCollectionToOdbc(), supportingInformationDisplayToCollection(), supportingInformationGet(), supportingInformationGetObject(), supportingInformationGetObjectId(), supportingInformationGetSwizzled(), supportingInformationIsValid(), supportingInformationOdbcToCollection(), supportingInformationSet(), supportingInformationSetObject(), supportingInformationSetObjectId()
property type as HS.FHIR.DTL.vSTU3.Model.Datatype.CodeableConcept (XMLNAME = "type", XMLPROJECTION = "ELEMENT");
CodeableConcept

Trial fill, partial fill, emergency fill, etc.

any FHIR3 code may be used; v3-ActPharmacySupplyType shows EXAMPLE codes, but you may use codes from any ValueSet.

Property methods: typeGet(), typeGetSwizzled(), typeIsValid(), typeNewObject(), typeSet()
property whenHandedOver as %String (MAXLEN = 1000000, XMLNAME = "whenHandedOver", XMLPROJECTION = "ATTRIBUTE");
dateTime

When product was given out.

Property methods: whenHandedOverDisplayToLogical(), whenHandedOverGet(), whenHandedOverIsValid(), whenHandedOverLogicalToDisplay(), whenHandedOverLogicalToOdbc(), whenHandedOverNormalize(), whenHandedOverSet()
property whenPrepared as %String (MAXLEN = 1000000, XMLNAME = "whenPrepared", XMLPROJECTION = "ATTRIBUTE");
dateTime

When product was packaged and reviewed.

Property methods: whenPreparedDisplayToLogical(), whenPreparedGet(), whenPreparedIsValid(), whenPreparedLogicalToDisplay(), whenPreparedLogicalToOdbc(), whenPreparedNormalize(), whenPreparedSet()

Inherited Members

Inherited Properties

Inherited Methods

FeedbackOpens in a new tab