Profiles & Operations Index > Profile: MedicationDispense

Profile: MedicationDispense

Simplifier project page: MedicationDispense

Derived from: MedicationDispense (R4)

Canonical_URLProfile_StatusProfile_VersionFHIR_Version
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-MedicationDispensedraft1.0.04.0.1

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work

Differential View

idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
DispenseRemainingRefillsS I0..1Extension(integer)
DispenseRemainingQuantityS I0..1Extension(Quantity)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ0..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
partOfI0..*Reference(Procedure)
statusS Σ ?!1..1codeBinding
statusReasonCodeableConceptCodeableConcept
statusReasonReferenceReference(DetectedIssue)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
medicationReferenceReference(Medication)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
contextI0..1Reference(Encounter | EpisodeOfCare)
supportingInformationI0..*Reference(Resource)
function0..1CodeableConcept
actorI1..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson)
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
locationI0..1Reference(Location)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
type0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
whenPreparedS Σ1..1dateTime
whenHandedOverS0..1dateTime
destinationI0..1Reference(Location)
receiverI0..*Reference(Patient | Practitioner)
note0..*Annotation
sequenceΣ0..1integer
textS Σ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionS Σ0..1string
eventΣ0..*dateTime
boundsDurationDuration
boundsRangeRange
boundsPeriodPeriod
countΣ0..1positiveInt
countMaxΣ0..1positiveInt
durationΣ0..1decimal
durationMaxΣ0..1decimal
durationUnitΣ0..1codeBinding
frequencyS Σ1..1positiveInt
frequencyMaxΣ0..1positiveInt
periodS Σ1..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ1..1codeBinding
dayOfWeekΣ0..*codeBinding
timeOfDayΣ0..*time
whenΣ0..*codeBinding
offsetΣ0..1unsignedInt
codeΣ0..1CodeableConceptBinding
asNeededBooleanboolean
siteΣ0..1CodeableConcept
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
methodΣ0..1CodeableConcept
typeΣ0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
maxDosePerPeriodΣ I0..1Ratio
maxDosePerAdministrationΣ I0..1SimpleQuantity
maxDosePerLifetimeΣ I0..1SimpleQuantity
wasSubstituted1..1boolean
type0..1CodeableConcept
reason0..*CodeableConcept
responsiblePartyI0..*Reference(Practitioner | PractitionerRole)
detectedIssueI0..*Reference(DetectedIssue)
eventHistoryI0..*Reference(Provenance)

Hybrid View

idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
DispenseRemainingRefillsS I0..1Extension(integer)
DispenseRemainingQuantityS I0..1Extension(Quantity)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ0..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
partOfI0..*Reference(Procedure)
statusS Σ ?!1..1codeBinding
statusReasonCodeableConceptCodeableConcept
statusReasonReferenceReference(DetectedIssue)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
medicationReferenceReference(Medication)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
contextI0..1Reference(Encounter | EpisodeOfCare)
supportingInformationI0..*Reference(Resource)
function0..1CodeableConcept
actorI1..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson)
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
locationI0..1Reference(Location)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
type0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
whenPreparedS Σ1..1dateTime
whenHandedOverS0..1dateTime
destinationI0..1Reference(Location)
receiverI0..*Reference(Patient | Practitioner)
note0..*Annotation
sequenceΣ0..1integer
textS Σ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionS Σ0..1string
eventΣ0..*dateTime
boundsDurationDuration
boundsRangeRange
boundsPeriodPeriod
countΣ0..1positiveInt
countMaxΣ0..1positiveInt
durationΣ0..1decimal
durationMaxΣ0..1decimal
durationUnitΣ0..1codeBinding
frequencyS Σ1..1positiveInt
frequencyMaxΣ0..1positiveInt
periodS Σ1..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ1..1codeBinding
dayOfWeekΣ0..*codeBinding
timeOfDayΣ0..*time
whenΣ0..*codeBinding
offsetΣ0..1unsignedInt
codeΣ0..1CodeableConceptBinding
asNeededBooleanboolean
siteΣ0..1CodeableConcept
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
methodΣ0..1CodeableConcept
typeΣ0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
maxDosePerPeriodΣ I0..1Ratio
maxDosePerAdministrationΣ I0..1SimpleQuantity
maxDosePerLifetimeΣ I0..1SimpleQuantity
wasSubstituted1..1boolean
type0..1CodeableConcept
reason0..*CodeableConcept
responsiblePartyI0..*Reference(Practitioner | PractitionerRole)
detectedIssueI0..*Reference(DetectedIssue)
eventHistoryI0..*Reference(Provenance)

