身體活動與飲食實作指引
0.1.0 - ci-build

身體活動與飲食實作指引, published by 衛生福利部國民健康署. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hpapa2025/pad/ and changes regularly. See the Directory of published versions

Resource Profile: 使用者資訊-Patient PAD

Official URL: https://www.hpa.gov.tw/pad/StructureDefinition/Patient-pad Version: 0.1.0
Active as of 2025-09-10 Computable Name: PatientPAD

此使用者資訊-Patient PAD Profile說明PAD 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: Filtersdoco
.. Patient 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:age S 1..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
.... extension:nationality S 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 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
.... identifier:idCardNumber SΣC 0..1 Identifier 適用身分證字號
Constraints: id-card-number
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx
........ Slices for extension Content/Rules for all slices
......... extension:identifier-suffix S 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:身分證字號為A123456789
Example General: 123456
.... identifier:passportNumber SΣ 0..1 Identifier 適用護照號碼
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PPN
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:護照號碼='http://www.boca.gov.tw。
Required Pattern: http://hl7.org/fhir/sid/passport-TWN
..... value SΣ 0..1 string 唯一值。 例如:護照號碼為888800371
Example General: 123456
.... identifier:residentNumber SΣ 0..1 Identifier 適用居留證號碼
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PRC
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:居留證號='http://www.immigration.gov.tw'。
Required Pattern: http://www.immigration.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:居留證號碼為A912345678
Example General: 123456
.... identifier:medicalRecord SΣ 0..1 Identifier 適用病歷號
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: MR
..... system SΣ 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
..... value SΣ 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
... active ?!SΣ 0..1 boolean 病人的紀錄是否「使用中(true)」
... Slices for name ΣC 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name
.... name:usual SΣC 1..1 HumanName 姓名
Constraints: tw-core-1
..... use ?!SΣ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual
..... text SΣC 1..1 string 完整的中文姓名
Example General: 陳加玲
..... family SΣC 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General:
..... given SΣC 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
... telecom SΣ 0..* ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
.... system SΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
.... value SΣ 1..1 string 實際的聯絡方式之細節
.... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
.... period SΣ 0..1 Period 此聯絡方式的使用效期
... gender SΣ 1..1 code 使用者性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
... birthDate SΣ 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
... deceased[x] ?!Σ 0..1 病人是否過世
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
... address S 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)找出相對代碼作呈現。
.... Slices for extension Content/Rules for all slices
..... extension:room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... extension:floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... extension:number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... extension:alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... extension:lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... extension:section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... extension:neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... extension:village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
.... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... postalCode SΣ 1..1 string 郵遞區號
Example General: 9132
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:PostalCode S 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
....... extension 0..0
....... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
....... value[x] S 1..1 CodeableConceptTW 擴充的資料項目的內容值
........ Slices for coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
......... coding:PostalCode3 S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
.......... code SΣ 1..1 code 居住縣市
.......... display SΣ 0..1 string 由系統定義的表示法
......... coding:PostalCode5 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
......... coding:PostalCode6 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
........ text SΣ 0..1 string 概念的文字表示法
.... country SΣ 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
... maritalStatus S 0..1 CodeableConceptTW 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... photo S 0..* Attachment 病人的影像(照片)
... contact SC 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relationship S 0..* CodeableConceptTW 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
.... name S 0..1 HumanName 聯絡人姓名
..... use ?!SΣ 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
..... text SΣ 0..1 string 完整的中文姓名
..... family SΣ 0..1 string 英文姓
..... given SΣ 0..* string 英文名
This repeating element order: Given Names appear in the correct order for presenting the name
.... telecom S 0..* ContactPoint 聯絡人的詳細聯絡資訊
..... system SΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
..... value SΣ 1..1 string 實際的聯絡方式之細節
..... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
.... period S 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
... communication S 0..* BackboneElement 向病人說明健康狀態時所使用的語言
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConceptTW 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:idCardNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:idCardNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:passportNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:passportNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:residentNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:residentNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:medicalRecord.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:medicalRecord.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:usual.userequiredPattern Value: usual
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:temp.userequiredPattern Value: temp
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:anonymous.userequiredPattern Value: anonymous
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
Patient.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
From the FHIR Standard
Patient.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
Patient.maritalStatusextensibleMarital Status Codes
http://hl7.org/fhir/ValueSet/marital-status
From the FHIR Standard
Patient.contact.relationshiprequiredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
Patient.contact.name.userequiredNameUse
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.contact.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.contact.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPatientIf 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-4errorPatientIf 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-5errorPatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePatientA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
id-card-numbererrorPatient.identifier:idCardNumber身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。
: value.matches('^[A-Za-z][0-9]{9}$')
pat-1errorPatient.contactSHALL 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-nameerrorPatient.name使用者姓名有誤,超過12字
: text.length() <= 12
tw-core-1errorPatient.name:usualPatient.name.text or Patient.name.family or both SHALL be present
: text.exists() or family.exists()

