臺灣重大傷病實作指引
1.0.2 - ci-build

臺灣重大傷病實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/ci/ and changes regularly. See the Directory of published versions

Resource Profile: 病人資訊-Patient TWCI

Official URL: https://nhicore.nhi.gov.tw/ci/StructureDefinition/Patient-twci Version: 1.0.2
Active as of 2026-10-19 Computable Name: PatientTWCI

此病人資訊-Patient TWCI Profile說明TWCI IG如何進一步定義臺灣核心-病人(TW Core Patient) Profile以呈現重大傷病之病人基本資料

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient C 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
Constraints: patient-gender-match, telecom
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Patient.Slices for extension Content/Rules for all slices
Patient.Slices for extension.extension:age This element must be supported. 0..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
Patient.Slices for extension.extension:nationality This element must be supported. 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element must be supported. This element is included in summaries. 1..2 Identifier 病人的身份識別碼(identifier),通常為業務目的所使用的識別碼,例如病歷號。
Slice: Unordered, Open by value:type.coding.code, value:type.coding.system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for identifier.identifier:idCardNumber This element must be supported. This element is included in summaries. C 1..1 Identifier 身分證號
Constraints: id-card-number
Patient.Slices for identifier.identifier:idCardNumber.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:idCardNumber.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:idCardNumber.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension Content/Rules for all slices
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension.extension:identifier-suffix This element must be supported. 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
Patient.Slices for identifier.identifier:idCardNumber.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.value This element must be supported. This element is included in summaries. C 0..1 string 唯一值。 例如:身分證字號為A123456789
Constraints: txt-10
Example General: 123456
Patient.Slices for identifier.identifier:medicalRecord This element must be supported. This element is included in summaries. 0..1 Identifier 病歷號(參與醫院必須註冊命名系統)。由醫院自行填寫。
Patient.Slices for identifier.identifier:medicalRecord.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:medicalRecord.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:medicalRecord.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: MR (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
Patient.Slices for identifier.identifier:medicalRecord.value This element must be supported. This element is included in summaries. 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
Patient.active This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 boolean 病人的紀錄是否「使用中(true)」
Patient.Slices for name This element is included in summaries. C 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for name.name:usual This element must be supported. This element is included in summaries. C 1..1 HumanName 姓名
Constraints: tw-core-1
Patient.Slices for name.name:usual.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual (extensions allowed)
Patient.Slices for name.name:usual.text This element must be supported. This element is included in summaries. C 1..1 string 完整的中文姓名
Example General: 陳加玲
Patient.Slices for name.name:usual.family This element must be supported. This element is included in summaries. C 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General: 陳
Patient.Slices for name.name:usual.given This element must be supported. This element is included in summaries. C 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
Patient.Slices for telecom This element must be supported. This element is included in summaries. 1..3 ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
Slice: Unordered, Closed by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for telecom.telecom:All Slices Content/Rules for all slices
Patient.Slices for telecom.telecom:All Slices.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:All Slices.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:mobile This element must be supported. This element is included in summaries. C 0..1 ContactPoint 手機號碼。應為數字10碼(寄送核發簡訊使用)。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-mobile
Patient.Slices for telecom.telecom:mobile.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: sms (extensions allowed)
Patient.Slices for telecom.telecom:mobile.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:mobile.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:mobile.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:contactTel This element must be supported. This element is included in summaries. C 0..1 ContactPoint 連絡電話。長度不得超過15字。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-contactTel
Patient.Slices for telecom.telecom:contactTel.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: phone (extensions allowed)
Patient.Slices for telecom.telecom:contactTel.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-15
Patient.Slices for telecom.telecom:contactTel.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:contactTel.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:email This element must be supported. This element is included in summaries. 0..1 ContactPoint 電子郵件信箱
Patient.Slices for telecom.telecom:email.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: email (extensions allowed)
Patient.Slices for telecom.telecom:email.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-40
Patient.Slices for telecom.telecom:email.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:email.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.gender This element must be supported. This element is included in summaries. 1..1 code 病人性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
Patient.birthDate This element must be supported. This element is included in summaries. 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 病人是否過世
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.address This element must be supported. 1..1 AddressTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人聯絡地址 pat-cnt-2or3-char:如果有國家名,則必須(SHALL)從[ISO Country Alpha-2](http://hl7.org/fhir/valueset/iso3166-1-2)找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼,則可能可以(MAY)從[ISO Country Alpha-3](http://hl7.org/fhir/valueset/iso3166-1-3)找出相對代碼作呈現。
Patient.address.Slices for extension Content/Rules for all slices
Patient.address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Patient.address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Patient.address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Patient.address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Patient.address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Patient.address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Patient.address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Patient.address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Patient.address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Patient.address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Patient.address.text This element is included in summaries. C 1..1 string 連絡住址
Constraints: txt-80
Example General: 137 Nowhere Street, Erewhon 9132
Patient.address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Patient.address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Patient.address.district This element must be supported. This element is included in summaries. 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
Patient.address.postalCode This element must be supported. This element is included in summaries. 1..1 string 郵遞區號
Example General: 9132
Patient.address.postalCode.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Patient.address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Patient.address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
Patient.maritalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.photo This element must be supported. 0..* Attachment 病人的影像(照片)
Patient.contact This element must be supported. C 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
Patient.contact.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.contact.relationship This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.name This element must be supported. 0..1 HumanName 聯絡人姓名
Patient.contact.name.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Patient.contact.name.text This element must be supported. This element is included in summaries. 0..1 string 完整的中文姓名
Patient.contact.name.family This element must be supported. This element is included in summaries. 0..1 string 英文姓
Patient.contact.name.given This element must be supported. This element is included in summaries. 0..* string 英文名
This repeating element order: Given Names appear in the correct order for presenting the name
Patient.contact.telecom This element must be supported. 0..* ContactPoint 聯絡人的詳細聯絡資訊
Patient.contact.telecom.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.telecom.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.contact.telecom.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.period This element must be supported. 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
Patient.communication This element must be supported. 0..* BackboneElement 向病人說明健康狀態時所使用的語言
Patient.communication.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.communication.language This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Patient.managingOrganization This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Organization) 此紀錄的保管機構
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement 連結至此病人的其他Patient Resource
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(TW Core Patient | TW Core RelatedPerson) 連結至其他Patient或RelatedPerson Resource
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): 連結的型別;應填入所綁定值集中的其中一個代碼。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:idCardNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:idCardNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:passportNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:passportNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:residentNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:residentNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:medicalRecord.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:medicalRecord.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.name:official.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:usual.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:temp.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:anonymous.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom.use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:email.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:email.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.address.use Base required AddressUse 📍4.0.1 FHIR Std.
Patient.address.type Base required AddressType 📍4.0.1 FHIR Std.
Patient.address.postalCode.​extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Patient.maritalStatus Base extensible MaritalStatus 📦4.0.1 FHIR Std.
Patient.contact.relationship Base required Patient relationship type 📦4.0.1 FHIR Std.
Patient.contact.name.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.contact.telecom.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.contact.telecom.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
id-card-number error Patient.identifier:idCardNumber 身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。 value.matches('^[A-Za-z][0-9]{9}$')
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()
pat-name error Patient.name 病人姓名有誤,超過12字 text.length() <= 12
patient-gender-match error Patient gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1,8,A,C,Y=male, 2,9,B,D,X=female) ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '8' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'A' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'C' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'Y') implies gender = 'male') and ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '9' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'B' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'D' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'X') implies gender = 'female')
telecom error Patient 手機號碼與聯絡電話應至少填寫一欄。 telecom.where(system = 'sms').exists() or telecom.where(system = 'phone').exists()
telecom-contactTel error Patient.telecom:contactTel 連絡電話格式有誤,長度不得超過15字。 value.toString().length() <= 15
telecom-mobile error Patient.telecom:mobile 手機號碼格式有誤,應為數字10碼。 value.toString().length() = 10
tw-core-1 error Patient.name:usual Patient.name.text or Patient.name.family or both SHALL be present text.exists() or family.exists()
txt-10 error Patient.identifier:idCardNumber.value 長度不得超過10字 length() <= 10
txt-15 error Patient.telecom:contactTel.value 長度不得超過15字 length() <= 15
txt-40 error Patient.telecom:email.value 長度不得超過40字 length() <= 40
txt-80 error Patient.address.text 長度不得超過80字 length() <= 80

