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

FHIR IG Statistics: StructureDefinition/TWMedicationDispense

Packagetw.gov.mohw.twcore
TypeStructureDefinition
IdTWMedicationDispense
FHIR VersionR4
Sourcehttps://twcore.mohw.gov.tw/ig/twcore/https://build.fhir.org/ig/MOHW-TWCoreIG/cctwFHIRterm/StructureDefinition-TWMedicationDispense.html
URLhttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense
Version0.3.3
Statusactive
Date2025-05-16T05:59:52+00:00
NameTWMedicationDispenseModel
Title臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型
Realmtw
Authoritynational
Description臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型
Typehttps://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense
Kindlogical

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

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

Generated Narrative: StructureDefinition TWMedicationDispense

NameFlagsCard.TypeDescription & Constraintsdoco
.. TWMedicationDispense 0..*Base臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型
... identifier 0..*Identifier配藥/藥品調劑的外部識別碼。
... status 1..1code一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。
... category 0..1CodeableConcept配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。
... medication 1..1BackboneElement服用的藥品。
.... medication 0..1Medication藥品的定義。
.... code 0..1CodeableConcept服用的藥品。
... subject 1..1BackboneElement配藥/藥品調劑的對象。
.... patient 0..1Patient配藥/藥品調劑的某病人。
.... group 0..1Group配藥/藥品調劑的某團體/群體。
... context 0..1Encounter與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。
... performer 0..*BackboneElement執行此配藥/藥品調劑的人員。
... authorizingPrescription 0..*MedicationRequest授權此配藥/藥品調劑的處方。
... type 0..1CodeableConcept執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等
... quantity 0..1SimpleQuantity配藥/藥品調劑的量。
... whenHandedOver 0..1dateTime藥品發放的時間。
... dosageInstruction 0..*Dosage應該如何用藥或者由照護者給藥。

doco Documentation for this format

Source

