Interweave Implementation Guide
0.1.0 - ci-build

Interweave Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the R4 profiles here.

Resource Profile: InterweaveLocation

Official URL: https://fhir.yhcr.nhs.uk/StructureDefinition/Interweave-Location Version: 0.1.0
Active as of 2024-07-17 Computable Name: InterweaveLocation

Interweave Location resource profile.

  Status: Active: Approved (STU)

Introduction

This profile sets minimum expectations for the Location resource, to record information on locations where care is provided.

Location coverage and references

  • A Data Provider MUST offer Location FHIR resources to represent its own locations
  • When referencing a Location then “reference” (url to a FHIR Resource) and “display” (name), MUST be populated
    • For an external location then the url could point to an ad-hoc Contained Resource
    • In addition the “identifier” in the reference MAY also be populated. This is not as straightforward as for Organisations (where the ODS Code is widely accepted). However for some locations an ODS Site Code may be relevant, or otherwise it may still be useful to provide a local identifier.

Location structure and hierarchy

The goal for regional sharing of locations is not necessarily to build a detailed model of the real-world, but rather to provide a simple representation which is easy for Data Consumers to interpret and display. The purpose is to understand where a patient has been, give some insight into the type of services typically provided at that location, and provide contact details if further follow up is desired.

Therefore a 4-level model of site -> buillding -> ward -> room is proposed

All Data Providers must populate reference data for their own site(s) and, where relevant, buldings and wards:

  • Room-level detail may optionally be added if relevant (unlikely to be necessary for historical understanding, but may be relevant to inform attendance at future appointments)
  • Additional detail such as “bed” level of location detail is optional, may be onerous to keep up-to-date, and is not necessary for currently known regional sharing use-cases

When describing locations other than hospitals then there are a slightly different set of considerations:

  • It is rare to find a location as large and complex as a hospital, therefore the “site” level of detail will often be sufficient
  • Building, ward and Room-level detail may optionally be added only if relevant. (The phrase “ward” may be interpreted broadly as a “section of a facility” - for example a section of a care home, and not necessarily an actual hospital “ward”).
  • In non-acute settings activity is more likely to occur outside of institutions - for example in the persons’ home (typically modelled as a location Contained Resource)

A particular issue is making it easy and efficient for Data Consumers to understand the hierarchy.

  • The location “name” is used in references, and this needs to be usable standalone - without the need for Data Consumers to make multiple additional queries to follow a tree, just to meaningfully display where the patient is.

  • In practice this means:

    The location name must incorporate the hierarchy. For example “York Hospital: Jubilee Building: Ward 27: Room 4”

  • (In contrast just naming the location “Room 4” is meaningless to a consumer without further queries to follow the references, trace the tree, and assemble these details for themselves every time)

Mandatory fields

Bearing in mind the multiple scenarios above, a small subset of fields can be specified as mandatory:

  1. Name - The name of the location. Noting that, as per above, this must reflect any hierarchy for more informative display eg “York Hospital: Jubilee Building: Ward 27”
  2. Status - Should normally be “active”, and only active locations should be used in new references. However it may be necessary to retain locations at other statuses (eg inactive) if they have already been used in references
  3. Type - Must be populated to describe the type of services typically provided at this location. Please select a value that is as specific as possible to provide maximum information. See also further notes below.
  4. Physical Type - Standard FHIR code list. As noted in the introduction, any location structures should be kept simple with focus on site/ward/room, plus of course non-institutional locations such as “house” or “vehicle”

Must Support fields

In addition the following fields are “Must Support” - ie they must be populated if relevant and known:

  1. Identifier: Local Id - A local business identifier, over-and-above the name - to assist with more definitively identifying the location.
  2. Telecom - Eg phone and/or email details. Useful for getting in contact for further information
  3. Address - Must be provided if relevant (eg for Site and House). Not relevant for a Ward or Room. Just the current address for contact purposes, no history
  4. Managing Organisation - Must be provided for institutional locations ie Site / Ward / Room. Note: this will often be the same as the provenance of the message, but not necessarily if external locations are being referenced
  5. Part Of - To describe the hierarchy - this is a reference to the parent location where relevant. Required to link room -> ward -> building -> site

