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