Cardea
cardea.fhir.
MedicationDispense
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.
resourceType – This is a MedicationDispense resource
identifier – Identifier assigned by the dispensing facility - this is an identifier assigned outside FHIR.
partOf – The procedure that the dispense is done because of.
status – A code specifying the state of the set of dispense events.
category – Indicates type of medication dispense and where the medication is expected to be consumed or administered.
medicationCodeableConcept – Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.
medicationReference – Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.
subject – A link to a resource representing the person or the group to whom the medication will be given.
context – The encounter or episode of care that establishes the context for this event.
supportingInformation – Additional information that supports the medication being dispensed.
performer – Indicates who or what performed the event. It should be assumed that the performer is the dispenser of the medication.
authorizingPrescription – Indicates the medication order that is being dispensed against.
type – Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.
quantity – The amount of medication that has been dispensed. Includes unit of measure.
daysSupply – The amount of medication expressed as a timing amount.
whenPrepared – The time when the dispensed product was packaged and reviewed.
whenHandedOver – The time the dispensed product was provided to the patient or their representative.
destination – Identification of the facility/location where the medication was shipped to, as part of the dispense event.
receiver – Identifies the person who picked up the medication. This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional.
note – Extra information about the dispense that could not be conveyed in the other attributes.
dosageInstruction – Indicates how the medication is to be used by the patient.
substitution – Indicates whether or not substitution was made as part of the dispense. In some cases substitution will be expected but does not happen, in other cases substitution is not expected but does happen. This block explains what substitution did or did not happen and why. If nothing is specified, substitution was not done.
detectedIssue – Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, duplicate therapy, dosage alert etc.
notDone – True if the dispense was not performed for some reason.
notDoneReasonCodeableConcept – Indicates the reason why a dispense was not performed.
notDoneReasonReference – Indicates the reason why a dispense was not performed.
eventHistory – A summary of the events of interest that have occurred, such as when the dispense was verified.
__init__
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__([dict_values])
Initialize self.
assert_type()
assert_type
Checks class values follow set possible enumerations.
get_dataframe()
get_dataframe
Returns dataframe from class attribute values.
get_eligible_relationships()
get_eligible_relationships
Returns class relationships for attributes that are used.
get_id()
get_id
Returns fhir class identifier.
get_relationships()
get_relationships
Returns class relationships.
set_attributes(dict_values)
set_attributes
Sets values to class attributes.