Optional fields

Other fields are optional and may be populated if known - on the understanding that not all data consumers will necessarily make use of them. Points of note include:

  • Mode - this must always be “instance”, and is preferably explicitly populated. “Instance” may be assumed if missing.
  • Identifier: ODS Site code - Some locations will have an ODS site code, in which case this should be included to help formally identify the site
  • Alias and Description - May be useful to provide additional information. Description might include information to assist visitors in finding the location - eg if being used for appointments.
  • Position - Currently there is no requirement to track exact geographical coordinates

Discouraged or Removed fields

  • Operational Status - Discouraged. As noted in the FHIR spec this is only relevant for beds / rooms, to indicate if they are undergoing housekeeping etc – relevant for a local care system, but not for tracking in a regional care record.
  • Endpoint - Removed. Technical endpoints are captured elsewhere (ie via the Participant Registry)

Further notes on Location “Type”

We always want to know what type of services are typically provided at the location - as this is useful (primarily for direct care) to help understand why the patient may have been going there. The standard code list has some very generic entries eg “Hospital”, “Community Location”, “Community Service Centre”, “Patient’s Residence”. These should cover most eventualities at a high level, plus there are some useful more specific entries focused on healthcare.

  • Please select the most specific code possible, to provide maximum context about the location to Data Consumers

  • The list is perhaps not ideal, and there might be better alternatives for the UK - for example based on the NHS Data Dictionary or PRSB standards. However the binding is specified as “extensible” by FHIR which means it is simply not possible to replace it with an alternative. We therefore invite proposed additions to this code list, to be curated regionally if you have additional suggestions

  • Alternatively please select the most relevant generic option and provide further detail in the “text” field. This will still be useful for other care professionals to read in a direct care scenario

Usage:

Formal Views of Profile Content

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

This structure is derived from CareConnect-Location-1

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*CareConnect-Location-1Details and position information for a physical place
... id S0..1idLogical id of this artifact
... meta
.... versionId S0..1idVersion specific identifier
.... lastUpdated S0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile S0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security 0..*CodingDISCOURAGED - may not be honoured by Data Consumers
.... Slices for tag 0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
..... tag:Source S0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code S1..1codeThe Data Provider Id of the system supplying the data
...... display S1..1stringName of the system supplying the data
..... tag:Provenance S0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code S1..1codeThe ODS Code of the organisation responsible for the data
...... display S1..1stringName of the organisation supplying the data
... implicitRules 0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... identifier:odsSiteCode 0..1IdentifierODS Site code to identify the organisation at site level. Should be provided for locations that have one
.... system S1..1uriODS Code
.... value S1..1stringThe ODS Site code name, to reflect the code used
... identifier:localIdentifier S0..1IdentifierUnique code or number identifying the location to its users
.... system S1..1uriThe namespace for the identifier value
Fixed Value: https://fhir.yhcr.nhs.uk/Id/local-location-identifier
.... value S1..1stringThe Local location Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique
.... period 0..0
... status S1..1codeactive | suspended | inactive
... operationalStatus 0..1CodingDISCOURAGED - this level of operational detail may be difficult to keep up-to-date and is not necessary for regional sharing
... name S1..1stringName of the location as used by humans. Does not need to be unique, but preferably incorporates any hierarchy for more meaningful display. Eg 'Green Road Hospital, Ward 27, Room 5
... mode 0..1codeAlways a specific instance of a location (not a generic class of location). Assume 'instance' if missing
Fixed Value: instance
... type S1..1CodeableConceptType of function performed. Useful to indicate the type of activity that is likely to have happened there. EXTENSIBLE on request, eg to cover other care settings
Binding: ServiceDeliveryLocationRoleType (extensible)
.... coding
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 1..1stringRepresentation defined by the system
... telecom S0..*ContactPointContact details of the location. Very useful for getting in touch to find out more.
.... system S1..1codephone | fax | email | pager | url | sms | other
.... value S1..1stringThe actual contact point details
.... use 0..1codeDISCOURAGED: Not really relevant here - it is just the current telecom details of the location.
.... period 0..1PeriodDISCOURAGED: Preferably just relevant current details
... address S0..1AddressPhysical location. Required when relevant (not for ward or room)
.... use 0..1codeDISCOURAGED: Not really relevant here - it is just the current address of the location.
.... text 0..1stringDISCOURAGED: Please do not rely on this. Providers might not populate and Consumers might not use. Instead display the address based on the detailed elements.
.... line S0..*stringStreet name, number, direction & P.O. Box etc.
.... city S0..1stringName of city, town etc.
.... district S0..1stringDistrict name (aka county)
.... postalCode S0..1stringPostal code for area
.... period 0..1PeriodDISCOURAGED: Preferably just relevant current details
... physicalType S1..1CodeableConceptPhysical form of the location. Extensible by request if additional types needed
Binding: LocationType (required)
.... coding S1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 1..1stringRepresentation defined by the system
... managingOrganization S0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... partOf S0..1Reference(CareConnect-Location-1)Another Location this one is physically part of. Must be provided for Ward->Site and Room->Ward to build the hierarchy
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... endpoint 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Location.typeextensibleServiceDeliveryLocationRoleType
Location.physicalTyperequiredLocationType
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*CareConnect-Location-1Details and position information for a physical place
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierUnique 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. Should be provided for locations that have one
..... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system SΣ1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value SΣ1..1stringThe ODS Site code name, to reflect the code used
Example General: 123456
.... identifier:localIdentifier SΣ0..1IdentifierUnique code or number identifying the location to its users
..... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system SΣ1..1uriThe namespace for the identifier value
Fixed Value: https://fhir.yhcr.nhs.uk/Id/local-location-identifier
..... value SΣ1..1stringThe Local location Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique
Example General: 123456
... status ?!SΣ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingDISCOURAGED - this level of operational detail may be difficult to keep up-to-date and is not necessary for regional sharing
Binding: v2 Bed Status (preferred): The operational status if the location (where typically a bed/room)

