# 調劑單張-調劑內容(MedicationDispense) - 臺灣電子處方箋與調劑單張實作指引(TW EMPD IG) v0.2.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **調劑單張-調劑內容(MedicationDispense)**

## Resource Profile: 調劑單張-調劑內容(MedicationDispense) 

| | |
| :--- | :--- |
| *Official URL*:https://nhicore.nhi.gov.tw/empd/StructureDefinition/MedicationDispense-DS | *Version*:0.2.0 |
| Active as of 2024-01-13 | *Computable Name*:MedicationDispenseDS |

 
此Profiles用於描述調劑單張的調劑內容。 

**Usages:**

* Use this Profile: [調劑單張-Bundle](StructureDefinition-Bundle-DS.md)
* Refer to this Profile: [調劑單張-Composition](StructureDefinition-Composition-DS.md)
* Examples for this Profile: [MedicationDispense/med-dis-01-ds](MedicationDispense-med-dis-01-ds.md)
* CapabilityStatements using this Profile: [電子處方箋與調劑單張-用戶端](CapabilityStatement-CapabilityStatementEMPDClient.md) and [電子處方箋與調劑單張-伺服端](CapabilityStatement-CapabilityStatementEMPDServer.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/resource/tw.gov.mohw.nhi.empd|current/StructureDefinition/StructureDefinition-MedicationDispense-DS.json)