Snapshot View

idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
idS Σ0..1System.String
versionIdΣ0..1id
lastUpdatedS Σ0..1instant
sourceS Σ0..1uri
profileΣ0..*canonical(StructureDefinition)
securityΣ0..*CodingBinding
tagΣ0..*Coding
DispenseRemainingRefillsS I0..1Extension(integer)
DispenseRemainingQuantityS I0..1Extension(Quantity)
useΣ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ0..1uri
valueS Σ1..1string
periodΣ I0..1Period
assignerΣ I0..1Reference(Organization)
partOfI0..*Reference(Procedure)
statusS Σ ?!1..1codeBinding
statusReasonCodeableConceptCodeableConcept
statusReasonReferenceReference(DetectedIssue)
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
textΣ0..1string
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
medicationReferenceReference(Medication)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
contextI0..1Reference(Encounter | EpisodeOfCare)
supportingInformationI0..*Reference(Resource)
function0..1CodeableConcept
actorI1..1Reference(Practitioner | PractitionerRole | Organization | Patient | Device | RelatedPerson)
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
function0..1CodeableConcept
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
locationI0..1Reference(Location)
referenceS Σ I1..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayΣ0..1string
type0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
valueΣ1..1decimal
comparatorΣ ?!0..0codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
whenPreparedS Σ1..1dateTime
whenHandedOverS0..1dateTime
destinationI0..1Reference(Location)
receiverI0..*Reference(Patient | Practitioner)
note0..*Annotation
sequenceΣ0..1integer
textS Σ0..1string
additionalInstructionΣ0..*CodeableConcept
patientInstructionS Σ0..1string
eventΣ0..*dateTime
boundsDurationDuration
boundsRangeRange
boundsPeriodPeriod
countΣ0..1positiveInt
countMaxΣ0..1positiveInt
durationΣ0..1decimal
durationMaxΣ0..1decimal
durationUnitΣ0..1codeBinding
frequencyS Σ1..1positiveInt
frequencyMaxΣ0..1positiveInt
periodS Σ1..1decimal
periodMaxS Σ0..1decimal
periodUnitS Σ1..1codeBinding
dayOfWeekΣ0..*codeBinding
timeOfDayΣ0..*time
whenΣ0..*codeBinding
offsetΣ0..1unsignedInt
codeΣ0..1CodeableConceptBinding
asNeededBooleanboolean
siteΣ0..1CodeableConcept
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
methodΣ0..1CodeableConcept
typeΣ0..1CodeableConcept
valueS Σ1..1decimal
comparatorΣ ?!0..0codeBinding
unitS Σ0..1string
systemS Σ I0..1uri
codeS Σ0..1codeBinding
rateRatioRatio
rateRangeRange
rateQuantitySimpleQuantity
maxDosePerPeriodΣ I0..1Ratio
maxDosePerAdministrationΣ I0..1SimpleQuantity
maxDosePerLifetimeΣ I0..1SimpleQuantity
wasSubstituted1..1boolean
type0..1CodeableConcept
reason0..*CodeableConcept
responsiblePartyI0..*Reference(Practitioner | PractitionerRole)
detectedIssueI0..*Reference(DetectedIssue)
eventHistoryI0..*Reference(Provenance)