... name SΣ1..1stringName of the location as used by humans. Does not need to be unique, but preferably incorporates any hierarchy for more meaningful display. Eg 'Green Road Hospital, Ward 27, Room 5
... mode ?!Σ0..1codeAlways a specific instance of a location (not a generic class of location). Assume 'instance' if missing
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.


Fixed Value: instance
... type SΣ1..1CodeableConceptType of function performed. Useful to indicate the type of activity that is likely to have happened there. EXTENSIBLE on request, eg to cover other care settings
Binding: ServiceDeliveryLocationRoleType (extensible)
... telecom S0..*ContactPointContact details of the location. Very useful for getting in touch to find out more.
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current telecom details of the location.
Binding: ContactPointUse (required): Use of contact point

.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
... address S0..1AddressPhysical location. Required when relevant (not for ward or room)
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current address of the location.
Binding: AddressUse (required): The use of an address


Example General: home
.... text Σ0..1stringDISCOURAGED: Please do not rely on this. Providers might not populate and Consumers might not use. Instead display the address based on the detailed elements.
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ0..1stringName of city, town etc.
Example General: Erewhon
.... district SΣ0..1stringDistrict name (aka county)
Example General: Madison
.... postalCode SΣ0..1stringPostal code for area
Example General: 9132
.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... physicalType SΣ1..1CodeableConceptPhysical form of the location. Extensible by request if additional types needed
Binding: LocationType (required)
.... coding SΣ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
... managingOrganization SΣ0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... partOf S0..1Reference(CareConnect-Location-1)Another Location this one is physically part of. Must be provided for Ward->Site and Room->Ward to build the hierarchy
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Location.meta.securityextensibleAll Security Labels
Location.meta.tagexampleCommon Tags
Location.meta.tag:SourceexampleCommon Tags
Location.meta.tag:ProvenanceexampleCommon Tags
Location.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
Location.identifier:odsSiteCode.userequiredIdentifierUse
Location.identifier:localIdentifier.userequiredIdentifierUse
Location.statusrequiredLocationStatus
Location.operationalStatuspreferredv2 Bed Status
Location.moderequiredFixed Value: instance
Location.typeextensibleServiceDeliveryLocationRoleType
Location.telecom.systemrequiredContactPointSystem
Location.telecom.userequiredContactPointUse
Location.address.userequiredAddressUse
Location.physicalTyperequiredLocationType

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorLocationIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
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
: contained.where(('#'+id in %resource.descendants().reference).not()).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()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*CareConnect-Location-1Details and position information for a physical place
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierUnique 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. Should be provided for locations that have one
..... 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): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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Σ1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value SΣ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)
.... identifier:localIdentifier SΣ0..1IdentifierUnique code or number identifying the location to its users
..... 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): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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Σ1..1uriThe namespace for the identifier value
Fixed Value: https://fhir.yhcr.nhs.uk/Id/local-location-identifier
..... value SΣ1..1stringThe Local location Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique
Example General: 123456
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingDISCOURAGED - this level of operational detail may be difficult to keep up-to-date and is not necessary for regional sharing
Binding: v2 Bed Status (preferred): The operational status if the location (where typically a bed/room)

