description: 此病人資訊-Patient TWPAS Profile說明本IG如何進一步定義臺灣核心-病人(TW Core Patient) Profile以呈現癌藥事前審查之病人基本資料 package_name: tw.gov.mohw.nhi.pas derivation: constraint name: PatientTWPAS type: Patient elements: meta: index: 0 elements: profile: pattern: {type: Canonical, value: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas'} index: 1 required: [profile] identifier: array: true max: 2 index: 2 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: 身分證號,被保險人國民身分證統一編號。, index: 3} passportNumber: match: type: coding: {code: null, system: null} schema: {index: 4} max: 0 residentNumber: match: type: coding: {code: null, system: null} schema: short: 居留證號。 constraint: resident-number: {human: 居留證號格式為:「1碼英文+9碼數字」或「2碼英文+8碼數字」。, source: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas', severity: error, expression: 'value.matches(''^([A-Za-z][0-9]{9}|[A-Za-z]{2}[0-9]{8})$'')'} index: 5 medicalRecord: match: type: coding: {code: null, system: null} schema: {short: 病歷號 (參與醫院必須註冊命名系統),由醫院自行填寫。, index: 6} name: constraint: pat-name: {human: 病人姓名有誤 ,超過40字, source: 'https://nhicore.nhi.gov.tw/pas/StructureDefinition/Patient-twpas', severity: error, expression: text.length() <= 40} index: 7 slicing: slices: official: match: {} schema: {index: 8} max: 0 usual: match: {} schema: _required: true index: 9 elements: text: {index: 10} required: [text] temp: match: {} schema: {index: 11} max: 0 anonymous: match: {} schema: {index: 12} max: 0 gender: {short: 'male:男性 | female:女性 | other:其他 | unknown:未知', index: 13} birthDate: {short: 出生日期,YYYY-MM-DD,西元年月日。, index: 14} package_version: 1.0.9 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.9 required: [name, meta]