This structure is derived from TWCorePatient

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient C 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
Constraints: patient-gender-match, telecom
Patient.identifier 1..2 Identifier 病人的身份識別碼(identifier),通常為業務目的所使用的識別碼,例如病歷號。
Patient.Slices for identifier Content/Rules for all slices
Patient.Slices for identifier.identifier:idCardNumber 1..1 Identifier 身分證號
Patient.Slices for identifier.identifier:idCardNumber.value C 0..1 string 唯一值。 例如:身分證字號為A123456789
Constraints: txt-10
Patient.Slices for identifier.identifier:passportNumber 0..0 適用護照號碼
Patient.Slices for identifier.identifier:residentNumber 0..0 適用居留證號碼
Patient.Slices for identifier.identifier:medicalRecord 0..1 Identifier 病歷號(參與醫院必須註冊命名系統)。由醫院自行填寫。
Patient.name C 1..1 HumanName 病人的姓名
Constraints: pat-name
Patient.Slices for name.name:official 0..0 病人的護照姓名
Patient.Slices for name.name:usual 1..1 HumanName 姓名
Patient.Slices for name.name:usual.text 1..1 string 完整的中文姓名
Patient.Slices for name.name:temp 0..0 新生兒姓名,緊急救護未知病人姓名時亦可用。
Patient.Slices for name.name:anonymous 0..0 匿名供研究使用
Patient.Slices for telecom 1..3 ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
Slice: Unordered, Closed by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for telecom.telecom:mobile This element must be supported. C 0..1 ContactPoint 手機號碼。應為數字10碼(寄送核發簡訊使用)。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-mobile
Patient.Slices for telecom.telecom:mobile.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: sms (extensions allowed)
Patient.Slices for telecom.telecom:contactTel This element must be supported. C 0..1 ContactPoint 連絡電話。長度不得超過15字。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-contactTel
Patient.Slices for telecom.telecom:contactTel.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: phone (extensions allowed)
Patient.Slices for telecom.telecom:contactTel.value C 1..1 string 實際的聯絡方式之細節
Constraints: txt-15
Patient.Slices for telecom.telecom:email This element must be supported. 0..1 ContactPoint 電子郵件信箱
Patient.Slices for telecom.telecom:email.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: email (extensions allowed)
Patient.Slices for telecom.telecom:email.value C 1..1 string 實際的聯絡方式之細節
Constraints: txt-40
Patient.gender 1..1 code 病人性別。male:男性 | female:女性 | other:其他 | unknown:未知
Patient.birthDate 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
Patient.address 1..1 AddressTW 病人聯絡地址 pat-cnt-2or3-char:如果有國家名,則必須(SHALL)從[ISO Country Alpha-2](http://hl7.org/fhir/valueset/iso3166-1-2)找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼,則可能可以(MAY)從[ISO Country Alpha-3](http://hl7.org/fhir/valueset/iso3166-1-3)找出相對代碼作呈現。
Patient.address.text C 1..1 string 連絡住址
Constraints: txt-80
Patient.address.postalCode 1..1 string 郵遞區號
Patient.address.postalCode.extension 1..* Extension Extension
Patient.address.postalCode.Slices for extension Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode 1..1 TWPostalCode 臺灣郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x]
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].coding 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code 1..1 code 郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5 0..0 由專門術語系統(terminology system)定義的代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6 0..0 由專門術語系統(terminology system)定義的代碼

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
pat-name error Patient.name 病人姓名有誤,超過12字 text.length() <= 12
patient-gender-match error Patient gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1,8,A,C,Y=male, 2,9,B,D,X=female) ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '8' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'A' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'C' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'Y') implies gender = 'male') and ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '9' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'B' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'D' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'X') implies gender = 'female')
telecom error Patient 手機號碼與聯絡電話應至少填寫一欄。 telecom.where(system = 'sms').exists() or telecom.where(system = 'phone').exists()
telecom-contactTel error Patient.telecom:contactTel 連絡電話格式有誤,長度不得超過15字。 value.toString().length() <= 15
telecom-mobile error Patient.telecom:mobile 手機號碼格式有誤,應為數字10碼。 value.toString().length() = 10
txt-10 error Patient.identifier:idCardNumber.value 長度不得超過10字 length() <= 10
txt-15 error Patient.telecom:contactTel.value 長度不得超過15字 length() <= 15
txt-40 error Patient.telecom:email.value 長度不得超過40字 length() <= 40
txt-80 error Patient.address.text 長度不得超過80字 length() <= 80
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient C 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
Constraints: patient-gender-match, telecom
Patient.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Patient紀錄,通常又稱為邏輯性ID。
Patient.meta This element is included in summaries. 0..1 Meta 此Patient Resource的metadata
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Patient.language 0..1 code 用以表述Patient Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Patient.text 0..1 Narrative Patient Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Patient.contained 0..* Resource Contained, inline Resources
Patient.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Patient.Slices for extension.extension:age This element must be supported. 0..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
Patient.Slices for extension.extension:nationality This element must be supported. 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element must be supported. This element is included in summaries. 1..2 Identifier 病人的身份識別碼(identifier),通常為業務目的所使用的識別碼,例如病歷號。
Slice: Unordered, Open by value:type.coding.code, value:type.coding.system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for identifier.identifier:idCardNumber This element must be supported. This element is included in summaries. C 1..1 Identifier 身分證號
Constraints: id-card-number
Patient.Slices for identifier.identifier:idCardNumber.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:idCardNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:idCardNumber.type.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:idCardNumber.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:idCardNumber.type.coding.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:idCardNumber.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.id 0..1 string xml:id (or equivalent in JSON)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension Content/Rules for all slices
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension.extension:identifier-suffix This element must be supported. 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.value 0..1 string Primitive value for code
Patient.Slices for identifier.identifier:idCardNumber.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Patient.Slices for identifier.identifier:idCardNumber.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Patient.Slices for identifier.identifier:idCardNumber.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Patient.Slices for identifier.identifier:idCardNumber.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.value This element must be supported. This element is included in summaries. C 0..1 string 唯一值。 例如:身分證字號為A123456789
Constraints: txt-10
Example General: 123456
Patient.Slices for identifier.identifier:idCardNumber.period This element is included in summaries. 0..1 Period 此身份識別碼(identifier)的使用效期
Patient.Slices for identifier.identifier:idCardNumber.assigner This element is included in summaries. 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
Patient.Slices for identifier.identifier:medicalRecord This element must be supported. This element is included in summaries. 0..1 Identifier 病歷號(參與醫院必須註冊命名系統)。由醫院自行填寫。
Patient.Slices for identifier.identifier:medicalRecord.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:medicalRecord.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:medicalRecord.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:medicalRecord.type.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:medicalRecord.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:medicalRecord.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:medicalRecord.type.coding.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:medicalRecord.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:medicalRecord.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Patient.Slices for identifier.identifier:medicalRecord.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: MR (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Patient.Slices for identifier.identifier:medicalRecord.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Patient.Slices for identifier.identifier:medicalRecord.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Patient.Slices for identifier.identifier:medicalRecord.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&amp;type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
Patient.Slices for identifier.identifier:medicalRecord.value This element must be supported. This element is included in summaries. 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
Patient.Slices for identifier.identifier:medicalRecord.period This element is included in summaries. 0..1 Period 此身份識別碼(identifier)的使用效期
Patient.Slices for identifier.identifier:medicalRecord.assigner This element is included in summaries. 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
Patient.active This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 boolean 病人的紀錄是否「使用中(true)」
Patient.Slices for name This element is included in summaries. C 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for name.name:usual This element must be supported. This element is included in summaries. C 1..1 HumanName 姓名
Constraints: tw-core-1
Patient.Slices for name.name:usual.id 0..1 string Unique id for inter-element referencing
Patient.Slices for name.name:usual.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for name.name:usual.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual (extensions allowed)
Patient.Slices for name.name:usual.text This element must be supported. This element is included in summaries. C 1..1 string 完整的中文姓名
Example General: 陳加玲
Patient.Slices for name.name:usual.family This element must be supported. This element is included in summaries. C 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General: 陳
Patient.Slices for name.name:usual.given This element must be supported. This element is included in summaries. C 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
Patient.Slices for name.name:usual.prefix This element is included in summaries. 0..* string 姓名前面的頭銜 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名開頭。
This repeating element order: Prefixes appear in the correct order for presenting the name
Patient.Slices for name.name:usual.suffix This element is included in summaries. 0..* string 姓名後面的稱謂 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名之後。
This repeating element order: Suffixes appear in the correct order for presenting the name
Patient.Slices for name.name:usual.period This element is included in summaries. 0..1 Period 此姓名的使用效期
Patient.Slices for telecom This element must be supported. This element is included in summaries. 1..3 ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
Slice: Unordered, Closed by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for telecom.telecom:All Slices Content/Rules for all slices
Patient.Slices for telecom.telecom:All Slices.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:All Slices.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:All Slices.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:All Slices.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:All Slices.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:mobile This element must be supported. This element is included in summaries. C 0..1 ContactPoint 手機號碼。應為數字10碼(寄送核發簡訊使用)。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-mobile
Patient.Slices for telecom.telecom:mobile.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:mobile.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:mobile.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: sms (extensions allowed)
Patient.Slices for telecom.telecom:mobile.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:mobile.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:mobile.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:mobile.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:contactTel This element must be supported. This element is included in summaries. C 0..1 ContactPoint 連絡電話。長度不得超過15字。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-contactTel
Patient.Slices for telecom.telecom:contactTel.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:contactTel.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:contactTel.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: phone (extensions allowed)
Patient.Slices for telecom.telecom:contactTel.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-15
Patient.Slices for telecom.telecom:contactTel.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:contactTel.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:contactTel.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:email This element must be supported. This element is included in summaries. 0..1 ContactPoint 電子郵件信箱
Patient.Slices for telecom.telecom:email.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:email.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:email.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: email (extensions allowed)
Patient.Slices for telecom.telecom:email.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-40
Patient.Slices for telecom.telecom:email.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:email.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:email.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.gender This element must be supported. This element is included in summaries. 1..1 code 病人性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
Patient.birthDate This element must be supported. This element is included in summaries. 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 病人是否過世
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.address This element must be supported. 1..1 AddressTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人聯絡地址 pat-cnt-2or3-char:如果有國家名,則必須(SHALL)從[ISO Country Alpha-2](http://hl7.org/fhir/valueset/iso3166-1-2)找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼,則可能可以(MAY)從[ISO Country Alpha-3](http://hl7.org/fhir/valueset/iso3166-1-3)找出相對代碼作呈現。
Patient.address.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Patient.address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Patient.address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Patient.address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Patient.address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Patient.address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Patient.address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Patient.address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Patient.address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Patient.address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Patient.address.text This element is included in summaries. C 1..1 string 連絡住址
Constraints: txt-80
Example General: 137 Nowhere Street, Erewhon 9132
Patient.address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Patient.address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Patient.address.district This element must be supported. This element is included in summaries. 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
Patient.address.state This element is included in summaries. 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
Patient.address.postalCode This element must be supported. This element is included in summaries. 1..1 string 郵遞區號
Example General: 9132
Patient.address.postalCode.id 0..1 string xml:id(或JSON格式)。
Patient.address.postalCode.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Patient.address.postalCode.Slices for extension.extension:PostalCode.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Patient.address.postalCode.value 0..1 string 郵遞區號
Max Length:1048576
Patient.address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
Patient.address.period This element is included in summaries. 0..1 Period 此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}
Patient.maritalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.multipleBirth[x] 0..1 病人是否為多胞胎;或多胞胎出生順序。
Patient.multipleBirth[x].multipleBirthBoolean boolean
Patient.multipleBirth[x].multipleBirthInteger integer
Patient.photo This element must be supported. 0..* Attachment 病人的影像(照片)
Patient.contact This element must be supported. C 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
Patient.contact.id 0..1 string Unique id for inter-element referencing
Patient.contact.extension 0..* Extension Additional content defined by implementations
Patient.contact.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.contact.relationship This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.name This element must be supported. 0..1 HumanName 聯絡人姓名
Patient.contact.name.id 0..1 string Unique id for inter-element referencing
Patient.contact.name.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.contact.name.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Patient.contact.name.text This element must be supported. This element is included in summaries. 0..1 string 完整的中文姓名
Patient.contact.name.family This element must be supported. This element is included in summaries. 0..1 string 英文姓
Patient.contact.name.given This element must be supported. This element is included in summaries. 0..* string 英文名
This repeating element order: Given Names appear in the correct order for presenting the name
Patient.contact.name.prefix This element is included in summaries. 0..* string 姓名前面的頭銜 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名開頭。
This repeating element order: Prefixes appear in the correct order for presenting the name
Patient.contact.name.suffix This element is included in summaries. 0..* string 姓名後面的稱謂 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名之後。
This repeating element order: Suffixes appear in the correct order for presenting the name
Patient.contact.name.period This element is included in summaries. 0..1 Period 此姓名的使用效期
Patient.contact.telecom This element must be supported. 0..* ContactPoint 聯絡人的詳細聯絡資訊
Patient.contact.telecom.id 0..1 string Unique id for inter-element referencing
Patient.contact.telecom.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.contact.telecom.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.telecom.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.contact.telecom.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.telecom.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.contact.telecom.period This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.contact.address 0..1 AddressTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 聯絡人的地址
Patient.contact.gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): 聯絡人的性別;應填入所綁定值集中的其中一個代碼。
Patient.contact.organization C 0..1 Reference(TW Core Organization) 可聯絡到聯絡人的機構
Patient.contact.period This element must be supported. 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
Patient.communication This element must be supported. 0..* BackboneElement 向病人說明健康狀態時所使用的語言
Patient.communication.id 0..1 string Unique id for inter-element referencing
Patient.communication.extension 0..* Extension Additional content defined by implementations
Patient.communication.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.communication.language This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Patient.communication.preferred 0..1 boolean 病人是否偏好使用此語言
Patient.generalPractitioner 0..* Reference(TW Core Organization | TW Core Practitioner | TW Core PractitionerRole) 照護此病人的機構、照護服務提供者、或健康照護服務提供者的角色
Patient.managingOrganization This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Organization) 此紀錄的保管機構
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement 連結至此病人的其他Patient Resource
Patient.link.id 0..1 string Unique id for inter-element referencing
Patient.link.extension 0..* Extension Additional content defined by implementations
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(TW Core Patient | TW Core RelatedPerson) 連結至其他Patient或RelatedPerson Resource
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): 連結的型別;應填入所綁定值集中的其中一個代碼。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.identifier:idCardNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:idCardNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:passportNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:passportNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:residentNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:residentNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:medicalRecord.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:medicalRecord.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.name:official.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:usual.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:temp.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:anonymous.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom.use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:email.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:email.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.address.use Base required AddressUse 📍4.0.1 FHIR Std.
Patient.address.type Base required AddressType 📍4.0.1 FHIR Std.
Patient.address.postalCode.​extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Patient.maritalStatus Base extensible MaritalStatus 📦4.0.1 FHIR Std.
Patient.contact.relationship Base required Patient relationship type 📦4.0.1 FHIR Std.
Patient.contact.name.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.contact.telecom.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.contact.telecom.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
id-card-number error Patient.identifier:idCardNumber 身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。 value.matches('^[A-Za-z][0-9]{9}$')
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()
pat-name error Patient.name 病人姓名有誤,超過12字 text.length() <= 12
patient-gender-match error Patient gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1,8,A,C,Y=male, 2,9,B,D,X=female) ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '8' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'A' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'C' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'Y') implies gender = 'male') and ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '9' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'B' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'D' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'X') implies gender = 'female')
telecom error Patient 手機號碼與聯絡電話應至少填寫一欄。 telecom.where(system = 'sms').exists() or telecom.where(system = 'phone').exists()
telecom-contactTel error Patient.telecom:contactTel 連絡電話格式有誤,長度不得超過15字。 value.toString().length() <= 15
telecom-mobile error Patient.telecom:mobile 手機號碼格式有誤,應為數字10碼。 value.toString().length() = 10
tw-core-1 error Patient.name:usual Patient.name.text or Patient.name.family or both SHALL be present text.exists() or family.exists()
txt-10 error Patient.identifier:idCardNumber.value 長度不得超過10字 length() <= 10
txt-15 error Patient.telecom:contactTel.value 長度不得超過15字 length() <= 15
txt-40 error Patient.telecom:email.value 長度不得超過40字 length() <= 40
txt-80 error Patient.address.text 長度不得超過80字 length() <= 80

