Union of http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense and http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense

This is the set of resources that conform to either of the profiles US Core MedicationDispense Profile (http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationdispense) and PDex MedicationDispense (http://hl7.org/fhir/us/davinci-pdex/StructureDefinition/pdex-medicationdispense). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. MedicationDispense C0..*Dispensing a medication to a named patient
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
mdd-1: whenHandedOver cannot be before whenPrepared
us-core-20: whenHandedOver SHALL be present if the status is "completed"
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... text 0..1NarrativeText summary of the resource, for human interpretation
ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*Extensionleft: Additional content defined by implementations; right: Extension
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... identifier 0..*IdentifierExternal identifier
ele-1: All FHIR elements must have a @value or children
... partOf 0..*Reference(Procedure)Event that dispense is part of
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1codeleft: preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped | declined | unknown; right: completed
Binding: ?? (required): A coded concept specifying the state of the dispense event.


ele-1: All FHIR elements must have a @value or children
... statusReason[x] 0..1Why a dispense was not performed
Binding: ?? (example): A code describing why a dispense was not performed.


ele-1: All FHIR elements must have a @value or children
.... statusReasonCodeableConceptCodeableConcept
.... statusReasonReferenceReference(DetectedIssue)
... category 0..1CodeableConceptleft: Type of medication dispense; right: Type of dispense action
Binding: ?? (required): A code describing where the dispensed medication is expected to be consumed or administered.


ele-1: All FHIR elements must have a @value or children
... medication[x] SΣ1..1What medication was supplied
Binding: ?? (extensible): A coded concept identifying which substance or product can be dispensed.


ele-1: All FHIR elements must have a @value or children
.... medicationCodeableConceptCodeableConcept
.... medicationReferenceReference(US Core Medication Profile)
... subject SΣ1..1Reference(US Core Patient Profile S | Group)left: Who the dispense is for; right: The patient who is prescribed the medication
ele-1: All FHIR elements must have a @value or children
... context S0..1Reference(Encounter | EpisodeOfCare)left: Encounter associated with MedicationDispense; right: Encounter / Episode associated with event
ele-1: All FHIR elements must have a @value or children
... supportingInformation 0..*Reference(Resource)left: Information that supports the dispensing of the medication; right: Information that supports the dispensing of the medication. Reference any US Core, HRex or PDex profile.
ele-1: All FHIR elements must have a @value or children
... performer S0..*BackboneElementleft: Who performed event; right: Who performed the dispense event
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... function 0..1CodeableConceptWho performed the dispense and what they did
Binding: ?? (example): A code describing the role an individual played in dispensing a medication.


ele-1: All FHIR elements must have a @value or children
.... actor S1..1Reference(US Core Practitioner Profile S | US Core Patient Profile | US Core Organization Profile S | US Core PractitionerRole Profile | US Core RelatedPerson Profile | Device)left: Individual who was performing; right: Individual or device performing the dispense
ele-1: All FHIR elements must have a @value or children
... location 0..1Reference(Location)Where the dispense occurred
ele-1: All FHIR elements must have a @value or children
... authorizingPrescription S0..*Reference(US Core MedicationRequest Profile)Medication order that authorizes the dispense
ele-1: All FHIR elements must have a @value or children
... type S0..1CodeableConceptTrial fill, partial fill, emergency fill, etc.
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
... quantity S0..1Quantityleft: Amount dispensed; right: Billing, service, product, or drug code
Binding: ?? (example)
Additional BindingsPurpose
??Max Binding

ele-1: All FHIR elements must have a @value or children
... daysSupply 0..1??left: Amount of medication expressed as a timing amount; right: Medication expressed as a timing amount.
ele-1: All FHIR elements must have a @value or children
... whenPrepared Σ0..1dateTimeWhen product was packaged and reviewed
ele-1: All FHIR elements must have a @value or children
... whenHandedOver S0..1dateTimeleft: When product was given out or mailed; right: When product was given out
ele-1: All FHIR elements must have a @value or children
... destination 0..1Reference(Location)Where the medication was sent
ele-1: All FHIR elements must have a @value or children
... receiver 0..*Reference(Patient | Practitioner)Who collected the medication
ele-1: All FHIR elements must have a @value or children
... note 0..*AnnotationInformation about the dispense
ele-1: All FHIR elements must have a @value or children
... dosageInstruction S0..*DosageHow the medication is to be used by the patient or administered by the caregiver
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... sequence Σ0..1integerThe order of the dosage instructions
ele-1: All FHIR elements must have a @value or children
.... text SΣ0..1stringFree text dosage instructions e.g. SIG
ele-1: All FHIR elements must have a @value or children
.... additionalInstruction Σ0..*CodeableConceptSupplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: ?? (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".


ele-1: All FHIR elements must have a @value or children
.... patientInstruction Σ0..1stringPatient or consumer oriented instructions
ele-1: All FHIR elements must have a @value or children
.... timing SΣ0..1TimingWhen medication should be administered
ele-1: All FHIR elements must have a @value or children
.... asNeeded[x] Σ0..1Take "as needed" (for x)
Binding: ?? (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.


ele-1: All FHIR elements must have a @value or children
..... asNeededBooleanboolean
..... asNeededCodeableConceptCodeableConcept
.... site Σ0..1CodeableConceptBody site to administer to
Binding: ?? (example): A coded concept describing the site location the medicine enters into or onto the body.


ele-1: All FHIR elements must have a @value or children
.... route Σ0..1CodeableConceptHow drug should enter body
Binding: ?? (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.


ele-1: All FHIR elements must have a @value or children
.... method Σ0..1CodeableConceptTechnique for administering medication
Binding: ?? (example): A coded concept describing the technique by which the medicine is administered.


ele-1: All FHIR elements must have a @value or children
.... doseAndRate SΣ0..*ElementAmount of medication administered
ele-1: All FHIR elements must have a @value or children
.... maxDosePerPeriod Σ0..1RatioUpper limit on medication per unit of time
ele-1: All FHIR elements must have a @value or children
.... maxDosePerAdministration Σ0..1??Upper limit on medication per administration
ele-1: All FHIR elements must have a @value or children
.... maxDosePerLifetime Σ0..1??Upper limit on medication per lifetime of the patient
ele-1: All FHIR elements must have a @value or children
... substitution S0..1BackboneElementWhether a substitution was performed on the dispense
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... wasSubstituted S1..1booleanWhether a substitution was or was not performed on the dispense
ele-1: All FHIR elements must have a @value or children
.... type 0..1CodeableConceptCode signifying whether a different drug was dispensed from what was prescribed
Binding: ?? (example): A coded concept describing whether a different medicinal product may be dispensed other than the product as specified exactly in the prescription.


ele-1: All FHIR elements must have a @value or children
.... reason 0..*CodeableConceptWhy was substitution made
Binding: ?? (example): A coded concept describing the reason that a different medication should (or should not) be substituted from what was prescribed.


ele-1: All FHIR elements must have a @value or children
.... responsibleParty 0..*Reference(Practitioner | PractitionerRole)Who is responsible for the substitution
ele-1: All FHIR elements must have a @value or children
... detectedIssue 0..*Reference(DetectedIssue)Clinical issue with action
ele-1: All FHIR elements must have a @value or children
... eventHistory 0..*Reference(Provenance)A list of relevant lifecycle events
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format