Profiles & Operations Index > Profile: Medication

Profile: Medication

Simplifier project page: Medication

Derived from: Medication (R4)

Canonical_URLProfile_StatusProfile_VersionFHIR_Version
http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-consumer-profile-Medicationdraft1.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
MedicationStrengthS I0..1Extension(string)
compoundIndicatorS I0..1Extension(boolean)
identifierΣ0..*Identifier
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeΣ0..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBinding
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBinding
displayS Σ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
statusΣ ?!0..1codeBinding
manufacturerΣ I0..1Reference(Organization)
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ1..1string
amountΣ I0..1Ratio
itemCodeableConceptCodeableConcept
itemReferenceReference(Substance | Medication)
isActive0..1boolean
strengthI0..1Ratio
lotNumber0..1string
expirationDate0..1dateTime

Hybrid View

idS Σ0..1System.String
MedicationStrengthS I0..1Extension(string)
compoundIndicatorS I0..1Extension(boolean)
identifierΣ0..*Identifier
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeΣ0..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBinding
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBinding
displayS Σ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
statusΣ ?!0..1codeBinding
manufacturerΣ I0..1Reference(Organization)
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ1..1string
amountΣ I0..1Ratio
itemCodeableConceptCodeableConcept
itemReferenceReference(Substance | Medication)
isActive0..1boolean
strengthI0..1Ratio
lotNumber0..1string
expirationDate0..1dateTime

Snapshot View

idS Σ0..1System.String
MedicationStrengthS I0..1Extension(string)
compoundIndicatorS I0..1Extension(boolean)
identifierΣ0..*Identifier
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeΣ0..1code
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBinding
displayS Σ1..1string
userSelectedΣ0..1boolean
systemS Σ1..1uriFixed Value
versionΣ0..1string
codeS Σ1..1codeBinding
displayS Σ0..1string
userSelectedΣ0..1boolean
textΣ0..1string
statusΣ ?!0..1codeBinding
manufacturerΣ I0..1Reference(Organization)
systemS Σ1..1uri
versionΣ0..1string
codeS Σ1..1code
displayS Σ0..1string
userSelectedΣ0..1boolean
textS Σ1..1string
amountΣ I0..1Ratio
itemCodeableConceptCodeableConcept
itemReferenceReference(Substance | Medication)
isActive0..1boolean
strengthI0..1Ratio
lotNumber0..1string
expirationDate0..1dateTime

Table View

Medication..
Medication.id..
Medication.extension0..
Medication.extensionExtension0..
Medication.extensionExtension0..
Medication.code1..
Medication.code.coding1..8
Medication.code.coding1..1
Medication.code.coding.system1..
Medication.code.coding.code1..
Medication.code.coding.display1..
Medication.code.coding..1
Medication.code.coding.system1..
Medication.code.coding.display1..
Medication.code.coding..3
Medication.code.coding.system1..
Medication.code.coding.code1..
Medication.code.coding.display1..
Medication.code.coding..3
Medication.code.coding.system1..
Medication.code.coding.code1..
Medication.code.coding.display..
Medication.form..
Medication.form.coding1..1
Medication.form.coding.system1..
Medication.form.coding.code1..
Medication.form.coding.display..
Medication.form.text1..


JSON View