This structure is derived from TWCorePatient

Summary

Mandatory: 10 elements(2 nested mandatory elements)
Must-Support: 3 elements
Prohibited: 7 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Patient.telecom (Closed)

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient C 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
Constraints: patient-gender-match, telecom
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Patient.Slices for extension Content/Rules for all slices
Patient.Slices for extension.extension:age This element must be supported. 0..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
Patient.Slices for extension.extension:nationality This element must be supported. 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element must be supported. This element is included in summaries. 1..2 Identifier 病人的身份識別碼(identifier),通常為業務目的所使用的識別碼,例如病歷號。
Slice: Unordered, Open by value:type.coding.code, value:type.coding.system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for identifier.identifier:idCardNumber This element must be supported. This element is included in summaries. C 1..1 Identifier 身分證號
Constraints: id-card-number
Patient.Slices for identifier.identifier:idCardNumber.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:idCardNumber.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:idCardNumber.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension Content/Rules for all slices
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension.extension:identifier-suffix This element must be supported. 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
Patient.Slices for identifier.identifier:idCardNumber.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.value This element must be supported. This element is included in summaries. C 0..1 string 唯一值。 例如:身分證字號為A123456789
Constraints: txt-10
Example General: 123456
Patient.Slices for identifier.identifier:medicalRecord This element must be supported. This element is included in summaries. 0..1 Identifier 病歷號(參與醫院必須註冊命名系統)。由醫院自行填寫。
Patient.Slices for identifier.identifier:medicalRecord.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:medicalRecord.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:medicalRecord.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: MR (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&amp;type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
Patient.Slices for identifier.identifier:medicalRecord.value This element must be supported. This element is included in summaries. 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
Patient.active This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 boolean 病人的紀錄是否「使用中(true)」
Patient.Slices for name This element is included in summaries. C 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for name.name:usual This element must be supported. This element is included in summaries. C 1..1 HumanName 姓名
Constraints: tw-core-1
Patient.Slices for name.name:usual.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual (extensions allowed)
Patient.Slices for name.name:usual.text This element must be supported. This element is included in summaries. C 1..1 string 完整的中文姓名
Example General: 陳加玲
Patient.Slices for name.name:usual.family This element must be supported. This element is included in summaries. C 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General: 陳
Patient.Slices for name.name:usual.given This element must be supported. This element is included in summaries. C 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
Patient.Slices for telecom This element must be supported. This element is included in summaries. 1..3 ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
Slice: Unordered, Closed by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for telecom.telecom:All Slices Content/Rules for all slices
Patient.Slices for telecom.telecom:All Slices.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:All Slices.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:mobile This element must be supported. This element is included in summaries. C 0..1 ContactPoint 手機號碼。應為數字10碼(寄送核發簡訊使用)。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-mobile
Patient.Slices for telecom.telecom:mobile.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: sms (extensions allowed)
Patient.Slices for telecom.telecom:mobile.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:mobile.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:mobile.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:contactTel This element must be supported. This element is included in summaries. C 0..1 ContactPoint 連絡電話。長度不得超過15字。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-contactTel
Patient.Slices for telecom.telecom:contactTel.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: phone (extensions allowed)
Patient.Slices for telecom.telecom:contactTel.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-15
Patient.Slices for telecom.telecom:contactTel.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:contactTel.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:email This element must be supported. This element is included in summaries. 0..1 ContactPoint 電子郵件信箱
Patient.Slices for telecom.telecom:email.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: email (extensions allowed)
Patient.Slices for telecom.telecom:email.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-40
Patient.Slices for telecom.telecom:email.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:email.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.gender This element must be supported. This element is included in summaries. 1..1 code 病人性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
Patient.birthDate This element must be supported. This element is included in summaries. 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 病人是否過世
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.address This element must be supported. 1..1 AddressTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人聯絡地址 pat-cnt-2or3-char:如果有國家名,則必須(SHALL)從[ISO Country Alpha-2](http://hl7.org/fhir/valueset/iso3166-1-2)找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼,則可能可以(MAY)從[ISO Country Alpha-3](http://hl7.org/fhir/valueset/iso3166-1-3)找出相對代碼作呈現。
Patient.address.Slices for extension Content/Rules for all slices
Patient.address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Patient.address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Patient.address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Patient.address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Patient.address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Patient.address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Patient.address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Patient.address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Patient.address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Patient.address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Patient.address.text This element is included in summaries. C 1..1 string 連絡住址
Constraints: txt-80
Example General: 137 Nowhere Street, Erewhon 9132
Patient.address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Patient.address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Patient.address.district This element must be supported. This element is included in summaries. 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
Patient.address.postalCode This element must be supported. This element is included in summaries. 1..1 string 郵遞區號
Example General: 9132
Patient.address.postalCode.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Patient.address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Patient.address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
Patient.maritalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.photo This element must be supported. 0..* Attachment 病人的影像(照片)
Patient.contact This element must be supported. C 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
Patient.contact.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.contact.relationship This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.name This element must be supported. 0..1 HumanName 聯絡人姓名
Patient.contact.name.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Patient.contact.name.text This element must be supported. This element is included in summaries. 0..1 string 完整的中文姓名
Patient.contact.name.family This element must be supported. This element is included in summaries. 0..1 string 英文姓
Patient.contact.name.given This element must be supported. This element is included in summaries. 0..* string 英文名
This repeating element order: Given Names appear in the correct order for presenting the name
Patient.contact.telecom This element must be supported. 0..* ContactPoint 聯絡人的詳細聯絡資訊
Patient.contact.telecom.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.telecom.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.contact.telecom.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.period This element must be supported. 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
Patient.communication This element must be supported. 0..* BackboneElement 向病人說明健康狀態時所使用的語言
Patient.communication.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.communication.language This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Patient.managingOrganization This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Organization) 此紀錄的保管機構
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement 連結至此病人的其他Patient Resource
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(TW Core Patient | TW Core RelatedPerson) 連結至其他Patient或RelatedPerson Resource
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): 連結的型別;應填入所綁定值集中的其中一個代碼。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.identifier:idCardNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:idCardNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:passportNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:passportNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:residentNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:residentNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:medicalRecord.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:medicalRecord.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.name:official.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:usual.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:temp.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:anonymous.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom.use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:email.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:email.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.address.use Base required AddressUse 📍4.0.1 FHIR Std.
Patient.address.type Base required AddressType 📍4.0.1 FHIR Std.
Patient.address.postalCode.​extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Patient.maritalStatus Base extensible MaritalStatus 📦4.0.1 FHIR Std.
Patient.contact.relationship Base required Patient relationship type 📦4.0.1 FHIR Std.
Patient.contact.name.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.contact.telecom.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.contact.telecom.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
id-card-number error Patient.identifier:idCardNumber 身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。 value.matches('^[A-Za-z][0-9]{9}$')
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()
pat-name error Patient.name 病人姓名有誤,超過12字 text.length() <= 12
patient-gender-match error Patient gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1,8,A,C,Y=male, 2,9,B,D,X=female) ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '8' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'A' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'C' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'Y') implies gender = 'male') and ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '9' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'B' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'D' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'X') implies gender = 'female')
telecom error Patient 手機號碼與聯絡電話應至少填寫一欄。 telecom.where(system = 'sms').exists() or telecom.where(system = 'phone').exists()
telecom-contactTel error Patient.telecom:contactTel 連絡電話格式有誤,長度不得超過15字。 value.toString().length() <= 15
telecom-mobile error Patient.telecom:mobile 手機號碼格式有誤,應為數字10碼。 value.toString().length() = 10
tw-core-1 error Patient.name:usual Patient.name.text or Patient.name.family or both SHALL be present text.exists() or family.exists()
txt-10 error Patient.identifier:idCardNumber.value 長度不得超過10字 length() <= 10
txt-15 error Patient.telecom:contactTel.value 長度不得超過15字 length() <= 15
txt-40 error Patient.telecom:email.value 長度不得超過40字 length() <= 40
txt-80 error Patient.address.text 長度不得超過80字 length() <= 80