{
  "resourceType": "StructureDefinition",
  "id": "TWMedicationDispense",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "url": "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense",
  "version": "0.3.3",
  "name": "TWMedicationDispenseModel",
  "title": "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型",
  "status": "active",
  "date": "2025-05-16T05:59:52+00:00",
  "contact": [
    {
      "name": "衛生福利部",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.mohw.gov.tw/"
        },
        {
          "system": "email",
          "value": "CCYU@mohw.gov.tw"
        }
      ]
    }
  ],
  "description": "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "TWMedicationDispense",
      "uri": "https://twcore.mohw.gov.tw/ig/twcore",
      "name": "TW Core IG"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/TWMedicationDispense",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Base",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "4.0.1"
      }
    ],
    "element": [
      {
        "id": "TWMedicationDispense",
        "path": "TWMedicationDispense",
        "short": "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型",
        "definition": "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.identifier",
        "path": "TWMedicationDispense.identifier",
        "short": "配藥/藥品調劑的外部識別碼。",
        "definition": "配藥/藥品調劑的外部識別碼。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TWMedicationDispense.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.identifier"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.status",
        "path": "TWMedicationDispense.status",
        "short": "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。",
        "definition": "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.status"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.category",
        "path": "TWMedicationDispense.category",
        "short": "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。",
        "definition": "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.category",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.category"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication",
        "path": "TWMedicationDispense.medication",
        "short": "服用的藥品。",
        "definition": "服用的藥品。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.medication",
          "min": 1,
          "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())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication.id",
        "path": "TWMedicationDispense.medication.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": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication.extension",
        "path": "TWMedicationDispense.medication.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 manageable, 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())",
            "xpath": "@value|f:*|h:div",
            "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()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication.modifierExtension",
        "path": "TWMedicationDispense.medication.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 manageable, 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/R4/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())",
            "xpath": "@value|f:*|h:div",
            "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()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "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": "TWMedicationDispense.medication.medication",
        "path": "TWMedicationDispense.medication.medication",
        "short": "藥品的定義。",
        "definition": "藥品的定義。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.medication.medication",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Medication"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.Medication"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication.code",
        "path": "TWMedicationDispense.medication.code",
        "short": "服用的藥品。",
        "definition": "服用的藥品。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.medication.code",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.Medication.code"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject",
        "path": "TWMedicationDispense.subject",
        "short": "配藥/藥品調劑的對象。",
        "definition": "配藥/藥品調劑的對象。",
        "min": 1,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.subject",
          "min": 1,
          "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())",
            "xpath": "@value|f:*|h:div",
            "source": "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject.id",
        "path": "TWMedicationDispense.subject.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": "string"
              }
            ],
            "code": "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject.extension",
        "path": "TWMedicationDispense.subject.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 manageable, 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())",
            "xpath": "@value|f:*|h:div",
            "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()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source": "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier": false,
        "isSummary": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject.modifierExtension",
        "path": "TWMedicationDispense.subject.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 manageable, 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/R4/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())",
            "xpath": "@value|f:*|h:div",
            "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()",
            "xpath": "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "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": "TWMedicationDispense.subject.patient",
        "path": "TWMedicationDispense.subject.patient",
        "short": "配藥/藥品調劑的某病人。",
        "definition": "配藥/藥品調劑的某病人。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.subject.patient",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Patient"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.subject.Reference(TW Core Patient)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject.group",
        "path": "TWMedicationDispense.subject.group",
        "short": "配藥/藥品調劑的某團體/群體。",
        "definition": "配藥/藥品調劑的某團體/群體。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.subject.group",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Group"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.subject.Reference(Group)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.context",
        "path": "TWMedicationDispense.context",
        "short": "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。",
        "definition": "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.context",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Encounter"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.context.Reference(TW Core Encounter)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.performer",
        "path": "TWMedicationDispense.performer",
        "short": "執行此配藥/藥品調劑的人員。",
        "definition": "執行此配藥/藥品調劑的人員。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TWMedicationDispense.performer",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.performer"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.authorizingPrescription",
        "path": "TWMedicationDispense.authorizingPrescription",
        "short": "授權此配藥/藥品調劑的處方。",
        "definition": "授權此配藥/藥品調劑的處方。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TWMedicationDispense.authorizingPrescription",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "MedicationRequest"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.authorizingPrescription.Reference(TW Core MedicationRequest)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.type",
        "path": "TWMedicationDispense.type",
        "short": "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等",
        "definition": "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.type",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.type"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.quantity",
        "path": "TWMedicationDispense.quantity",
        "short": "配藥/藥品調劑的量。",
        "definition": "配藥/藥品調劑的量。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.quantity",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.quantity"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.whenHandedOver",
        "path": "TWMedicationDispense.whenHandedOver",
        "short": "藥品發放的時間。",
        "definition": "藥品發放的時間。",
        "min": 0,
        "max": "1",
        "base": {
          "path": "TWMedicationDispense.whenHandedOver",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.whenHandedOver"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.dosageInstruction",
        "path": "TWMedicationDispense.dosageInstruction",
        "short": "應該如何用藥或者由照護者給藥。",
        "definition": "應該如何用藥或者由照護者給藥。",
        "min": 0,
        "max": "*",
        "base": {
          "path": "TWMedicationDispense.dosageInstruction",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Dosage"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.dosageInstruction"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "TWMedicationDispense",
        "path": "TWMedicationDispense",
        "short": "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型",
        "definition": "臺灣核心-配藥或藥品調劑(TW Core MedicationDispense) 之資料模型",
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.identifier",
        "path": "TWMedicationDispense.identifier",
        "short": "配藥/藥品調劑的外部識別碼。",
        "definition": "配藥/藥品調劑的外部識別碼。",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Identifier"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.identifier"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.status",
        "path": "TWMedicationDispense.status",
        "short": "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。",
        "definition": "一個編碼概念,用以具體說明配藥/藥品調劑事件的狀態。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "code"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.status"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.category",
        "path": "TWMedicationDispense.category",
        "short": "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。",
        "definition": "配藥/藥品調劑的類別,描述預期將服用或用藥的地點之代碼。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.category"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication",
        "path": "TWMedicationDispense.medication",
        "short": "服用的藥品。",
        "definition": "服用的藥品。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication.medication",
        "path": "TWMedicationDispense.medication.medication",
        "short": "藥品的定義。",
        "definition": "藥品的定義。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Medication"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.Medication"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.medication.code",
        "path": "TWMedicationDispense.medication.code",
        "short": "服用的藥品。",
        "definition": "服用的藥品。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.Medication.code"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject",
        "path": "TWMedicationDispense.subject",
        "short": "配藥/藥品調劑的對象。",
        "definition": "配藥/藥品調劑的對象。",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "BackboneElement"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject.patient",
        "path": "TWMedicationDispense.subject.patient",
        "short": "配藥/藥品調劑的某病人。",
        "definition": "配藥/藥品調劑的某病人。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Patient"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.subject.Reference(TW Core Patient)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.subject.group",
        "path": "TWMedicationDispense.subject.group",
        "short": "配藥/藥品調劑的某團體/群體。",
        "definition": "配藥/藥品調劑的某團體/群體。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Group"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.subject.Reference(Group)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.context",
        "path": "TWMedicationDispense.context",
        "short": "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。",
        "definition": "與此配藥/藥品調劑密切相關的就醫事件(Encounter/Episode)。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Encounter"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.context.Reference(TW Core Encounter)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.performer",
        "path": "TWMedicationDispense.performer",
        "short": "執行此配藥/藥品調劑的人員。",
        "definition": "執行此配藥/藥品調劑的人員。",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "BackboneElement"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.performer"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.authorizingPrescription",
        "path": "TWMedicationDispense.authorizingPrescription",
        "short": "授權此配藥/藥品調劑的處方。",
        "definition": "授權此配藥/藥品調劑的處方。",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "MedicationRequest"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.authorizingPrescription.Reference(TW Core MedicationRequest)"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.type",
        "path": "TWMedicationDispense.type",
        "short": "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等",
        "definition": "執行的配藥/藥品調劑事件類型。例如:試用填充、試用完成、部分填充、緊急填充、樣品等",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.type"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.quantity",
        "path": "TWMedicationDispense.quantity",
        "short": "配藥/藥品調劑的量。",
        "definition": "配藥/藥品調劑的量。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/SimpleQuantity"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.quantity"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.whenHandedOver",
        "path": "TWMedicationDispense.whenHandedOver",
        "short": "藥品發放的時間。",
        "definition": "藥品發放的時間。",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.whenHandedOver"
          }
        ]
      },
      {
        "id": "TWMedicationDispense.dosageInstruction",
        "path": "TWMedicationDispense.dosageInstruction",
        "short": "應該如何用藥或者由照護者給藥。",
        "definition": "應該如何用藥或者由照護者給藥。",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Dosage"
          }
        ],
        "mapping": [
          {
            "identity": "TWMedicationDispense",
            "map": "TWCoreMedicationDispense.dosageInstruction"
          }
        ]
      }
    ]
  }
}