This structure is derived from TWCorePatient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient TWCorePatient
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:age 1..1 PersonAge 年齡
... name C 1..1 HumanName 病人的姓名
Constraints: pat-name
.... name:official 0..0
.... name:usual 1..1 HumanName 姓名
..... text 1..1 string 完整的中文姓名
.... name:temp 0..0
.... name:anonymous 0..0
... gender 1..1 code 使用者性別。male:男性 | female:女性 | other:其他 | unknown:未知
... birthDate 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
... 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)找出相對代碼作呈現。
.... postalCode 1..1 string 郵遞區號
..... extension 1..* Extension Extension
..... Slices for extension Content/Rules for all slices
...... extension:PostalCode 1..1 TWPostalCode 臺灣郵遞區號
....... value[x] 1..1 CodeableConceptTW 擴充的資料項目的內容值
........ coding 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
........ Slices for coding Content/Rules for all slices
......... coding:PostalCode3 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
.......... code 1..1 code 居住縣市

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
pat-nameerrorPatient.name使用者姓名有誤,超過12字
: text.length() <= 12
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Patient紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Patient Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:age S 1..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
.... extension:nationality S 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
... modifierExtension ?! 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
.... identifier:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 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: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: Identifier Type Codes (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
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 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)
.... identifier:idCardNumber SΣC 0..1 Identifier 適用身分證字號
Constraints: id-card-number
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx
........ id 0..1 string xml:id (or equivalent in JSON)
........ Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
......... extension:identifier-suffix S 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
........ value 0..1 string Primitive value for code
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:身分證字號為A123456789
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
.... identifier:passportNumber SΣ 0..1 Identifier 適用護照號碼
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PPN
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:護照號碼='http://www.boca.gov.tw。
Required Pattern: http://hl7.org/fhir/sid/passport-TWN
..... value SΣ 0..1 string 唯一值。 例如:護照號碼為888800371
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
.... identifier:residentNumber SΣ 0..1 Identifier 適用居留證號碼
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PRC
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:居留證號='http://www.immigration.gov.tw'。
Required Pattern: http://www.immigration.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:居留證號碼為A912345678
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
.... identifier:medicalRecord SΣ 0..1 Identifier 適用病歷號
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: MR
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 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
..... value SΣ 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... active ?!SΣ 0..1 boolean 病人的紀錄是否「使用中(true)」
... Slices for name ΣC 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name
.... name:usual SΣC 1..1 HumanName 姓名
Constraints: tw-core-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual
..... text SΣC 1..1 string 完整的中文姓名
Example General: 陳加玲
..... family SΣC 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General:
..... given SΣC 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
..... prefix Σ 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
..... period Σ 0..1 Period 此姓名的使用效期
... telecom SΣ 0..* ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
.... id 0..1 string Unique id for inter-element referencing
.... extension 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: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
.... value SΣ 1..1 string 實際的聯絡方式之細節
.... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
.... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
.... period SΣ 0..1 Period 此聯絡方式的使用效期
... gender SΣ 1..1 code 使用者性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
... birthDate SΣ 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
... deceased[x] ?!Σ 0..1 病人是否過世
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
... address S 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)找出相對代碼作呈現。
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... extension:floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... extension:number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... extension:alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... extension:lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... extension:section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... extension:neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... extension:village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
.... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
.... text Σ 0..1 string 地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... state Σ 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
.... postalCode SΣ 1..1 string 郵遞區號
Example General: 9132
..... id 0..1 string xml:id(或JSON格式)。
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:PostalCode S 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..0
....... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
....... value[x] S 1..1 CodeableConceptTW 擴充的資料項目的內容值
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension Extension
Slice: Unordered, Open by value:url
........ Slices for coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
......... coding:PostalCode3 S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.......... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
.......... version Σ 0..1 string 系統的版本—如果相關的話
.......... code SΣ 1..1 code 居住縣市
.......... display SΣ 0..1 string 由系統定義的表示法
.......... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
......... coding:PostalCode5 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.......... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
.......... version Σ 0..1 string 系統的版本—如果相關的話
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
.......... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
......... coding:PostalCode6 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.......... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
.......... version Σ 0..1 string 系統的版本—如果相關的話
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
.......... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
........ text SΣ 0..1 string 概念的文字表示法
..... value 0..1 string 郵遞區號
Max Length:1048576
.... country SΣ 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
.... period Σ 0..1 Period 此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... maritalStatus S 0..1 CodeableConceptTW 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... multipleBirth[x] 0..1 病人是否為多胞胎;或多胞胎出生順序。
.... multipleBirthBoolean boolean
.... multipleBirthInteger integer
... photo S 0..* Attachment 病人的影像(照片)
... contact SC 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relationship S 0..* CodeableConceptTW 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
.... name S 0..1 HumanName 聯絡人姓名
..... id 0..1 string Unique id for inter-element referencing
..... extension 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: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
..... text SΣ 0..1 string 完整的中文姓名
..... family SΣ 0..1 string 英文姓
..... given 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
..... suffix Σ 0..* string 姓名後面的稱謂 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名之後。
This repeating element order: Suffixes appear in the correct order for presenting the name
..... period Σ 0..1 Period 此姓名的使用效期
.... telecom S 0..* ContactPoint 聯絡人的詳細聯絡資訊
..... id 0..1 string Unique id for inter-element referencing
..... extension 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: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
..... value SΣ 1..1 string 實際的聯絡方式之細節
..... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
..... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
..... period Σ 0..1 Period 此聯絡方式的使用效期
.... address 0..1 AddressTW 聯絡人的地址
.... gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): 聯絡人的性別;應填入所綁定值集中的其中一個代碼。
.... organization C 0..1 Reference(TW Core Organization) 可聯絡到聯絡人的機構
.... period S 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
... communication S 0..* BackboneElement 向病人說明健康狀態時所使用的語言
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConceptTW 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Patient.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Patient.identifier:idCardNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:idCardNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:passportNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:passportNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:residentNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:residentNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:medicalRecord.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:medicalRecord.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:usual.userequiredPattern Value: usual
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:temp.userequiredPattern Value: temp
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:anonymous.userequiredPattern Value: anonymous
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
Patient.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
From the FHIR Standard
Patient.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
Patient.maritalStatusextensibleMarital Status Codes
http://hl7.org/fhir/ValueSet/marital-status
From the FHIR Standard
Patient.contact.relationshiprequiredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
Patient.contact.name.userequiredNameUse
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.contact.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.contact.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.contact.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
Patient.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPatientIf 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-4errorPatientIf 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-5errorPatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePatientA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
id-card-numbererrorPatient.identifier:idCardNumber身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。
: value.matches('^[A-Za-z][0-9]{9}$')
pat-1errorPatient.contactSHALL 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-nameerrorPatient.name使用者姓名有誤,超過12字
: text.length() <= 12
tw-core-1errorPatient.name:usualPatient.name.text or Patient.name.family or both SHALL be present
: text.exists() or family.exists()