... name SΣ1..1stringName of the location as used by humans. Does not need to be unique, but preferably incorporates any hierarchy for more meaningful display. Eg 'Green Road Hospital, Ward 27, Room 5
... 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..1codeAlways a specific instance of a location (not a generic class of location). Assume 'instance' if missing
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.


Fixed Value: instance
... type SΣ1..1CodeableConceptType of function performed. Useful to indicate the type of activity that is likely to have happened there. EXTENSIBLE on request, eg to cover other care settings
Binding: ServiceDeliveryLocationRoleType (extensible)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... telecom S0..*ContactPointContact details of the location. Very useful for getting in touch to find out more.
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current telecom details of the location.
Binding: ContactPointUse (required): Use of contact point

.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
... address S0..1AddressPhysical location. Required when relevant (not for ward or room)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current address of the location.
Binding: AddressUse (required): The use of an address


Example General: home
.... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal)


Example General: both
.... text Σ0..1stringDISCOURAGED: Please do not rely on this. Providers might not populate and Consumers might not use. Instead display the address based on the detailed elements.
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ0..1stringName of city, town etc.
Example General: Erewhon
.... district SΣ0..1stringDistrict name (aka county)
Example General: Madison
.... state Σ0..1stringSub-unit of country (abbreviations ok)
.... postalCode SΣ0..1stringPostal code for area
Example General: 9132
.... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... physicalType SΣ1..1CodeableConceptPhysical form of the location. Extensible by request if additional types needed
Binding: LocationType (required)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ1..1CodingCode defined by a terminology system
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... position 0..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 SΣ0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... partOf S0..1Reference(CareConnect-Location-1)Another Location this one is physically part of. Must be provided for Ward->Site and Room->Ward to build the hierarchy
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Location.meta.securityextensibleAll Security Labels
Location.meta.tagexampleCommon Tags
Location.meta.tag:SourceexampleCommon Tags
Location.meta.tag:ProvenanceexampleCommon Tags
Location.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
Location.identifier:odsSiteCode.userequiredIdentifierUse
Location.identifier:odsSiteCode.typeextensibleIdentifier Type Codes
Location.identifier:localIdentifier.userequiredIdentifierUse
Location.identifier:localIdentifier.typeextensibleIdentifier Type Codes
Location.statusrequiredLocationStatus
Location.operationalStatuspreferredv2 Bed Status
Location.moderequiredFixed Value: instance
Location.typeextensibleServiceDeliveryLocationRoleType
Location.telecom.systemrequiredContactPointSystem
Location.telecom.userequiredContactPointUse
Location.address.userequiredAddressUse
Location.address.typerequiredAddressType
Location.physicalTyperequiredLocationType

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() | (children().count() > id.count())

This structure is derived from CareConnect-Location-1

Summary

Mandatory: 8 elements (17 nested mandatory elements)
Must-Support: 30 elements
Fixed Value: 4 elements
Prohibited: 2 elements

Slices

This structure defines the following Slices:

  • The element Location.meta.tag is sliced based on the value of value:system

Differential View

