FHIR © HL7.org  |  Server Home  |  XIG Home  |  XIG Stats  |  Server Source  |  FHIR  

FHIR IG Statistics: StructureDefinition/IHEMedicationDispenseModel

Packageihe.pharm.mpd
Resource TypeStructureDefinition
IdIHEMedicationDispenseModel
FHIR VersionR5
Sourcehttps://profiles.ihe.net/PHARM/MPD/https://build.fhir.org/ig/IHE/pharm-mpd/StructureDefinition-IHEMedicationDispenseModel.html
URLhttps://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel
Version1.0.0-comment-2
Statusactive
Date2025-06-09T07:25:27+00:00
NameIHEMedicationDispenseModel
TitleMedication dispense (model)
Realmuv
Authorityihe
DescriptionLogical model for medication dispense report (based on request or independently)
CopyrightIHE http://www.ihe.net/Governance/#Intellectual_Property
Typehttps://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

StructureDefinition
DosagingInformationDosaging (model)
IHEMedicationOrderModelMedication order (model)
MedicinalProductModelMedicinal product (model)
PatientBasicPatient (model)
PractitionerBasicPractitioner (model)

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition IHEMedicationDispenseModel

NameFlagsCard.TypeDescription & Constraintsdoco
.. IHEMedicationDispenseModel 0..*BaseMedication dispense (model)
Instances of this logical model can be the target of a Reference
... identifier 0..*IdentifierIdentifier for the dispense
... patient 1..1Reference(Patient (model))The person for whom the medication is prescribed/ordered
... receiver 0..1Reference(Patient (model) | Practitioner (model) | RelatedPerson | PractitionerRole)Identification of the person who received the dispensed medication, especially when it was not the patient
... dispenser 1..1Reference(Practitioner (model) | Organization | Device)The person who dispensed the product, and takes the responsibility of the dispensation
... relatedRequest 0..*Reference(Medication order (model))Prescription/request/order the dispense is related to
... medication 1..1Reference(Medicinal product (model))Exact dispensed product
... dispensedQuantity 1..1QuantityNumber of dispensed packages if the pack size is known, or number of smaller items/units
... timeOfDispensation 1..1dateTimeDate and time of dispensation
... substitution 0..1BackboneElementSubstitution was made
.... substitutionOccurred 1..1booleanIndicates whether substitution was made by the dispenser
.... type 0..1CodeableConceptIndicates the type of substitution made by the dispenser
.... reason 0..1CodeableConceptThe reason for the substitution by the dispenser or why a required substitution was not made
... status 1..1CodeableConceptStatus of the dispensation
... statusReason 0..*CodeableConceptReason for the current status of dispensation, for example the reason why the dispensation was made invalid
... statusReasonText 0..1stringTextual reason for the current status of dispensation
... usageInstructions 0..*Reference(Dosaging (model))Dosaging and administration instructions
... comment 0..*stringAdditional information or comments

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "IHEMedicationDispenseModel",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel",
  "version": "1.0.0-comment-2",
  "name": "IHEMedicationDispenseModel",
  "title": "Medication dispense (model)",
  "status": "active",
  "date": "2025-06-09T07:25:27+00:00",
  "publisher": "Integrating the Healthcare Enterprise (IHE)",
  "contact": [
    {
      "name": "Integrating the Healthcare Enterprise (IHE)",
      "telecom": [
        {
          "system": "url",
          "value": "http://ihe.net"
        },
        {
          "system": "email",
          "value": "secretary@ihe.net"
        }
      ]
    },
    {
      "name": "José Costa Teixeira",
      "telecom": [
        {
          "system": "email",
          "value": "jose.a.teixeira@gmail.com",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Logical model for medication dispense report (based on request or independently)",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "001"
        }
      ]
    }
  ],
  "copyright": "IHE http://www.ihe.net/Governance/#Intellectual_Property",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "5.0.0"
      }
    ],
    "element": [
      {
        "id": "IHEMedicationDispenseModel",
        "path": "IHEMedicationDispenseModel",
        "short": "Medication dispense (model)",
        "definition": "Logical model for medication dispense report (based on request or independently)",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.identifier",
        "path": "IHEMedicationDispenseModel.identifier",
        "short": "Identifier for the dispense",
        "definition": "Identifier for the dispense",
        "min": 0,
        "max": "*",
        "base": {
          "path": "IHEMedicationDispenseModel.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.patient",
        "path": "IHEMedicationDispenseModel.patient",
        "short": "The person for whom the medication is prescribed/ordered",
        "definition": "The person for whom the medication is prescribed/ordered",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.patient",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.receiver",
        "path": "IHEMedicationDispenseModel.receiver",
        "short": "Identification of the person who received the dispensed medication, especially when it was not the patient",
        "definition": "Identification of the person who received the dispensed medication, especially when it was not the patient",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.receiver",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic",
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.dispenser",
        "path": "IHEMedicationDispenseModel.dispenser",
        "short": "The person who dispensed the product, and takes the responsibility of the dispensation",
        "definition": "The person who dispensed the product, and takes the responsibility of the dispensation",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.dispenser",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.relatedRequest",
        "path": "IHEMedicationDispenseModel.relatedRequest",
        "short": "Prescription/request/order the dispense is related to",
        "definition": "Prescription/request/order the dispense is related to",
        "min": 0,
        "max": "*",
        "base": {
          "path": "IHEMedicationDispenseModel.relatedRequest",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.medication",
        "path": "IHEMedicationDispenseModel.medication",
        "short": "Exact dispensed product",
        "definition": "Exact dispensed product",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.medication",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.dispensedQuantity",
        "path": "IHEMedicationDispenseModel.dispensedQuantity",
        "short": "Number of dispensed packages if the pack size is known, or number of smaller items/units",
        "definition": "Number of dispensed packages if the pack size is known, or number of smaller items/units",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.dispensedQuantity",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.timeOfDispensation",
        "path": "IHEMedicationDispenseModel.timeOfDispensation",
        "short": "Date and time of dispensation",
        "definition": "Date and time of dispensation",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.timeOfDispensation",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution",
        "path": "IHEMedicationDispenseModel.substitution",
        "short": "Substitution was made",
        "definition": "Substitution was made",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.substitution",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.id",
        "path": "IHEMedicationDispenseModel.substitution.id",
        "representation": [
          "xmlAttr"
        ],
        "short": "Unique id for inter-element referencing",
        "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "Element.id",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl": "id"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "condition": [
          "ele-1"
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.extension",
        "path": "IHEMedicationDispenseModel.substitution.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "description": "Extensions are always sliced by (at least) url",
          "rules": "open"
        },
        "short": "Additional content defined by implementations",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "alias": [
          "extensions",
          "user content"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "Element.extension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.modifierExtension",
        "path": "IHEMedicationDispenseModel.substitution.modifierExtension",
        "short": "Extensions that cannot be ignored even if unrecognized",
        "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
        "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).",
        "alias": [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min": 0,
        "max": "*",
        "base": {
          "path": "BackboneElement.modifierExtension",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Extension"
          }
        ],
        "constraint": [
          {
            "key": "ele-1",
            "severity": "error",
            "human": "All FHIR elements must have a @value or children",
            "expression": "hasValue() or (children().count() > id.count())",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key": "ext-1",
            "severity": "error",
            "human": "Must have either extensions or value[x], not both",
            "expression": "extension.exists() != value.exists()",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": true,
        "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary": true,
        "mapping": [
          {
            "identity": "rim",
            "map": "N/A"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
        "path": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
        "short": "Indicates whether substitution was made by the dispenser",
        "definition": "Indicates whether substitution was made by the dispenser",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.type",
        "path": "IHEMedicationDispenseModel.substitution.type",
        "short": "Indicates the type of substitution made by the dispenser",
        "definition": "Indicates the type of substitution made by the dispenser",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.substitution.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.reason",
        "path": "IHEMedicationDispenseModel.substitution.reason",
        "short": "The reason for the substitution by the dispenser or why a required substitution was not made",
        "definition": "The reason for the substitution by the dispenser or why a required substitution was not made",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.substitution.reason",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.status",
        "path": "IHEMedicationDispenseModel.status",
        "short": "Status of the dispensation",
        "definition": "Status of the dispensation",
        "min": 1,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.statusReason",
        "path": "IHEMedicationDispenseModel.statusReason",
        "short": "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
        "definition": "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
        "min": 0,
        "max": "*",
        "base": {
          "path": "IHEMedicationDispenseModel.statusReason",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.statusReasonText",
        "path": "IHEMedicationDispenseModel.statusReasonText",
        "short": "Textual reason for the current status of dispensation",
        "definition": "Textual reason for the current status of dispensation",
        "min": 0,
        "max": "1",
        "base": {
          "path": "IHEMedicationDispenseModel.statusReasonText",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.usageInstructions",
        "path": "IHEMedicationDispenseModel.usageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "min": 0,
        "max": "*",
        "base": {
          "path": "IHEMedicationDispenseModel.usageInstructions",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.comment",
        "path": "IHEMedicationDispenseModel.comment",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "*",
        "base": {
          "path": "IHEMedicationDispenseModel.comment",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "IHEMedicationDispenseModel",
        "path": "IHEMedicationDispenseModel",
        "short": "Medication dispense (model)",
        "definition": "Logical model for medication dispense report (based on request or independently)"
      },
      {
        "id": "IHEMedicationDispenseModel.identifier",
        "path": "IHEMedicationDispenseModel.identifier",
        "short": "Identifier for the dispense",
        "definition": "Identifier for the dispense",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.patient",
        "path": "IHEMedicationDispenseModel.patient",
        "short": "The person for whom the medication is prescribed/ordered",
        "definition": "The person for whom the medication is prescribed/ordered",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.receiver",
        "path": "IHEMedicationDispenseModel.receiver",
        "short": "Identification of the person who received the dispensed medication, especially when it was not the patient",
        "definition": "Identification of the person who received the dispensed medication, especially when it was not the patient",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic",
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic",
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.dispenser",
        "path": "IHEMedicationDispenseModel.dispenser",
        "short": "The person who dispensed the product, and takes the responsibility of the dispensation",
        "definition": "The person who dispensed the product, and takes the responsibility of the dispensation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic",
              "http://hl7.org/fhir/StructureDefinition/Organization",
              "http://hl7.org/fhir/StructureDefinition/Device"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.relatedRequest",
        "path": "IHEMedicationDispenseModel.relatedRequest",
        "short": "Prescription/request/order the dispense is related to",
        "definition": "Prescription/request/order the dispense is related to",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.medication",
        "path": "IHEMedicationDispenseModel.medication",
        "short": "Exact dispensed product",
        "definition": "Exact dispensed product",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.dispensedQuantity",
        "path": "IHEMedicationDispenseModel.dispensedQuantity",
        "short": "Number of dispensed packages if the pack size is known, or number of smaller items/units",
        "definition": "Number of dispensed packages if the pack size is known, or number of smaller items/units",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.timeOfDispensation",
        "path": "IHEMedicationDispenseModel.timeOfDispensation",
        "short": "Date and time of dispensation",
        "definition": "Date and time of dispensation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution",
        "path": "IHEMedicationDispenseModel.substitution",
        "short": "Substitution was made",
        "definition": "Substitution was made",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
        "path": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
        "short": "Indicates whether substitution was made by the dispenser",
        "definition": "Indicates whether substitution was made by the dispenser",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "boolean"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.type",
        "path": "IHEMedicationDispenseModel.substitution.type",
        "short": "Indicates the type of substitution made by the dispenser",
        "definition": "Indicates the type of substitution made by the dispenser",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.substitution.reason",
        "path": "IHEMedicationDispenseModel.substitution.reason",
        "short": "The reason for the substitution by the dispenser or why a required substitution was not made",
        "definition": "The reason for the substitution by the dispenser or why a required substitution was not made",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.status",
        "path": "IHEMedicationDispenseModel.status",
        "short": "Status of the dispensation",
        "definition": "Status of the dispensation",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.statusReason",
        "path": "IHEMedicationDispenseModel.statusReason",
        "short": "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
        "definition": "Reason for the current status of dispensation, for example the reason why the dispensation was made invalid",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.statusReasonText",
        "path": "IHEMedicationDispenseModel.statusReasonText",
        "short": "Textual reason for the current status of dispensation",
        "definition": "Textual reason for the current status of dispensation",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.usageInstructions",
        "path": "IHEMedicationDispenseModel.usageInstructions",
        "short": "Dosaging and administration instructions",
        "definition": "Dosaging and administration instructions",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation"
            ]
          }
        ]
      },
      {
        "id": "IHEMedicationDispenseModel.comment",
        "path": "IHEMedicationDispenseModel.comment",
        "short": "Additional information or comments",
        "definition": "Additional information or comments",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}