電子病歷交換單張實作指引(EMR-IG)
0.1.0 - ci-build

This page is part of the 電子病歷交換單張實作指引(EMR-IG) (v0.1.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

Resource Profile: 出院病摘-住院基本資料(Location)

Official URL: https://twcore.mohw.gov.tw/ig/emr/StructureDefinition/LocationDMS Version: 0.1.0
Active as of 2022-12-08 Computable Name: DischargeMedicalSummaryLocation

此Profiles用於出院病摘中的住院基本資料

Usage:

Formal Views of Profile Content

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

This structure is derived from TWCoreLocation

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* TWCoreLocation 實際地點的位置和詳細訊息
... identifier S 1..* Identifier 識別出院時的床號
.... system S 0..1 uri The namespace for the identifier value
.... value S 1..1 string 出院時的完整床號編碼。[應填入至出院病摘出院床號Bed No.]

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* TWCoreLocation 實際地點的位置和詳細訊息
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier SΣ 1..* Identifier 識別出院時的床號
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 出院時的完整床號編碼。[應填入至出院病摘出院床號Bed No.]
Example General: 123456
... name SΣ 1..1 string 人們使用的地點名稱
... telecom S 0..* ContactPoint 地點的聯絡細節
.... system SΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。

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

.... period SΣ 0..1 Period 此聯絡方式的使用效期
... address S 0..1 TWCoreAddress 實體地點
... managingOrganization SΣ 0..1 Reference(TW Core Organization | TW Core Organization Government | TW Core Organization | TW Core Organization Company) 負責地點的提供與維護之機構

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Location.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.statusrequiredLocationStatus
http://hl7.org/fhir/ValueSet/location-status|4.0.1
from the FHIR Standard
Location.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Location.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorLocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorLocationIf 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-4errorLocationIf 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-5errorLocationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceLocationA 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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* TWCoreLocation 實際地點的位置和詳細訊息
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Location紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Location Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 0..1 Narrative Location Resource之內容摘要以供人閱讀
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... extension 0..* Extension 擴充的資料項目
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier SΣ 1..* Identifier 識別出院時的床號
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 出院時的完整床號編碼。[應填入至出院病摘出院床號Bed No.]
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 0..1 code active | suspended | inactive
Binding: LocationStatus (required): 地點的狀態,指明該地點是否目前正在使用中;應填入所綁定值集中的其中一個代碼。

... operationalStatus Σ 0..1 Coding 地點的運營狀態(通常僅適用於床位 / 房間)
Binding: hl7VS-bedStatus (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

... name SΣ 1..1 string 人們使用的地點名稱
... alias 0..* string 這是一份地點過去或現在所使用的其他名稱的清單
... description Σ 0..1 string 關於地點的額外資訊,除了名稱之外,還可以提供更多的細節來幫助識別這個地點。
... mode Σ 0..1 code instance | kind
Binding: LocationMode (required): 表明為一個地點或是一個地點的類別;應填入所綁定值集中的其中一個代碼。

... type 0..* CodeableConceptTW 執行的功能類型
Binding: ServiceDeliveryLocationRoleType (extensible): 應填入所綁定值集中的其中一個代碼。


... telecom S 0..* ContactPoint 地點的聯絡細節
.... 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 ?!SΣ 0..1 code home | work | temp | old | mobile
Binding: ContactPointUse (required): 此聯絡方式的用途;應填入所綁定值集中的其中一個代碼。

.... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
.... period SΣ 0..1 Period 此聯絡方式的使用效期
... address S 0..1 TWCoreAddress 實體地點
... physicalType 0..1 CodeableConceptTW 絕對的地理位置
Binding: LocationType (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... position 0..1 BackboneElement 絕對地理位置
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... longitude 1..1 decimal 以 WGS84 為基準的經度
.... latitude 1..1 decimal 以 WGS84 為基準的緯度
.... altitude 0..1 decimal 以 WGS84 為基準的海拔高度
... managingOrganization SΣ 0..1 Reference(TW Core Organization | TW Core Organization Government | TW Core Organization | TW Core Organization Company) 負責地點的提供與維護之機構
... partOf 0..1 Reference(TW Core Location) 此地點是另一個地點的一部分
... hoursOfOperation 0..* BackboneElement 這個地點通常在一個星期的哪些日子/時間開放?
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... daysOfWeek 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): 應填入所綁定值集中的其中一個代碼。


.... allDay 0..1 boolean 此地點全天開放
.... openingTime 0..1 time 此地點的開放時間
.... closingTime 0..1 time 此地點的關閉時間
... availabilityExceptions 0..1 string 可用性例外情況說明
... endpoint 0..* Reference(Endpoint) 提供用於此地點運營服務的技術端點

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Location.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.statusrequiredLocationStatus
http://hl7.org/fhir/ValueSet/location-status|4.0.1
from the FHIR Standard
Location.operationalStatuspreferredHl7VSBedStatus
http://terminology.hl7.org/ValueSet/v2-0116
Location.moderequiredLocationMode
http://hl7.org/fhir/ValueSet/location-mode|4.0.1
from the FHIR Standard
Location.typeextensibleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
Location.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Location.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard
Location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
from the FHIR Standard
Location.hoursOfOperation.daysOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorLocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorLocationIf 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-4errorLocationIf 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-5errorLocationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceLocationA 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()

This structure is derived from TWCoreLocation

Summary

Mandatory: 2 elements
Must-Support: 3 elements

Differential View

This structure is derived from TWCoreLocation

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* TWCoreLocation 實際地點的位置和詳細訊息
... identifier S 1..* Identifier 識別出院時的床號
.... system S 0..1 uri The namespace for the identifier value
.... value S 1..1 string 出院時的完整床號編碼。[應填入至出院病摘出院床號Bed No.]

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* TWCoreLocation 實際地點的位置和詳細訊息
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier SΣ 1..* Identifier 識別出院時的床號
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 出院時的完整床號編碼。[應填入至出院病摘出院床號Bed No.]
Example General: 123456
... name SΣ 1..1 string 人們使用的地點名稱
... telecom S 0..* ContactPoint 地點的聯絡細節
.... system SΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): 應填入所綁定值集中的其中一個代碼。

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

.... period SΣ 0..1 Period 此聯絡方式的使用效期
... address S 0..1 TWCoreAddress 實體地點
... managingOrganization SΣ 0..1 Reference(TW Core Organization | TW Core Organization Government | TW Core Organization | TW Core Organization Company) 負責地點的提供與維護之機構

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Location.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.statusrequiredLocationStatus
http://hl7.org/fhir/ValueSet/location-status|4.0.1
from the FHIR Standard
Location.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Location.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorLocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorLocationIf 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-4errorLocationIf 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-5errorLocationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceLocationA 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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* TWCoreLocation 實際地點的位置和詳細訊息
... id Σ 0..1 id 不重複的ID用以識別儲存在特定FHIR Server中的Location紀錄,通常又稱為邏輯性ID。
... meta Σ 0..1 Meta 此Location Resource的metadata
... implicitRules ?!Σ 0..1 uri 創建此內容所依據的一組規則
... text 0..1 Narrative Location Resource之內容摘要以供人閱讀
... contained 0..* Resource 內嵌的(contained)、行內的Resources
... extension 0..* Extension 擴充的資料項目
... modifierExtension ?! 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
... identifier SΣ 1..* Identifier 識別出院時的床號
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

.... system SΣ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value SΣ 1..1 string 出院時的完整床號編碼。[應填入至出院病摘出院床號Bed No.]
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... status ?!SΣ 0..1 code active | suspended | inactive
Binding: LocationStatus (required): 地點的狀態,指明該地點是否目前正在使用中;應填入所綁定值集中的其中一個代碼。

... operationalStatus Σ 0..1 Coding 地點的運營狀態(通常僅適用於床位 / 房間)
Binding: hl7VS-bedStatus (preferred): 鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。

... name SΣ 1..1 string 人們使用的地點名稱
... alias 0..* string 這是一份地點過去或現在所使用的其他名稱的清單
... description Σ 0..1 string 關於地點的額外資訊,除了名稱之外,還可以提供更多的細節來幫助識別這個地點。
... mode Σ 0..1 code instance | kind
Binding: LocationMode (required): 表明為一個地點或是一個地點的類別;應填入所綁定值集中的其中一個代碼。

... type 0..* CodeableConceptTW 執行的功能類型
Binding: ServiceDeliveryLocationRoleType (extensible): 應填入所綁定值集中的其中一個代碼。


... telecom S 0..* ContactPoint 地點的聯絡細節
.... 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 ?!SΣ 0..1 code home | work | temp | old | mobile
Binding: ContactPointUse (required): 此聯絡方式的用途;應填入所綁定值集中的其中一個代碼。

.... rank Σ 0..1 positiveInt 具體說明偏好的使用順序(1=最高優先順序)
.... period SΣ 0..1 Period 此聯絡方式的使用效期
... address S 0..1 TWCoreAddress 實體地點
... physicalType 0..1 CodeableConceptTW 絕對的地理位置
Binding: LocationType (example): 可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。

... position 0..1 BackboneElement 絕對地理位置
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... longitude 1..1 decimal 以 WGS84 為基準的經度
.... latitude 1..1 decimal 以 WGS84 為基準的緯度
.... altitude 0..1 decimal 以 WGS84 為基準的海拔高度
... managingOrganization SΣ 0..1 Reference(TW Core Organization | TW Core Organization Government | TW Core Organization | TW Core Organization Company) 負責地點的提供與維護之機構
... partOf 0..1 Reference(TW Core Location) 此地點是另一個地點的一部分
... hoursOfOperation 0..* BackboneElement 這個地點通常在一個星期的哪些日子/時間開放?
.... id 0..1 string 唯一可識別ID,以供資料項目間相互參照。
.... extension 0..* Extension 擴充的資料項目
.... modifierExtension ?!Σ 0..* Extension 此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。
.... daysOfWeek 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required): 應填入所綁定值集中的其中一個代碼。


