臺灣核心實作指引(TW Core IG)
0.2.0 - Trial Use

This page is part of the 臺灣核心實作指引(TW Core IG) (v0.2.0: Releases) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Data Type Profile: TW Core Address

Official URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Address-twcore Version: 0.2.0
Active as of 2024-03-21 Computable Name: TWCoreAddress

此臺灣核心-地址(TW Core Address) Profile說明本IG如何進一步定義FHIR的Address資料類型以呈現臺灣地址。
本Profile之擴充的資料項目(Extension)為參照初診基本資料表之欄位與中華郵政地址英譯寫法,若貴機構有詳細地址資訊之需求,可依情況填選;若無需區分詳細地址資訊,可使用原生欄位textlinedistrict呈現。

Usage:

Formal Views of Profile Content

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

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*Address使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... id 0..1string唯一可識別ID,以供資料項目間相互參照。
... room S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
... floor S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
... alley S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
... lane S0..1string巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
... section S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
... neighborhood S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
... village S0..1string村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use S0..1codehome | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼

... type S0..1codepostal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼

... text 0..1string地址的文字表述
... line S0..1string路/街
... city S0..1string鄉/鎮/市/區
... district S0..1string縣/市
... state 0..1string國家的子單位(縮寫也可以)
... postalCode S0..1string郵遞區號
.... id 0..1stringxml:id(或JSON格式)。
.... Slices for extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
.... PostalCode S0..1CodeableConceptTW臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
..... value[x] S0..1CodeableConceptTW擴充的資料項目的內容值
.... value 0..1string郵遞區號
... country S0..1string國家(例如:ISO 3166的2個或3個字母代碼)。
... period 0..1Period此地址曾經/正在使用的時間區間

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*Address使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... id 0..1string唯一可識別ID,以供資料項目間相互參照。
... room S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
... floor S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
... alley S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
... lane S0..1string巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
... section S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
... neighborhood S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
... village S0..1string村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use ?!SΣ0..1codehome | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


Example General: home
... type SΣ0..1codepostal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼


