INTEROPen CareConnect Base STU3 Implementation Guide
3.0.0 - CI Build

INTEROPen CareConnect Base STU3 Implementation Guide - Local Development build (v3.0.0). See the Directory of published versions

StructureDefinition: CareConnect-Location-1

The Location resource provides information and details on the physical location and the services provided.

The official URL for this profile is:

https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1

Formal Views of Profile Content

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

This structure is derived from Location

Summary

Mandatory: 0 element (2 nested mandatory elements)
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Location.identifier is sliced based on the value of value:system (Open at End)

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*Location
... identifier 0..*(Slice Definition)Slice: Unordered, Open At End by value:system
.... identifier:odsSiteCode 0..1IdentifierODS Site code to identify the organisation at site level
..... system 1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value 1..1stringThe ODS Site code name, to reflect the code used
..... assigner 0..1Reference(CareConnect-Organization-1)
... managingOrganization 0..1Reference(CareConnect-Organization-1)
... partOf 0..1Reference(CareConnect-Location-1)

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location I0..*LocationDetails and position information for a physical place
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*(Slice Definition)Unique code or number identifying the location to its users
Slice: Unordered, Open At End by value:system
.... identifier:odsSiteCode Σ0..1IdentifierODS Site code to identify the organisation at site level
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
..... system Σ1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value Σ1..1stringThe ODS Site code name, to reflect the code used
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(CareConnect-Organization-1)Organization that issued id (may be just text)
... status ?!Σ0..1codeactive | suspended | inactive
Binding: LocationStatus (required)
... operationalStatus Σ0..1CodingThe Operational status of the location (typically only for a bed/room)
Binding: v2 Bed Status (preferred)
... name Σ0..1stringName of the location as used by humans
... alias 0..*stringA list of alternate names that the location is known as, or was known as in the past
... description Σ0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
... mode ?!Σ0..1codeinstance | kind
Binding: LocationMode (required)
... type Σ0..1CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (extensible)
... telecom 0..*ContactPointContact details of the location
... address 0..1AddressPhysical location
... physicalType Σ0..1CodeableConceptPhysical form of the location
Binding: LocationType (example)
... position I0..1BackboneElementThe absolute geographic location
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... longitude 1..1decimalLongitude with WGS84 datum
.... latitude 1..1decimalLatitude with WGS84 datum
.... altitude 0..1decimalAltitude with WGS84 datum
... managingOrganization Σ0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(CareConnect-Location-1)Another Location this one is physically part of
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the location

doco Documentation for this format

This structure is derived from Location

Summary

Mandatory: 0 element (2 nested mandatory elements)
Fixed Value: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Location.identifier is sliced based on the value of value:system (Open at End)

Differential View

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*Location
... identifier 0..*(Slice Definition)Slice: Unordered, Open At End by value:system
.... identifier:odsSiteCode 0..1IdentifierODS Site code to identify the organisation at site level
..... system 1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value 1..1stringThe ODS Site code name, to reflect the code used
..... assigner 0..1Reference(CareConnect-Organization-1)
... managingOrganization 0..1Reference(CareConnect-Organization-1)
... partOf 0..1Reference(CareConnect-Location-1)

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location I0..*LocationDetails and position information for a physical place
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*(Slice Definition)Unique code or number identifying the location to its users
Slice: Unordered, Open At End by value:system
.... identifier:odsSiteCode Σ0..1IdentifierODS Site code to identify the organisation at site level
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
..... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
..... system Σ1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value Σ1..1stringThe ODS Site code name, to reflect the code used
Example General: 123456
..... period Σ0..1PeriodTime period when id is/was valid for use
..... assigner Σ0..1Reference(CareConnect-Organization-1)Organization that issued id (may be just text)
... status ?!Σ0..1codeactive | suspended | inactive
Binding: LocationStatus (required)
... operationalStatus Σ0..1CodingThe Operational status of the location (typically only for a bed/room)
Binding: v2 Bed Status (preferred)
... name Σ0..1stringName of the location as used by humans
... alias 0..*stringA list of alternate names that the location is known as, or was known as in the past
... description Σ0..1stringAdditional details about the location that could be displayed as further information to identify the location beyond its name
... mode ?!Σ0..1codeinstance | kind
Binding: LocationMode (required)
... type Σ0..1CodeableConceptType of function performed
Binding: ServiceDeliveryLocationRoleType (extensible)
... telecom 0..*ContactPointContact details of the location
... address 0..1AddressPhysical location
... physicalType Σ0..1CodeableConceptPhysical form of the location
Binding: LocationType (example)
... position I0..1BackboneElementThe absolute geographic location
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... longitude 1..1decimalLongitude with WGS84 datum
.... latitude 1..1decimalLatitude with WGS84 datum
.... altitude 0..1decimalAltitude with WGS84 datum
... managingOrganization Σ0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
... partOf 0..1Reference(CareConnect-Location-1)Another Location this one is physically part of
... endpoint 0..*Reference(Endpoint)Technical endpoints providing access to services operated for the location

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

Terminology Bindings

PathConformanceValueSet
Location.languageextensibleCommon Languages
Max Binding: All Languages
Location.identifier:odsSiteCode.userequiredIdentifierUse
Location.identifier:odsSiteCode.typeextensibleIdentifier Type Codes
Location.statusrequiredLocationStatus
Location.operationalStatuspreferredv2 Bed Status
Location.moderequiredLocationMode
Location.typeextensibleServiceDeliveryLocationRoleType
Location.physicalTypeexampleLocationType

Constraints

Constraints

IdPathDetailsRequirements
dom-2LocationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1LocationIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4LocationIf 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-3LocationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ele-1Location.positionAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())