臺灣社政領域基礎實作指引
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-08-10 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: Filtersdoco
.. Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... Slices for extension Content/Rules for all slices
.... extension:room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
.... extension:floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
.... extension:number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
.... extension:alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
.... extension:lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
.... extension:section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
.... extension:neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
.... extension:village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
... district SΣ 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example General: Madison
Example TWSSCountyCityCode: 6300000000
... postalCode SΣ 0..1 string 郵遞區號
Example General: 9132
.... Slices for extension Content/Rules for all slices
..... extension:PostalCode S 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
...... extension 0..0 Extension
Slice: Unordered, Open by value:url
...... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
...... value[x] S 0..1 CodeableConceptTW 擴充的資料項目的內容值
....... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
....... Slices for coding Content/Rules for all slices
........ coding:PostalCode3 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
......... code SΣ 1..1 code 系統定義的語法之符號
......... display SΣ 0..1 string 由系統定義的表示法
........ coding:PostalCode5 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
......... code SΣ 1..1 code 系統定義的語法之符號
......... display SΣ 0..1 string 由系統定義的表示法
........ coding:PostalCode6 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
......... code SΣ 1..1 code 系統定義的語法之符號
......... display SΣ 0..1 string 由系統定義的表示法
....... text SΣ 0..1 string 概念的文字表示法
... country SΣ 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。

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

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: Filtersdoco
.. Address 0..* AddressTW 使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... Slices for extension Content/Rules for all slices
.... extension:room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
.... extension:floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
.... extension:number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
.... extension:alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
.... extension:lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
.... extension:section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
.... extension:neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
.... extension:village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼
Example General: home
... type SΣ 0..1 code postal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼
Example General: both
... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
... district SΣ 0..1 string 縣市
Binding: TWSS-縣市碼值集 (extensible): 臺灣縣市行政區域代碼。
Example General: Madison
Example TWSSCountyCityCode: 6300000000
... postalCode SΣ 0..1 string 郵遞區號
Example General: 9132
.... Slices for extension Content/Rules for all slices
..... extension:PostalCode S 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
...... extension 0..0 Extension
Slice: Unordered, Open by value:url
...... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
...... value[x] S 0..1 CodeableConceptTW 擴充的資料項目的內容值
....... Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
....... Slices for coding Content/Rules for all slices
........ coding:PostalCode3 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
......... code SΣ 1..1 code 系統定義的語法之符號
......... display SΣ 0..1 string 由系統定義的表示法
........ coding:PostalCode5 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
......... code SΣ 1..1 code 系統定義的語法之符號
......... display SΣ 0..1 string 由系統定義的表示法
........ coding:PostalCode6 S 0..1 CodingTW 由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼
......... system SΣ 1..1 uri 專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
......... code SΣ 1..1 code 系統定義的語法之符號
......... display SΣ 0..1 string 由系統定義的表示法
....... text SΣ 0..1 string 概念的文字表示法
... country SΣ 0..1 string 國家(例如:ISO 3166的2個或3個字母代碼)。

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

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),沒有獨立的 REST 查詢端點。實作者可透過使用 AddressTWSSBase 的 Resource 查詢地址資料,例如:

GET [base]/Patient?address=[string]
GET [base]/Organization?address=[string]
GET [base]/RelatedPerson?address=[string]