臺灣長期照顧實作指引 (Taiwan Long-Term Care Implementation Guide)
0.2.0 - ci-build+trial-use

臺灣長期照顧實作指引 (Taiwan Long-Term Care Implementation Guide) - Local Development build (v0.2.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: 長期照顧-機構

Official URL: http://ltc-ig.fhir.tw/StructureDefinition/Organization-twltc Version: 0.2.0
Active as of 2024-10-23 Computable Name: LTCOrganization

此 Profile 說明本 IG 如何進一步定義 FHIR 的 Organization Resource,以呈現機構的資料。這裡的機構包含但不限於醫院、診所、長照機構、社區服務單位等。

Usage:

Formal Views of Profile Content

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

This structure is derived from TWCoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..* TWCoreOrganization 機構的資訊
... identifier
.... value 1..1 string 唯一值。[應填入機構代碼]
... type 1..1 CodeableConceptTW 機構類型
... name 1..1 string 機構名稱。[應填入機構名稱]
.... value 0..1 string 實際的聯絡方式之細節。[應填入機構電話]
... address S 0..1 AddressTW 機構所在地址。
.... text 0..1 string 地址的文字表述。[應填入機構地址]
... contact S 0..* BackboneElement 某一用途的機構聯絡方式

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* TWCoreOrganization 機構的資訊
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 0..* Identifier 跨多個系統中識別此機構
.... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果已知,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。

.... type S 0..1 CodeableConceptTW 機構識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中的其中一個代碼。

.... system SΣ 0..1 uri 機構識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值。[應填入機構代碼]
Example General: 123456
... type S 1..1 CodeableConceptTW 機構類型
Binding: OrganizationType (example): 用於分類機構;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


... name SΣC 1..1 string 機構名稱。[應填入機構名稱]
... telecom SC 0..* ContactPoint 機構聯絡方式。
org-3: The telecom of an organization can never be of use 'home'
.... system SΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。

.... value SΣ 0..1 string 實際的聯絡方式之細節。[應填入機構電話]
.... use ?!Σ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。

... address SC 0..1 AddressTW 機構所在地址。
org-2: An address of an organization can never be of use 'home'
.... Slices for extension Content/Rules for all slices
..... room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


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


Example General: both
.... text Σ 0..1 string 地址的文字表述。[應填入機構地址]
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... postalCode SΣ 0..1 string 郵遞區號
Example General: 9132
..... Slices for extension Content/Rules for all slices
...... PostalCode S 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
....... extension 0..0
....... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
....... value[x] S 0..1 CodeableConceptTW 擴充的資料項目的內容值
........ Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
......... 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個字母代碼)。
... contact S 0..* BackboneElement 某一用途的機構聯絡方式
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Organization.typeexampleOrganizationType
http://hl7.org/fhir/ValueSet/organization-type
from the FHIR Standard
Organization.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Organization.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard
Organization.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Organization.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* TWCoreOrganization 機構的資訊
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Organization紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Organization Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 0..1 Narrative Organization Resource之內容摘要以供人閱讀
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 0..* Identifier 跨多個系統中識別此機構
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果已知,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。

.... type S 0..1 CodeableConceptTW 機構識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中的其中一個代碼。

.... system SΣ 0..1 uri 機構識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值。[應填入機構代碼]
Example General: 123456
.... period Σ 0..1 Period 此機構識別碼(identifier)的使用效期
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... active ?!SΣ 0..1 boolean 此機構的紀錄是否仍在使用中
... type S 1..1 CodeableConceptTW 機構類型
Binding: OrganizationType (example): 用於分類機構;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


... name SΣC 1..1 string 機構名稱。[應填入機構名稱]
... alias 0..* string 此機構目前或過去已知的其他(多個)名稱
... telecom SC 0..* ContactPoint 機構聯絡方式。
org-3: The telecom of an organization can never be of use 'home'
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... system SΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。

.... value SΣ 0..1 string 實際的聯絡方式之細節。[應填入機構電話]
.... use ?!Σ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。

.... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
.... period Σ 0..1 Period 此聯絡方式的使用效期
... address SC 0..1 AddressTW 機構所在地址。
org-2: An address of an organization can never be of use 'home'
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


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


