# 電子處方箋與調劑單張-無健保代碼之藥品與特材(Medication) - 臺灣電子處方箋與調劑單張實作指引(TW EMPD IG) v0.2.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **電子處方箋與調劑單張-無健保代碼之藥品與特材(Medication)**

## Resource Profile: 電子處方箋與調劑單張-無健保代碼之藥品與特材(Medication) 

| | |
| :--- | :--- |
| *Official URL*:https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-Self-EMPD | *Version*:0.2.0 |
| Active as of 2026-05-26 | *Computable Name*:MedicationSelfEMPD |
| **Copyright/Legal**: 衛生福利部 | |

 
此Profile用於描述電子處方箋與調劑單張中之健保代碼欄位。 
本Profile之Medication.code用於承載電子處方箋與調劑單張中之健保代碼。若品項具有正式健保代碼，應填入正式健保代碼；若為無健保代碼之藥品，應使用本IG定義之無健保代碼藥品暫編碼，其代碼格式為999999加流水號4碼，流水號由院所自訂；若為無健保代碼之特材，應使用本IG定義之無健保代碼特材暫編碼，其代碼格式為99999999加流水號4碼，流水號由院所自訂。 
本Profile中健保代碼之藥品與特材編碼僅提供參考。 

**Usages:**

* Use this Profile: [調劑單張-Bundle](StructureDefinition-Bundle-DS.md) and [電子處方箋-Bundle](StructureDefinition-Bundle-EMPD.md)
* Refer to this Profile: [調劑單張-Composition](StructureDefinition-Composition-DS.md) and [電子處方箋-Composition](StructureDefinition-Composition-EMPD.md)
* Examples for this Profile: [Medication/MedicationSelfEMPD-non01](Medication-MedicationSelfEMPD-non01.md) and [Medication/MedicationSelfEMPD-non02](Medication-MedicationSelfEMPD-non02.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-Medication-Self-EMPD.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-Medication-Self-EMPD.csv), [Excel](StructureDefinition-Medication-Self-EMPD.xlsx), [Schematron](StructureDefinition-Medication-Self-EMPD.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "Medication-Self-EMPD",
  "url" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-Self-EMPD",
  "version" : "0.2.0",
  "name" : "MedicationSelfEMPD",
  "title" : "電子處方箋與調劑單張-無健保代碼之藥品與特材(Medication)",
  "status" : "active",
  "experimental" : false,
  "date" : "2026-05-26",
  "publisher" : "NHI",
  "contact" : [{
    "name" : "NHI",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.nhi.gov.tw/en/mp-2.html"
    }]
  }],
  "description" : "此Profile用於描述電子處方箋與調劑單張中之健保代碼欄位。\n\n本Profile之Medication.code用於承載電子處方箋與調劑單張中之健保代碼。若品項具有正式健保代碼，應填入正式健保代碼；若為無健保代碼之藥品，應使用本IG定義之無健保代碼藥品暫編碼，其代碼格式為999999加流水號4碼，流水號由院所自訂；若為無健保代碼之特材，應使用本IG定義之無健保代碼特材暫編碼，其代碼格式為99999999加流水號4碼，流水號由院所自訂。\n\n本Profile中健保代碼之藥品與特材編碼僅提供參考。",
  "copyright" : "衛生福利部",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "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" : "Medication",
  "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Medication",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Medication",
      "path" : "Medication",
      "constraint" : [{
        "key" : "med-self-1",
        "severity" : "error",
        "human" : "Medication-Self-EMPD至少應包含一組無健保代碼之藥品或無健保代碼之特材coding",
        "expression" : "code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs').exists() or code.coding.where(system = 'https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs').exists()",
        "source" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Medication-Self-EMPD"
      }]
    },
    {
      "id" : "Medication.code",
      "path" : "Medication.code",
      "short" : "健保代碼。[應填入正式健保代碼；若為無健保代碼之藥品，應填入999999加流水號4碼；若為無健保代碼之特材，應填入99999999加流水號4碼]",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding",
      "path" : "Medication.code.coding",
      "slicing" : {
        "discriminator" : [{
          "type" : "value",
          "path" : "system"
        }],
        "rules" : "open"
      },
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding:nonNHIMedication",
      "path" : "Medication.code.coding",
      "sliceName" : "nonNHIMedication",
      "short" : "無健保代碼之藥品健保代碼暫編碼",
      "definition" : "當藥品無正式健保代碼時，使用本IG定義之無健保代碼藥品暫編碼表示健保代碼欄位。代碼格式為999999加流水號4碼，流水號由院所自訂。",
      "min" : 0,
      "max" : "1",
      "mustSupport" : true,
      "binding" : {
        "strength" : "example",
        "description" : "[NonNHIMedication](ValueSet-NonNHIMedication-vs.html)值集僅提供參考。",
        "valueSet" : "https://nhicore.nhi.gov.tw/empd/ValueSet/NonNHIMedication-vs"
      }
    },
    {
      "id" : "Medication.code.coding:nonNHIMedication.system",
      "path" : "Medication.code.coding.system",
      "short" : "無健保代碼之藥品健保代碼暫編碼CodeSystem",
      "min" : 1,
      "fixedUri" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMedication-cs",
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding:nonNHIMedication.code",
      "path" : "Medication.code.coding.code",
      "short" : "無健保代碼之藥品健保代碼暫編碼。格式為999999加流水號4碼，例如9999990001。",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding:nonNHIMedication.display",
      "path" : "Medication.code.coding.display",
      "short" : "無健保代碼之藥品名稱",
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding:nonNHIMaterial",
      "path" : "Medication.code.coding",
      "sliceName" : "nonNHIMaterial",
      "short" : "無健保代碼之特材健保代碼暫編碼",
      "definition" : "當特材無正式健保代碼時，使用本IG定義之無健保代碼特材暫編碼表示健保代碼欄位。代碼格式為99999999加流水號4碼，流水號由院所自訂。",
      "min" : 0,
      "max" : "1",
      "mustSupport" : true,
      "binding" : {
        "strength" : "example",
        "description" : "[nonNHIMaterial](ValueSet-NonNHIMaterial-vs.html)值集僅提供參考。",
        "valueSet" : "https://nhicore.nhi.gov.tw/empd/ValueSet/NonNHIMaterial-vs"
      }
    },
    {
      "id" : "Medication.code.coding:nonNHIMaterial.system",
      "path" : "Medication.code.coding.system",
      "short" : "無健保代碼之特材健保代碼暫編碼CodeSystem",
      "min" : 1,
      "fixedUri" : "https://nhicore.nhi.gov.tw/empd/CodeSystem/NonNHIMaterial-cs",
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding:nonNHIMaterial.code",
      "path" : "Medication.code.coding.code",
      "short" : "無健保代碼之特材健保代碼暫編碼。格式為99999999加流水號4碼，例如999999990001。",
      "min" : 1,
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.coding:nonNHIMaterial.display",
      "path" : "Medication.code.coding.display",
      "short" : "無健保代碼之特材名稱",
      "mustSupport" : true
    },
    {
      "id" : "Medication.code.text",
      "path" : "Medication.code.text",
      "short" : "健保代碼對應之品項名稱。[可填入藥品名稱、特材名稱或院所品項名稱]",
      "mustSupport" : true
    }]
  }
}

```