Table View

MedicationDispense..
MedicationDispense.id..
MedicationDispense.meta..
MedicationDispense.meta.lastUpdated..
MedicationDispense.meta.source..
MedicationDispense.containedMedication, MedicationRequestPrescription, Patient, PractitionerPrescriber, PractitionerDispenser, OrganizationDispenser1..
MedicationDispense.contained.id..
MedicationDispense.contained.meta..
MedicationDispense.contained.meta.lastUpdated..
MedicationDispense.contained.meta.source..
MedicationDispense.extension0..
MedicationDispense.extensionExtension0..1
MedicationDispense.extensionExtension0..1
MedicationDispense.identifier1..1
MedicationDispense.identifier.system..
MedicationDispense.identifier.value1..
MedicationDispense.status..
MedicationDispense.category..
MedicationDispense.category.coding1..1
MedicationDispense.category.coding.system1..
MedicationDispense.category.coding.code1..
MedicationDispense.category.coding.display1..
MedicationDispense.medication[x]Reference(Medication)..
MedicationDispense.medication[x].reference1..
MedicationDispense.subjectReference(Patient)1..
MedicationDispense.subject.reference1..
MedicationDispense.performer..2
MedicationDispense.performer..1
MedicationDispense.performer.actorReference(OrganizationDispenser)..
MedicationDispense.performer.actor.reference1..
MedicationDispense.performer..1
MedicationDispense.performer.actorReference(PractitionerDispenser)..
MedicationDispense.performer.actor.reference1..
MedicationDispense.authorizingPrescriptionReference(MedicationRequestPrescription)..1
MedicationDispense.authorizingPrescription.reference1..
MedicationDispense.quantity1..
MedicationDispense.quantity.value1..
MedicationDispense.quantity.unit..
MedicationDispense.quantity.system..
MedicationDispense.quantity.code..
MedicationDispense.daysSupply..
MedicationDispense.daysSupply.value1..
MedicationDispense.whenPrepared1..
MedicationDispense.whenHandedOver..
MedicationDispense.dosageInstruction..1
MedicationDispense.dosageInstruction.text..
MedicationDispense.dosageInstruction.patientInstruction..
MedicationDispense.dosageInstruction.timing..
MedicationDispense.dosageInstruction.timing.repeat1..
MedicationDispense.dosageInstruction.timing.repeat.frequency1..
MedicationDispense.dosageInstruction.timing.repeat.period1..
MedicationDispense.dosageInstruction.timing.repeat.periodMax..
MedicationDispense.dosageInstruction.timing.repeat.periodUnit1..
MedicationDispense.dosageInstruction.asNeeded[x]boolean..
MedicationDispense.dosageInstruction.route..
MedicationDispense.dosageInstruction.route.coding1..1
MedicationDispense.dosageInstruction.route.coding.system1..
MedicationDispense.dosageInstruction.route.coding.code1..
MedicationDispense.dosageInstruction.route.text..
MedicationDispense.dosageInstruction.doseAndRate..1
MedicationDispense.dosageInstruction.doseAndRate.dose[x]Quantity..
MedicationDispense.dosageInstruction.doseAndRate.dose[x].value1..
MedicationDispense.dosageInstruction.doseAndRate.dose[x].unit..
MedicationDispense.dosageInstruction.doseAndRate.dose[x].system..
MedicationDispense.dosageInstruction.doseAndRate.dose[x].code..


JSON View