This structure is derived from TWCorePatient

Summary

Mandatory: 12 elements
Prohibited: 3 elements

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:age S 1..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
.... extension:nationality S 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:All Slices Content/Rules for all slices
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... system Σ 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
.... identifier:idCardNumber SΣC 0..1 Identifier 適用身分證字號
Constraints: id-card-number
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx
........ Slices for extension Content/Rules for all slices
......... extension:identifier-suffix S 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:身分證字號為A123456789
Example General: 123456
.... identifier:passportNumber SΣ 0..1 Identifier 適用護照號碼
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PPN
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:護照號碼='http://www.boca.gov.tw。
Required Pattern: http://hl7.org/fhir/sid/passport-TWN
..... value SΣ 0..1 string 唯一值。 例如:護照號碼為888800371
Example General: 123456
.... identifier:residentNumber SΣ 0..1 Identifier 適用居留證號碼
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PRC
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:居留證號='http://www.immigration.gov.tw'。
Required Pattern: http://www.immigration.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:居留證號碼為A912345678
Example General: 123456
.... identifier:medicalRecord SΣ 0..1 Identifier 適用病歷號
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... coding Σ 1..* Coding Code defined by a terminology system
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: MR
..... system SΣ 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
..... value SΣ 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
... active ?!SΣ 0..1 boolean 病人的紀錄是否「使用中(true)」
... Slices for name ΣC 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name
.... name:usual SΣC 1..1 HumanName 姓名
Constraints: tw-core-1
..... use ?!SΣ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual
..... text SΣC 1..1 string 完整的中文姓名
Example General: 陳加玲
..... family SΣC 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General:
..... given SΣC 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
... telecom SΣ 0..* ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
.... system SΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
.... value SΣ 1..1 string 實際的聯絡方式之細節
.... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
.... period SΣ 0..1 Period 此聯絡方式的使用效期
... gender SΣ 1..1 code 使用者性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
... birthDate SΣ 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
... deceased[x] ?!Σ 0..1 病人是否過世
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
... address S 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)找出相對代碼作呈現。
.... Slices for extension Content/Rules for all slices
..... extension:room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... extension:floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... extension:number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... extension:alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... extension:lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... extension:section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... extension:neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... extension:village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
.... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... postalCode SΣ 1..1 string 郵遞區號
Example General: 9132
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:PostalCode S 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
....... extension 0..0
....... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
....... value[x] S 1..1 CodeableConceptTW 擴充的資料項目的內容值
........ Slices for coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
......... coding:PostalCode3 S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
.......... code SΣ 1..1 code 居住縣市
.......... display SΣ 0..1 string 由系統定義的表示法
......... coding:PostalCode5 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
......... coding:PostalCode6 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
........ text SΣ 0..1 string 概念的文字表示法
.... country SΣ 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
... maritalStatus S 0..1 CodeableConceptTW 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... photo S 0..* Attachment 病人的影像(照片)
... contact SC 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relationship S 0..* CodeableConceptTW 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
.... name S 0..1 HumanName 聯絡人姓名
..... use ?!SΣ 0..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
..... text SΣ 0..1 string 完整的中文姓名
..... family SΣ 0..1 string 英文姓
..... given SΣ 0..* string 英文名
This repeating element order: Given Names appear in the correct order for presenting the name
.... telecom S 0..* ContactPoint 聯絡人的詳細聯絡資訊
..... system SΣC 1..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
..... value SΣ 1..1 string 實際的聯絡方式之細節
..... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
.... period S 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
... communication S 0..* BackboneElement 向病人說明健康狀態時所使用的語言
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConceptTW 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:idCardNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:idCardNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:passportNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:passportNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:residentNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:residentNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:medicalRecord.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:medicalRecord.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:usual.userequiredPattern Value: usual
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:temp.userequiredPattern Value: temp
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:anonymous.userequiredPattern Value: anonymous
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
Patient.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
From the FHIR Standard
Patient.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
Patient.maritalStatusextensibleMarital Status Codes
http://hl7.org/fhir/ValueSet/marital-status
From the FHIR Standard
Patient.contact.relationshiprequiredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
Patient.contact.name.userequiredNameUse
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.contact.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.contact.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPatientIf 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-4errorPatientIf 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-5errorPatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePatientA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
id-card-numbererrorPatient.identifier:idCardNumber身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。
: value.matches('^[A-Za-z][0-9]{9}$')
pat-1errorPatient.contactSHALL 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-nameerrorPatient.name使用者姓名有誤,超過12字
: text.length() <= 12
tw-core-1errorPatient.name:usualPatient.name.text or Patient.name.family or both SHALL be present
: text.exists() or family.exists()

