## Profile Comparison between https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore vs https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore

Left: | TW Core Patient (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore)
Right: | TW Core Patient (https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore)

### Messages

Error | StructureDefinition.version | Values for version differ: '0.3.2' vs '1.0.0'
Information | StructureDefinition.date | Values for date differ: '2024-12-12T12:59:26+08:00' vs '2025-12-10T08:57:50+00:00'
Information | StructureDefinition.short | Values for short differ: '概念（Concept）— 參照一個專門術語或只是文字表述' vs 'Description of identifier'
Information | StructureDefinition.definition | Values for definition differ: 'A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.' vs 'A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.'
Information | StructureDefinition.comment | Values for comment differ: 'Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.' vs 'This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.'
Error | Patient.link.other | Type Mismatch: Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore], CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore]]) vs Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore], CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore]])

### Metadata

Name | Value | Comments
--- | --- | ---
abstract | false |
baseDefinition | http://hl7.org/fhir/StructureDefinition/Patient |
copyright |  |
date | 2024-12-12T12:59:26+08:00 | 2025-12-10T08:57:50+00:00 | Values Differ
description | 此臺灣核心-病人（TW Core Patient） Profile說明本IG如何進一步定義FHIR的Patient Resource以呈現基本資料。 |
experimental |  |
fhirVersion | 4.0.1 |
jurisdiction |  |
kind | resource |
name | TWCorePatient |
publisher |  |
purpose |  |
status | active |
title | TW Core Patient |
type | Patient |
url | https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore |
version | 0.3.2 | 1.0.0 | Values Differ

