HL7® Serious Med FHIR® Core Implementation Guide
1.0.0 - ci-build

HL7® Serious Med FHIR® Core Implementation Guide - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: SmLocation

Official URL: https://whcater.github.io/serious-med-ig/StructureDefinition/sm-location Version: 1.0.0
Draft as of 2024-11-11 Computable Name: SmLocation

地点(Location)

Usage:

Formal Views of Profile Content

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

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* Location 用于描述一个实体地点的详细信息和位置信息
... id 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Location纪录,通常又称为逻辑性ID。
... language 0..1 code 用以表述Location Resource内容的语言。
Binding: CommonLanguages (preferred): 人类语言;鼓励使用CommonLanguages代码表中的代码,但不强制一定要使用此代码表,你也可使用其他代码表的代码或单纯以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-CN
... text 0..1 Narrative Location Resource之内容摘要以供人阅读
... extension 0..* Extension 扩展字段
... modifierExtension 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的意涵,需特别留意。
... identifier 0..* Identifier 地点的唯一识别号
... 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..* CodeableConcept 执行的功能类型
Binding: ServiceDeliveryLocationRoleType (extensible): 应填入所绑定值集中的其中一个代码。

... telecom S 0..* ContactPoint 地点的联络细节
.... system S 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 SmAddress 实体地点
... physicalType 0..1 CodeableConcept 绝对的地理位置
Binding: LocationType (example): 可参考所绑定值集,但此值集只是针对这个栏位的一个可能值的范例,不预期也不鼓励使用者一定要使用此值集的代码。

... position 0..1 BackboneElement 绝对地理位置
.... longitude 1..1 decimal 以 WGS84 为基准的经度
.... latitude 1..1 decimal 以 WGS84 为基准的纬度
.... altitude 0..1 decimal 以 WGS84 为基准的海拔高度
... managingOrganization S 0..1 Reference(SmOrganization) 负责地点的提供与维护之机构
... partOf 0..1 Reference(SmLocation) 此地点是另一个地点的一部分
... hoursOfOperation 0..* BackboneElement 这个地点通常在一个星期的哪些日子/时间开放?
.... 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 (Differential)

PathConformanceValueSetURI
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
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
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* Location 用于描述一个实体地点的详细信息和位置信息
... id Σ 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Location纪录,通常又称为逻辑性ID。
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code 用以表述Location Resource内容的语言。
Binding: CommonLanguages (preferred): 人类语言;鼓励使用CommonLanguages代码表中的代码,但不强制一定要使用此代码表,你也可使用其他代码表的代码或单纯以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-CN
... contained 0..* Resource 内嵌的(contained)、行内的Resources
... extension 0..* Extension 扩展字段
... modifierExtension ?! 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的意涵,需特别留意。
... identifier Σ 0..* Identifier 地点的唯一识别号
... 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..* CodeableConcept 执行的功能类型
Binding: ServiceDeliveryLocationRoleType (extensible): 应填入所绑定值集中的其中一个代码。


... 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): 此联络方式的用途;应填入所绑定值集中的其中一个代码。

.... rank Σ 0..1 positiveInt 具体说明偏好的使用顺序(1=最高优先顺序)
.... period SΣ 0..1 Period 此联络方式的使用效期
... address S 0..1 SmAddress 实体地点
... physicalType Σ 0..1 CodeableConcept 绝对的地理位置
Binding: LocationType (example): 可参考所绑定值集,但此值集只是针对这个栏位的一个可能值的范例,不预期也不鼓励使用者一定要使用此值集的代码。

... position 0..1 BackboneElement 绝对地理位置
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... longitude 1..1 decimal 以 WGS84 为基准的经度
.... latitude 1..1 decimal 以 WGS84 为基准的纬度
.... altitude 0..1 decimal 以 WGS84 为基准的海拔高度
... managingOrganization SΣ 0..1 Reference(SmOrganization) 负责地点的提供与维护之机构
... partOf 0..1 Reference(SmLocation) 此地点是另一个地点的一部分
... hoursOfOperation 0..* BackboneElement 这个地点通常在一个星期的哪些日子/时间开放?
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* Location 用于描述一个实体地点的详细信息和位置信息
... id Σ 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Location纪录,通常又称为逻辑性ID。
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Location Resource之内容摘要以供人阅读
... contained 0..* Resource 内嵌的(contained)、行内的Resources
... extension 0..* Extension 扩展字段
... modifierExtension ?! 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的意涵,需特别留意。
... identifier Σ 0..* Identifier 地点的唯一识别号
... 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..* CodeableConcept 执行的功能类型
Binding: ServiceDeliveryLocationRoleType (extensible): 应填入所绑定值集中的其中一个代码。


... telecom S 0..* ContactPoint 地点的联络细节
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
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 SmAddress 实体地点
... physicalType Σ 0..1 CodeableConcept 绝对的地理位置
Binding: LocationType (example): 可参考所绑定值集,但此值集只是针对这个栏位的一个可能值的范例,不预期也不鼓励使用者一定要使用此值集的代码。

... position 0..1 BackboneElement 绝对地理位置
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... longitude 1..1 decimal 以 WGS84 为基准的经度
.... latitude 1..1 decimal 以 WGS84 为基准的纬度
.... altitude 0..1 decimal 以 WGS84 为基准的海拔高度
... managingOrganization SΣ 0..1 Reference(SmOrganization) 负责地点的提供与维护之机构
... partOf 0..1 Reference(SmLocation) 此地点是另一个地点的一部分
... hoursOfOperation 0..* BackboneElement 这个地点通常在一个星期的哪些日子/时间开放?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.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()