Example General: both
.... text Σ 0..1 string 地址的文字表述。[應填入機構地址]
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... state Σ 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
.... postalCode SΣ 0..1 string 郵遞區號
Example General: 9132
..... id 0..1 string xml:id(或JSON格式)。
..... Slices for extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... 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
....... 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
......... 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"}
... partOf Σ 0..1 Reference(TW Core Organization) 此機構屬於哪個更高層次機構的一部分
... contact S 0..* BackboneElement 某一用途的機構聯絡方式
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... purpose 0..1 CodeableConceptTW 聯絡的型別
Binding: ContactEntityType (extensible): 你所聯絡之聯絡人的聯絡方式用途;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... name 0..1 HumanName 聯絡人名字
.... telecom 0..* ContactPoint 聯絡人的詳細聯絡方式(例如:電話、電子郵件等)。
.... address 0..1 AddressTW 聯絡人的到訪或郵政地址
... endpoint 0..* Reference(Endpoint) 存取此Organization的技術服務的終端(endpoints)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Organization.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Organization.typeexampleOrganizationType
http://hl7.org/fhir/ValueSet/organization-type
from the FHIR Standard
Organization.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Organization.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard
Organization.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Organization.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
Organization.contact.purposeextensibleContactEntityType
http://hl7.org/fhir/ValueSet/contactentity-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()

This structure is derived from TWCoreOrganization

Summary

Mandatory: 2 elements(1 nested mandatory element)
Must-Support: 2 elements

Differential View

This structure is derived from TWCoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..* TWCoreOrganization 機構的資訊
... identifier
.... value 1..1 string 唯一值。[應填入機構代碼]
... type 1..1 CodeableConceptTW 機構類型
... name 1..1 string 機構名稱。[應填入機構名稱]
.... value 0..1 string 實際的聯絡方式之細節。[應填入機構電話]
... address S 0..1 AddressTW 機構所在地址。
.... text 0..1 string 地址的文字表述。[應填入機構地址]
... contact S 0..* BackboneElement 某一用途的機構聯絡方式

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* TWCoreOrganization 機構的資訊
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 0..* Identifier 跨多個系統中識別此機構
.... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果已知,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。

.... type S 0..1 CodeableConceptTW 機構識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中的其中一個代碼。

.... system SΣ 0..1 uri 機構識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值。[應填入機構代碼]
Example General: 123456
... type S 1..1 CodeableConceptTW 機構類型
Binding: OrganizationType (example): 用於分類機構;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


... name SΣC 1..1 string 機構名稱。[應填入機構名稱]
... telecom SC 0..* ContactPoint 機構聯絡方式。
org-3: The telecom of an organization can never be of use 'home'
.... system SΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。

.... value SΣ 0..1 string 實際的聯絡方式之細節。[應填入機構電話]
.... use ?!Σ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。

... address SC 0..1 AddressTW 機構所在地址。
org-2: An address of an organization can never be of use 'home'
.... Slices for extension Content/Rules for all slices
..... room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


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


Example General: both
.... text Σ 0..1 string 地址的文字表述。[應填入機構地址]
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... postalCode SΣ 0..1 string 郵遞區號
Example General: 9132
..... Slices for extension Content/Rules for all slices
...... PostalCode S 0..1 (Complex) 臺灣郵遞區號
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code
....... extension 0..0
....... url 1..1 uri "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"
....... value[x] S 0..1 CodeableConceptTW 擴充的資料項目的內容值
........ Slices for coding S 0..* CodingTW 由專門術語系統(terminology system)定義的代碼
Slice: Unordered, Open by pattern:system
......... 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個字母代碼)。
... contact S 0..* BackboneElement 某一用途的機構聯絡方式
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Organization.typeexampleOrganizationType
http://hl7.org/fhir/ValueSet/organization-type
from the FHIR Standard
Organization.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Organization.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard
Organization.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Organization.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* TWCoreOrganization 機構的資訊
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Organization紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Organization Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 0..1 Narrative Organization Resource之內容摘要以供人閱讀
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier SΣC 0..* Identifier 跨多個系統中識別此機構
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... use ?!SΣ 0..1 code usual | official | temp | secondary | old (如果知道)
Binding: IdentifierUse (required): 如果已知,請說明此識別碼的目的;應填入所綁定值集中的其中一個代碼。

.... type S 0..1 CodeableConceptTW 機構識別碼(identifier)的型別說明
Binding: IdentifierType + 臺灣衛福部資訊處識別碼類型值集 (extensible): 識別碼的型別,用於決定特定目的所適用的識別碼;應填入所綁定值集中的其中一個代碼。

