# 病人資訊-Patient SFAA BASE - 臺灣社家署基礎實作指引 v0.0.1

* [**Table of Contents**](toc.md)
* [**Artifacts Summary**](artifacts.md)
* **病人資訊-Patient SFAA BASE**

## Resource Profile: 病人資訊-Patient SFAA BASE 

| | |
| :--- | :--- |
| *Official URL*:https://sfaa.gov.tw/base/StructureDefinition/Patient-sfaa-base | *Version*:0.0.1 |
| Draft as of 2026-06-08 | *Computable Name*:PatientSFAABase |

 
此病人資訊-Patient SFAA BASE Profile說明本IG如何進一步定義臺灣核心-病人(TW Core Patient) Profile以呈現社家署共通使用之人員基本資料 

**Usages:**

* Examples for this Profile: [Patient/pat-min](Patient-pat-min.md)

You can also check for [usages in the FHIR IG Statistics](https://packages2.fhir.org/xig/resource/tw.gov.mohw.sfaa.base|current/StructureDefinition/StructureDefinition-Patient-sfaa-base.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-Patient-sfaa-base.csv), [Excel](StructureDefinition-Patient-sfaa-base.xlsx), [Schematron](StructureDefinition-Patient-sfaa-base.sch) 



## Resource Content

```json
{
  "resourceType" : "StructureDefinition",
  "id" : "Patient-sfaa-base",
  "url" : "https://sfaa.gov.tw/base/StructureDefinition/Patient-sfaa-base",
  "version" : "0.0.1",
  "name" : "PatientSFAABase",
  "title" : "病人資訊-Patient SFAA BASE",
  "status" : "draft",
  "date" : "2026-06-08T05:51:20+00:00",
  "publisher" : "衛生福利部社會及家庭署",
  "contact" : [{
    "name" : "衛生福利部社會及家庭署",
    "telecom" : [{
      "system" : "url",
      "value" : "https://www.sfaa.gov.tw/"
    }]
  }],
  "description" : "此病人資訊-Patient SFAA BASE Profile說明本IG如何進一步定義臺灣核心-病人(TW Core Patient) Profile以呈現社家署共通使用之人員基本資料",
  "fhirVersion" : "4.0.1",
  "mapping" : [{
    "identity" : "rim",
    "uri" : "http://hl7.org/v3",
    "name" : "RIM Mapping"
  },
  {
    "identity" : "cda",
    "uri" : "http://hl7.org/v3/cda",
    "name" : "CDA (R2)"
  },
  {
    "identity" : "w5",
    "uri" : "http://hl7.org/fhir/fivews",
    "name" : "FiveWs Pattern Mapping"
  },
  {
    "identity" : "v2",
    "uri" : "http://hl7.org/v2",
    "name" : "HL7 v2 Mapping"
  },
  {
    "identity" : "loinc",
    "uri" : "http://loinc.org",
    "name" : "LOINC code for the element"
  }],
  "kind" : "resource",
  "abstract" : false,
  "type" : "Patient",
  "baseDefinition" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore",
  "derivation" : "constraint",
  "differential" : {
    "element" : [{
      "id" : "Patient",
      "path" : "Patient",
      "constraint" : [{
        "key" : "patient-gender-match",
        "severity" : "error",
        "human" : "gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1=male, 2=female)",
        "expression" : "(identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' implies gender = 'male') and (identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' implies gender = 'female')",
        "source" : "https://sfaa.gov.tw/base/StructureDefinition/Patient-sfaa-base"
      }]
    },
    {
      "id" : "Patient.identifier",
      "path" : "Patient.identifier",
      "max" : "2"
    },
    {
      "id" : "Patient.identifier:idCardNumber",
      "path" : "Patient.identifier",
      "sliceName" : "idCardNumber",
      "short" : "身分證號，被保險人國民身分證統一編號。",
      "min" : 1
    },
    {
      "id" : "Patient.identifier:medicalRecord",
      "path" : "Patient.identifier",
      "sliceName" : "medicalRecord",
      "short" : "病歷號 (參與醫院必須註冊命名系統)，由醫院自行填寫。"
    },
    {
      "id" : "Patient.name",
      "path" : "Patient.name",
      "min" : 1,
      "max" : "1",
      "constraint" : [{
        "key" : "pat-name",
        "severity" : "error",
        "human" : "病人姓名有誤，超過40字",
        "expression" : "text.length() <= 40",
        "source" : "https://sfaa.gov.tw/base/StructureDefinition/Patient-sfaa-base"
      }],
      "mustSupport" : true
    },
    {
      "id" : "Patient.name:official",
      "path" : "Patient.name",
      "sliceName" : "official",
      "max" : "0"
    },
    {
      "id" : "Patient.name:usual",
      "path" : "Patient.name",
      "sliceName" : "usual",
      "min" : 1
    },
    {
      "id" : "Patient.name:usual.text",
      "path" : "Patient.name.text",
      "min" : 1
    },
    {
      "id" : "Patient.name:temp",
      "path" : "Patient.name",
      "sliceName" : "temp",
      "max" : "0"
    },
    {
      "id" : "Patient.name:anonymous",
      "path" : "Patient.name",
      "sliceName" : "anonymous",
      "max" : "0"
    },
    {
      "id" : "Patient.gender",
      "path" : "Patient.gender",
      "short" : "male:男性 ｜ female:女性 ｜ other:其他 ｜ unknown:未知"
    },
    {
      "id" : "Patient.birthDate",
      "path" : "Patient.birthDate",
      "short" : "出生日期，YYYY-MM-DD，西元年月日。"
    }]
  }
}

```
