PackagesCanonicalsLogsProblems
    Packages
    ihe.pharm.mpd@1.0.0-comment-2
    https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel
{
  "description": "Logical model for medication dispense report (based on request or independently)",
  "_filename": "StructureDefinition-IHEMedicationDispenseModel.json",
  "package_name": "ihe.pharm.mpd",
  "date": "2025-05-27T16:32:53+02:00",
  "derivation": "specialization",
  "publisher": "Integrating the Healthcare Enterprise (IHE)",
  "fhirVersion": "5.0.0",
  "jurisdiction": [ {
    "coding": [ {
      "code": "001",
      "system": "http://unstats.un.org/unsd/methods/m49/m49.htm"
    } ]
  } ],
  "name": "IHEMedicationDispenseModel",
  "mapping": [ {
    "uri": "http://hl7.org/v3",
    "name": "RIM Mapping",
    "identity": "rim"
  } ],
  "abstract": false,
  "copyright": "IHE http://www.ihe.net/Governance/#Intellectual_Property",
  "type": "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": "Medication dispense (model)",
  "package_version": "1.0.0-comment-2",
  "extension": [ {
    "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
    "valueCode": "can-be-target"
  } ],
  "snapshot": {
    "element": [ {
      "path": "IHEMedicationDispenseModel",
      "min": 0,
      "definition": "Logical model for medication dispense report (based on request or independently)",
      "isModifier": false,
      "short": "Medication dispense (model)",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "max": "*",
      "id": "IHEMedicationDispenseModel",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Base"
      }
    }, {
      "id": "IHEMedicationDispenseModel.identifier",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "IHEMedicationDispenseModel.identifier"
      },
      "path": "IHEMedicationDispenseModel.identifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifier for the dispense",
      "definition": "Identifier for the dispense"
    }, {
      "id": "IHEMedicationDispenseModel.patient",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.patient"
      },
      "path": "IHEMedicationDispenseModel.patient",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic" ]
      } ],
      "short": "The person for whom the medication is prescribed/ordered",
      "definition": "The person for whom the medication is prescribed/ordered"
    }, {
      "id": "IHEMedicationDispenseModel.receiver",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IHEMedicationDispenseModel.receiver"
      },
      "path": "IHEMedicationDispenseModel.receiver",
      "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" ]
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.dispenser",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.dispenser"
      },
      "path": "IHEMedicationDispenseModel.dispenser",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.relatedRequest",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "IHEMedicationDispenseModel.relatedRequest"
      },
      "path": "IHEMedicationDispenseModel.relatedRequest",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel" ]
      } ],
      "short": "Prescription/request/order the dispense is related to",
      "definition": "Prescription/request/order the dispense is related to"
    }, {
      "id": "IHEMedicationDispenseModel.medication",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.medication"
      },
      "path": "IHEMedicationDispenseModel.medication",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel" ]
      } ],
      "short": "Exact dispensed product",
      "definition": "Exact dispensed product"
    }, {
      "id": "IHEMedicationDispenseModel.dispensedQuantity",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.dispensedQuantity"
      },
      "path": "IHEMedicationDispenseModel.dispensedQuantity",
      "type": [ {
        "code": "Quantity"
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.timeOfDispensation",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.timeOfDispensation"
      },
      "path": "IHEMedicationDispenseModel.timeOfDispensation",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date and time of dispensation",
      "definition": "Date and time of dispensation"
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      } ],
      "path": "IHEMedicationDispenseModel.substitution",
      "min": 0,
      "definition": "Substitution was made",
      "short": "Substitution was made",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "max": "1",
      "id": "IHEMedicationDispenseModel.substitution",
      "base": {
        "max": "1",
        "min": 0,
        "path": "IHEMedicationDispenseModel.substitution"
      }
    }, {
      "path": "IHEMedicationDispenseModel.substitution.id",
      "min": 0,
      "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
      "isModifier": false,
      "short": "Unique id for inter-element referencing",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "http://hl7.org/fhirpath/System.String",
        "extension": [ {
          "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
          "valueUrl": "id"
        } ]
      } ],
      "representation": [ "xmlAttr" ],
      "max": "1",
      "id": "IHEMedicationDispenseModel.substitution.id",
      "condition": [ "ele-1" ],
      "base": {
        "max": "1",
        "min": 0,
        "path": "Element.id"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "IHEMedicationDispenseModel.substitution.extension",
      "min": 0,
      "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.",
      "isModifier": false,
      "short": "Additional content defined by implementations",
      "mapping": [ {
        "map": "n/a",
        "identity": "rim"
      } ],
      "slicing": {
        "rules": "open",
        "description": "Extensions are always sliced by (at least) url",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      },
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content" ],
      "max": "*",
      "id": "IHEMedicationDispenseModel.substitution.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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "Element.extension"
      },
      "isSummary": false
    }, {
      "constraint": [ {
        "key": "ele-1",
        "human": "All FHIR elements must have a @value or children",
        "source": "http://hl7.org/fhir/StructureDefinition/Element",
        "severity": "error",
        "expression": "hasValue() or (children().count() > id.count())"
      }, {
        "key": "ext-1",
        "human": "Must have either extensions or value[x], not both",
        "source": "http://hl7.org/fhir/StructureDefinition/Extension",
        "severity": "error",
        "expression": "extension.exists() != value.exists()"
      } ],
      "path": "IHEMedicationDispenseModel.substitution.modifierExtension",
      "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).",
      "min": 0,
      "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).",
      "isModifier": true,
      "short": "Extensions that cannot be ignored even if unrecognized",
      "mapping": [ {
        "map": "N/A",
        "identity": "rim"
      } ],
      "type": [ {
        "code": "Extension"
      } ],
      "alias": [ "extensions", "user content", "modifiers" ],
      "max": "*",
      "id": "IHEMedicationDispenseModel.substitution.modifierExtension",
      "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.",
      "base": {
        "max": "*",
        "min": 0,
        "path": "BackboneElement.modifierExtension"
      },
      "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
      "isSummary": true
    }, {
      "id": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.substitution.substitutionOccurred"
      },
      "path": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Indicates whether substitution was made by the dispenser",
      "definition": "Indicates whether substitution was made by the dispenser"
    }, {
      "id": "IHEMedicationDispenseModel.substitution.type",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IHEMedicationDispenseModel.substitution.type"
      },
      "path": "IHEMedicationDispenseModel.substitution.type",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Indicates the type of substitution made by the dispenser",
      "definition": "Indicates the type of substitution made by the dispenser"
    }, {
      "id": "IHEMedicationDispenseModel.substitution.reason",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IHEMedicationDispenseModel.substitution.reason"
      },
      "path": "IHEMedicationDispenseModel.substitution.reason",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.status",
      "max": "1",
      "min": 1,
      "base": {
        "max": "1",
        "min": 1,
        "path": "IHEMedicationDispenseModel.status"
      },
      "path": "IHEMedicationDispenseModel.status",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Status of the dispensation",
      "definition": "Status of the dispensation"
    }, {
      "id": "IHEMedicationDispenseModel.statusReason",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "IHEMedicationDispenseModel.statusReason"
      },
      "path": "IHEMedicationDispenseModel.statusReason",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.statusReasonText",
      "max": "1",
      "min": 0,
      "base": {
        "max": "1",
        "min": 0,
        "path": "IHEMedicationDispenseModel.statusReasonText"
      },
      "path": "IHEMedicationDispenseModel.statusReasonText",
      "type": [ {
        "code": "string"
      } ],
      "short": "Textual reason for the current status of dispensation",
      "definition": "Textual reason for the current status of dispensation"
    }, {
      "id": "IHEMedicationDispenseModel.usageInstructions",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "IHEMedicationDispenseModel.usageInstructions"
      },
      "path": "IHEMedicationDispenseModel.usageInstructions",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation" ]
      } ],
      "short": "Dosaging and administration instructions",
      "definition": "Dosaging and administration instructions"
    }, {
      "id": "IHEMedicationDispenseModel.comment",
      "max": "*",
      "min": 0,
      "base": {
        "max": "*",
        "min": 0,
        "path": "IHEMedicationDispenseModel.comment"
      },
      "path": "IHEMedicationDispenseModel.comment",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "definition": "Additional information or comments"
    } ],
    "extension": [ {
      "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
      "valueString": "5.0.0"
    } ]
  },
  "status": "active",
  "id": "1038ce0b-a4b5-49b1-8128-f6f8109b4a45",
  "kind": "logical",
  "url": "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationDispenseModel",
  "version": "1.0.0-comment-2",
  "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",
      "max": "*",
      "min": 0,
      "path": "IHEMedicationDispenseModel.identifier",
      "type": [ {
        "code": "Identifier"
      } ],
      "short": "Identifier for the dispense",
      "definition": "Identifier for the dispense"
    }, {
      "id": "IHEMedicationDispenseModel.patient",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.patient",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PatientBasic" ]
      } ],
      "short": "The person for whom the medication is prescribed/ordered",
      "definition": "The person for whom the medication is prescribed/ordered"
    }, {
      "id": "IHEMedicationDispenseModel.receiver",
      "max": "1",
      "min": 0,
      "path": "IHEMedicationDispenseModel.receiver",
      "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" ]
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.dispenser",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.dispenser",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/PractitionerBasic", "http://hl7.org/fhir/StructureDefinition/Organization", "http://hl7.org/fhir/StructureDefinition/Device" ]
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.relatedRequest",
      "max": "*",
      "min": 0,
      "path": "IHEMedicationDispenseModel.relatedRequest",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/IHEMedicationOrderModel" ]
      } ],
      "short": "Prescription/request/order the dispense is related to",
      "definition": "Prescription/request/order the dispense is related to"
    }, {
      "id": "IHEMedicationDispenseModel.medication",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.medication",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/MedicinalProductModel" ]
      } ],
      "short": "Exact dispensed product",
      "definition": "Exact dispensed product"
    }, {
      "id": "IHEMedicationDispenseModel.dispensedQuantity",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.dispensedQuantity",
      "type": [ {
        "code": "Quantity"
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.timeOfDispensation",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.timeOfDispensation",
      "type": [ {
        "code": "dateTime"
      } ],
      "short": "Date and time of dispensation",
      "definition": "Date and time of dispensation"
    }, {
      "id": "IHEMedicationDispenseModel.substitution",
      "max": "1",
      "min": 0,
      "path": "IHEMedicationDispenseModel.substitution",
      "type": [ {
        "code": "BackboneElement"
      } ],
      "short": "Substitution was made",
      "definition": "Substitution was made"
    }, {
      "id": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.substitution.substitutionOccurred",
      "type": [ {
        "code": "boolean"
      } ],
      "short": "Indicates whether substitution was made by the dispenser",
      "definition": "Indicates whether substitution was made by the dispenser"
    }, {
      "id": "IHEMedicationDispenseModel.substitution.type",
      "max": "1",
      "min": 0,
      "path": "IHEMedicationDispenseModel.substitution.type",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Indicates the type of substitution made by the dispenser",
      "definition": "Indicates the type of substitution made by the dispenser"
    }, {
      "id": "IHEMedicationDispenseModel.substitution.reason",
      "max": "1",
      "min": 0,
      "path": "IHEMedicationDispenseModel.substitution.reason",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.status",
      "max": "1",
      "min": 1,
      "path": "IHEMedicationDispenseModel.status",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "short": "Status of the dispensation",
      "definition": "Status of the dispensation"
    }, {
      "id": "IHEMedicationDispenseModel.statusReason",
      "max": "*",
      "min": 0,
      "path": "IHEMedicationDispenseModel.statusReason",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "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"
    }, {
      "id": "IHEMedicationDispenseModel.statusReasonText",
      "max": "1",
      "min": 0,
      "path": "IHEMedicationDispenseModel.statusReasonText",
      "type": [ {
        "code": "string"
      } ],
      "short": "Textual reason for the current status of dispensation",
      "definition": "Textual reason for the current status of dispensation"
    }, {
      "id": "IHEMedicationDispenseModel.usageInstructions",
      "max": "*",
      "min": 0,
      "path": "IHEMedicationDispenseModel.usageInstructions",
      "type": [ {
        "code": "Reference",
        "targetProfile": [ "https://profiles.ihe.net/PHARM/MPD/StructureDefinition/DosagingInformation" ]
      } ],
      "short": "Dosaging and administration instructions",
      "definition": "Dosaging and administration instructions"
    }, {
      "id": "IHEMedicationDispenseModel.comment",
      "max": "*",
      "min": 0,
      "path": "IHEMedicationDispenseModel.comment",
      "type": [ {
        "code": "string"
      } ],
      "short": "Additional information or comments",
      "definition": "Additional information or comments"
    } ]
  },
  "contact": [ {
    "name": "Integrating the Healthcare Enterprise (IHE)",
    "telecom": [ {
      "value": "http://ihe.net",
      "system": "url"
    }, {
      "value": "secretary@ihe.net",
      "system": "email"
    } ]
  }, {
    "name": "José Costa Teixeira",
    "telecom": [ {
      "use": "work",
      "value": "jose.a.teixeira@gmail.com",
      "system": "email"
    } ]
  } ],
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base"
}