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

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

## Resource Profile: 調劑單張-處方內容(MedicationRequest) 

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

 
此Profile繼承於臺灣核心-藥品處方(TW Core MedicationRequest)，並用於描述調劑單張的處方內容[[**FMM1**](http://build.fhir.org/versions.html#maturity)] 

**Usages:**

* Use this Profile: [調劑單張-Bundle](StructureDefinition-Bundle-DS.md)
* Refer to this Profile: [調劑單張-Composition](StructureDefinition-Composition-DS.md)
* Examples for this Profile: [MedicationRequest/med-req-01-ds](MedicationRequest-med-req-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-MedicationRequest-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-MedicationRequest-DS.csv), [Excel](StructureDefinition-MedicationRequest-DS.xlsx), [Schematron](StructureDefinition-MedicationRequest-DS.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "MedicationRequest-DS",
  "url" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/MedicationRequest-DS",
  "version" : "0.2.0",
  "name" : "MedicationRequestDS",
  "title" : "調劑單張-處方內容(MedicationRequest)",
  "status" : "active",
  "date" : "2024-01-02",
  "publisher" : "NHI",
  "contact" : [{
    "name" : "NHI",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.nhi.gov.tw/en/mp-2.html"
    }]
  }],
  "description" : "此Profile繼承於臺灣核心-藥品處方(TW Core MedicationRequest)，並用於描述調劑單張的處方內容[[*FMM1*](http://build.fhir.org/versions.html#maturity)]",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "workflow",
    "uri" : "http://hl7.org/fhir/workflow",
    "name" : "Workflow Pattern"
  },
  {
    "identity" : "script10.6",
    "uri" : "http://ncpdp.org/SCRIPT10_6",
    "name" : "Mapping to NCPDP SCRIPT 10.6"
  },
  {
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "MedicationRequest",
  "baseDefinition" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/MedicationRequest-twcore",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "MedicationRequest.extension",
      "path" : "MedicationRequest.extension",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "url"
        }],
        "ordered" : false,
        "rules" : "open"
      },
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.extension:TotalMedicationDays",
      "path" : "MedicationRequest.extension",
      "sliceName" : "TotalMedicationDays",
      "short" : "擴充的資料項目。[應填入調劑單張給藥總日份 Total Medication Days]",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Extension",
        "profile" : ["https://nhicore.nhi.gov.tw/empd/StructureDefinition/Extension-TotalDuration"]
      }]
    },
    {
      "id" : "MedicationRequest.identifier",
      "path" : "MedicationRequest.identifier",
      "short" : "此藥品處方的外部識別碼。[應填入處方箋存取授權碼/處方箋單號 Prescription No./連續處方箋調劑序號]。至少需填入處方箋單號 Prescription No.",
      "min" : 1
    },
    {
      "id" : "MedicationRequest.category",
      "path" : "MedicationRequest.category",
      "slicing" : {
        "discriminator" : [{
          "type" : "pattern",
          "path" : "$this"
        }],
        "rules" : "open"
      },
      "min" : 2
    },
    {
      "id" : "MedicationRequest.category:typesOfPrescription",
      "path" : "MedicationRequest.category",
      "sliceName" : "typesOfPrescription",
      "short" : "用藥型別。[應填入處方箋種類註記 Types of Prescription]。",
      "min" : 1,
      "max" : "1",
      "binding" : {
        "strength" : "required",
        "description" : "應填入[MedicationRequestPrescription](ValueSet-TypeOfPrescription-vs.html)值集中的其中一個代碼。",
        "valueSet" : "https://nhicore.nhi.gov.tw/empd/ValueSet/TypeOfPrescription-vs"
      }
    },
    {
      "id" : "MedicationRequest.category:dispenseType",
      "path" : "MedicationRequest.category",
      "sliceName" : "dispenseType",
      "short" : "醫令調劑方式。[應填入醫令調劑方式]。",
      "min" : 0,
      "max" : "1",
      "binding" : {
        "strength" : "required",
        "description" : "醫令調劑方式；應填入[OrderType](ValueSet-DispenseType-vs.html)值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。",
        "valueSet" : "https://nhicore.nhi.gov.tw/empd/ValueSet/DispenseType-vs"
      }
    },
    {
      "id" : "MedicationRequest.category:selfpayStatus",
      "path" : "MedicationRequest.category",
      "sliceName" : "selfpayStatus",
      "short" : "\"自費註記。用於判別就醫識別碼是否必填。如自費註記為\"Y\"，無須檢核健保代碼。\"",
      "min" : 1,
      "max" : "1",
      "binding" : {
        "strength" : "required",
        "description" : "自費註記；應填入[SelfpayStatus](ValueSet-SelfpayStatus-vs.html)值集中適合的代碼。",
        "valueSet" : "https://nhicore.nhi.gov.tw/empd/ValueSet/SelfpayStatus-vs"
      }
    },
    {
      "id" : "MedicationRequest.medication[x]",
      "path" : "MedicationRequest.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" : "MedicationRequest.medication[x]:medicationReference",
      "path" : "MedicationRequest.medication[x]",
      "sliceName" : "medicationReference",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-DS"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.medication[x]:medicationCodeableConcept",
      "path" : "MedicationRequest.medication[x]",
      "sliceName" : "medicationCodeableConcept",
      "type" : [{
        "code" : "CodeableConcept",
        "profile" : ["https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.subject",
      "path" : "MedicationRequest.subject",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Group",
        "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Patient-DS"]
      }]
    },
    {
      "id" : "MedicationRequest.encounter",
      "path" : "MedicationRequest.encounter",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["https://nhicore.nhi.gov.tw/empd/StructureDefinition/Encounter-DS"]
      }]
    },
    {
      "id" : "MedicationRequest.authoredOn",
      "path" : "MedicationRequest.authoredOn",
      "short" : "藥品處方請求最初何時被撰寫？[應填入取藥時間]",
      "definition" : "處方最初書寫或撰寫的日期（或許也有時間）。\r\n格式：西元YYYYMMDD HH:MM:SS"
    },
    {
      "id" : "MedicationRequest.insurance",
      "path" : "MedicationRequest.insurance",
      "min" : 1,
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/ClaimResponse",
        "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Coverage-EMR"]
      }],
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.note",
      "path" : "MedicationRequest.note",
      "short" : "關於處方的資訊或其他相關備註說明。[應填入處方箋註銷註記/須被合併之處方箋註記]。至少需填入須被合併之處方箋註記",
      "definition" : "關於處方的附加資訊，不能由其他屬性來傳達。\r\n[須被合併之處方箋註記]：合併請填是，預設值為「否」。說明：同時開立管制藥品及一般藥品時，須開立二張處方箋，並在這二張處方箋此欄位上註記「是」"
    },
    {
      "id" : "MedicationRequest.dosageInstruction.method",
      "path" : "MedicationRequest.dosageInstruction.method",
      "short" : "用藥的技術。[應填入用藥指示]",
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.dispenseRequest",
      "path" : "MedicationRequest.dispenseRequest",
      "min" : 1
    },
    {
      "id" : "MedicationRequest.dispenseRequest.validityPeriod",
      "path" : "MedicationRequest.dispenseRequest.validityPeriod",
      "min" : 1
    },
    {
      "id" : "MedicationRequest.dispenseRequest.validityPeriod.start",
      "path" : "MedicationRequest.dispenseRequest.validityPeriod.start",
      "short" : "Starting time with inclusive boundary。[應填入調劑時間]",
      "definition" : "The start of the period. The boundary is inclusive.\r\n格式：西元YYYYMMDD HH:MM:SS",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.dispenseRequest.validityPeriod.end",
      "path" : "MedicationRequest.dispenseRequest.validityPeriod.end",
      "short" : "End time with inclusive boundary, if not ongoing。[應填入處方箋有效日期]",
      "definition" : "The end of the period. If the end of the period is missing, it means no end was known or planned at the time the instance was created. The start may be in the past, and the end date in the future, which means that period is expected/planned to end at that time.\r\n包含第二次之後的建議領藥日期；格式為西元YYYYMMDD",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
      "path" : "MedicationRequest.dispenseRequest.numberOfRepeatsAllowed",
      "short" : "可重複領藥的次數。[應填入連續處方可調劑次數 Refill Times]",
      "min" : 1
    }]
  }
}

```