This structure is derived from CareConnect-Location-1

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*CareConnect-Location-1Details and position information for a physical place
... id S0..1idLogical id of this artifact
... meta
.... versionId S0..1idVersion specific identifier
.... lastUpdated S0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile S0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security 0..*CodingDISCOURAGED - may not be honoured by Data Consumers
.... Slices for tag 0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
..... tag:Source S0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code S1..1codeThe Data Provider Id of the system supplying the data
...... display S1..1stringName of the system supplying the data
..... tag:Provenance S0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
...... system 1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code S1..1codeThe ODS Code of the organisation responsible for the data
...... display S1..1stringName of the organisation supplying the data
... implicitRules 0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... identifier:odsSiteCode 0..1IdentifierODS Site code to identify the organisation at site level. Should be provided for locations that have one
.... system S1..1uriODS Code
.... value S1..1stringThe ODS Site code name, to reflect the code used
... identifier:localIdentifier S0..1IdentifierUnique code or number identifying the location to its users
.... system S1..1uriThe namespace for the identifier value
Fixed Value: https://fhir.yhcr.nhs.uk/Id/local-location-identifier
.... value S1..1stringThe Local location Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique
.... period 0..0
... status S1..1codeactive | suspended | inactive
... operationalStatus 0..1CodingDISCOURAGED - this level of operational detail may be difficult to keep up-to-date and is not necessary for regional sharing
... name S1..1stringName of the location as used by humans. Does not need to be unique, but preferably incorporates any hierarchy for more meaningful display. Eg 'Green Road Hospital, Ward 27, Room 5
... mode 0..1codeAlways a specific instance of a location (not a generic class of location). Assume 'instance' if missing
Fixed Value: instance
... type S1..1CodeableConceptType of function performed. Useful to indicate the type of activity that is likely to have happened there. EXTENSIBLE on request, eg to cover other care settings
Binding: ServiceDeliveryLocationRoleType (extensible)
.... coding
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 1..1stringRepresentation defined by the system
... telecom S0..*ContactPointContact details of the location. Very useful for getting in touch to find out more.
.... system S1..1codephone | fax | email | pager | url | sms | other
.... value S1..1stringThe actual contact point details
.... use 0..1codeDISCOURAGED: Not really relevant here - it is just the current telecom details of the location.
.... period 0..1PeriodDISCOURAGED: Preferably just relevant current details
... address S0..1AddressPhysical location. Required when relevant (not for ward or room)
.... use 0..1codeDISCOURAGED: Not really relevant here - it is just the current address of the location.
.... text 0..1stringDISCOURAGED: Please do not rely on this. Providers might not populate and Consumers might not use. Instead display the address based on the detailed elements.
.... line S0..*stringStreet name, number, direction & P.O. Box etc.
.... city S0..1stringName of city, town etc.
.... district S0..1stringDistrict name (aka county)
.... postalCode S0..1stringPostal code for area
.... period 0..1PeriodDISCOURAGED: Preferably just relevant current details
... physicalType S1..1CodeableConceptPhysical form of the location. Extensible by request if additional types needed
Binding: LocationType (required)
.... coding S1..1CodingCode defined by a terminology system
..... system 1..1uriIdentity of the terminology system
..... code 1..1codeSymbol in syntax defined by the system
..... display 1..1stringRepresentation defined by the system
... managingOrganization S0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... partOf S0..1Reference(CareConnect-Location-1)Another Location this one is physically part of. Must be provided for Ward->Site and Room->Ward to build the hierarchy
.... reference 1..1stringReference to a resource (could be Contained)
.... identifier 0..1IdentifierIf relevant could include an id
.... display 1..1stringDescription of the referenced resource
... endpoint 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSet
Location.typeextensibleServiceDeliveryLocationRoleType
Location.physicalTyperequiredLocationType

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*CareConnect-Location-1Details and position information for a physical place
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierUnique 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. Should be provided for locations that have one
..... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system SΣ1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value SΣ1..1stringThe ODS Site code name, to reflect the code used
Example General: 123456
.... identifier:localIdentifier SΣ0..1IdentifierUnique code or number identifying the location to its users
..... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system SΣ1..1uriThe namespace for the identifier value
Fixed Value: https://fhir.yhcr.nhs.uk/Id/local-location-identifier
..... value SΣ1..1stringThe Local location Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique
Example General: 123456
... status ?!SΣ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingDISCOURAGED - this level of operational detail may be difficult to keep up-to-date and is not necessary for regional sharing
Binding: v2 Bed Status (preferred): The operational status if the location (where typically a bed/room)