.... system SΣ 0..1 uri 機構識別碼(identifier)的命名空間(namespace),可至[twTerminology](https://fhir.mohw.gov.tw/ts/namingsystem.jsp?status=active&type=0)申請或查詢命名系統。
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 唯一值。[應填入機構代碼]
Example General: 123456
.... period Σ 0..1 Period 此機構識別碼(identifier)的使用效期
.... assigner Σ 0..1 Reference(TW Core Organization) 簽發identifier的機構(可以只是文字表述)
... active ?!SΣ 0..1 boolean 此機構的紀錄是否仍在使用中
... type S 1..1 CodeableConceptTW 機構類型
Binding: OrganizationType (example): 用於分類機構;可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。


... name SΣC 1..1 string 機構名稱。[應填入機構名稱]
... alias 0..* string 此機構目前或過去已知的其他(多個)名稱
... telecom SC 0..* ContactPoint 機構聯絡方式。
org-3: The telecom of an organization can never be of use 'home'
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
.... system SΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。

.... value SΣ 0..1 string 實際的聯絡方式之細節。[應填入機構電話]
.... use ?!Σ 0..1 code home | work | temp | old | mobile-此聯絡方式的用途
Binding: ContactPointUse (required): 應填入所綁定值集中的其中一個代碼。

.... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
.... period Σ 0..1 Period 此聯絡方式的使用效期
... address SC 0..1 AddressTW 機構所在地址。
org-2: An address of an organization can never be of use 'home'
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... room S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room
..... floor S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor
..... number S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number
..... alley S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley
..... lane S 0..1 string 巷/衖
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane
..... section S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section
..... neighborhood S 0..1 string
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood
..... village S 0..1 string 村(里)
URL: https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village
.... use ?!SΣ 0..1 code home | work | temp | old | billing - 此地址的用途
Binding: AddressUse (required): 應填入AddressUse值集中的其中一個代碼


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


Example General: both
.... text Σ 0..1 string 地址的文字表述。[應填入機構地址]
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ 0..1 string 路/街
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ 0..1 string 鄉/鎮/市/區,定義上與國際的等級一致。原文為:Name of city, town etc.。
Example General: Erewhon
.... district SΣ 0..1 string 縣/市,定義上與國際的等級一致。原文為:District name (aka county)。
Example General: Madison
.... state Σ 0..1 string 國家的子單位(縮寫也可以)。原文為:Sub-unit of country (abbreviations ok)。
.... postalCode SΣ 0..1 string 郵遞區號
Example General: 9132
..... id 0..1 string xml:id(或JSON格式)。
..... Slices for extension 0..* Extension 擴充的資料項目
Slice: Unordered, Open by value:url
...... 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
....... 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
......... 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"}
... partOf Σ 0..1 Reference(TW Core Organization) 此機構屬於哪個更高層次機構的一部分
... contact S 0..* BackboneElement 某一用途的機構聯絡方式
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... purpose 0..1 CodeableConceptTW 聯絡的型別
Binding: ContactEntityType (extensible): 你所聯絡之聯絡人的聯絡方式用途;應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。

.... name 0..1 HumanName 聯絡人名字
.... telecom 0..* ContactPoint 聯絡人的詳細聯絡方式(例如:電話、電子郵件等)。
.... address 0..1 AddressTW 聯絡人的到訪或郵政地址
... endpoint 0..* Reference(Endpoint) 存取此Organization的技術服務的終端(endpoints)

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Organization.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier.typeextensibleTWIdentifierType
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/identifier-type-tw
Organization.typeexampleOrganizationType
http://hl7.org/fhir/ValueSet/organization-type
from the FHIR Standard
Organization.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Organization.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard
Organization.address.userequiredAddressUse
http://hl7.org/fhir/ValueSet/address-use|4.0.1
from the FHIR Standard
Organization.address.typerequiredAddressType
http://hl7.org/fhir/ValueSet/address-type|4.0.1
from the FHIR Standard
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode3requiredTWPostalCode3
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code3-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode5requiredTWPostalCode5
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code5-tw
Organization.address.postalCode.extension:PostalCode.value[x].coding:PostalCode6requiredTWPostalCode6
https://twcore.mohw.gov.tw/ig/twcore/ValueSet/postal-code6-tw
Organization.contact.purposeextensibleContactEntityType
http://hl7.org/fhir/ValueSet/contactentity-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()

This structure is derived from TWCoreOrganization

Summary

Mandatory: 2 elements(1 nested mandatory element)
Must-Support: 2 elements

 

Other representations of profile: CSV, Excel, Schematron