PackagesCanonicalsLogsProblems
    Packages
    tw.gov.mohw.nhi.base@1.0.0
    https://nhicore.nhi.gov.tw/base/StructureDefinition/Patient-twnhibase
description: 此病人資訊-Patient TWNHIBASE Profile說明本IG如何進一步定義臺灣核心-病人(TW Core Patient) Profile以呈現健保署基礎之病人基本資料
package_name: tw.gov.mohw.nhi.base
derivation: constraint
name: PatientTWNHIBASE
type: Patient
elements:
  identifier:
    array: true
    max: 2
    index: 0
    slicing:
      slices:
        idCardNumber:
          match: {}
          schema: {short: 身分證號,被保險人國民身分證統一編號。, _required: true, index: 1}
          min: 1
        medicalRecord:
          match: {}
          schema: {short: 病歷號 (參與醫院必須註冊命名系統),由醫院自行填寫。, index: 2}
  name:
    constraint:
      pat-name: {human: 病人姓名有誤,超過40字, source: 'https://nhicore.nhi.gov.tw/base/StructureDefinition/Patient-twnhibase', severity: error, expression: text.length() <= 40}
    mustSupport: true
    index: 3
    slicing:
      slices:
        official:
          match: {}
          schema: {index: 4}
          max: 0
        usual:
          match: {}
          schema:
            _required: true
            index: 5
            elements:
              text: {index: 6}
            required: [text]
        temp:
          match: {}
          schema: {index: 7}
          max: 0
        anonymous:
          match: {}
          schema: {index: 8}
          max: 0
  gender: {short: 'male:男性 | female:女性 | other:其他 | unknown:未知', index: 9}
  birthDate: {short: 出生日期,YYYY-MM-DD,西元年月日。, index: 10}
package_version: 1.0.0
class: profile
kind: resource
url: https://nhicore.nhi.gov.tw/base/StructureDefinition/Patient-twnhibase
base: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore
version: 1.0.0
required: [name]