Differential View

This structure is derived from TWCorePatient

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient TWCorePatient
... extension 1..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:age 1..1 PersonAge 年齡
... name C 1..1 HumanName 病人的姓名
Constraints: pat-name
.... name:official 0..0
.... name:usual 1..1 HumanName 姓名
..... text 1..1 string 完整的中文姓名
.... name:temp 0..0
.... name:anonymous 0..0
... gender 1..1 code 使用者性別。male:男性 | female:女性 | other:其他 | unknown:未知
... birthDate 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
... 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)找出相對代碼作呈現。
.... postalCode 1..1 string 郵遞區號
..... extension 1..* Extension Extension
..... Slices for extension Content/Rules for all slices
...... extension:PostalCode 1..1 TWPostalCode 臺灣郵遞區號
....... value[x] 1..1 CodeableConceptTW 擴充的資料項目的內容值
........ coding 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
........ Slices for coding Content/Rules for all slices
......... coding:PostalCode3 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
.......... code 1..1 code 居住縣市

doco Documentation for this format

Constraints

IdGradePath(s)DetailsRequirements
pat-nameerrorPatient.name使用者姓名有誤,超過12字
: text.length() <= 12

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Patient 0..* TWCorePatient 接受健康照護服務的個人或動物之資訊
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Patient紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Patient Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 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
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:age S 1..1 Age 年齡
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age
.... extension:nationality S 0..1 (Complex) 病人所屬國籍
URL: http://hl7.org/fhir/StructureDefinition/patient-nationality
... modifierExtension ?! 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
.... identifier:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension 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: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type 0..1 CodeableConceptTW 概念(Concept)— 參照一個專門術語或只是文字表述
Binding: Identifier Type Codes (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
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 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)
.... identifier:idCardNumber SΣC 0..1 Identifier 適用身分證字號
Constraints: id-card-number
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: NNxxx
........ id 0..1 string xml:id (or equivalent in JSON)
........ Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
......... extension:identifier-suffix S 0..1 (Complex) 識別碼後綴詞
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix
........ value 0..1 string Primitive value for code
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:身分證字號='http://www.moi.gov.tw'
Required Pattern: http://www.moi.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:身分證字號為A123456789
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
.... identifier:passportNumber SΣ 0..1 Identifier 適用護照號碼
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PPN
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:護照號碼='http://www.boca.gov.tw。
Required Pattern: http://hl7.org/fhir/sid/passport-TWN
..... value SΣ 0..1 string 唯一值。 例如:護照號碼為888800371
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
.... identifier:residentNumber SΣ 0..1 Identifier 適用居留證號碼
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: PRC
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 0..1 uri 身份識別碼(identifier)的命名空間(namespace) 例如:居留證號='http://www.immigration.gov.tw'。
Required Pattern: http://www.immigration.gov.tw
..... value SΣ 0..1 string 唯一值。 例如:居留證號碼為A912345678
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
.... identifier:medicalRecord SΣ 0..1 Identifier 適用病歷號
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果知道,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。
Required Pattern: official
..... type SΣ 1..1 CodeableConcept 身份識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 1..* Coding Code defined by a terminology system
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://terminology.hl7.org/CodeSystem/v2-0203
....... version Σ 0..1 string Version of the system - if relevant
....... code Σ 1..1 code Symbol in syntax defined by the system
Required Pattern: MR
....... display Σ 0..1 string Representation defined by the system
....... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 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
..... value SΣ 0..1 string 唯一值。 例如:病歷號為8862168
Example General: 123456
..... period Σ 0..1 Period 此身份識別碼(identifier)的使用效期
..... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... active ?!SΣ 0..1 boolean 病人的紀錄是否「使用中(true)」
... Slices for name ΣC 1..1 HumanName 病人的姓名
Slice: Unordered, Open by pattern:use
Constraints: pat-name
.... name:usual SΣC 1..1 HumanName 姓名
Constraints: tw-core-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!SΣ 1..1 code usual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
Required Pattern: usual
..... text SΣC 1..1 string 完整的中文姓名
Example General: 陳加玲
..... family SΣC 0..1 string 若所屬國籍可區分family及given,填入所屬國籍之姓(family)
Example General:
..... given SΣC 0..* string 若所屬國籍可區分family及given,填入所屬國籍之名(given)
This repeating element order: Given Names appear in the correct order for presenting the name
Example General: 加玲
..... prefix Σ 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
..... period Σ 0..1 Period 此姓名的使用效期
... telecom SΣ 0..* ContactPoint 病人的聯絡資訊(例如:電話、電子郵件等)
.... id 0..1 string Unique id for inter-element referencing
.... extension 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: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
.... value SΣ 1..1 string 實際的聯絡方式之細節
.... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
.... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
.... period SΣ 0..1 Period 此聯絡方式的使用效期
... gender SΣ 1..1 code 使用者性別。male:男性 | female:女性 | other:其他 | unknown:未知
Binding: AdministrativeGender (required): 病人性別;應填入所綁定值集中的其中一個代碼。
... birthDate SΣ 1..1 date 出生日期,YYYY-MM-DD,西元年月日。
... deceased[x] ?!Σ 0..1 病人是否過世
.... deceasedBoolean boolean
.... deceasedDateTime dateTime
... address S 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)找出相對代碼作呈現。
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... extension:floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... extension:number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... extension:alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... extension:lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... extension:section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... extension:neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... extension:village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
.... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
.... text Σ 0..1 string 地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... state Σ 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
.... postalCode SΣ 1..1 string 郵遞區號
Example General: 9132
..... id 0..1 string xml:id(或JSON格式)。
..... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:PostalCode S 1..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
....... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
....... extension 0..0
....... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
....... value[x] S 1..1 CodeableConceptTW 擴充的資料項目的內容值
........ id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
........ extension 0..* Extension Extension
Slice: Unordered, Open by value:url
........ Slices for coding S 1..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
......... coding:PostalCode3 S 1..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.......... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
.......... version Σ 0..1 string 系統的版本—如果相關的話
.......... code SΣ 1..1 code 居住縣市
.......... display SΣ 0..1 string 由系統定義的表示法
.......... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
......... coding:PostalCode5 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.......... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
.......... version Σ 0..1 string 系統的版本—如果相關的話
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
.......... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
......... coding:PostalCode6 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
.......... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.......... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
.......... version Σ 0..1 string 系統的版本—如果相關的話
.......... code SΣ 1..1 code 系統定義的語法之符號
.......... display SΣ 0..1 string 由系統定義的表示法
.......... userSelected Σ 0..1 boolean 此編碼是否由使用者直接選擇?
........ text SΣ 0..1 string 概念的文字表示法
..... value 0..1 string 郵遞區號
Max Length:1048576
.... country SΣ 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
.... period Σ 0..1 Period 此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... maritalStatus S 0..1 CodeableConceptTW 病人的婚姻狀態
Binding: Marital Status Codes (extensible): 病人的婚姻狀態;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。
... multipleBirth[x] 0..1 病人是否為多胞胎;或多胞胎出生順序。
.... multipleBirthBoolean boolean
.... multipleBirthInteger integer
... photo S 0..* Attachment 病人的影像(照片)
... contact SC 0..* BackboneElement 病人的聯絡人,例如:監護人、伴侶、朋友等。
Constraints: pat-1
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... relationship S 0..* CodeableConceptTW 概念(Concept)-參照一個專門術語或只是文字表述
Binding: PatientRelationshipType (required): 應填入所綁定值集中的其中一個代碼。
.... name S 0..1 HumanName 聯絡人姓名
..... id 0..1 string Unique id for inter-element referencing
..... extension 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: NameUse (required): 人名的使用情況;應填入所綁定值集中的其中一個代碼。
..... text SΣ 0..1 string 完整的中文姓名
..... family SΣ 0..1 string 英文姓
..... given 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
..... suffix Σ 0..* string 姓名後面的稱謂 由於學術,法律,職業或貴族身份等原因而獲得頭銜,出現在姓名之後。
This repeating element order: Suffixes appear in the correct order for presenting the name
..... period Σ 0..1 Period 此姓名的使用效期
.... telecom S 0..* ContactPoint 聯絡人的詳細聯絡資訊
..... id 0..1 string Unique id for inter-element referencing
..... extension 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: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。
..... value SΣ 1..1 string 實際的聯絡方式之細節
..... use ?!SΣ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。
..... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
..... period Σ 0..1 Period 此聯絡方式的使用效期
.... address 0..1 AddressTW 聯絡人的地址
.... gender 0..1 code male | female | other | unknown
Binding: AdministrativeGender (required): 聯絡人的性別;應填入所綁定值集中的其中一個代碼。
.... organization C 0..1 Reference(TW Core Organization) 可聯絡到聯絡人的機構
.... period S 0..1 Period 聯絡人或其可聯絡機構之可聯絡期(時間區間)
... communication S 0..* BackboneElement 向病人說明健康狀態時所使用的語言
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... language S 1..1 CodeableConceptTW 向病人說明健康狀況時所使用的語言
Binding: CommonLanguages (preferred): 應填入所綁定值集中的其中一個代碼。
Additional BindingsPurpose
AllLanguages Max Binding

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

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / CodeURI
Patient.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Patient.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
From the FHIR Standard
Patient.identifier:idCardNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:idCardNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:passportNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:passportNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:residentNumber.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:residentNumber.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.identifier:medicalRecord.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
From the FHIR Standard
Patient.identifier:medicalRecord.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Patient.name:official.userequiredPattern Value: official
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:usual.userequiredPattern Value: usual
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:temp.userequiredPattern Value: temp
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.name:anonymous.userequiredPattern Value: anonymous
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
Patient.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
From the FHIR Standard
Patient.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
From the FHIR Standard
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Patient.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
Patient.maritalStatusextensibleMarital Status Codes
http://hl7.org/fhir/ValueSet/marital-status
From the FHIR Standard
Patient.contact.relationshiprequiredPatientRelationshipType
http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype
From the FHIR Standard
Patient.contact.name.userequiredNameUse
http://hl7.org/fhir/ValueSet/name-use|4.0.1
From the FHIR Standard
Patient.contact.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
From the FHIR Standard
Patient.contact.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
From the FHIR Standard
Patient.contact.genderrequiredAdministrativeGender
http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1
From the FHIR Standard
Patient.communication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Patient.link.typerequiredLinkType
http://hl7.org/fhir/ValueSet/link-type|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorPatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorPatientIf 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-4errorPatientIf 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-5errorPatientIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practicePatientA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
id-card-numbererrorPatient.identifier:idCardNumber身分證號共十碼,首碼以英文字母代表直轄市、縣(市)別,第二碼至第十碼為數字碼。
: value.matches('^[A-Za-z][0-9]{9}$')
pat-1errorPatient.contactSHALL 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-nameerrorPatient.name使用者姓名有誤,超過12字
: text.length() <= 12
tw-core-1errorPatient.name:usualPatient.name.text or Patient.name.family or both SHALL be present
: text.exists() or family.exists()

This structure is derived from TWCorePatient

Summary

Mandatory: 12 elements
Prohibited: 3 elements

 

Other representations of profile: CSV, Excel, Schematron

Notes:

以下概述了此Profile所需的RESTful FHIR互動功能。有關PAD支援的RESTful互動功能的完整清單,請參閱PAD 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