### Structure

Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | R Type | R Description & Constraints | Comments
--- | --- | --- | --- | --- | --- | --- | --- | --- | ---
Patient |  | 0..* | Patient | 接受健康照護服務的個人或動物之資訊 |  | 0..* | Patient | 接受健康照護服務的個人或動物之資訊 |
id | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Patient紀錄，通常又稱為邏輯性ID。 | Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Patient紀錄，通常又稱為邏輯性ID。 |
meta | Σ | 0..1 | Meta | 此Patient Resource的metadata | Σ | 0..1 | Meta | 此Patient Resource的metadata |
implicitRules | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 | ?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 |
language |  | 0..1 | code | 用以表述Patient Resource內容的語言。 Binding: ?? (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
?? | Max Binding
Example Value: zh-TW |  | 0..1 | code | 用以表述Patient Resource內容的語言。 Binding: ?? (preferred): 人類語言；鼓勵使用CommonLanguages代碼表中的代碼，但不強制一定要使用此代碼表，你也可使用其他代碼表的代碼或單純以文字表示。
Additional Bindings | Purpose
?? | Max Binding
Example Value: zh-TW |
text |  | 0..1 | Narrative | Patient Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements |  | 0..1 | Narrative | Patient Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements |
contained |  | 0..* | Resource | Contained, inline Resources |  | 0..* | Resource | Contained, inline Resources |
Slices for extension |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |  | 0..* | Extension | Extension Slice: Unordered, Open by value:url |
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored |
Slices for identifier | S Σ | 1..* | Identifier | 病人的身份識別碼（identifier），通常為業務目的所使用的識別碼，例如病歷號。 Slice: Unordered, Open by value:type.coding.code, value:type.coding.system | S Σ | 1..* | Identifier | 病人的身份識別碼（identifier），通常為業務目的所使用的識別碼，例如病歷號。 Slice: Unordered, Open by value:type.coding.code, value:type.coding.system |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . | ?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: ?? (required): Identifies the purpose for this identifier, if known . |
type |  | 0..1 | ?? | 概念（Concept）— 參照一個專門術語或只是文字表述 Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | Σ | 0..1 | ?? | Description of identifier Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. |
system | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | Σ | 1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient |
value | Σ | 1..1 | string | The value that is unique Example General: 123456 | Σ | 1..1 | string | The value that is unique Example General: 123456 |
period | Σ | 0..1 | Period | Time period when id is/was valid for use | Σ | 0..1 | Period | Time period when id is/was valid for use |
assigner | Σ | 0..1 | Reference(TW Core Organization) | Organization that issued id (may be just text) | Σ | 0..1 | Reference(TW Core Organization) | Organization that issued id (may be just text) |
active | ?!S Σ | 0..1 | boolean | 病人的紀錄是否「使用中（true）」 | ?!S Σ | 0..1 | boolean | 病人的紀錄是否「使用中（true）」 |
Slices for name | Σ | 0..* | HumanName | 病人的姓名 Slice: Unordered, Open by pattern:use | Σ | 0..* | HumanName | 病人的姓名 Slice: Unordered, Open by pattern:use |
telecom | S Σ | 0..* | ContactPoint | 病人的聯絡資訊（例如：電話、電子郵件等） | S Σ | 0..* | ContactPoint | 病人的聯絡資訊（例如：電話、電子郵件等） |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 |
value | S Σ | 1..1 | string | 實際的聯絡方式之細節 | S Σ | 1..1 | string | 實際的聯絡方式之細節 |
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile－此聯絡方式的用途 Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 | ?!S Σ | 0..1 | code | home | work | temp | old | mobile－此聯絡方式的用途 Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 |
rank | Σ | 0..1 | positiveInt | 具體說明偏好的使用順序（1=最高優先順序） | Σ | 0..1 | positiveInt | 具體說明偏好的使用順序（1=最高優先順序） |
period | S Σ | 0..1 | Period | 此聯絡方式的使用效期 | S Σ | 0..1 | Period | 此聯絡方式的使用效期 |
gender | S Σ | 1..1 | code | male ｜ female ｜ other ｜ unknown Binding: ?? (required): 病人性別；應填入所綁定值集中的其中一個代碼。 | S Σ | 1..1 | code | male ｜ female ｜ other ｜ unknown Binding: ?? (required): 病人性別；應填入所綁定值集中的其中一個代碼。 |
birthDate | S Σ | 1..1 | date | 病人出生日期 | S Σ | 1..1 | date | 病人出生日期 |
deceased[x] | ?!Σ | 0..1 | boolean, dateTime | 病人是否過世 | ?!Σ | 0..1 | boolean, dateTime | 病人是否過世 |
address | S | 0..* | ?? | 病人聯絡地址 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)找出相對代碼作呈現。 | S Σ | 0..* | ?? | 病人聯絡地址 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)找出相對代碼作呈現。 |
maritalStatus | S | 0..1 | ?? | 病人的婚姻狀態 Binding: ?? (extensible): 病人的婚姻狀態；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。 | S | 0..1 | ?? | 病人的婚姻狀態 Binding: ?? (extensible): 病人的婚姻狀態；應填入所綁定值集中適合的代碼，確定無適合的代碼才可以使用其他值集的代碼來表示。 |
multipleBirth[x] |  | 0..1 | boolean, integer | 病人是否為多胞胎；或多胞胎出生順序。 |  | 0..1 | boolean, integer | 病人是否為多胞胎；或多胞胎出生順序。 |
photo | S | 0..* | Attachment | 病人的影像（照片） | S | 0..* | Attachment | 病人的影像（照片） |
contact | S C | 0..* | BackboneElement | 病人的聯絡人，例如：監護人、伴侶、朋友等。 | S C | 0..* | BackboneElement | 病人的聯絡人，例如：監護人、伴侶、朋友等。 |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
relationship | S | 0..* | ?? | 概念（Concept）－參照一個專門術語或只是文字表述 Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 | S | 0..* | ?? | 概念（Concept）－參照一個專門術語或只是文字表述 Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 |
name | S | 0..1 | HumanName | 聯絡人姓名 | S | 0..1 | HumanName | 聯絡人姓名 |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
use | ?!S Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: ?? (required): 人名的使用情況；應填入所綁定值集中的其中一個代碼。 | ?!S Σ | 0..1 | code | usual | official | temp | nickname | anonymous | old | maiden Binding: ?? (required): 人名的使用情況；應填入所綁定值集中的其中一個代碼。 |
text | S Σ | 0..1 | string | 完整的中文姓名 | S Σ | 0..1 | string | 完整的中文姓名 |
family | S Σ | 0..1 | string | 英文姓 | S Σ | 0..1 | string | 英文姓 |
given | S Σ | 0..* | string | 英文名 This repeating element order: Given Names appear in the correct order for presenting the name | S Σ | 0..* | string | 英文名 This repeating element order: Given Names appear in the correct order for presenting the name |
prefix | Σ | 0..* | string | 姓名前面的頭銜 由於學術，法律，職業或貴族身份等原因而獲得頭銜，出現在姓名開頭。 This repeating element order: Prefixes appear in the correct order for presenting the name | Σ | 0..* | string | 姓名前面的頭銜 由於學術，法律，職業或貴族身份等原因而獲得頭銜，出現在姓名開頭。 This repeating element order: Prefixes appear in the correct order for presenting the name |
suffix | Σ | 0..* | string | 姓名後面的稱謂 由於學術，法律，職業或貴族身份等原因而獲得頭銜，出現在姓名之後。 This repeating element order: Suffixes appear in the correct order for presenting the name | Σ | 0..* | string | 姓名後面的稱謂 由於學術，法律，職業或貴族身份等原因而獲得頭銜，出現在姓名之後。 This repeating element order: Suffixes appear in the correct order for presenting the name |
period | Σ | 0..1 | Period | 此姓名的使用效期 | Σ | 0..1 | Period | 此姓名的使用效期 |
telecom | S | 0..* | ContactPoint | 聯絡人的詳細聯絡資訊 | S | 0..* | ContactPoint | 聯絡人的詳細聯絡資訊 |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
Slices for extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
system | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 | S Σ C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 |
value | S Σ | 1..1 | string | 實際的聯絡方式之細節 | S Σ | 1..1 | string | 實際的聯絡方式之細節 |
use | ?!S Σ | 0..1 | code | home | work | temp | old | mobile－此聯絡方式的用途 Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 | ?!S Σ | 0..1 | code | home | work | temp | old | mobile－此聯絡方式的用途 Binding: ?? (required): 應填入所綁定值集中的其中一個代碼。 |
rank | Σ | 0..1 | positiveInt | 具體說明偏好的使用順序（1=最高優先順序） | Σ | 0..1 | positiveInt | 具體說明偏好的使用順序（1=最高優先順序） |
period | Σ | 0..1 | Period | 此聯絡方式的使用效期 | Σ | 0..1 | Period | 此聯絡方式的使用效期 |
address |  | 0..1 | ?? | 聯絡人的地址 |  | 0..1 | ?? | 聯絡人的地址 |
gender |  | 0..1 | code | male ｜ female ｜ other ｜ unknown Binding: ?? (required): 聯絡人的性別；應填入所綁定值集中的其中一個代碼。 |  | 0..1 | code | male ｜ female ｜ other ｜ unknown Binding: ?? (required): 聯絡人的性別；應填入所綁定值集中的其中一個代碼。 |
organization | C | 0..1 | Reference(TW Core Organization) | 可聯絡到聯絡人的機構 | C | 0..1 | Reference(TW Core Organization) | 可聯絡到聯絡人的機構 |
period | S | 0..1 | Period | 聯絡人或其可聯絡機構之可聯絡期（時間區間） | S | 0..1 | Period | 聯絡人或其可聯絡機構之可聯絡期（時間區間） |
communication | S | 0..* | BackboneElement | 向病人說明健康狀態時所使用的語言 | S | 0..* | BackboneElement | 向病人說明健康狀態時所使用的語言 |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
language | S | 1..1 | ?? | 向病人說明健康狀況時所使用的語言 Binding: ?? (preferred): 應填入所綁定值集中的其中一個代碼。
Additional Bindings | Purpose
?? | Max Binding
Example Value: zh-TW | S | 1..1 | ?? | 向病人說明健康狀況時所使用的語言 Binding: ?? (preferred): 應填入所綁定值集中的其中一個代碼。
Additional Bindings | Purpose
?? | Max Binding
Example Value: zh-TW |
preferred |  | 0..1 | boolean | 病人是否偏好使用此語言 |  | 0..1 | boolean | 病人是否偏好使用此語言 |
generalPractitioner |  | 0..* | Reference(TW Core Organization | TW Core Practitioner | TW Core PractitionerRole) | 照護此病人的機構、照護服務提供者、或健康照護服務提供者的角色 |  | 0..* | Reference(TW Core Organization | TW Core Practitioner | TW Core PractitionerRole) | 照護此病人的機構、照護服務提供者、或健康照護服務提供者的角色 |
managingOrganization | S Σ | 0..1 | Reference(TW Core Organization) | 此紀錄的保管機構 | S Σ | 0..1 | Reference(TW Core Organization) | 此紀錄的保管機構 |
link | ?!Σ | 0..* | BackboneElement | 連結至此病人的其他Patient Resource | ?!Σ | 0..* | BackboneElement | 連結至此病人的其他Patient Resource |
id |  | 0..1 | string | Unique id for inter-element referencing |  | 0..1 | string | Unique id for inter-element referencing |
extension |  | 0..* | Extension | Additional content defined by implementations |  | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
other | Σ | 1..1 | Reference(TW Core Patient | TW Core RelatedPerson) | 連結至其他Patient或RelatedPerson Resource | Σ | 1..1 | Reference(TW Core Patient | TW Core RelatedPerson) | 連結至其他Patient或RelatedPerson Resource | Type Mismatch: Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore], CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore]]) vs Reference([CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore], CanonicalType[https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/RelatedPerson-twcore]])
type | Σ | 1..1 | code | replaced-by ｜ replaces ｜ refer ｜ seealso Binding: ?? (required): 連結的型別；應填入所綁定值集中的其中一個代碼。 | Σ | 1..1 | code | replaced-by ｜ replaces ｜ refer ｜ seealso Binding: ?? (required): 連結的型別；應填入所綁定值集中的其中一個代碼。 |
Documentation for this format