# 電子處方箋-門診基本資料 - 臺灣電子處方箋與調劑單張實作指引(TW EMPD IG) v0.2.0

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **電子處方箋-門診基本資料**

## Resource Profile: 電子處方箋-門診基本資料 

| | |
| :--- | :--- |
| *Official URL*:https://nhicore.nhi.gov.tw/empd/StructureDefinition/Encounter-EMPD | *Version*:0.2.0 |
| Active as of 2023-10-30 | *Computable Name*:EncounterEMPD |

 
此Profile繼承於臺灣核心-就醫事件(TW Core Encounter) ，並用於描述電子處方箋的門診基本資料[[**FMM1**](http://build.fhir.org/versions.html#maturity)] 

**Usages:**

* Use this Profile: [電子處方箋-Bundle](StructureDefinition-Bundle-EMPD.md)
* Refer to this Profile: [電子處方箋-Composition](StructureDefinition-Composition-EMPD.md)
* Examples for this Profile: [Encounter/enc-ep](Encounter-enc-ep.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-Encounter-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-Encounter-EMPD.csv), [Excel](StructureDefinition-Encounter-EMPD.xlsx), [Schematron](StructureDefinition-Encounter-EMPD.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "Encounter-EMPD",
  "url" : "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Encounter-EMPD",
  "version" : "0.2.0",
  "name" : "EncounterEMPD",
  "title" : "電子處方箋-門診基本資料",
  "status" : "active",
  "date" : "2023-10-30",
  "publisher" : "NHI",
  "contact" : [{
    "name" : "NHI",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.nhi.gov.tw/en/mp-2.html"
    }]
  }],
  "description" : "此Profile繼承於臺灣核心-就醫事件(TW Core Encounter) ，並用於描述電子處方箋的門診基本資料[[*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" : "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" : "Encounter",
  "baseDefinition" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Encounter.identifier",
      "path" : "Encounter.identifier",
      "short" : "此就醫事件的識別碼。[應填入就醫識別碼與健保卡就醫序號]。非自費時，就醫識別碼為必填(MedicationRequest.category判別)",
      "min" : 1,
      "max" : "2"
    },
    {
      "id" : "Encounter.class",
      "path" : "Encounter.class",
      "short" : "病人就醫的分類。[應填入案件分類]。(如為自費案件請使用代碼\"00\")",
      "definition" : "病人就醫分類的概念，例如：門診病人、住院病人、急診病人、居家照護或其他因地方不同而產生的概念。\r\n健保案件分類，如：01:西醫一般案件 02:西醫急診 03: 西醫門診手術 04:西醫慢性病 05:洗腎 06:結核病 08:慢性病連續處方調劑 09:西醫其他專案 11:牙醫一般案件 12:牙醫急診 13:牙醫門診手術等。",
      "binding" : {
        "strength" : "extensible",
        "description" : "案件分類；應填入[CaseType-vs](ValueSet-CaseType-vs.html)值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。",
        "valueSet" : "https://nhicore.nhi.gov.tw/empd/ValueSet/CaseType-vs"
      }
    },
    {
      "id" : "Encounter.serviceType",
      "path" : "Encounter.serviceType",
      "short" : "服務的特定型別。[應填入科別 Department]",
      "min" : 1
    },
    {
      "id" : "Encounter.subject",
      "path" : "Encounter.subject",
      "min" : 1
    },
    {
      "id" : "Encounter.period",
      "path" : "Encounter.period",
      "min" : 1
    },
    {
      "id" : "Encounter.period.start",
      "path" : "Encounter.period.start",
      "short" : "Starting time with inclusive boundary.[應填入門診日期 OPD Date]。日期格式為西元 YYYYMMDD",
      "min" : 1,
      "mustSupport" : true
    }]
  }
}

```