... name SΣ1..1stringName of the location as used by humans. Does not need to be unique, but preferably incorporates any hierarchy for more meaningful display. Eg 'Green Road Hospital, Ward 27, Room 5
... mode ?!Σ0..1codeAlways a specific instance of a location (not a generic class of location). Assume 'instance' if missing
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.


Fixed Value: instance
... type SΣ1..1CodeableConceptType of function performed. Useful to indicate the type of activity that is likely to have happened there. EXTENSIBLE on request, eg to cover other care settings
Binding: ServiceDeliveryLocationRoleType (extensible)
... telecom S0..*ContactPointContact details of the location. Very useful for getting in touch to find out more.
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current telecom details of the location.
Binding: ContactPointUse (required): Use of contact point

.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
... address S0..1AddressPhysical location. Required when relevant (not for ward or room)
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current address of the location.
Binding: AddressUse (required): The use of an address


Example General: home
.... text Σ0..1stringDISCOURAGED: Please do not rely on this. Providers might not populate and Consumers might not use. Instead display the address based on the detailed elements.
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ0..1stringName of city, town etc.
Example General: Erewhon
.... district SΣ0..1stringDistrict name (aka county)
Example General: Madison
.... postalCode SΣ0..1stringPostal code for area
Example General: 9132
.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... physicalType SΣ1..1CodeableConceptPhysical form of the location. Extensible by request if additional types needed
Binding: LocationType (required)
.... coding SΣ1..1CodingCode defined by a terminology system
..... system Σ1..1uriIdentity of the terminology system
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
... managingOrganization SΣ0..1Reference(CareConnect-Organization-1)Organization responsible for provisioning and upkeep
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource
... partOf S0..1Reference(CareConnect-Location-1)Another Location this one is physically part of. Must be provided for Ward->Site and Room->Ward to build the hierarchy
.... reference ΣC1..1stringReference to a resource (could be Contained)
.... identifier Σ0..1IdentifierIf relevant could include an id
.... display Σ1..1stringDescription of the referenced resource

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet / Code
Location.meta.securityextensibleAll Security Labels
Location.meta.tagexampleCommon Tags
Location.meta.tag:SourceexampleCommon Tags
Location.meta.tag:ProvenanceexampleCommon Tags
Location.languageextensibleCommon Languages
Additional Bindings Purpose
AllLanguages Max Binding
Location.identifier:odsSiteCode.userequiredIdentifierUse
Location.identifier:localIdentifier.userequiredIdentifierUse
Location.statusrequiredLocationStatus
Location.operationalStatuspreferredv2 Bed Status
Location.moderequiredFixed Value: instance
Location.typeextensibleServiceDeliveryLocationRoleType
Location.telecom.systemrequiredContactPointSystem
Location.telecom.userequiredContactPointUse
Location.address.userequiredAddressUse
Location.physicalTyperequiredLocationType

Constraints

IdGradePath(s)DetailsRequirements
dom-1errorLocationIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
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
: contained.where(('#'+id in %resource.descendants().reference).not()).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()

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Location 0..*CareConnect-Location-1Details and position information for a physical place
... id SΣ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... versionId SΣ0..1idVersion specific identifier
.... lastUpdated SΣ0..1instantMANDATORY except in Contained Resources. When the resource version last changed.
.... profile SΣ0..*uriProfiles this resource claims to conform to. Should list (i) this profile (ii) underlying CareConnect profile
.... security Σ0..*CodingDISCOURAGED - may not be honoured by Data Consumers
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


.... Slices for tag Σ0..*CodingTags applied to this resource
Slice: Unordered, Open by value:system
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


..... tag:Source SΣ0..1CodingMANDATORY except in Contained Resources. The Data Provider Id (and display text) of the system supplying the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Source
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe Data Provider Id of the system supplying the data
...... display SΣ1..1stringName of the system supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... tag:Provenance SΣ0..1CodingMANDATORY except in Contained Resources. The ODS Code (and display text) of the organisation responsible for the data
Binding: Common Tags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones"