### Formal Views of Profile Content

 [Description of Profiles, Differentials, Snapshots and how the different presentations work](http://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#structure-definitions). 

 

Other representations of profile: [CSV](StructureDefinition-MedicationDispense-DS.csv), [Excel](StructureDefinition-MedicationDispense-DS.xlsx), [Schematron](StructureDefinition-MedicationDispense-DS.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "MedicationDispense-DS",
  "url" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/MedicationDispense-DS",
  "version" : "0.2.0",
  "name" : "MedicationDispenseDS",
  "title" : "調劑單張-調劑內容(MedicationDispense)",
  "status" : "active",
  "date" : "2024-01-13",
  "publisher" : "NHI",
  "contact" : [{
    "name" : "NHI",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.nhi.gov.tw/en/mp-2.html"
    }]
  }],
  "description" : "此Profiles用於描述調劑單張的調劑內容。",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "rx-dispense-rmim",
    "uri" : "http://www.hl7.org/v3/PORX_RM020070UV",
    "name" : "V3 Pharmacy Dispense RMIM"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "MedicationDispense",
  "baseDefinition" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationDispense-twcore",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "MedicationDispense.identifier",
      "path" : "MedicationDispense.identifier",
      "short" : "External identifier.[應填入項次 Item/藥品批號]。至少需填入項次 Item",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.identifier.value",
      "path" : "MedicationDispense.identifier.value",
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.category",
      "path" : "MedicationDispense.category",
      "short" : "配藥/調劑藥品的類型。[應填入醫令類別]"
    },
    {
      "id" : "MedicationDispense.medication[x]",
      "path" : "MedicationDispense.medication[x]",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"]
      },
      {
        "code" : "Reference",
        "targetProfile" : ["https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-DS"]
      }]
    },
    {
      "id" : "MedicationDispense.medication[x]:medicationReference",
      "path" : "MedicationDispense.medication[x]",
      "sliceName" : "medicationReference",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-DS"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.medication[x]:medicationCodeableConcept",
      "path" : "MedicationDispense.medication[x]",
      "sliceName" : "medicationCodeableConcept",
      "short" : "所提供的藥品。此資料項目為可擴充綁定預設國際標準值集，但實作者可視實務專案需求只綁定以下slices中的任一值集。目前未只限定綁定預設值集是因為尚無slice值集與預設國際標準值集的代碼對應表，待後續有相對的代碼對應表後將建議採用國際標準值集作為唯一綁定值集並針對該值集進行擴充與管理，以利進行跨國與跨系統之資料交換。[應填入健保代碼與藥品商品名稱Brand Name]。健保代碼(code)；藥品商品名稱Brand Name(display)，至少需填入藥品商品名稱Brand Name。",
      "definition" : "指明所提供的藥品，這是一個指向代表藥品的resource的連接，可以是藥品的細節，也可以是一個帶有代碼的屬性，從已知的藥品列表中指明此藥品。\r\n商品名稱Brand Name，此為用於調製之藥品名稱",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.subject",
      "path" : "MedicationDispense.subject",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Group",
        "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Patient-DS"]
      }]
    },
    {
      "id" : "MedicationDispense.quantity",
      "path" : "MedicationDispense.quantity",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.quantity.value",
      "path" : "MedicationDispense.quantity.value",
      "short" : "Numerical value (with implicit precision).[應填入給藥總量 Total Amount]",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.quantity.unit",
      "path" : "MedicationDispense.quantity.unit",
      "short" : "Unit representation.[應填入給藥總量單位 Total Units]。如：顆、CC、瓶等",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.daysSupply",
      "path" : "MedicationDispense.daysSupply",
      "short" : "Amount of medication expressed as a timing amount.[應填入給藥日數 Medication Days]",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.daysSupply.value",
      "path" : "MedicationDispense.daysSupply.value",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.daysSupply.unit",
      "path" : "MedicationDispense.daysSupply.unit",
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.receiver",
      "path" : "MedicationDispense.receiver",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://nhicore.nhi.gov.tw/empd/StructureDefinition/Patient-DS",
        "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Practitioner-DS"]
      }]
    },
    {
      "id" : "MedicationDispense.note",
      "path" : "MedicationDispense.note",
      "short" : "Information about the dispense.[應填入調劑之核種名稱/調劑之放射活度/完成調劑之放射活度/完成調劑之核醫放射性藥品數量/處方疑義樣態註記]。至少需填入處方疑義樣態註記",
      "definition" : "Extra information about the dispense that could not be conveyed in the other attributes.\r\n[處方疑義樣態註記]：預設為「無」\r\n填寫說明：\r\n處方有疑義樣態時請填寫「有」\r\n處方無疑義樣態請填寫「無」",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.note.text",
      "path" : "MedicationDispense.note.text",
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.dosageInstruction",
      "path" : "MedicationDispense.dosageInstruction",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.timing",
      "path" : "MedicationDispense.dosageInstruction.timing",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.timing.repeat",
      "path" : "MedicationDispense.dosageInstruction.timing.repeat",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.timing.repeat.frequency",
      "path" : "MedicationDispense.dosageInstruction.timing.repeat.frequency",
      "short" : "Event occurs frequency times per period.[應填入頻率 Frequency]",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.timing.code",
      "path" : "MedicationDispense.dosageInstruction.timing.code",
      "short" : "BID | TID | QID | AM | PM | QD | QOD | +[應填入使用時間]。如：飯前後"
    },
    {
      "id" : "MedicationDispense.dosageInstruction.timing.code.coding",
      "path" : "MedicationDispense.dosageInstruction.timing.code.coding",
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.dosageInstruction.route",
      "path" : "MedicationDispense.dosageInstruction.route",
      "short" : "How drug should enter body.[應填入給藥途徑 Route of Administration]",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.doseAndRate",
      "path" : "MedicationDispense.dosageInstruction.doseAndRate",
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
      "path" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
      "slicing" : {
        "discriminator" : [{
          "type" : "type",
          "path" : "$this"
        }],
        "rules" : "open"
      },
      "min" : 1
    },
    {
      "id" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x]:doseQuantity",
      "path" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x]",
      "sliceName" : "doseQuantity",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }]
    },
    {
      "id" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x]:doseQuantity.value",
      "path" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x].value",
      "short" : "Numerical value (with implicit precision).[應填入劑量]",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x]:doseQuantity.unit",
      "path" : "MedicationDispense.dosageInstruction.doseAndRate.dose[x].unit",
      "short" : "Unit representation.[應填入劑量單位  Dose Units]。如：顆、CC等",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.substitution",
      "path" : "MedicationDispense.substitution",
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.substitution.wasSubstituted",
      "path" : "MedicationDispense.substitution.wasSubstituted",
      "short" : "Whether a substitution was or was not performed on the dispense.[應填入有更換藥品註記]",
      "definition" : "True if the dispenser dispensed a different drug or product from what was prescribed.\r\n預設為「無」\r\n填寫說明：\r\n有更換藥品時請填寫「有」\r\n無有更換藥品請填寫「無」",
      "mustSupport" : true
    },
    {
      "id" : "MedicationDispense.substitution.reason",
      "path" : "MedicationDispense.substitution.reason",
      "short" : "Why was substitution made.[應填入不得以其他廠牌藥品替代之理由]。填寫說明：有特殊情況時才填寫不可替代時始需註明",
      "mustSupport" : true
    }]
  }
}

```