Example General: both
... text Σ0..1string地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
... line SΣ0..1string路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ0..1string鄉/鎮/市/區
Example General: Erewhon
... district SΣ0..1string縣/市
Example General: Madison
... state Σ0..1string國家的子單位(縮寫也可以)
... postalCode SΣ0..1string郵遞區號
Example General: 9132
.... id 0..1stringxml:id(或JSON格式)。
.... Slices for extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
.... PostalCode S0..1CodeableConceptTW臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
..... extension 0..0
..... url 1..1uri"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
..... value[x] S0..1CodeableConceptTW擴充的資料項目的內容值
...... Slices for coding S0..*CodingTW由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
....... coding:PostalCode3 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
....... coding:PostalCode5 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
....... coding:PostalCode6 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
...... text SΣ0..1string概念的文字表示法
.... value 0..1string郵遞區號
Max Length: 1048576
... country SΣ0..1string國家(例如:ISO 3166的2個或3個字母代碼)。
... period Σ0..1Period此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3 (a valid code from 臺灣中華郵政3碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5 (a valid code from 臺灣中華郵政5碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6 (a valid code from 臺灣中華郵政6碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*Address使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... id 0..1string唯一可識別ID,以供資料項目間相互參照。
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... room S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
... number S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
... alley S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
... lane S0..1string巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
... section S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
... neighborhood S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
... village S0..1string村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use ?!SΣ0..1codehome | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


Example General: home
... type SΣ0..1codepostal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼


Example General: both
... text Σ0..1string地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
... line SΣ0..1string路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ0..1string鄉/鎮/市/區
Example General: Erewhon
... district SΣ0..1string縣/市
Example General: Madison
... state Σ0..1string國家的子單位(縮寫也可以)
... postalCode SΣ0..1string郵遞區號
Example General: 9132
.... id 0..1stringxml:id(或JSON格式)。
.... Slices for extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
.... PostalCode S0..1CodeableConceptTW臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
..... id 0..1string唯一可識別ID,以供資料項目間相互參照。
..... extension 0..0
..... url 1..1uri"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
..... value[x] S0..1CodeableConceptTW擴充的資料項目的內容值
...... id 0..1string唯一可識別ID,以供資料項目間相互參照。
...... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... Slices for coding S0..*CodingTW由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
....... coding:PostalCode3 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ id 0..1string唯一可識別ID,以供資料項目間相互參照。
........ extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
........ version Σ0..1string系統的版本—如果相關的話
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
........ userSelected Σ0..1boolean此編碼是否由使用者直接選擇?
....... coding:PostalCode5 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ id 0..1string唯一可識別ID,以供資料項目間相互參照。
........ extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
........ version Σ0..1string系統的版本—如果相關的話
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
........ userSelected Σ0..1boolean此編碼是否由使用者直接選擇?
....... coding:PostalCode6 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ id 0..1string唯一可識別ID,以供資料項目間相互參照。
........ extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
........ version Σ0..1string系統的版本—如果相關的話
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
........ userSelected Σ0..1boolean此編碼是否由使用者直接選擇?
...... text SΣ0..1string概念的文字表示法
.... value 0..1string郵遞區號
Max Length: 1048576
... country SΣ0..1string國家(例如:ISO 3166的2個或3個字母代碼)。
... period Σ0..1Period此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3 (a valid code from 臺灣中華郵政3碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5 (a valid code from 臺灣中華郵政5碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6 (a valid code from 臺灣中華郵政6碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from Address

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*Address使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... id 0..1string唯一可識別ID,以供資料項目間相互參照。
... room S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
... floor S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
... alley S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
... lane S0..1string巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
... section S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
... neighborhood S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
... village S0..1string村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use S0..1codehome | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼

... type S0..1codepostal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼

... text 0..1string地址的文字表述
... line S0..1string路/街
... city S0..1string鄉/鎮/市/區
... district S0..1string縣/市
... state 0..1string國家的子單位(縮寫也可以)
... postalCode S0..1string郵遞區號
.... id 0..1stringxml:id(或JSON格式)。
.... Slices for extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
.... PostalCode S0..1CodeableConceptTW臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
..... value[x] S0..1CodeableConceptTW擴充的資料項目的內容值
.... value 0..1string郵遞區號
... country S0..1string國家(例如:ISO 3166的2個或3個字母代碼)。
... period 0..1Period此地址曾經/正在使用的時間區間

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*Address使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... id 0..1string唯一可識別ID,以供資料項目間相互參照。
... room S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
... floor S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
... alley S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
... lane S0..1string巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
... section S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
... neighborhood S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
... village S0..1string村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use ?!SΣ0..1codehome | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


Example General: home
... type SΣ0..1codepostal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼


Example General: both
... text Σ0..1string地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
... line SΣ0..1string路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ0..1string鄉/鎮/市/區
Example General: Erewhon
... district SΣ0..1string縣/市
Example General: Madison
... state Σ0..1string國家的子單位(縮寫也可以)
... postalCode SΣ0..1string郵遞區號
Example General: 9132
.... id 0..1stringxml:id(或JSON格式)。
.... Slices for extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
.... PostalCode S0..1CodeableConceptTW臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
..... extension 0..0
..... url 1..1uri"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
..... value[x] S0..1CodeableConceptTW擴充的資料項目的內容值
...... Slices for coding S0..*CodingTW由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
....... coding:PostalCode3 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
....... coding:PostalCode5 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
....... coding:PostalCode6 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
...... text SΣ0..1string概念的文字表示法
.... value 0..1string郵遞區號
Max Length: 1048576
... country SΣ0..1string國家(例如:ISO 3166的2個或3個字母代碼)。
... period Σ0..1Period此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3 (a valid code from 臺灣中華郵政3碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5 (a valid code from 臺灣中華郵政5碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6 (a valid code from 臺灣中華郵政6碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Address 0..*Address使用郵政規範表達的地址(相對於GPS或其他位置定義格式)
... id 0..1string唯一可識別ID,以供資料項目間相互參照。
... Slices for extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... room S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
... number S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
... alley S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
... lane S0..1string巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
... section S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
... neighborhood S0..1string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
... village S0..1string村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
... use ?!SΣ0..1codehome | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


Example General: home
... type SΣ0..1codepostal | physical | both
Binding: AddressType (required): 應填入AddressType值集中的其中一個代碼


Example General: both
... text Σ0..1string地址的文字表述
Example General: 137 Nowhere Street, Erewhon 9132
... line SΣ0..1string路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
... city SΣ0..1string鄉/鎮/市/區
Example General: Erewhon
... district SΣ0..1string縣/市
Example General: Madison
... state Σ0..1string國家的子單位(縮寫也可以)
... postalCode SΣ0..1string郵遞區號
Example General: 9132
.... id 0..1stringxml:id(或JSON格式)。
.... Slices for extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
.... PostalCode S0..1CodeableConceptTW臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
..... id 0..1string唯一可識別ID,以供資料項目間相互參照。
..... extension 0..0
..... url 1..1uri"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
..... value[x] S0..1CodeableConceptTW擴充的資料項目的內容值
...... id 0..1string唯一可識別ID,以供資料項目間相互參照。
...... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
...... Slices for coding S0..*CodingTW由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
....... coding:PostalCode3 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政3碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ id 0..1string唯一可識別ID,以供資料項目間相互參照。
........ extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw
........ version Σ0..1string系統的版本—如果相關的話
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
........ userSelected Σ0..1boolean此編碼是否由使用者直接選擇?
....... coding:PostalCode5 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政5碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ id 0..1string唯一可識別ID,以供資料項目間相互參照。
........ extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code5-tw
........ version Σ0..1string系統的版本—如果相關的話
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
........ userSelected Σ0..1boolean此編碼是否由使用者直接選擇?
....... coding:PostalCode6 S0..1CodingTW由專門術語系統(terminology system)定義的代碼
Binding: 臺灣中華郵政6碼郵遞區號值集 (required): 應填入所綁定值集中的其中一個代碼


........ id 0..1string唯一可識別ID,以供資料項目間相互參照。
........ extension 0..*Extension擴充的資料項目
Slice: Unordered, Open by value:url
........ system SΣ1..1uri專門術語系統(terminology system)的識別
Required Pattern: https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code6-tw
........ version Σ0..1string系統的版本—如果相關的話
........ code SΣ0..1code系統定義的語法之符號
........ display SΣ0..1string由系統定義的表示法
........ userSelected Σ0..1boolean此編碼是否由使用者直接選擇?
...... text SΣ0..1string概念的文字表示法
.... value 0..1string郵遞區號
Max Length: 1048576
... country SΣ0..1string國家(例如:ISO 3166的2個或3個字母代碼)。
... period Σ0..1Period此地址曾經/正在使用的時間區間
Example General: {"start":"2010-03-23","end":"2010-07-01"}

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3 (a valid code from 臺灣中華郵政3碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5 (a valid code from 臺灣中華郵政5碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
from this IG
Address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6 (a valid code from 臺灣中華郵政6碼郵遞區號)
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
from this IG

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

 

Other representations of profile: CSV, Excel, Schematron