{
    "resourceType": "StructureDefinition",
    "id": "d5d38102-c557-41af-a34b-38bfa77a5en5",
    "meta": {
        "lastUpdated": "2023-03-13T16:06:23.0239426+00:00"
    },
    "text": {
        "status": "empty",
        --- We have skipped the narrative for better readability of the resource ---
    },
    "url": "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-MedicationDispense",
    "version": "1.0.0",
    "name": "MedicationDispense",
    "status": "draft",
    "date": "2022-02-18",
    "description": "Indicates that a medication is to be or has been dispensed for a named patient",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "MedicationDispense",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "MedicationDispense",
                "path": "MedicationDispense",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.id",
                "path": "MedicationDispense.id",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.meta",
                "path": "MedicationDispense.meta",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.meta.lastUpdated",
                "path": "MedicationDispense.meta.lastUpdated",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.meta.source",
                "path": "MedicationDispense.meta.source",
                "definition": "A uri that identifies the source system of the resource. This provides a minimal amount of [Provenance](provenance.html#) information that can be used to track or differentiate the source of information in the resource. The source may identify another FHIR server, document, message, database, etc.\n\nDHDR Note: \nHNS: http://ehealthontario.ca/hns\nNMS: http://ehealthontario.ca/nms\nPharmacy: http://ehealthontario.ca/pharmacy",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained",
                "path": "MedicationDispense.contained",
                "min": 1,
                "type":  [
                    {
                        "code": "Resource",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Medication",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-MedicationRequest",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Patient-dispense",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Practitioner-prescriber",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Practitioner-dispenser",
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Organization-dispenser"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.id",
                "path": "MedicationDispense.contained.id",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.meta",
                "path": "MedicationDispense.contained.meta",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.meta.lastUpdated",
                "path": "MedicationDispense.contained.meta.lastUpdated",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.contained.meta.source",
                "path": "MedicationDispense.contained.meta.source",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.extension",
                "path": "MedicationDispense.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "MedicationDispense.extension:DispenseRemainingRefills",
                "path": "MedicationDispense.extension",
                "sliceName": "DispenseRemainingRefills",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-refills-remaining"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationDispense.extension:DispenseRemainingQuantity",
                "path": "MedicationDispense.extension",
                "sliceName": "DispenseRemainingQuantity",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-quantity-remaining"
                        ]
                    }
                ]
            },
            {
                "id": "MedicationDispense.identifier",
                "path": "MedicationDispense.identifier",
                "comment": "This is a business identifier, not a resource identifier.\n\nDHDR: Current Rx Number. Identifier assigned by the dispensing pharmacy.",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier.system",
                "path": "MedicationDispense.identifier.system",
                "definition": "Establishes the namespace for the value - that is, a URL that describes a set values that are unique.\n\nDHDR: The namespace for the identifier value. This might be unknown for some dispenses that get loaded to DHDR from non-pharmacy feeds, e.g. ODB or NMS.\n\ne.g. \"[id-system-local-base]/ca-on-pharmacy-[Pharmacy ID]-rx-number\"",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.identifier.value",
                "path": "MedicationDispense.identifier.value",
                "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system.\n\nDHDR: Current Rx Number (assigned by a pharmacy). The unique identifier of the data source record.",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.status",
                "path": "MedicationDispense.status",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category",
                "path": "MedicationDispense.category",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "description": "Dispense type, e.g. drug, device or pharmacy service",
                    "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/medicationdispensecategory"
                }
            },
            {
                "id": "MedicationDispense.category.coding",
                "path": "MedicationDispense.category.coding",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category.coding.system",
                "path": "MedicationDispense.category.coding.system",
                "min": 1,
                "fixedUri": "http://ehealthontario.ca/fhir/NamingSystem/ca-on-medication-dispense-category",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category.coding.code",
                "path": "MedicationDispense.category.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.category.coding.display",
                "path": "MedicationDispense.category.coding.display",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.medication[x]",
                "path": "MedicationDispense.medication[x]",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Medication"
                        ]
                    }
                ],
                "mustSupport": true,
                "binding": {
                    "strength": "example"
                }
            },
            {
                "id": "MedicationDispense.medication[x].reference",
                "path": "MedicationDispense.medication[x].reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.subject",
                "path": "MedicationDispense.subject",
                "min": 1,
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Patient-dispense"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.subject.reference",
                "path": "MedicationDispense.subject.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer",
                "path": "MedicationDispense.performer",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "actor.reference"
                        }
                    ],
                    "rules": "open"
                },
                "max": "2",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer:performerOrganization",
                "path": "MedicationDispense.performer",
                "sliceName": "performerOrganization",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer:performerOrganization.actor",
                "path": "MedicationDispense.performer.actor",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Organization-dispenser"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer:performerOrganization.actor.reference",
                "path": "MedicationDispense.performer.actor.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer:performerPractitioner",
                "path": "MedicationDispense.performer",
                "sliceName": "performerPractitioner",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer:performerPractitioner.actor",
                "path": "MedicationDispense.performer.actor",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Practitioner-dispenser"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.performer:performerPractitioner.actor.reference",
                "path": "MedicationDispense.performer.actor.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.authorizingPrescription",
                "path": "MedicationDispense.authorizingPrescription",
                "definition": "Indicates the medication order that is being dispensed against.\n\nDHDR: Medication / pharmacy service order.",
                "max": "1",
                "type":  [
                    {
                        "code": "Reference",
                        "targetProfile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-MedicationRequest"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.authorizingPrescription.reference",
                "path": "MedicationDispense.authorizingPrescription.reference",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity",
                "path": "MedicationDispense.quantity",
                "comment": "The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator.\n\nDHDR: Dispensed Quantity. Quantity of medication dispensed (dosage units or metric weights).",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity.value",
                "path": "MedicationDispense.quantity.value",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity.unit",
                "path": "MedicationDispense.quantity.unit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity.system",
                "path": "MedicationDispense.quantity.system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.quantity.code",
                "path": "MedicationDispense.quantity.code",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://tgateway.infoway-inforoute.ca/vs/prescribedquantityunit"
                }
            },
            {
                "id": "MedicationDispense.daysSupply",
                "path": "MedicationDispense.daysSupply",
                "definition": "The amount of medication expressed as a timing amount.\n\nDHDR:  Days’ Supply. Estimated number of days of treatment based on the directions for use on the prescription and the pharmacists judgment on usage",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.daysSupply.value",
                "path": "MedicationDispense.daysSupply.value",
                "min": 1
            },
            {
                "id": "MedicationDispense.whenPrepared",
                "path": "MedicationDispense.whenPrepared",
                "definition": "The time when the dispensed product was packaged and reviewed.\n\nDHDR: Dispense Date. When product was packaged and reviewed.",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.whenHandedOver",
                "path": "MedicationDispense.whenHandedOver",
                "definition": "The time the dispensed product was provided to the patient or their representative.\n\nDHDR: Pickup Date. When product was given out (picked up by a patient or their representative).",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction",
                "path": "MedicationDispense.dosageInstruction",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.text",
                "path": "MedicationDispense.dosageInstruction.text",
                "definition": "Free text dosage instructions e.g. SIG.\n\nDHDR: Dosage Specification. Free text dosage instructions.",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.patientInstruction",
                "path": "MedicationDispense.dosageInstruction.patientInstruction",
                "definition": "Instructions in terms that are understood by the patient or consumer.\n\nDHDR: Patient Dosage Instruction.  The instructions to the patient on how to take the medication (e.g. with food)",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing",
                "path": "MedicationDispense.dosageInstruction.timing",
                "definition": "When medication should be administered.\n\nDHDR: Frequency. A timing schedule that specifies an event that may occur multiple times",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat",
                "path": "MedicationDispense.dosageInstruction.timing.repeat",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.frequency",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.frequency",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.period",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.period",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.periodMax",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.periodMax",
                "definition": "If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as \"do this once every 3-5 days.\n\nDHDR: The upper limit of the period.  This field is used when the dosage is a range, for example, every 4-6 hours.",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.timing.repeat.periodUnit",
                "path": "MedicationDispense.dosageInstruction.timing.repeat.periodUnit",
                "min": 1,
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "http://hl7.org/fhir/ValueSet/units-of-time|4.0.0"
                }
            },
            {
                "id": "MedicationDispense.dosageInstruction.asNeeded[x]",
                "path": "MedicationDispense.dosageInstruction.asNeeded[x]",
                "definition": "DHDR: PRN Indicator.  Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).",
                "type":  [
                    {
                        "code": "boolean"
                    }
                ],
                "mustSupport": true,
                "binding": {
                    "strength": "example"
                }
            },
            {
                "id": "MedicationDispense.dosageInstruction.route",
                "path": "MedicationDispense.dosageInstruction.route",
                "requirements": "Route. A code specifying the route or physiological path of administration of a therapeutic agent into or onto a patient's body.",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding",
                "path": "MedicationDispense.dosageInstruction.route.coding",
                "min": 1,
                "max": "1",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://terminology.hl7.org/CodeSystem/v3-RouteOfAdministration"
                }
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding.system",
                "path": "MedicationDispense.dosageInstruction.route.coding.system",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.coding.code",
                "path": "MedicationDispense.dosageInstruction.route.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.route.text",
                "path": "MedicationDispense.dosageInstruction.route.text",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate",
                "path": "MedicationDispense.dosageInstruction.doseAndRate",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
                "definition": "Dose. Amount of medication per dose.",
                "type":  [
                    {
                        "code": "Quantity"
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].value",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].value",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].unit",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].unit",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].system",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].system",
                "mustSupport": true
            },
            {
                "id": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].code",
                "path": "MedicationDispense.dosageInstruction.doseAndRate.dose[x].code",
                "definition": "A computer processable form of the unit in some unit representation system.\n\nSubset Defining URL: https://tgateway.infoway-inforoute.ca/vs/prescriptiondosequantityunit",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescribedquantityunit"
                }
            }
        ]
    }
}