...... id 0..1stringxml:id (or equivalent in JSON)
...... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: https://yhcr.nhs.uk/Provenance
...... version Σ0..1stringVersion of the system - if relevant
...... code SΣ1..1codeThe ODS Code of the organisation responsible for the data
...... display SΣ1..1stringName of the organisation supplying the data
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
... implicitRules ?!Σ0..1uriDISCOURAGED - may not be honoured by Data Consumers
... text 0..1NarrativeDISCOURAGED - the preferred approach is to offer structured data fields which a Data Consumer can then render and present in a manner most suited to its users
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional Content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... Slices for identifier Σ0..*IdentifierUnique 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. Should be provided for locations that have one
..... 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): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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Σ1..1uriODS Code
Fixed Value: https://fhir.nhs.uk/Id/ods-site-code
..... value SΣ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)
.... identifier:localIdentifier SΣ0..1IdentifierUnique code or number identifying the location to its users
..... 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): Identifies the purpose for this identifier, if known .

..... type Σ0..1CodeableConceptDescription 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Σ1..1uriThe namespace for the identifier value
Fixed Value: https://fhir.yhcr.nhs.uk/Id/local-location-identifier
..... value SΣ1..1stringThe Local location Identifier. Please prefix with ODS code plus period (XXX.) to ensure unique
Example General: 123456
..... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... status ?!SΣ1..1codeactive | suspended | inactive
Binding: LocationStatus (required): Indicates whether the location is still in use.

... operationalStatus Σ0..1CodingDISCOURAGED - this level of operational detail may be difficult to keep up-to-date and is not necessary for regional sharing
Binding: v2 Bed Status (preferred): The operational status if the location (where typically a bed/room)

... name SΣ1..1stringName of the location as used by humans. Does not need to be unique, but preferably incorporates any hierarchy for more meaningful display. Eg 'Green Road Hospital, Ward 27, Room 5
... 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..1codeAlways a specific instance of a location (not a generic class of location). Assume 'instance' if missing
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.


Fixed Value: instance
... type SΣ1..1CodeableConceptType of function performed. Useful to indicate the type of activity that is likely to have happened there. EXTENSIBLE on request, eg to cover other care settings
Binding: ServiceDeliveryLocationRoleType (extensible)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ0..*CodingCode defined by a terminology system
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ1..1uriIdentity of the terminology system
..... version Σ0..1stringVersion of the system - if relevant
..... code Σ1..1codeSymbol in syntax defined by the system
..... display Σ1..1stringRepresentation defined by the system
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... telecom S0..*ContactPointContact details of the location. Very useful for getting in touch to find out more.
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... system SΣC1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point

.... value SΣ1..1stringThe actual contact point details
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current telecom details of the location.
Binding: ContactPointUse (required): Use of contact point

.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
... address S0..1AddressPhysical location. Required when relevant (not for ward or room)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeDISCOURAGED: Not really relevant here - it is just the current address of the location.
Binding: AddressUse (required): The use of an address


Example General: home
.... type Σ0..1codepostal | physical | both
Binding: AddressType (required): The type of an address (physical / postal)


Example General: both
.... text Σ0..1stringDISCOURAGED: Please do not rely on this. Providers might not populate and Consumers might not use. Instead display the address based on the detailed elements.
Example General: 137 Nowhere Street, Erewhon 9132
.... line SΣ0..*stringStreet name, number, direction & P.O. Box etc.
This repeating element order: The order in which lines should appear in an address label
Example General: 137 Nowhere Street
.... city SΣ0..1stringName of city, town etc.
Example General: Erewhon
.... district SΣ0..1stringDistrict name (aka county)
Example General: Madison
.... state Σ0..1stringSub-unit of country (abbreviations ok)
.... postalCode SΣ0..1stringPostal code for area
Example General: 9132
.... country Σ0..1stringCountry (e.g. can be ISO 3166 2 or 3 letter code)
.... period Σ0..1PeriodDISCOURAGED: Preferably just relevant current details
Example General: {"start":"2010-03-23","end":"2010-07-01"}
... physicalType SΣ1..1CodeableConceptPhysical form of the location. Extensible by request if additional types needed
Binding: LocationType (required)
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... coding SΣ1..1CodingCode defined by a terminology system
..... id 0..1stringxml:id (or equivalent in JSON)
..... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url