Skip to content

Medication Dispense Profile

Canonical../StructureDefinition/nexus-emr-core-medicationdispense
Statusdraft · 1.26.0
BaseMedicationDispense (constraint)
SourceFSH · JSON

Nexus EMR profile for MedicationDispense resources, primarily for recording dispense events. Aligns with CII N1/N2 requirements and Nexus EMR standards.

Elements / Snapshot

The full effective definition: base MedicationDispense with this profile's constraints applied.

Element Flags Card. Type Description & Constraints
MedicationDispense 0..* Nexus EMR Medication Dispense Core
Invariants: dom-2, dom-3, dom-4, dom-5, dom-6, mdd-1, nexus-note-extension-not-where-native
id 0..1 http://hl7.org/fhirpath/System.String Logical id of this artifact i
meta 0..1 Meta Metadata about the resource
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
versionId 0..1 id Version specific identifier i
Invariants: ele-1
lastUpdated 0..1 instant When the resource version last changed i
Invariants: ele-1
source S 0..1 uri Identifies EMR instance & pipeline version the resource came from i
Invariants: ele-1
profile 0..* canonical Profiles this resource claims to conform to i
Invariants: ele-1
security 0..* Coding Security Labels applied to this resource i
Binding: security-labels (extensible)
Invariants: ele-1
tag 0..* Coding Tags applied to this resource i
Binding: common-tags (example)
Invariants: ele-1
implicitRules ?! 0..1 uri A set of rules under which this content was created i
Invariants: ele-1
language 0..1 code Language of the resource content i
Binding: languages (preferred)
Invariants: ele-1
text S 0..1 Narrative Narrative i
Invariants: ele-1
contained 0..* Resource Contained, inline Resources i
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored i
Invariants: ele-1, ext-1
identifier S 0..* Identifier Business identifier(s) for medicationdispense i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
use ?! 0..1 code usual | official | temp | secondary | old (If known) i
Binding: identifier-use (required)
Invariants: ele-1
type 0..1 CodeableConcept Description of identifier i
Binding: identifier-type (extensible)
Invariants: ele-1
system 1..1 uri The namespace for the identifier value i
Invariants: ele-1
value 1..1 string The value that is unique i
Invariants: ele-1
period 0..1 Period Time period when id is/was valid for use
Invariants: ele-1
assigner 0..1 Reference(Organization) Organization that issued id (may be just text) i
Invariants: ele-1
partOf 0..* Reference(Procedure) Event that dispense is part of
Invariants: ele-1
status S ?! 1..1 code preparation | in-progress | cancelled | on-hold | completed | entered-in-error | stopped i
Binding: medicationdispense-status (required)
Invariants: ele-1
statusReason[x] 0..1 CodeableConcept, Reference(DetectedIssue) Why a dispense was not performed
Binding: medicationdispense-status-reason (example)
Invariants: ele-1
category S 0..1 CodeableConcept Dispense category with raw code support i
Binding: medicationdispense-category (preferred)
Invariants: ele-1
medication[x] S 1..1 CodeableConcept Medication with raw code support i
Binding: medication-codes (example)
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
coding 0..* Coding Code defined by a terminology system i
Slicing: value:system (open)
Invariants: ele-1
coding:din S 0..* Coding The Health Canada Drug Identification Number for the marketed product i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
system 1..1 uri Identity of the terminology system i
Fixed: http://hl7.org/fhir/NamingSystem/ca-hc-din
Invariants: ele-1
version 0..1 string Version of the system - if relevant i
Invariants: ele-1
code 1..1 code Symbol in syntax defined by the system
Invariants: ele-1
display 0..1 string Representation defined by the system
Invariants: ele-1
userSelected 0..1 boolean If this coding was chosen directly by the user i
Invariants: ele-1
coding:ccdd S 0..* Coding CCDD — what the drug IS (preferred ingredient-level code) i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
system 1..1 uri Identity of the terminology system i
Fixed: http://terminology.hl7.org/CodeSystem/hc-CCDD
Invariants: ele-1
version 0..1 string Version of the system - if relevant i
Invariants: ele-1
code 1..1 code Symbol in syntax defined by the system
Invariants: ele-1
display 0..1 string Representation defined by the system
Invariants: ele-1
userSelected 0..1 boolean If this coding was chosen directly by the user i
Invariants: ele-1
coding:atc S 0..* Coding ATC classification — coarser ingredient-level grouping i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
system 1..1 uri Identity of the terminology system i
Fixed: http://www.whocc.no/atc
Invariants: ele-1
version 0..1 string Version of the system - if relevant i
Invariants: ele-1
code 1..1 code Symbol in syntax defined by the system
Invariants: ele-1
display 0..1 string Representation defined by the system
Invariants: ele-1
userSelected 0..1 boolean If this coding was chosen directly by the user i
Invariants: ele-1
coding:aign S 0..* Coding The active-ingredient group identifying the drug's ingredient and strength i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Slicing: value:url (open)
Invariants: ele-1, ext-1
system 1..1 uri Identity of the terminology system i
Fixed: http://terminology.hl7.org/CodeSystem/v3-hc-aign
Invariants: ele-1
version 0..1 string Version of the system - if relevant i
Invariants: ele-1
code 1..1 code Symbol in syntax defined by the system
Invariants: ele-1
display 0..1 string Representation defined by the system
Invariants: ele-1
userSelected 0..1 boolean If this coding was chosen directly by the user i
Invariants: ele-1
text S 1..1 string The medication as written, in human-readable form i
Invariants: ele-1
subject S 1..1 Reference(Patient Profile) Who the dispense is for i
Invariants: ele-1
context 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with event
Invariants: ele-1
supportingInformation 0..* Reference(Resource) Information that supports the dispensing of the medication
Invariants: ele-1
performer S 0..* BackboneElement Who performed the dispense i
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
function 0..1 CodeableConcept Who performed the dispense and what they did
Binding: medicationdispense-performer-function (example)
Invariants: ele-1
actor S 1..1 Reference(PractitionerRole Profile | Practitioner Profile | Organization Profile) Individual or organization who performed dispense
Invariants: ele-1
location 0..1 Reference(Location) Where the dispense occurred
Invariants: ele-1
authorizingPrescription S 0..* Reference(MedicationRequest Profile) Prescription that authorized this dispense i
Invariants: ele-1
type S 0..1 CodeableConcept Dispense type with raw code support
Binding: v3-ActPharmacySupplyType (example)
Invariants: ele-1
quantity 0..1 Quantity(SimpleQuantity) Amount dispensed i
Invariants: ele-1
daysSupply 0..1 Quantity(SimpleQuantity) Amount of medication for period of time i
Invariants: ele-1
whenPrepared 0..1 dateTime When product was prepared i
Invariants: ele-1
whenHandedOver S 1..1 dateTime When product was given - Maps to CII N2 Medication_Dispensed_Date i
Invariants: ele-1
destination 0..1 Reference(Location) Where the medication was sent
Invariants: ele-1
receiver 0..* Reference(Patient | Practitioner) Who collected the medication
Invariants: ele-1
note 0..* Annotation Additional information about dispense i
Invariants: ele-1
dosageInstruction 0..* Dosage How medication should be taken i
Invariants: ele-1
substitution 0..1 BackboneElement Whether a substitution was performed on the dispense
Invariants: ele-1
id 0..1 http://hl7.org/fhirpath/System.String Unique id for inter-element referencing
extension 0..* Extension Additional content defined by implementations i
Invariants: ele-1, ext-1
modifierExtension ?! 0..* Extension Extensions that cannot be ignored even if unrecognized i
Invariants: ele-1, ext-1
wasSubstituted 1..1 boolean Whether a substitution was or was not performed on the dispense
Invariants: ele-1
type 0..1 CodeableConcept Code signifying whether a different drug was dispensed from what was prescribed
Binding: v3-ActSubstanceAdminSubstitutionCode (example)
Invariants: ele-1
reason 0..* CodeableConcept Why was substitution made
Binding: v3-SubstanceAdminSubstitutionReason (example)
Invariants: ele-1
responsibleParty 0..* Reference(Practitioner | PractitionerRole) Who is responsible for the substitution
Invariants: ele-1
detectedIssue 0..* Reference(DetectedIssue) Clinical issue with action i
Invariants: ele-1
eventHistory 0..* Reference(Provenance) A list of relevant lifecycle events i
Invariants: ele-1