Usage

The MedicationDispense Resource represents a medication report from DHDR. MedicationDispense shall contain references to other resources such as patient, practitioner, organization, medication, and medicationRequest resources.

Notes

.identifier

  • business identifier for the medication report
  • the field contains current Rx Number assigned by the dispensing pharmacy
  • identifier.system the namespace for the identifier value. This might be unknown for some dispenses that get loaded to DHDR from non-pharmacy feeds, e.g. ODB or NMS.
    e.g. "[id-system-local-base]/ca-on-pharmacy-[Pharmacy ID]-rx-number"
  • identifier.value the unique identifier of the data source record (RX number for pharmacy feeds, Immunization ID for COVaxON records)

.performer

  • This field identifies the actor that is the dispenser of the medication (despensing pharmacy or dispensing pharmacist). It should contain a reference to an organization or ptactitioner instance in the bundle.

.authorizingPrescription

  • this field indicates the medication dispensed or pharmacy service rendered

.quantity

  • this field indicates the quantity of medication dispensed (dosage units or metric weights)

.daysSupply

  • estimated number of days of treatment based on the directions for use on the prescription and the pharmacists judgment on usage

.whenPrepared

  • this field indicates dispense date (when product was packaged and reviewed) - when pharmacy service was rendered

.whenHandedOver

  • this field indicates when product was given out (picked up by a patient or their representative)

.dosageInstruction

  • dosageInstruction.text the dosage specification. Free text dosage instructions.
  • dosageInstruction.patientInstruction this field indicates patient dosage instruction. The instructions to the patient on how to take the medication (e.g. with food)
  • dosageInstruction.timing this field indicates frequency, a timing schedule that specifies an event that may occur multiple times
  • dosageInstruction.timing.repeat.periodMax this field indicates the upper limit of the period when the dosage is a range, for example, every 4-6 hours.
  • dosageInstruction.asNeeded[x]PRN indicator. Indicates whether the Medication is only taken when needed within a specific dosing schedule (Boolean option), or it indicates the precondition for taking the Medication (CodeableConcept).