Differential View

This structure is derived from TWCorePatient

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient C 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
Constraints: patient-gender-match, telecom
Patient.identifier 1..2 Identifier 病人的身份識別碼(identifier),通常為業務目的所使用的識別碼,例如病歷號。
Patient.Slices for identifier Content/Rules for all slices
Patient.Slices for identifier.identifier:idCardNumber 1..1 Identifier 身分證號
Patient.Slices for identifier.identifier:idCardNumber.value C 0..1 string 唯一值。 例如:身分證字號為A123456789
Constraints: txt-10
Patient.Slices for identifier.identifier:passportNumber 0..0 適用護照號碼
Patient.Slices for identifier.identifier:residentNumber 0..0 適用居留證號碼
Patient.Slices for identifier.identifier:medicalRecord 0..1 Identifier 病歷號(參與醫院必須註冊命名系統)。由醫院自行填寫。
Patient.name C 1..1 HumanName 病人的姓名
Constraints: pat-name
Patient.Slices for name Content/Rules for all slices
Patient.Slices for name.name:official 0..0 病人的護照姓名
Patient.Slices for name.name:usual 1..1 HumanName 姓名
Patient.Slices for name.name:usual.text 1..1 string 完整的中文姓名
Patient.Slices for name.name:temp 0..0 新生兒姓名,緊急救護未知病人姓名時亦可用。
Patient.Slices for name.name:anonymous 0..0 匿名供研究使用
Patient.Slices for telecom 1..3 ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
Slice: Unordered, Closed by value:system
Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for telecom.telecom:mobile This element must be supported. C 0..1 ContactPoint 手機號碼。應為數字10碼(寄送核發簡訊使用)。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-mobile
Patient.Slices for telecom.telecom:mobile.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: sms (extensions allowed)
Patient.Slices for telecom.telecom:contactTel This element must be supported. C 0..1 ContactPoint 連絡電話。長度不得超過15字。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-contactTel
Patient.Slices for telecom.telecom:contactTel.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: phone (extensions allowed)
Patient.Slices for telecom.telecom:contactTel.value C 1..1 string 實際的聯絡方式之細節
Constraints: txt-15
Patient.Slices for telecom.telecom:email This element must be supported. 0..1 ContactPoint 電子郵件信箱
Patient.Slices for telecom.telecom:email.system 1..1 code phone | fax | email | pager | url | sms | other
Required Pattern: email (extensions allowed)
Patient.Slices for telecom.telecom:email.value C 1..1 string 實際的聯絡方式之細節
Constraints: txt-40
Patient.gender 1..1 code 病人性別。male:男性 | female:女性 | other:其他 | unknown:未知
Patient.birthDate 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
Patient.address 1..1 AddressTW 病人聯絡地址 pat-cnt-2or3-char:如果有國家名,則必須(SHALL)從[ISO Country Alpha-2](http://hl7.org/fhir/valueset/iso3166-1-2)找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼,則可能可以(MAY)從[ISO Country Alpha-3](http://hl7.org/fhir/valueset/iso3166-1-3)找出相對代碼作呈現。
Patient.address.text C 1..1 string 連絡住址
Constraints: txt-80
Patient.address.postalCode 1..1 string 郵遞區號
Patient.address.postalCode.extension 1..* Extension Extension
Patient.address.postalCode.Slices for extension Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode 1..1 TWPostalCode 臺灣郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x]
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].coding 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code 1..1 code 郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5 0..0 由專門術語系統(terminology system)定義的代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6 0..0 由專門術語系統(terminology system)定義的代碼

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
pat-name error Patient.name 病人姓名有誤,超過12字 text.length() <= 12
patient-gender-match error Patient gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1,8,A,C,Y=male, 2,9,B,D,X=female) ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '8' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'A' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'C' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'Y') implies gender = 'male') and ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '9' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'B' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'D' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'X') implies gender = 'female')
telecom error Patient 手機號碼與聯絡電話應至少填寫一欄。 telecom.where(system = 'sms').exists() or telecom.where(system = 'phone').exists()
telecom-contactTel error Patient.telecom:contactTel 連絡電話格式有誤,長度不得超過15字。 value.toString().length() <= 15
telecom-mobile error Patient.telecom:mobile 手機號碼格式有誤,應為數字10碼。 value.toString().length() = 10
txt-10 error Patient.identifier:idCardNumber.value 長度不得超過10字 length() <= 10
txt-15 error Patient.telecom:contactTel.value 長度不得超過15字 length() <= 15
txt-40 error Patient.telecom:email.value 長度不得超過40字 length() <= 40
txt-80 error Patient.address.text 長度不得超過80字 length() <= 80

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Patient C 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
Constraints: patient-gender-match, telecom
Patient.id This element is included in summaries. 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Patient紀錄,通常又稱為邏輯性ID。
Patient.meta This element is included in summaries. 0..1 Meta 此Patient Resource的metadata
Patient.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri 創建此內容所依據的一組規則
Patient.language 0..1 code 用以表述Patient Resource內容的語言。
Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Patient.text 0..1 Narrative Patient Resource之內容摘要以供人閱讀
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
Patient.contained 0..* Resource Contained, inline Resources
Patient.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Patient.Slices for extension.extension:age This element must be supported. 0..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
Patient.Slices for extension.extension:nationality This element must be supported. 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
Patient.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Patient.Slices for identifier This element must be supported. This element is included in summaries. 1..2 Identifier 病人的身份識別碼(identifier),通常為業務目的所使用的識別碼,例如病歷號。
Slice: Unordered, Open by value:type.coding.code, value:type.coding.system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for identifier.identifier:idCardNumber This element must be supported. This element is included in summaries. C 1..1 Identifier 身分證號
Constraints: id-card-number
Patient.Slices for identifier.identifier:idCardNumber.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:idCardNumber.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:idCardNumber.type.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:idCardNumber.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:idCardNumber.type.coding.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:idCardNumber.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.id 0..1 string xml:id (or equivalent in JSON)
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension Content/Rules for all slices
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.Slices for extension.extension:identifier-suffix This element must be supported. 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
Patient.Slices for identifier.identifier:idCardNumber.type.coding.code.value 0..1 string Primitive value for code
Patient.Slices for identifier.identifier:idCardNumber.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Patient.Slices for identifier.identifier:idCardNumber.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Patient.Slices for identifier.identifier:idCardNumber.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Patient.Slices for identifier.identifier:idCardNumber.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw (extensions allowed)
Patient.Slices for identifier.identifier:idCardNumber.value This element must be supported. This element is included in summaries. C 0..1 string 唯一值。 例如:身分證字號為A123456789
Constraints: txt-10
Example General: 123456
Patient.Slices for identifier.identifier:idCardNumber.period This element is included in summaries. 0..1 Period 此身份識別碼(identifier)的使用效期
Patient.Slices for identifier.identifier:idCardNumber.assigner This element is included in summaries. 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
Patient.Slices for identifier.identifier:medicalRecord This element must be supported. This element is included in summaries. 0..1 Identifier 病歷號(參與醫院必須註冊命名系統)。由醫院自行填寫。
Patient.Slices for identifier.identifier:medicalRecord.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:medicalRecord.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:medicalRecord.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type This element must be supported. This element is included in summaries. 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.Slices for identifier.identifier:medicalRecord.type.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:medicalRecord.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:medicalRecord.type.coding This element is included in summaries. 1..* Coding Code defined by a terminology system
Patient.Slices for identifier.identifier:medicalRecord.type.coding.id 0..1 string Unique id for inter-element referencing
Patient.Slices for identifier.identifier:medicalRecord.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for identifier.identifier:medicalRecord.type.coding.system This element is included in summaries. 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203 (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type.coding.version This element is included in summaries. 0..1 string Version of the system - if relevant
Patient.Slices for identifier.identifier:medicalRecord.type.coding.code This element is included in summaries. 1..1 code Symbol in syntax defined by the system
Required Pattern: MR (extensions allowed)
Patient.Slices for identifier.identifier:medicalRecord.type.coding.display This element is included in summaries. 0..1 string Representation defined by the system
Patient.Slices for identifier.identifier:medicalRecord.type.coding.userSelected This element is included in summaries. 0..1 boolean If this coding was chosen directly by the user
Patient.Slices for identifier.identifier:medicalRecord.type.text This element is included in summaries. 0..1 string Plain text representation of the concept
Patient.Slices for identifier.identifier:medicalRecord.system This element must be supported. This element is included in summaries. 0..1 uri 身份識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&amp;type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
Patient.Slices for identifier.identifier:medicalRecord.value This element must be supported. This element is included in summaries. 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
Patient.Slices for identifier.identifier:medicalRecord.period This element is included in summaries. 0..1 Period 此身份識別碼(identifier)的使用效期
Patient.Slices for identifier.identifier:medicalRecord.assigner This element is included in summaries. 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
Patient.active This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 boolean 病人的紀錄是否「使用中(true)」
Patient.Slices for name This element is included in summaries. C 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for name.name:usual This element must be supported. This element is included in summaries. C 1..1 HumanName 姓名
Constraints: tw-core-1
Patient.Slices for name.name:usual.id 0..1 string Unique id for inter-element referencing
Patient.Slices for name.name:usual.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for name.name:usual.use This element is a modifier element. This element must be supported. This element is included in summaries. 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual (extensions allowed)
Patient.Slices for name.name:usual.text This element must be supported. This element is included in summaries. C 1..1 string 完整的中文姓名
Example General: 陳加玲
Patient.Slices for name.name:usual.family This element must be supported. This element is included in summaries. C 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General: 陳
Patient.Slices for name.name:usual.given This element must be supported. This element is included in summaries. C 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
Patient.Slices for name.name:usual.prefix This element is included in summaries. 0..* string 姓名前面的頭銜 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名開頭。
This repeating element order: Prefixes appear in the correct order for presenting the name
Patient.Slices for name.name:usual.suffix This element is included in summaries. 0..* string 姓名後面的稱謂 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名之後。
This repeating element order: Suffixes appear in the correct order for presenting the name
Patient.Slices for name.name:usual.period This element is included in summaries. 0..1 Period 此姓名的使用效期
Patient.Slices for telecom This element must be supported. This element is included in summaries. 1..3 ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
Slice: Unordered, Closed by value:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.Slices for telecom.telecom:All Slices Content/Rules for all slices
Patient.Slices for telecom.telecom:All Slices.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:All Slices.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:All Slices.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:All Slices.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:All Slices.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:All Slices.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:mobile This element must be supported. This element is included in summaries. C 0..1 ContactPoint 手機號碼。應為數字10碼(寄送核發簡訊使用)。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-mobile
Patient.Slices for telecom.telecom:mobile.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:mobile.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:mobile.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: sms (extensions allowed)
Patient.Slices for telecom.telecom:mobile.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.Slices for telecom.telecom:mobile.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:mobile.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:mobile.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:contactTel This element must be supported. This element is included in summaries. C 0..1 ContactPoint 連絡電話。長度不得超過15字。手機號碼與聯絡電話應至少填寫一欄。
Constraints: telecom-contactTel
Patient.Slices for telecom.telecom:contactTel.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:contactTel.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:contactTel.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: phone (extensions allowed)
Patient.Slices for telecom.telecom:contactTel.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-15
Patient.Slices for telecom.telecom:contactTel.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:contactTel.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:contactTel.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.Slices for telecom.telecom:email This element must be supported. This element is included in summaries. 0..1 ContactPoint 電子郵件信箱
Patient.Slices for telecom.telecom:email.id 0..1 string Unique id for inter-element referencing
Patient.Slices for telecom.telecom:email.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.Slices for telecom.telecom:email.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Required Pattern: email (extensions allowed)
Patient.Slices for telecom.telecom:email.value This element must be supported. This element is included in summaries. C 1..1 string 實際的聯絡方式之細節
Constraints: txt-40
Patient.Slices for telecom.telecom:email.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.Slices for telecom.telecom:email.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.Slices for telecom.telecom:email.period This element must be supported. This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.gender This element must be supported. This element is included in summaries. 1..1 code 病人性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
Patient.birthDate This element must be supported. This element is included in summaries. 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
Patient.deceased[x] This element is a modifier element. This element is included in summaries. 0..1 病人是否過世
Patient.deceased[x].deceasedBoolean boolean
Patient.deceased[x].deceasedDateTime dateTime
Patient.address This element must be supported. 1..1 AddressTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人聯絡地址 pat-cnt-2or3-char:如果有國家名,則必須(SHALL)從[ISO Country Alpha-2](http://hl7.org/fhir/valueset/iso3166-1-2)找出相對代碼作呈現。 如果未在ISO Country Alpha-2 中找到此一國家的代碼,則可能可以(MAY)從[ISO Country Alpha-3](http://hl7.org/fhir/valueset/iso3166-1-3)找出相對代碼作呈現。
Patient.address.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Patient.address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Patient.address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Patient.address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Patient.address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Patient.address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Patient.address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Patient.address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Patient.address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Patient.address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Patient.address.text This element is included in summaries. C 1..1 string 連絡住址
Constraints: txt-80
Example General: 137 Nowhere Street, Erewhon 9132
Patient.address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Patient.address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Patient.address.district This element must be supported. This element is included in summaries. 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
Patient.address.state This element is included in summaries. 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
Patient.address.postalCode This element must be supported. This element is included in summaries. 1..1 string 郵遞區號
Example General: 9132
Patient.address.postalCode.id 0..1 string xml:id(或JSON格式)。
Patient.address.postalCode.Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Patient.address.postalCode.Slices for extension.extension:PostalCode.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 1..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 1..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 郵遞區號
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Patient.address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Patient.address.postalCode.value 0..1 string 郵遞區號
Max Length:1048576
Patient.address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
Patient.address.period This element is included in summaries. 0..1 Period 此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}
Patient.maritalStatus This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
Patient.multipleBirth[x] 0..1 病人是否為多胞胎;或多胞胎出生順序。
Patient.multipleBirth[x].multipleBirthBoolean boolean
Patient.multipleBirth[x].multipleBirthInteger integer
Patient.photo This element must be supported. 0..* Attachment 病人的影像(照片)
Patient.contact This element must be supported. C 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
Patient.contact.id 0..1 string Unique id for inter-element referencing
Patient.contact.extension 0..* Extension Additional content defined by implementations
Patient.contact.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.contact.relationship This element must be supported. 0..* CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.name This element must be supported. 0..1 HumanName 聯絡人姓名
Patient.contact.name.id 0..1 string Unique id for inter-element referencing
Patient.contact.name.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.contact.name.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Patient.contact.name.text This element must be supported. This element is included in summaries. 0..1 string 完整的中文姓名
Patient.contact.name.family This element must be supported. This element is included in summaries. 0..1 string 英文姓
Patient.contact.name.given This element must be supported. This element is included in summaries. 0..* string 英文名
This repeating element order: Given Names appear in the correct order for presenting the name
Patient.contact.name.prefix This element is included in summaries. 0..* string 姓名前面的頭銜 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名開頭。
This repeating element order: Prefixes appear in the correct order for presenting the name
Patient.contact.name.suffix This element is included in summaries. 0..* string 姓名後面的稱謂 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名之後。
This repeating element order: Suffixes appear in the correct order for presenting the name
Patient.contact.name.period This element is included in summaries. 0..1 Period 此姓名的使用效期
Patient.contact.telecom This element must be supported. 0..* ContactPoint 聯絡人的詳細聯絡資訊
Patient.contact.telecom.id 0..1 string Unique id for inter-element referencing
Patient.contact.telecom.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Patient.contact.telecom.system This element must be supported. This element is included in summaries. C 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.telecom.value This element must be supported. This element is included in summaries. 1..1 string 實際的聯絡方式之細節
Patient.contact.telecom.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
Patient.contact.telecom.rank This element is included in summaries. 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
Patient.contact.telecom.period This element is included in summaries. 0..1 Period 此聯絡方式的使用效期
Patient.contact.address 0..1 AddressTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 聯絡人的地址
Patient.contact.gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): 聯絡人的性別;應填入所綁定值集中的其中一個代碼。
Patient.contact.organization C 0..1 Reference(TW Core Organization) 可聯絡到聯絡人的機構
Patient.contact.period This element must be supported. 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
Patient.communication This element must be supported. 0..* BackboneElement 向病人說明健康狀態時所使用的語言
Patient.communication.id 0..1 string Unique id for inter-element referencing
Patient.communication.extension 0..* Extension Additional content defined by implementations
Patient.communication.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.communication.language This element must be supported. 1..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-TW
Patient.communication.preferred 0..1 boolean 病人是否偏好使用此語言
Patient.generalPractitioner 0..* Reference(TW Core Organization | TW Core Practitioner | TW Core PractitionerRole) 照護此病人的機構、照護服務提供者、或健康照護服務提供者的角色
Patient.managingOrganization This element must be supported. This element is included in summaries. 0..1 Reference(TW Core Organization) 此紀錄的保管機構
Patient.link This element is a modifier element. This element is included in summaries. 0..* BackboneElement 連結至此病人的其他Patient Resource
Patient.link.id 0..1 string Unique id for inter-element referencing
Patient.link.extension 0..* Extension Additional content defined by implementations
Patient.link.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Patient.link.other This element is included in summaries. 1..1 Reference(TW Core Patient | TW Core RelatedPerson) 連結至其他Patient或RelatedPerson Resource
Patient.link.type This element is included in summaries. 1..1 code replaced-by | replaces | refer | seealso
Binding: LinkType (required): 連結的型別;應填入所綁定值集中的其中一個代碼。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Patient.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.identifier:idCardNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:idCardNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:passportNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:passportNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:residentNumber.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:residentNumber.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.identifier:medicalRecord.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Patient.identifier:medicalRecord.​type Base extensible IdentifierType + 臺灣衛福部資訊處識別碼類型值集 📦0.3.0 臺灣核心實作指引 v0.3
Patient.name:official.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:usual.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:temp.use Base required NameUse 📍4.0.1 FHIR Std.
Patient.name:anonymous.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom.use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:mobile.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:contactTel.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.telecom:email.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.telecom:email.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.address.use Base required AddressUse 📍4.0.1 FHIR Std.
Patient.address.type Base required AddressType 📍4.0.1 FHIR Std.
Patient.address.postalCode.​extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Patient.maritalStatus Base extensible MaritalStatus 📦4.0.1 FHIR Std.
Patient.contact.relationship Base required Patient relationship type 📦4.0.1 FHIR Std.
Patient.contact.name.​use Base required NameUse 📍4.0.1 FHIR Std.
Patient.contact.telecom.​system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Patient.contact.telecom.​use Base required ContactPointUse 📍4.0.1 FHIR Std.
Patient.contact.gender Base required AdministrativeGender 📍4.0.1 FHIR Std.
Patient.communication.​language Base preferred Common Languages 📦4.0.1 FHIR Std.
Patient.link.type Base required LinkType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Patient If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Patient If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Patient If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Patient If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Patient A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
id-card-number error Patient.identifier:idCardNumber 身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。 value.matches('^[A-Za-z][0-9]{9}$')
pat-1 error Patient.contact SHALL at least contain a contact's details or a reference to an organization name.exists() or telecom.exists() or address.exists() or organization.exists()
pat-name error Patient.name 病人姓名有誤,超過12字 text.length() <= 12
patient-gender-match error Patient gender依據identifier:idCardNumber第二位字符檢核男性與女性代碼 (1,8,A,C,Y=male, 2,9,B,D,X=female) ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '1' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '8' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'A' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'C' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'Y') implies gender = 'male') and ((identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '2' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = '9' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'B' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'D' or identifier.where(system = 'http://www.moi.gov.tw').value.substring(1, 1) = 'X') implies gender = 'female')
telecom error Patient 手機號碼與聯絡電話應至少填寫一欄。 telecom.where(system = 'sms').exists() or telecom.where(system = 'phone').exists()
telecom-contactTel error Patient.telecom:contactTel 連絡電話格式有誤,長度不得超過15字。 value.toString().length() <= 15
telecom-mobile error Patient.telecom:mobile 手機號碼格式有誤,應為數字10碼。 value.toString().length() = 10
tw-core-1 error Patient.name:usual Patient.name.text or Patient.name.family or both SHALL be present text.exists() or family.exists()
txt-10 error Patient.identifier:idCardNumber.value 長度不得超過10字 length() <= 10
txt-15 error Patient.telecom:contactTel.value 長度不得超過15字 length() <= 15
txt-40 error Patient.telecom:email.value 長度不得超過40字 length() <= 40
txt-80 error Patient.address.text 長度不得超過80字 length() <= 80

This structure is derived from TWCorePatient

Summary

Mandatory: 10 elements(2 nested mandatory elements)
Must-Support: 3 elements
Prohibited: 7 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Patient.telecom (Closed)

 

Other representations of profile: CSV, Excel, Schematron

Notes:

以下概述了此Profile所需的RESTful FHIR互動功能。有關TWCI支援的RESTful互動功能的完整清單,請參閱TWCI Server能力聲明。

必須支援以下查詢參數:

  1. 必須(SHALL) 支援透過查詢參數 name 查詢所有Patient:
    (如何透過string查詢)
    GET [base]/Patient?name=[string]

    例子:
    (1) GET [base]/Patient?name=王大明

  2. 必須(SHALL) 支援透過查詢參數 identifier 查詢所有Patient:
    (如何透過token查詢)
    GET [base]/Patient?identifier=[code]

    例子:
    (1) GET [base]/Patient?identifier=A123456789