臺灣長期照顧實作指引(TW LTC IG)
1.0.0 - STU 1.0.0
臺灣長期照顧實作指引(TW LTC IG), published by 經濟部產業發展署. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Lorex/TWLongTermCare_IG_Build/ and changes regularly. See the Directory of published versions
| Official URL: http://ltc-ig.fhir.tw/StructureDefinition/Location-twltc | Version: 1.0.0 | |||
| Active as of 2026-03-01 | Computable Name: LTCLocation | |||
此 Profile 說明本 IG 如何進一步定義 FHIR 的 Location Resource,以呈現失智症個案的位置監測資料,包括所在地名稱與經緯度座標資訊。
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreLocation | 個案位置監測的資訊 | |
![]() ![]() |
?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | 位置記錄的狀態 Binding: LocationStatus (required): 地點的狀態,指明該地點是否目前正在使用中;應填入所綁定值集中的其中一個代碼。 Required Pattern: active |
![]() ![]() |
SΣ | 1..1 | string | 個案所在的地點名稱 |
![]() ![]() |
SΣ | 0..1 | string | 位置描述 |
![]() ![]() |
SΣ | 0..1 | code | 位置模式 Binding: LocationMode (required): 表明為一個地點或是一個地點的類別;應填入所綁定值集中的其中一個代碼。 Required Pattern: instance |
![]() ![]() |
S | 1..1 | CodeableConceptTW | 位置類型 Binding: ServiceDeliveryLocationRoleType (extensible): 應填入所綁定值集中的其中一個代碼。 |
![]() ![]() ![]() |
S | 1..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 Required Pattern: PTRES |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | 由系統定義的表示法 Required Pattern: Patient's Residence |
![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 |
![]() ![]() |
S | 0..* | ContactPoint | 位置相關的聯絡方式 |
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 實際的聯絡方式之細節 |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): 此聯絡方式的用途;應填入所綁定值集中的其中一個代碼。 |
![]() ![]() ![]() |
SΣ | 0..1 | Period | 此聯絡方式的使用效期 |
![]() ![]() |
S | 0..1 | AddressTW | 位置的地址資訊 |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 室 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 樓 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 弄 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 巷/衖 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 段 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 鄰 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 村(里) URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - 此地址的用途 Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼 Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼 Example General: both |
![]() ![]() ![]() |
SΣ | 0..1 | string | 地址的文字表述 Example General: 137 Nowhere Street, Erewhon 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 路/街 This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street |
![]() ![]() ![]() |
SΣ | 0..1 | string | 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。 Example General: Erewhon |
![]() ![]() ![]() |
SΣ | 0..1 | string | 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。 Example General: Madison |
![]() ![]() ![]() |
SΣ | 0..1 | string | 郵遞區號 Example General: 9132 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | 臺灣郵遞區號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConceptTW | 擴充的資料項目的內容值 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodingTW | 由專門術語系統(terminology system)定義的代碼 Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 國家(例如:ISO 3166的2個或3個字母代碼)。 |
![]() ![]() |
S | 0..1 | BackboneElement | 位置的經緯度座標 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | decimal | 經度座標 |
![]() ![]() ![]() |
S | 1..1 | decimal | 緯度座標 |
![]() ![]() ![]() |
S | 0..1 | decimal | 海拔高度 |
![]() ![]() |
SΣ | 0..1 | Reference(TW Core Organization) | 負責地點的提供與維護之機構 |
![]() ![]() |
S | 0..1 | Reference(TW Core Location) | 此位置所屬的上層位置 |
![]() ![]() ![]() |
SΣC | 1..1 | string | 上層位置的參考 |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR Std. |
| Location.mode | Base | required | LocationMode | 📍4.0.1 | FHIR Std. |
| Location.type | Base | extensible | ServiceDeliveryLocationRoleType | 📦3.0.0 | THO v7.0 |
| Location.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Location.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Location.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Location.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3 | Base | required | 臺灣中華郵政3碼郵遞區號值集 | 📦2015-01-22 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5 | Base | required | 臺灣中華郵政5碼郵遞區號值集 | 📦2022-06-21 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6 | Base | required | 臺灣中華郵政6碼郵遞區號值集 | 📦2020-10-22 | 臺灣核心實作指引 v0.3 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Location | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from TWCoreLocation
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreLocation | 個案位置監測的資訊 | |
![]() ![]() |
1..1 | code | 位置記錄的狀態 Required Pattern: active | |
![]() ![]() |
1..1 | string | 個案所在的地點名稱 | |
![]() ![]() |
S | 0..1 | string | 位置描述 |
![]() ![]() |
S | 0..1 | code | 位置模式 Required Pattern: instance |
![]() ![]() |
S | 1..1 | CodeableConceptTW | 位置類型 |
![]() ![]() ![]() |
1..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 | |
![]() ![]() ![]() ![]() |
1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode | |
![]() ![]() ![]() ![]() |
1..1 | code | 系統定義的語法之符號 Required Pattern: PTRES | |
![]() ![]() ![]() ![]() |
1..1 | string | 由系統定義的表示法 Required Pattern: Patient's Residence | |
![]() ![]() |
0..* | ContactPoint | 位置相關的聯絡方式 | |
![]() ![]() |
0..1 | AddressTW | 位置的地址資訊 | |
![]() ![]() ![]() |
S | 0..1 | string | 地址的文字表述 |
![]() ![]() |
S | 0..1 | BackboneElement | 位置的經緯度座標 |
![]() ![]() ![]() |
S | 1..1 | decimal | 經度座標 |
![]() ![]() ![]() |
S | 1..1 | decimal | 緯度座標 |
![]() ![]() ![]() |
S | 0..1 | decimal | 海拔高度 |
![]() ![]() |
S | 0..1 | Reference(TW Core Location) | 此位置所屬的上層位置 |
![]() ![]() ![]() |
S | 1..1 | string | 上層位置的參考 |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TWCoreLocation | 個案位置監測的資訊 | |||||
![]() ![]() |
Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Location紀錄,通常又稱為邏輯性ID。 | ||||
![]() ![]() |
Σ | 0..1 | Meta | 此Location Resource的metadata | ||||
![]() ![]() |
?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 | ||||
![]() ![]() |
0..1 | code | 用以表述Location Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Example Value: zh-TW | |||||
![]() ![]() |
0..1 | Narrative | Location Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | 地點的唯一識別號 | ||||
![]() ![]() |
?!SΣ | 1..1 | code | 位置記錄的狀態 Binding: LocationStatus (required): 地點的狀態,指明該地點是否目前正在使用中;應填入所綁定值集中的其中一個代碼。 Required Pattern: active | ||||
![]() ![]() |
Σ | 0..1 | Coding | 地點的運營狀態(通常僅適用於床位 / 房間) Binding: hl7VS-bedStatus (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。 | ||||
![]() ![]() |
SΣ | 1..1 | string | 個案所在的地點名稱 | ||||
![]() ![]() |
0..* | string | 這是一份地點過去或現在所使用的其他名稱的清單 | |||||
![]() ![]() |
SΣ | 0..1 | string | 位置描述 | ||||
![]() ![]() |
SΣ | 0..1 | code | 位置模式 Binding: LocationMode (required): 表明為一個地點或是一個地點的類別;應填入所綁定值集中的其中一個代碼。 Required Pattern: instance | ||||
![]() ![]() |
S | 1..1 | CodeableConceptTW | 位置類型 Binding: ServiceDeliveryLocationRoleType (extensible): 應填入所綁定值集中的其中一個代碼。 | ||||
![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 Required Pattern: PTRES | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | 由系統定義的表示法 Required Pattern: Patient's Residence | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 | ||||
![]() ![]() |
S | 0..* | ContactPoint | 位置相關的聯絡方式 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 實際的聯絡方式之細節 | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): 此聯絡方式的用途;應填入所綁定值集中的其中一個代碼。 | ||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | 具體說明偏好的使用順序(1=最高優先順序) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | 此聯絡方式的使用效期 | ||||
![]() ![]() |
S | 0..1 | AddressTW | 位置的地址資訊 | ||||
![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 室 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 樓 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 弄 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 巷/衖 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 段 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 鄰 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 村(里) URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - 此地址的用途 Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼 Example General: home | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼 Example General: both | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 地址的文字表述 Example General: 137 Nowhere Street, Erewhon 9132 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 路/街 This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。 Example General: Erewhon | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。 Example General: Madison | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 郵遞區號 Example General: 9132 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id(或JSON格式)。 | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | 臺灣郵遞區號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConceptTW | 擴充的資料項目的內容值 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodingTW | 由專門術語系統(terminology system)定義的代碼 Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | 郵遞區號 Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 國家(例如:ISO 3166的2個或3個字母代碼)。 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | 此地址曾經/正在使用的時間區間 Example General: {"start":"2010-03-23","end":"2010-07-01"} | ||||
![]() ![]() |
0..1 | CodeableConceptTW | 絕對的地理位置 Binding: LocationType (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |||||
![]() ![]() |
S | 0..1 | BackboneElement | 位置的經緯度座標 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 1..1 | decimal | 經度座標 | ||||
![]() ![]() ![]() |
S | 1..1 | decimal | 緯度座標 | ||||
![]() ![]() ![]() |
S | 0..1 | decimal | 海拔高度 | ||||
![]() ![]() |
SΣ | 0..1 | Reference(TW Core Organization) | 負責地點的提供與維護之機構 | ||||
![]() ![]() |
S | 0..1 | Reference(TW Core Location) | 此位置所屬的上層位置 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | string | 上層位置的參考 | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | BackboneElement | 這個地點通常在一個星期的哪些日子/時間開放? | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): 應填入所綁定值集中的其中一個代碼。 | |||||
![]() ![]() ![]() |
0..1 | boolean | 此地點全天開放 | |||||
![]() ![]() ![]() |
0..1 | time | 此地點的開放時間 | |||||
![]() ![]() ![]() |
0..1 | time | 此地點的關閉時間 | |||||
![]() ![]() |
0..1 | string | 可用性例外情況說明 | |||||
![]() ![]() |
0..* | Reference(Endpoint) | 提供用於此地點運營服務的技術端點 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Location.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR Std. |
| Location.operationalStatus | Base | preferred | hl7VS-bedStatus | 📦2.0.0 | THO v7.0 |
| Location.mode | Base | required | LocationMode | 📍4.0.1 | FHIR Std. |
| Location.type | Base | extensible | ServiceDeliveryLocationRoleType | 📦3.0.0 | THO v7.0 |
| Location.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Location.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Location.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Location.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3 | Base | required | 臺灣中華郵政3碼郵遞區號值集 | 📦2015-01-22 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5 | Base | required | 臺灣中華郵政5碼郵遞區號值集 | 📦2022-06-21 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6 | Base | required | 臺灣中華郵政6碼郵遞區號值集 | 📦2020-10-22 | 臺灣核心實作指引 v0.3 |
| Location.physicalType | Base | example | Location type | 📦4.0.1 | FHIR Std. |
| Location.partOf.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Location.hoursOfOperation.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Location | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from TWCoreLocation
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreLocation | 個案位置監測的資訊 | |
![]() ![]() |
?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | 位置記錄的狀態 Binding: LocationStatus (required): 地點的狀態,指明該地點是否目前正在使用中;應填入所綁定值集中的其中一個代碼。 Required Pattern: active |
![]() ![]() |
SΣ | 1..1 | string | 個案所在的地點名稱 |
![]() ![]() |
SΣ | 0..1 | string | 位置描述 |
![]() ![]() |
SΣ | 0..1 | code | 位置模式 Binding: LocationMode (required): 表明為一個地點或是一個地點的類別;應填入所綁定值集中的其中一個代碼。 Required Pattern: instance |
![]() ![]() |
S | 1..1 | CodeableConceptTW | 位置類型 Binding: ServiceDeliveryLocationRoleType (extensible): 應填入所綁定值集中的其中一個代碼。 |
![]() ![]() ![]() |
S | 1..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 Required Pattern: PTRES |
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | 由系統定義的表示法 Required Pattern: Patient's Residence |
![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 |
![]() ![]() |
S | 0..* | ContactPoint | 位置相關的聯絡方式 |
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 實際的聯絡方式之細節 |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): 此聯絡方式的用途;應填入所綁定值集中的其中一個代碼。 |
![]() ![]() ![]() |
SΣ | 0..1 | Period | 此聯絡方式的使用效期 |
![]() ![]() |
S | 0..1 | AddressTW | 位置的地址資訊 |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 室 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 樓 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 弄 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 巷/衖 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 段 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 鄰 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood |
![]() ![]() ![]() ![]() |
S | 0..1 | string | 村(里) URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village |
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - 此地址的用途 Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼 Example General: home |
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼 Example General: both |
![]() ![]() ![]() |
SΣ | 0..1 | string | 地址的文字表述 Example General: 137 Nowhere Street, Erewhon 9132 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 路/街 This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street |
![]() ![]() ![]() |
SΣ | 0..1 | string | 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。 Example General: Erewhon |
![]() ![]() ![]() |
SΣ | 0..1 | string | 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。 Example General: Madison |
![]() ![]() ![]() |
SΣ | 0..1 | string | 郵遞區號 Example General: 9132 |
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | 臺灣郵遞區號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code |
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code" | |
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConceptTW | 擴充的資料項目的內容值 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodingTW | 由專門術語系統(terminology system)定義的代碼 Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 |
![]() ![]() ![]() |
SΣ | 0..1 | string | 國家(例如:ISO 3166的2個或3個字母代碼)。 |
![]() ![]() |
S | 0..1 | BackboneElement | 位置的經緯度座標 |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
S | 1..1 | decimal | 經度座標 |
![]() ![]() ![]() |
S | 1..1 | decimal | 緯度座標 |
![]() ![]() ![]() |
S | 0..1 | decimal | 海拔高度 |
![]() ![]() |
SΣ | 0..1 | Reference(TW Core Organization) | 負責地點的提供與維護之機構 |
![]() ![]() |
S | 0..1 | Reference(TW Core Location) | 此位置所屬的上層位置 |
![]() ![]() ![]() |
SΣC | 1..1 | string | 上層位置的參考 |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR Std. |
| Location.mode | Base | required | LocationMode | 📍4.0.1 | FHIR Std. |
| Location.type | Base | extensible | ServiceDeliveryLocationRoleType | 📦3.0.0 | THO v7.0 |
| Location.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Location.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Location.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Location.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3 | Base | required | 臺灣中華郵政3碼郵遞區號值集 | 📦2015-01-22 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5 | Base | required | 臺灣中華郵政5碼郵遞區號值集 | 📦2022-06-21 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6 | Base | required | 臺灣中華郵政6碼郵遞區號值集 | 📦2020-10-22 | 臺灣核心實作指引 v0.3 |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Location | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from TWCoreLocation
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | TWCoreLocation | 個案位置監測的資訊 | |
![]() ![]() |
1..1 | code | 位置記錄的狀態 Required Pattern: active | |
![]() ![]() |
1..1 | string | 個案所在的地點名稱 | |
![]() ![]() |
S | 0..1 | string | 位置描述 |
![]() ![]() |
S | 0..1 | code | 位置模式 Required Pattern: instance |
![]() ![]() |
S | 1..1 | CodeableConceptTW | 位置類型 |
![]() ![]() ![]() |
1..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 | |
![]() ![]() ![]() ![]() |
1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode | |
![]() ![]() ![]() ![]() |
1..1 | code | 系統定義的語法之符號 Required Pattern: PTRES | |
![]() ![]() ![]() ![]() |
1..1 | string | 由系統定義的表示法 Required Pattern: Patient's Residence | |
![]() ![]() |
0..* | ContactPoint | 位置相關的聯絡方式 | |
![]() ![]() |
0..1 | AddressTW | 位置的地址資訊 | |
![]() ![]() ![]() |
S | 0..1 | string | 地址的文字表述 |
![]() ![]() |
S | 0..1 | BackboneElement | 位置的經緯度座標 |
![]() ![]() ![]() |
S | 1..1 | decimal | 經度座標 |
![]() ![]() ![]() |
S | 1..1 | decimal | 緯度座標 |
![]() ![]() ![]() |
S | 0..1 | decimal | 海拔高度 |
![]() ![]() |
S | 0..1 | Reference(TW Core Location) | 此位置所屬的上層位置 |
![]() ![]() ![]() |
S | 1..1 | string | 上層位置的參考 |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | TWCoreLocation | 個案位置監測的資訊 | |||||
![]() ![]() |
Σ | 0..1 | id | 不重複的ID用以識別儲存在特定FHIR Server中的Location紀錄,通常又稱為邏輯性ID。 | ||||
![]() ![]() |
Σ | 0..1 | Meta | 此Location Resource的metadata | ||||
![]() ![]() |
?!Σ | 0..1 | uri | 創建此內容所依據的一組規則 | ||||
![]() ![]() |
0..1 | code | 用以表述Location Resource內容的語言。 Binding: CommonLanguages (preferred): 人類語言;鼓勵使用CommonLanguages代碼表中的代碼,但不強制一定要使用此代碼表,你也可使用其他代碼表的代碼或單純以文字表示。
Example Value: zh-TW | |||||
![]() ![]() |
0..1 | Narrative | Location Resource之內容摘要以供人閱讀 This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | 地點的唯一識別號 | ||||
![]() ![]() |
?!SΣ | 1..1 | code | 位置記錄的狀態 Binding: LocationStatus (required): 地點的狀態,指明該地點是否目前正在使用中;應填入所綁定值集中的其中一個代碼。 Required Pattern: active | ||||
![]() ![]() |
Σ | 0..1 | Coding | 地點的運營狀態(通常僅適用於床位 / 房間) Binding: hl7VS-bedStatus (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。 | ||||
![]() ![]() |
SΣ | 1..1 | string | 個案所在的地點名稱 | ||||
![]() ![]() |
0..* | string | 這是一份地點過去或現在所使用的其他名稱的清單 | |||||
![]() ![]() |
SΣ | 0..1 | string | 位置描述 | ||||
![]() ![]() |
SΣ | 0..1 | code | 位置模式 Binding: LocationMode (required): 表明為一個地點或是一個地點的類別;應填入所綁定值集中的其中一個代碼。 Required Pattern: instance | ||||
![]() ![]() |
S | 1..1 | CodeableConceptTW | 位置類型 Binding: ServiceDeliveryLocationRoleType (extensible): 應填入所綁定值集中的其中一個代碼。 | ||||
![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
S | 1..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: http://terminology.hl7.org/CodeSystem/v3-RoleCode | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 Required Pattern: PTRES | ||||
![]() ![]() ![]() ![]() |
SΣ | 1..1 | string | 由系統定義的表示法 Required Pattern: Patient's Residence | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 | ||||
![]() ![]() |
S | 0..* | ContactPoint | 位置相關的聯絡方式 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 0..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 實際的聯絡方式之細節 | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | mobile Binding: ContactPointUse (required): 此聯絡方式的用途;應填入所綁定值集中的其中一個代碼。 | ||||
![]() ![]() ![]() |
Σ | 0..1 | positiveInt | 具體說明偏好的使用順序(1=最高優先順序) | ||||
![]() ![]() ![]() |
SΣ | 0..1 | Period | 此聯絡方式的使用效期 | ||||
![]() ![]() |
S | 0..1 | AddressTW | 位置的地址資訊 | ||||
![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 室 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 樓 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 弄 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 巷/衖 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 段 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 鄰 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | string | 村(里) URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village | ||||
![]() ![]() ![]() |
?!SΣ | 0..1 | code | home | work | temp | old | billing - 此地址的用途 Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼 Example General: home | ||||
![]() ![]() ![]() |
SΣ | 0..1 | code | postal | physical | both Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼 Example General: both | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 地址的文字表述 Example General: 137 Nowhere Street, Erewhon 9132 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 路/街 This repeating element order: The order in which lines should appear in an address label Example General: 137 Nowhere Street | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。 Example General: Erewhon | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。 Example General: Madison | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。 | ||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 郵遞區號 Example General: 9132 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id(或JSON格式)。 | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | 臺灣郵遞區號 URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code | ||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code" | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConceptTW | 擴充的資料項目的內容值 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..* | CodingTW | 由專門術語系統(terminology system)定義的代碼 Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
S | 0..1 | CodingTW | 由專門術語系統(terminology system)定義的代碼 Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | 唯一可識別ID,以供資料項目間相互參照。 | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | 擴充的資料項目 Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | uri | 專門術語系統(terminology system)的識別 Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | 系統的版本—如果相關的話 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 1..1 | code | 系統定義的語法之符號 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 由系統定義的表示法 | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | boolean | 此編碼是否由使用者直接選擇? | ||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | 概念的文字表示法 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | 郵遞區號 Max Length:1048576 | |||||
![]() ![]() ![]() |
SΣ | 0..1 | string | 國家(例如:ISO 3166的2個或3個字母代碼)。 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | 此地址曾經/正在使用的時間區間 Example General: {"start":"2010-03-23","end":"2010-07-01"} | ||||
![]() ![]() |
0..1 | CodeableConceptTW | 絕對的地理位置 Binding: LocationType (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。 | |||||
![]() ![]() |
S | 0..1 | BackboneElement | 位置的經緯度座標 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
S | 1..1 | decimal | 經度座標 | ||||
![]() ![]() ![]() |
S | 1..1 | decimal | 緯度座標 | ||||
![]() ![]() ![]() |
S | 0..1 | decimal | 海拔高度 | ||||
![]() ![]() |
SΣ | 0..1 | Reference(TW Core Organization) | 負責地點的提供與維護之機構 | ||||
![]() ![]() |
S | 0..1 | Reference(TW Core Location) | 此位置所屬的上層位置 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
SΣC | 1..1 | string | 上層位置的參考 | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model). | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | BackboneElement | 這個地點通常在一個星期的哪些日子/時間開放? | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..* | code | mon | tue | wed | thu | fri | sat | sun Binding: DaysOfWeek (required): 應填入所綁定值集中的其中一個代碼。 | |||||
![]() ![]() ![]() |
0..1 | boolean | 此地點全天開放 | |||||
![]() ![]() ![]() |
0..1 | time | 此地點的開放時間 | |||||
![]() ![]() ![]() |
0..1 | time | 此地點的關閉時間 | |||||
![]() ![]() |
0..1 | string | 可用性例外情況說明 | |||||
![]() ![]() |
0..* | Reference(Endpoint) | 提供用於此地點運營服務的技術端點 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Location.language | Base | preferred | Common Languages | 📦4.0.1 | FHIR Std. |
| Location.status | Base | required | LocationStatus | 📍4.0.1 | FHIR Std. |
| Location.operationalStatus | Base | preferred | hl7VS-bedStatus | 📦2.0.0 | THO v7.0 |
| Location.mode | Base | required | LocationMode | 📍4.0.1 | FHIR Std. |
| Location.type | Base | extensible | ServiceDeliveryLocationRoleType | 📦3.0.0 | THO v7.0 |
| Location.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Location.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Location.address.use | Base | required | AddressUse | 📍4.0.1 | FHIR Std. |
| Location.address.type | Base | required | AddressType | 📍4.0.1 | FHIR Std. |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3 | Base | required | 臺灣中華郵政3碼郵遞區號值集 | 📦2015-01-22 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5 | Base | required | 臺灣中華郵政5碼郵遞區號值集 | 📦2022-06-21 | 臺灣核心實作指引 v0.3 |
| Location.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6 | Base | required | 臺灣中華郵政6碼郵遞區號值集 | 📦2020-10-22 | 臺灣核心實作指引 v0.3 |
| Location.physicalType | Base | example | Location type | 📦4.0.1 | FHIR Std. |
| Location.partOf.type | Base | extensible | ResourceType | 📍4.0.1 | FHIR Std. |
| Location.hoursOfOperation.daysOfWeek | Base | required | DaysOfWeek | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Location | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Location | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Location | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| dom-5 | error | Location | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Location | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from TWCoreLocation
Other representations of profile: CSV, Excel, Schematron