# 調劑單張-邏輯模型 - 臺灣電子處方箋與調劑單張實作指引(TW EMPD IG) v0.2.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **調劑單張-邏輯模型**

## Logical Model: 調劑單張-邏輯模型 

| | |
| :--- | :--- |
| *Official URL*:https://nhicore.nhi.gov.tw/empd/StructureDefinition/ds-model | *Version*:0.2.0 |
| Active as of 2024-04-20 | *Computable Name*:DSModel |

 
用於描述調劑單張邏輯模型 

**Usages:**

* This Logical Model is not used by any profiles in this Specification

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-ds-model.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-ds-model.csv), [Excel](StructureDefinition-ds-model.xlsx) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "ds-model",
  "url" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/ds-model",
  "version" : "0.2.0",
  "name" : "DSModel",
  "title" : "調劑單張-邏輯模型",
  "status" : "active",
  "date" : "2024-04-20",
  "publisher" : "NHI",
  "contact" : [{
    "name" : "NHI",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.nhi.gov.tw/en/mp-2.html"
    }]
  }],
  "description" : "用於描述調劑單張邏輯模型",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "DS",
    "uri" : "https://nhicore.nhi.gov.tw/empd",
    "name" : "DSModel"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  }],
  "kind" : "logical",
  "abstract" : false,
  "type" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/DSModel",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation" : "specialization",
  "differential" : {
    "element" : [{
      "id" : "DSModel",
      "path" : "DSModel",
      "short" : "調劑單張邏輯模型",
      "definition" : "用於描述調劑單張邏輯模型"
    },
    {
      "id" : "DSModel.hospital",
      "path" : "DSModel.hospital",
      "short" : "醫療機構基本資料",
      "definition" : "醫療機構基本資料",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.hospital.hospitalId",
      "path" : "DSModel.hospital.hospitalId",
      "short" : "醫療機構代碼",
      "definition" : "醫療機構代碼",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫療機構代碼:Organization.identifier.value"
      }]
    },
    {
      "id" : "DSModel.hospital.hospitalName",
      "path" : "DSModel.hospital.hospitalName",
      "short" : "醫療機構名稱",
      "definition" : "醫療機構名稱",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫療機構名稱:Organization.name"
      }]
    },
    {
      "id" : "DSModel.hospital.hospitalTelecom",
      "path" : "DSModel.hospital.hospitalTelecom",
      "short" : "醫療機構電話",
      "definition" : "醫療機構電話",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "ContactPoint"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫療機構電話:Organization.telecom.value"
      }]
    },
    {
      "id" : "DSModel.hospital.dispensingId",
      "path" : "DSModel.hospital.dispensingId",
      "short" : "調劑機構代碼",
      "definition" : "調劑機構代碼",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑機構代碼:Organization.identifier.value"
      }]
    },
    {
      "id" : "DSModel.hospital.dispensingName",
      "path" : "DSModel.hospital.dispensingName",
      "short" : "調劑機構名稱",
      "definition" : "調劑機構名稱",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑機構名稱:Organization.name"
      }]
    },
    {
      "id" : "DSModel.hospital.dispensingAddress",
      "path" : "DSModel.hospital.dispensingAddress",
      "short" : "調劑機構地址",
      "definition" : "調劑機構地址",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑機構地址:Organization.address.text"
      }]
    },
    {
      "id" : "DSModel.hospital.dispensingTelecom",
      "path" : "DSModel.hospital.dispensingTelecom",
      "short" : "調劑機構電話",
      "definition" : "調劑機構電話",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "ContactPoint"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑機構電話:Organization.telecom.value"
      }]
    },
    {
      "id" : "DSModel.patientInformation",
      "path" : "DSModel.patientInformation",
      "short" : "病患基本資料",
      "definition" : "病患基本資料",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.patientInformation.personalIDNumber",
      "path" : "DSModel.patientInformation.personalIDNumber",
      "short" : "身分證號",
      "definition" : "身分證號/護照號碼/居留證號",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "身分證號:Patient.identifier"
      }]
    },
    {
      "id" : "DSModel.patientInformation.chartNo",
      "path" : "DSModel.patientInformation.chartNo",
      "short" : "病歷號碼",
      "definition" : "開立處方箋機構之病人病歷號碼",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "病歷號碼:Patient.identifier"
      }]
    },
    {
      "id" : "DSModel.patientInformation.name",
      "path" : "DSModel.patientInformation.name",
      "short" : "姓名",
      "definition" : "姓名",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "姓名:Patient.name"
      }]
    },
    {
      "id" : "DSModel.patientInformation.gender",
      "path" : "DSModel.patientInformation.gender",
      "short" : "性別",
      "definition" : "性別",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "性別:Patient.gender"
      }]
    },
    {
      "id" : "DSModel.patientInformation.birthDate",
      "path" : "DSModel.patientInformation.birthDate",
      "short" : "出生日期",
      "definition" : "出生日期。格式為西元YYYYMMDD",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "出生日期:birthDate"
      }]
    },
    {
      "id" : "DSModel.patientInformation.age",
      "path" : "DSModel.patientInformation.age",
      "short" : "就診年齡",
      "definition" : "就診年齡",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Age"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "就診年齡:Patient.extension"
      }]
    },
    {
      "id" : "DSModel.patientInformation.identityType",
      "path" : "DSModel.patientInformation.identityType",
      "short" : "就醫身分別",
      "definition" : "就醫身分別。健保/非健保",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.patientInformation.bodyWeight",
      "path" : "DSModel.patientInformation.bodyWeight",
      "short" : "體重",
      "definition" : "體重。若調劑藥物劑量須配合體重而有所調整，此欄位為必填",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Quantity"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation",
      "path" : "DSModel.outpatientInformation",
      "short" : "門診基本資料",
      "definition" : "門診基本資料",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.opdDate",
      "path" : "DSModel.outpatientInformation.opdDate",
      "short" : "門診日期",
      "definition" : "門診日期。等同開立處方日期，格式為西元YYYMMDD",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "門診日期:Encounter.period.star"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.department",
      "path" : "DSModel.outpatientInformation.department",
      "short" : "科別",
      "definition" : "科別",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "科別:Encounter.serviceType"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.originalIdentifier",
      "path" : "DSModel.outpatientInformation.originalIdentifier",
      "short" : "原就醫識別碼",
      "definition" : "原就醫識別碼。醫療院所開立處方時之就醫識別碼",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "原就醫識別碼:Encounter.identifier.value"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.identifier",
      "path" : "DSModel.outpatientInformation.identifier",
      "short" : "就醫識別碼",
      "definition" : "就醫識別碼。本次調劑處方所產製之就醫識別碼",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "就醫識別碼:Encounter.identifier.value"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.note",
      "path" : "DSModel.outpatientInformation.note",
      "short" : "部分負擔代碼",
      "definition" : "部分負擔代碼",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "部分負擔代碼:Condition.note"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.medicaltreatmentNumber",
      "path" : "DSModel.outpatientInformation.medicaltreatmentNumber",
      "short" : "健保卡就醫序號",
      "definition" : "健保卡就醫序號",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "健保卡就醫序號:Encounter.identifier.value"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.class",
      "path" : "DSModel.outpatientInformation.class",
      "short" : "案件分類",
      "definition" : "案件分類",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Coding"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "案件分類:Encounter.class"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.type",
      "path" : "DSModel.outpatientInformation.type",
      "short" : "給付類別",
      "definition" : "給付類別",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "給付類別:Coverage.type"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.pharmacyServiceCode",
      "path" : "DSModel.outpatientInformation.pharmacyServiceCode",
      "short" : "藥事服務代碼",
      "definition" : "藥事服務代碼",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Coding"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "藥事服務代碼:ChargeItem.code"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.authorizationCode",
      "path" : "DSModel.outpatientInformation.authorizationCode",
      "short" : "處方箋存取授權碼",
      "definition" : "處方箋存取授權碼",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "處方箋存取授權碼:MedicationRequest.identifier"
      }]
    },
    {
      "id" : "DSModel.outpatientInformation.belong",
      "path" : "DSModel.outpatientInformation.belong",
      "short" : "歸屬",
      "definition" : "歸屬。建議為計畫案之開立處方，如：藥事照護計畫、戒菸門診、COVID-19…等特殊案件代碼",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "歸屬:Encounter.type"
      }]
    },
    {
      "id" : "DSModel.practitionerInformation",
      "path" : "DSModel.practitionerInformation",
      "short" : "醫事人員基本資料",
      "definition" : "醫事人員基本資料",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.practitionerInformation.physicianName",
      "path" : "DSModel.practitionerInformation.physicianName",
      "short" : "醫師姓名",
      "definition" : "醫師姓名",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "HumanName"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫師姓名:Practitioner.name"
      }]
    },
    {
      "id" : "DSModel.practitionerInformation.licenseNumber",
      "path" : "DSModel.practitionerInformation.licenseNumber",
      "short" : "管制藥品使用執照號碼",
      "definition" : "管制藥品使用執照號碼。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "管制藥品使用執照號碼:Practitioner.identifier.value"
      }]
    },
    {
      "id" : "DSModel.practitionerInformation.physicianTelecom",
      "path" : "DSModel.practitionerInformation.physicianTelecom",
      "short" : "醫師聯絡電話",
      "definition" : "醫師聯絡電話。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "ContactPoint"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫師聯絡電話:Practitioner.telecom.value"
      }]
    },
    {
      "id" : "DSModel.practitionerInformation.professionalCertificate",
      "path" : "DSModel.practitionerInformation.professionalCertificate",
      "short" : "調劑人員專業證書字號",
      "definition" : "調劑人員專業證書字號。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填。\r\n此欄位等同藥師證書字號",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑人員專業證書字號:Practitioner.qualification.identifier.value"
      }]
    },
    {
      "id" : "DSModel.practitionerInformation.pharmacyPersonnelName",
      "path" : "DSModel.practitionerInformation.pharmacyPersonnelName",
      "short" : "藥事人員姓名",
      "definition" : "藥事人員姓名。註：此為調製藥事人員姓名",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "HumanName"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "藥事人員姓名:Practitioner.name"
      }]
    },
    {
      "id" : "DSModel.diagnosis",
      "path" : "DSModel.diagnosis",
      "short" : "診斷",
      "definition" : "診斷",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.diagnosis.code",
      "path" : "DSModel.diagnosis.code",
      "short" : "國際疾病分類代碼 ICD Code(International Classification of Diseases)",
      "definition" : "國際疾病分類代碼 ICD Code(International Classification of Diseases)。應含主診斷或次診斷之ICD代碼",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "國際疾病分類代碼 ICD Code(International Classification of Diseases):Condition.code"
      }]
    },
    {
      "id" : "DSModel.diagnosis.note",
      "path" : "DSModel.diagnosis.note",
      "short" : "醫療評估內容註記",
      "definition" : "醫療評估內容註記",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫療評估內容註記:Condition.note"
      }]
    },
    {
      "id" : "DSModel.typeOfPrescriptionNo",
      "path" : "DSModel.typeOfPrescriptionNo",
      "short" : "處方箋單號",
      "definition" : "處方箋單號",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "處方箋單號:MedicationRequest.identifier"
      }]
    },
    {
      "id" : "DSModel.typesofPrescription",
      "path" : "DSModel.typesofPrescription",
      "short" : "處方箋種類註記",
      "definition" : "處方箋種類註記。\r\n填寫代碼如下\r\nA：一般處方箋：處方用藥，一次給予7日(含)以下之用藥量\r\nB：慢性病處方箋\r\nC：慢性病連續處方箋\r\nD：管制藥品專用處方箋(一般)\r\nE：管制藥品專用處方箋(慢箋)\r\nF：管制藥品專用處方箋（慢連箋）",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "處方箋種類註記:MedicationRequest.category"
      }]
    },
    {
      "id" : "DSModel.typeOfPrescriptionNote",
      "path" : "DSModel.typeOfPrescriptionNote",
      "short" : "須被合併之處方箋註記",
      "definition" : "須被合併之處方箋註記。合併請填是，預設值為「否」。說明：同時開立管制藥品及一般藥品時，須開立二張處方箋，並在這二張處方箋此欄位上註記「是」",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "須被合併之處方箋註記:MedicationRequest.note"
      }]
    },
    {
      "id" : "DSModel.typeOfPrescriptionDate",
      "path" : "DSModel.typeOfPrescriptionDate",
      "short" : "處方箋有效日期",
      "definition" : "處方箋有效日期",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.typeOfPrescriptionDate.date",
      "path" : "DSModel.typeOfPrescriptionDate.date",
      "short" : "處方箋有效日期",
      "definition" : "處方箋有效日期。包含第二次之後的建議領藥日期；格式為西元YYYYMMDD",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "處方箋有效日期:MedicationRequest.dispenseRequest.validityPeriod.end"
      }]
    },
    {
      "id" : "DSModel.typeOfPrescriptionDate.note",
      "path" : "DSModel.typeOfPrescriptionDate.note",
      "short" : "處方箋註銷註記",
      "definition" : "處方箋註銷註記。註銷請填Y，並至處方箋有效日期更新為處方箋註銷日期\r\n說明：用於就醫當次未調劑處方或第2次(含)以後未調劑慢連箋處方之註銷",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "處方箋註銷註記:MedicationRequest.note"
      }]
    },
    {
      "id" : "DSModel.totalMedicationDays",
      "path" : "DSModel.totalMedicationDays",
      "short" : "給藥總日份",
      "definition" : "給藥總日份",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "給藥總日份:MedicationRequest.extension"
      }]
    },
    {
      "id" : "DSModel.refillTimes",
      "path" : "DSModel.refillTimes",
      "short" : "連續處方可調劑次數",
      "definition" : "連續處方可調劑次數",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "連續處方可調劑次數:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed"
      }]
    },
    {
      "id" : "DSModel.dispensingIdentifier",
      "path" : "DSModel.dispensingIdentifier",
      "short" : "連續處方箋調劑序號",
      "definition" : "連續處方箋調劑序號",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "連續處方箋調劑序號:MedicationRequest.identifier.value"
      }]
    },
    {
      "id" : "DSModel.dispensingContent",
      "path" : "DSModel.dispensingContent",
      "short" : "調劑內容",
      "definition" : "調劑內容",
      "min" : 1,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.category",
      "path" : "DSModel.dispensingContent.category",
      "short" : "醫令類別",
      "definition" : "醫令類別",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫令類別:MedicationDispense.category"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.item",
      "path" : "DSModel.dispensingContent.item",
      "short" : "項次",
      "definition" : "項次",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "項次:MedicationDispense.identifier"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.healthInsuranceCode",
      "path" : "DSModel.dispensingContent.healthInsuranceCode",
      "short" : "健保代碼",
      "definition" : "健保代碼",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "code"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "健保代碼:Medication.code"
      },
      {
        "identity" : "DS",
        "map" : "健保代碼:MedicationDispense.medication[x]:medicationCodeableConcept"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.brandName",
      "path" : "DSModel.dispensingContent.brandName",
      "short" : "藥品商品名稱",
      "definition" : "藥品商品名稱。註：此為用於調製之藥品名稱",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "藥品商品名稱:MedicationDispense.medication[x]:medicationCodeableConcept"
      },
      {
        "identity" : "DS",
        "map" : "藥品商品名稱:Medication.code"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.genericName",
      "path" : "DSModel.dispensingContent.genericName",
      "short" : "學名",
      "definition" : "學名",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "學名:MedicationDispense.medication[x]:medicationCodeableConcept.text"
      },
      {
        "identity" : "DS",
        "map" : "學名:Medication.code"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.batchNumber",
      "path" : "DSModel.dispensingContent.batchNumber",
      "short" : "藥品批號",
      "definition" : "藥品批號",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "Identifier"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "藥品批號:Medication.identifier"
      },
      {
        "identity" : "DS",
        "map" : "藥品批號:MedicationDispense.identifier"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.reason",
      "path" : "DSModel.dispensingContent.reason",
      "short" : "不得以其他廠牌藥品替代之理由",
      "definition" : "不得以其他廠牌藥品替代之理由。填寫說明：有特殊情況時才填寫",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "不得以其他廠牌藥品替代之理由:MedicationDispense.substitution.reason"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.drugUnitContent",
      "path" : "DSModel.dispensingContent.drugUnitContent",
      "short" : "藥品單位含量",
      "definition" : "藥品單位含量",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Ratio"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "藥品單位含量:Medication.ingredient.strength"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.dosageForm",
      "path" : "DSModel.dispensingContent.dosageForm",
      "short" : "劑型",
      "definition" : "劑型。如藥丸、藥水等",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "劑型:Medication.form"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.dose",
      "path" : "DSModel.dispensingContent.dose",
      "short" : "劑量",
      "definition" : "劑量",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "劑量:MedicationDispense.dosageInstruction.doseAndRate.doseQuantity.value"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.doseUnits",
      "path" : "DSModel.dispensingContent.doseUnits",
      "short" : "劑量單位",
      "definition" : "劑量單位。如：顆、CC等",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "劑量單位:MedicationDispense.dosageInstruction.doseAndRate.doseQuantity.unit"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.frequency",
      "path" : "DSModel.dispensingContent.frequency",
      "short" : "頻率",
      "definition" : "頻率",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "positiveInt"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "頻率:MedicationDispense.dosageInstruction.timing.repeat.frequency"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.usageTime",
      "path" : "DSModel.dispensingContent.usageTime",
      "short" : "使用時間",
      "definition" : "使用時間。如：飯前後",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "使用時間:MedicationDispense.dosageInstruction.timing.code"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.routeOfAdministration",
      "path" : "DSModel.dispensingContent.routeOfAdministration",
      "short" : "給藥途徑",
      "definition" : "給藥途徑",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "給藥途徑:MedicationDispense.dosageInstruction.route"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.medicationDays",
      "path" : "DSModel.dispensingContent.medicationDays",
      "short" : "給藥日數",
      "definition" : "給藥日數",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Quantity",
        "profile" : ["http://hl7.org/fhir/StructureDefinition/SimpleQuantity"]
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "給藥日數:MedicationDispense.daysSupply"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.totalAmount",
      "path" : "DSModel.dispensingContent.totalAmount",
      "short" : "給藥總量",
      "definition" : "給藥總量",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "decimal"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "給藥總量:MedicationDispense.quantity.value"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.totalUnits",
      "path" : "DSModel.dispensingContent.totalUnits",
      "short" : "給藥總量單位",
      "definition" : "給藥總量單位。如：顆、CC、瓶等",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "給藥總量單位:MedicationDispense.quantity.unit"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.radiopharmaceuticalName",
      "path" : "DSModel.dispensingContent.radiopharmaceuticalName",
      "short" : "調劑之核種名稱",
      "definition" : "調劑之核種名稱。僅調劑核醫放射性藥品須填寫",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑之核種名稱:MedicationDispense.note"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.radiopharmaceuticalActivity",
      "path" : "DSModel.dispensingContent.radiopharmaceuticalActivity",
      "short" : "調劑之放射活度",
      "definition" : "調劑之放射活度。僅調劑核醫放射性藥品須填寫",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑之放射活度:MedicationDispense.note"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.completedRadiopharmaceuticalActivity",
      "path" : "DSModel.dispensingContent.completedRadiopharmaceuticalActivity",
      "short" : "完成調劑之放射活度",
      "definition" : "完成調劑之放射活度。僅調劑核醫放射性藥品須填寫",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "完成調劑之放射活度:MedicationDispense.note"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals",
      "path" : "DSModel.dispensingContent.completedQuantityOfNuclearMedicineRadiopharmaceuticals",
      "short" : "完成調劑之核醫放射性藥品數量",
      "definition" : "完成調劑之核醫放射性藥品數量。僅調劑核醫放射性藥品須填寫",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "完成調劑之核醫放射性藥品數量:MedicationDispense.note"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.substitutedNote",
      "path" : "DSModel.dispensingContent.substitutedNote",
      "short" : "有更換藥品註記",
      "definition" : "有更換藥品註記。預設為「無」\r\n填寫說明：\r\n有更換藥品時請填寫「有」\r\n無有更換藥品請填寫「無」",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "boolean"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "有更換藥品註記:MedicationDispense.substitution.wasSubstituted"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag",
      "path" : "DSModel.dispensingContent.typeOfPrescriptionAmbiguityPatternFlag",
      "short" : "處方疑義樣態註記",
      "definition" : "處方疑義樣態註記。預設為「無」\r\n填寫說明：\r\n處方有疑義樣態時請填寫「有」\r\n處方無疑義樣態請填寫「無」",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "處方疑義樣態註記:MedicationDispense.note"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.selfPayNote",
      "path" : "DSModel.dispensingContent.selfPayNote",
      "short" : "自費註記",
      "definition" : "自費註記。自費標註為“Y”，健保給付標註為“N”",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Annotation"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "自費註記:MedicationRequest.note"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.typeOfPrescriptionDispensingMethod",
      "path" : "DSModel.dispensingContent.typeOfPrescriptionDispensingMethod",
      "short" : "醫令調劑方式",
      "definition" : "醫令調劑方式",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "醫令調劑方式:MedicationRequest.category"
      }]
    },
    {
      "id" : "DSModel.dispensingContent.dosageInstruction",
      "path" : "DSModel.dispensingContent.dosageInstruction",
      "short" : "用藥指示",
      "definition" : "用藥指示",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "用藥指示:MedicationRequest.dosageInstruction.method"
      }]
    },
    {
      "id" : "DSModel.dispensingTime",
      "path" : "DSModel.dispensingTime",
      "short" : "調劑時間",
      "definition" : "調劑時間",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "調劑時間:MedicationRequest.dispenseRequest.validityPeriod.start"
      }]
    },
    {
      "id" : "DSModel.pickTime",
      "path" : "DSModel.pickTime",
      "short" : "取藥時間",
      "definition" : "取藥時間",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "date"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "取藥時間:MedicationRequest.authoredOn"
      }]
    },
    {
      "id" : "DSModel.recipientInformation",
      "path" : "DSModel.recipientInformation",
      "short" : "領藥者基本資料",
      "definition" : "領藥者基本資料",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "BackboneElement"
      }]
    },
    {
      "id" : "DSModel.recipientInformation.relationship",
      "path" : "DSModel.recipientInformation.relationship",
      "short" : "與用藥對象之關係",
      "definition" : "與用藥對象之關係。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填\r\n參考項目：本人、家屬、朋友、看護、志工、其他",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "與用藥對象之關係:Patient.contact.relationship"
      }]
    },
    {
      "id" : "DSModel.recipientInformation.name",
      "path" : "DSModel.recipientInformation.name",
      "short" : "領藥者姓名",
      "definition" : "領藥者姓名。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "HumanName"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "領藥者姓名:Patient.contact.name"
      }]
    },
    {
      "id" : "DSModel.recipientInformation.telecom",
      "path" : "DSModel.recipientInformation.telecom",
      "short" : "領藥者連絡電話",
      "definition" : "領藥者連絡電話。開立第一級、第二級及第三級管制藥品專用處方箋，此欄位為必填",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "ContactPoint"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "領藥者連絡電話:Patient.contact.telecom"
      }]
    },
    {
      "id" : "DSModel.recipientInformation.electronicSignature",
      "path" : "DSModel.recipientInformation.electronicSignature",
      "short" : "領藥者電子簽章",
      "definition" : "領藥者電子簽章",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "Attachment"
      }],
      "mapping" : [{
        "identity" : "DS",
        "map" : "領藥者電子簽章:Media.content"
      }]
    }]
  }
}

```