{
    "resourceType": "StructureDefinition",
    "id": "9de0a159-f64e-4a20-8f98-96d1ef353015",
    "meta": {
        "lastUpdated": "2022-02-18T19:41:38.913+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-Medication",
    "version": "1.0.0",
    "name": "Medication",
    "status": "draft",
    "date": "2022-02-18",
    "description": "This resource is used for the identification and definition of a medication for the purposes of prescribing, dispensing, and administering a medication.",
    "fhirVersion": "4.0.1",
    "kind": "resource",
    "abstract": false,
    "type": "Medication",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Medication",
                "path": "Medication",
                "mustSupport": true
            },
            {
                "id": "Medication.id",
                "path": "Medication.id",
                "mustSupport": true
            },
            {
                "id": "Medication.extension",
                "path": "Medication.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:MedicationStrength",
                "path": "Medication.extension",
                "sliceName": "MedicationStrength",
                "min": 0,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-medication-strength"
                        ]
                    }
                ]
            },
            {
                "id": "Medication.extension:compoundIndicator",
                "path": "Medication.extension",
                "sliceName": "compoundIndicator",
                "min": 0,
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://ehealthontario.ca/fhir/StructureDefinition/ca-on-medications-ext-compound-indicator"
                        ]
                    }
                ]
            },
            {
                "id": "Medication.code",
                "path": "Medication.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding",
                "path": "Medication.code.coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        },
                        {
                            "type": "value",
                            "path": "code"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1,
                "max": "8",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugIdentifier",
                "path": "Medication.code.coding",
                "sliceName": "drugIdentifier",
                "definition": "A reference to a code defined by a terminology system.\n\nDHDR: Drug Identification Number (DIN). Number issued by Health Canada for drugs that can be legally marketed in Canada.\nIn absence of DINs, Product Identification Numbers (PINs) may be provided instead.\nNote: A future release would also support CCDD Manufactured Product codes",
                "min": 1,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugIdentifier.system",
                "path": "Medication.code.coding.system",
                "definition": "The identification of the code system that defines the meaning of the symbol in the code.\n\nDHDR: The identification of the code system that defines the meaning of the symbol in the code.\nURI of Health Canada DIN or Ontario Provincial PIN or Local Insurance PIN\n\nIn a future release, also URI of CCDD Manufactured Product\n\n\nhttp://hl7.org/fhir/NamingSystem/ca-hc-din \n\"http://ehealthontario.ca/fhir/NamingSystem/ca-on-provincial-pin\" \n\"http://ehealthontario.ca/fhir/NamingSystem/ca-on-local-pin\"",
                "min": 1,
                "fixedUri": "http://hl7.org/fhir/NamingSystem/ca-hc-din",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugIdentifier.code",
                "path": "Medication.code.coding.code",
                "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\n\nDHDR: DIN/PIN of the dispensed drug or pharmacy service. Symbol in syntax defined by the system\n\nIn a future release, also Manufactured Product code from CCDD.",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugIdentifier.display",
                "path": "Medication.code.coding.display",
                "definition": "A representation of the meaning of the code in the system, following the rules of the system.\n\nDHDR: Brand name. Brand/display name of the dispensed drug or pharmacy service.",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugGeneric",
                "path": "Medication.code.coding",
                "sliceName": "drugGeneric",
                "definition": "A reference to a code defined by a terminology system.\n\nDHDR: Drug Name (Generic). Non-proprietary name or generic name of the drug dispensed.",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugGeneric.system",
                "path": "Medication.code.coding.system",
                "min": 1,
                "fixedUri": "https://ehealthontario.ca/fhir/NamingSystem/ca-drug-gen-name",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugGeneric.display",
                "path": "Medication.code.coding.display",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugClass",
                "path": "Medication.code.coding",
                "sliceName": "drugClass",
                "definition": "A reference to a code defined by a terminology system.\n\nDHDR: Therapeutic Classification Name. Pharmacologic-therapeutic classification of the dispensed drug or pharmacy service, used to group interchangeable drug products.\nBased on American Hospital Formulary Service (AHFS)",
                "max": "3",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugClass.system",
                "path": "Medication.code.coding.system",
                "min": 1,
                "fixedUri": "https://ehealthontario.ca/fhir/NamingSystem/ca-on-drug-class-ahfs",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugClass.code",
                "path": "Medication.code.coding.code",
                "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\n\nSubset Defining URL : https://tgateway.infoway-inforoute.ca/vs/drugclassification",
                "min": 1,
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/drugclassification"
                }
            },
            {
                "id": "Medication.code.coding:drugClass.display",
                "path": "Medication.code.coding.display",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugSubclass",
                "path": "Medication.code.coding",
                "sliceName": "drugSubclass",
                "definition": "A reference to a code defined by a terminology system.\n\nDHDR: Therapeutic Sub-Classification Name. Pharmacologic-therapeutic sub-classification of the dispensed drug or pharmacy service\n\nBased on American Hospital Formulary Service (AHFS)",
                "max": "3",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugSubclass.system",
                "path": "Medication.code.coding.system",
                "min": 1,
                "fixedUri": "https://ehealthontario.ca/fhir/NamingSystem/ca-on-drug-subclass-ahfs",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:drugSubclass.code",
                "path": "Medication.code.coding.code",
                "definition": "A symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).\n\nSubset Defining URL : https://tgateway.infoway-inforoute.ca/vs/drugsubclassification",
                "min": 1,
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/drugsubclassification"
                }
            },
            {
                "id": "Medication.code.coding:drugSubclass.display",
                "path": "Medication.code.coding.display",
                "mustSupport": true
            },
            {
                "id": "Medication.form",
                "path": "Medication.form",
                "comment": "When Medication is referenced from MedicationRequest, this is the ordered form.  When Medication is referenced within MedicationDispense, this is the dispensed form.  When Medication is referenced within MedicationAdministration, this is administered form.\n\nDHDR: Drug Dosage Form.  Form of the drug dispensed (e.g. tablet, capsule, injection). Dosage information is presented as a text rather than a code/system pair.",
                "mustSupport": true
            },
            {
                "id": "Medication.form.coding",
                "path": "Medication.form.coding",
                "definition": "A reference to a code defined by a terminology system.\n\nSubset Defining URL: https://tgateway.infoway-inforoute.ca/vs/prescriptiondrugform",
                "min": 1,
                "max": "1",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "valueSet": "https://fhir.infoway-inforoute.ca/ValueSet/prescriptiondrugform"
                }
            },
            {
                "id": "Medication.form.coding.system",
                "path": "Medication.form.coding.system",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.form.coding.code",
                "path": "Medication.form.coding.code",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.form.coding.display",
                "path": "Medication.form.coding.display",
                "mustSupport": true
            },
            {
                "id": "Medication.form.text",
                "path": "Medication.form.text",
                "requirements": "The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.\n\nDHDR: Plain text representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user, e.g. “Inj Sol”\nE.g., a combination of abbreviations: https://tgateway.infoway-inforoute.ca/vs/drugdosageformabbreviations",
                "min": 1,
                "mustSupport": true
            }
        ]
    }
}