Differential View

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* Location 用于描述一个实体地点的详细信息和位置信息
... id 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Location纪录,通常又称为逻辑性ID。
... language 0..1 code 用以表述Location Resource内容的语言。
Binding: CommonLanguages (preferred): 人类语言;鼓励使用CommonLanguages代码表中的代码,但不强制一定要使用此代码表,你也可使用其他代码表的代码或单纯以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-CN
... text 0..1 Narrative Location Resource之内容摘要以供人阅读
... extension 0..* Extension 扩展字段
... modifierExtension 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的意涵,需特别留意。
... identifier 0..* Identifier 地点的唯一识别号
... 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..* CodeableConcept 执行的功能类型
Binding: ServiceDeliveryLocationRoleType (extensible): 应填入所绑定值集中的其中一个代码。

... telecom S 0..* ContactPoint 地点的联络细节
.... system S 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 SmAddress 实体地点
... physicalType 0..1 CodeableConcept 绝对的地理位置
Binding: LocationType (example): 可参考所绑定值集,但此值集只是针对这个栏位的一个可能值的范例,不预期也不鼓励使用者一定要使用此值集的代码。

... position 0..1 BackboneElement 绝对地理位置
.... longitude 1..1 decimal 以 WGS84 为基准的经度
.... latitude 1..1 decimal 以 WGS84 为基准的纬度
.... altitude 0..1 decimal 以 WGS84 为基准的海拔高度
... managingOrganization S 0..1 Reference(SmOrganization) 负责地点的提供与维护之机构
... partOf 0..1 Reference(SmLocation) 此地点是另一个地点的一部分
... hoursOfOperation 0..* BackboneElement 这个地点通常在一个星期的哪些日子/时间开放?
.... 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 (Differential)

PathConformanceValueSetURI
Location.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
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

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* Location 用于描述一个实体地点的详细信息和位置信息
... id Σ 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Location纪录,通常又称为逻辑性ID。
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... language 0..1 code 用以表述Location Resource内容的语言。
Binding: CommonLanguages (preferred): 人类语言;鼓励使用CommonLanguages代码表中的代码,但不强制一定要使用此代码表,你也可使用其他代码表的代码或单纯以文字表示。

Additional BindingsPurpose
AllLanguages Max Binding

Example Value: zh-CN
... contained 0..* Resource 内嵌的(contained)、行内的Resources
... extension 0..* Extension 扩展字段
... modifierExtension ?! 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的意涵,需特别留意。
... identifier Σ 0..* Identifier 地点的唯一识别号
... 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..* CodeableConcept 执行的功能类型
Binding: ServiceDeliveryLocationRoleType (extensible): 应填入所绑定值集中的其中一个代码。


... 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): 此联络方式的用途;应填入所绑定值集中的其中一个代码。

.... rank Σ 0..1 positiveInt 具体说明偏好的使用顺序(1=最高优先顺序)
.... period SΣ 0..1 Period 此联络方式的使用效期
... address S 0..1 SmAddress 实体地点
... physicalType Σ 0..1 CodeableConcept 绝对的地理位置
Binding: LocationType (example): 可参考所绑定值集,但此值集只是针对这个栏位的一个可能值的范例,不预期也不鼓励使用者一定要使用此值集的代码。

... position 0..1 BackboneElement 绝对地理位置
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... longitude 1..1 decimal 以 WGS84 为基准的经度
.... latitude 1..1 decimal 以 WGS84 为基准的纬度
.... altitude 0..1 decimal 以 WGS84 为基准的海拔高度
... managingOrganization SΣ 0..1 Reference(SmOrganization) 负责地点的提供与维护之机构
... partOf 0..1 Reference(SmLocation) 此地点是另一个地点的一部分
... hoursOfOperation 0..* BackboneElement 这个地点通常在一个星期的哪些日子/时间开放?
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..* Location 用于描述一个实体地点的详细信息和位置信息
... id Σ 0..1 id 不重复的ID用以识别储存在特定FHIR Server中的Location纪录,通常又称为逻辑性ID。
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Location Resource之内容摘要以供人阅读
... contained 0..* Resource 内嵌的(contained)、行内的Resources
... extension 0..* Extension 扩展字段
... modifierExtension ?! 0..* Extension 此扩展字段可能会完全修正或改变其他资料项目的意涵,需特别留意。
... identifier Σ 0..* Identifier 地点的唯一识别号
... 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..* CodeableConcept 执行的功能类型
Binding: ServiceDeliveryLocationRoleType (extensible): 应填入所绑定值集中的其中一个代码。


... telecom S 0..* ContactPoint 地点的联络细节
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
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 SmAddress 实体地点
... physicalType Σ 0..1 CodeableConcept 绝对的地理位置
Binding: LocationType (example): 可参考所绑定值集,但此值集只是针对这个栏位的一个可能值的范例,不预期也不鼓励使用者一定要使用此值集的代码。

... position 0..1 BackboneElement 绝对地理位置
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... longitude 1..1 decimal 以 WGS84 为基准的经度
.... latitude 1..1 decimal 以 WGS84 为基准的纬度
.... altitude 0..1 decimal 以 WGS84 为基准的海拔高度
... managingOrganization SΣ 0..1 Reference(SmOrganization) 负责地点的提供与维护之机构
... partOf 0..1 Reference(SmLocation) 此地点是另一个地点的一部分
... hoursOfOperation 0..* BackboneElement 这个地点通常在一个星期的哪些日子/时间开放?
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... 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.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()

 

Other representations of profile: CSV, Excel, Schematron