.... allDay 0..1 boolean 此地點全天開放
.... openingTime 0..1 time 此地點的開放時間
.... closingTime 0..1 time 此地點的關閉時間
... availabilityExceptions 0..1 string 可用性例外情況說明
... endpoint 0..* Reference(Endpoint) 提供用於此地點運營服務的技術端點

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Location.identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Location.identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Location.statusrequiredLocationStatus
http://hl7.org/fhir/ValueSet/location-status|4.0.1
from the FHIR Standard
Location.operationalStatuspreferredHl7VSBedStatus
http://terminology.hl7.org/ValueSet/v2-0116
Location.moderequiredLocationMode
http://hl7.org/fhir/ValueSet/location-mode|4.0.1
from the FHIR Standard
Location.typeextensibleServiceDeliveryLocationRoleType
http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType
Location.telecom.systemrequiredContactPointSystem
http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1
from the FHIR Standard
Location.telecom.userequiredContactPointUse
http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1
from the FHIR Standard
Location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
from the FHIR Standard
Location.hoursOfOperation.daysOfWeekrequiredDaysOfWeek
http://hl7.org/fhir/ValueSet/days-of-week|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorLocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorLocationIf 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-4errorLocationIf 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-5errorLocationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceLocationA 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()

This structure is derived from TWCoreLocation

Summary

Mandatory: 2 elements
Must-Support: 3 elements

 

Other representations of profile: CSV, Excel, Schematron