Usage

The Medication Resource describes a medication and pharmacy service from the DHDR

Notes

.code

  • sliced coding element
  • code.coding:drugIdentifier is the madatory slice. Drug Identification Number (DIN). Number issued by Health Canada for drugs that can be legally marketed in Canada. In absence of DINs, Product Identification Numbers (PINs) may be provided instead.
  • code.coding:drugIdentifier.system the identification of the code system that defines the meaning of the symbol in the code. URI of Health Canada DIN or Ontario Provincial PIN
  • code.coding:drugIdentifier.code DIN/PIN of the dispensed drug or pharmacy service. Symbol in syntax defined by the system
  • code.coding:drugIdentifier.display brand/display name is type of pharmacy service
  • code.coding:drugGeneric generic name is description of pharmacy service
  • code.coding:drugClass Therapeutic Classification Name. Pharmacologic-therapeutic classification of the dispensed drug or pharmacy service, used to group interchangeable drug products. Based on American Hospital Formulary Service (AHFS)
  • code.coding:drugSubclass Therapeutic Sub-Classification Name. Pharmacologic-therapeutic sub-classification of the dispensed drug or pharmacy service. Based on American Hospital Formulary Service (AHFS)

.form

  • indicates the form of the drug dispensed (e.g. tablet, capsule, injection). Dosage information is presented as a text rather than a code/system pair
  • form.text this element indicates plain text representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user, e.g. “Inj Sol” E.g., a combination of abbreviations: https://tgateway.infoway-inforoute.ca/vs/drugdosageformabbreviations