臺灣社政領域基礎實作指引
0.0.1 - ci-build

臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions

Data Type Profile: 地址-Address TWSS Base

Official URL: https://sfaa.gov.tw/base/StructureDefinition/Address-twss-base Version: 0.0.1
Draft as of 2026-10-21 Computable Name: AddressTWSSBase

衛生福利部社會及家庭署 Base IG 使用之 Address datatype profile,表達衛生福利部社會及家庭署業務中的地址共通資料。

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
Address.Slices for extension Content/Rules for all slices
Address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Address.district This element must be supported. This element is included in summaries. 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example General: Madison
Example TWSSCountyCityCode: 6300000000
Address.postalCode This element must be supported. This element is included in summaries. 0..1 string 郵遞區號
Example General: 9132
Address.postalCode.Slices for extension Content/Rules for all slices
Address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Address.use Base required AddressUse 📍4.0.1 FHIR Std.
Address.type Base required AddressType 📍4.0.1 FHIR Std.
Address.district Base extensible TWSS-縣市碼值集 📦0.0.1 This IG
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode5 Base required 臺灣中華郵政5碼郵遞區號值集 📦2022-06-21 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode6 Base required 臺灣中華郵政6碼郵遞區號值集 📦2020-10-22 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
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 AddressTW

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
Address.district 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example TWSSCountyCityCode: 6300000000

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Address.district Base extensible TWSS-縣市碼值集 📦0.0.1 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
Address.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Address.text This element is included in summaries. 0..1 string 地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
Address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Address.district This element must be supported. This element is included in summaries. 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example General: Madison
Example TWSSCountyCityCode: 6300000000
Address.state This element is included in summaries. 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
Address.postalCode This element must be supported. This element is included in summaries. 0..1 string 郵遞區號
Example General: 9132
Address.postalCode.id 0..1 string xml:id(或JSON格式)。
Address.postalCode.Slices for extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Address.postalCode.Slices for extension.extension:PostalCode.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Address.postalCode.Slices for extension.extension:PostalCode.value[x].id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Address.postalCode.value 0..1 string 郵遞區號
Max Length:1048576
Address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
Address.period This element is included in summaries. 0..1 Period 此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Address.use Base required AddressUse 📍4.0.1 FHIR Std.
Address.type Base required AddressType 📍4.0.1 FHIR Std.
Address.district Base extensible TWSS-縣市碼值集 📦0.0.1 This IG
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode5 Base required 臺灣中華郵政5碼郵遞區號值集 📦2022-06-21 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode6 Base required 臺灣中華郵政6碼郵遞區號值集 📦2020-10-22 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
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 AddressTW

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
Address.Slices for extension Content/Rules for all slices
Address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Address.district This element must be supported. This element is included in summaries. 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example General: Madison
Example TWSSCountyCityCode: 6300000000
Address.postalCode This element must be supported. This element is included in summaries. 0..1 string 郵遞區號
Example General: 9132
Address.postalCode.Slices for extension Content/Rules for all slices
Address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Address.use Base required AddressUse 📍4.0.1 FHIR Std.
Address.type Base required AddressType 📍4.0.1 FHIR Std.
Address.district Base extensible TWSS-縣市碼值集 📦0.0.1 This IG
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode5 Base required 臺灣中華郵政5碼郵遞區號值集 📦2022-06-21 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode6 Base required 臺灣中華郵政6碼郵遞區號值集 📦2020-10-22 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
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 AddressTW

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
Address.district 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example TWSSCountyCityCode: 6300000000

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Address.district Base extensible TWSS-縣市碼值集 📦0.0.1 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
Address.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Address.Slices for extension.extension:room This element must be supported. 0..1 string 室
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
Address.Slices for extension.extension:floor This element must be supported. 0..1 string 樓
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
Address.Slices for extension.extension:number This element must be supported. 0..1 string 號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
Address.Slices for extension.extension:alley This element must be supported. 0..1 string 弄
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
Address.Slices for extension.extension:lane This element must be supported. 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
Address.Slices for extension.extension:section This element must be supported. 0..1 string 段
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
Address.Slices for extension.extension:neighborhood This element must be supported. 0..1 string 鄰
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
Address.Slices for extension.extension:village This element must be supported. 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
Address.use This element is a modifier element. This element must be supported. This element is included in summaries. 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
Address.type This element must be supported. This element is included in summaries. 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
Address.text This element is included in summaries. 0..1 string 地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
Address.line This element must be supported. This element is included in summaries. 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
Address.city This element must be supported. This element is included in summaries. 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
Address.district This element must be supported. This element is included in summaries. 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example General: Madison
Example TWSSCountyCityCode: 6300000000
Address.state This element is included in summaries. 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
Address.postalCode This element must be supported. This element is included in summaries. 0..1 string 郵遞區號
Example General: 9132
Address.postalCode.id 0..1 string xml:id(或JSON格式)。
Address.postalCode.Slices for extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode This element must be supported. 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
Address.postalCode.Slices for extension.extension:PostalCode.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.extension 0..0 Extension
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
Address.postalCode.Slices for extension.extension:PostalCode.value[x] This element must be supported. 0..1 CodeableConceptTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 擴充的資料項目的內容值
Address.postalCode.Slices for extension.extension:PostalCode.value[x].id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding This element must be supported. 0..* CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding Content/Rules for all slices
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode3.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode5.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6 This element must be supported. 0..1 CodingTW The snapshot does not say whether the constraints on the root of this type profile have been applied to this element, so assume they have not. Check the type profile directly as well 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.system This element must be supported. This element is included in summaries. 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw (extensions allowed)
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.version This element is included in summaries. 0..1 string 系統的版本—如果相關的話
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.code This element must be supported. This element is included in summaries. 1..1 code 系統定義的語法之符號
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.display This element must be supported. This element is included in summaries. 0..1 string 由系統定義的表示法
Address.postalCode.Slices for extension.extension:PostalCode.value[x].Slices for coding.coding:PostalCode6.userSelected This element is included in summaries. 0..1 boolean 此編碼是否由使用者直接選擇?
Address.postalCode.Slices for extension.extension:PostalCode.value[x].text This element must be supported. This element is included in summaries. 0..1 string 概念的文字表示法
Address.postalCode.value 0..1 string 郵遞區號
Max Length:1048576
Address.country This element must be supported. This element is included in summaries. 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。
Address.period This element is included in summaries. 0..1 Period 此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Address.use Base required AddressUse 📍4.0.1 FHIR Std.
Address.type Base required AddressType 📍4.0.1 FHIR Std.
Address.district Base extensible TWSS-縣市碼值集 📦0.0.1 This IG
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode3 Base required 臺灣中華郵政3碼郵遞區號值集 📦2015-01-22 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode5 Base required 臺灣中華郵政5碼郵遞區號值集 📦2022-06-21 臺灣核心實作指引 v0.3
Address.postalCode.extension:PostalCode.​value[x].coding:PostalCode6 Base required 臺灣中華郵政6碼郵遞區號值集 📦2020-10-22 臺灣核心實作指引 v0.3

Constraints

Id Grade Path(s) Description Expression
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 AddressTW

Summary

 

Other representations of profile: CSV, Excel, Schematron

Notes:

查詢參數

Address 為 datatype,非 FHIR RESTful API 的獨立 Resource,因此不適用原生查詢參數。