DIPS Core Implementation Guide
0.1.0 - ci-build Norway

DIPS Core Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: DIPSEncounterLocation

Official URL: http://dips.no/fhir/R4/StructureDefinition/DIPSEncounterLocation Version: 0.1.0
Draft as of 2026-09-03 Computable Name: DIPSEncounterLocation

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* Location Details and position information for a physical place
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 0..1 Identifier Unique code or number identifying the location to its users
Slice: Unordered, Open by value:system
.... identifier:ReshID Σ 0..1 Identifier Unique code or number identifying the location to its users
..... system Σ 1..1 uri OID for Resh ID
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string Resh ID of the location
Example General: 123456
... telecom 0..1 ContactPoint Contact details of the location
.... system ΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Fixed Value: phone
.... value Σ 0..1 string Phone number to the location
... partOf 0..1 Reference(DIPSEncounterLocation) Another Location this one is physically part of: bed -> ward, location -> workplace ("arbeidssted")

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.mode Base required LocationMode 📍4.0.1 FHIR Std.
Location.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If 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-4 error Location If 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-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* Location Details and position information for a physical place
... Slices for identifier 0..1 Identifier Unique code or number identifying the location to its users
Slice: Unordered, Open by value:system
.... identifier:ReshID 0..1 Identifier Unique code or number identifying the location to its users
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri OID for Resh ID
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value 1..1 string Resh ID of the location
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... status 0..0 active | suspended | inactive
... operationalStatus 0..0 The operational status of the location (typically only for a bed/room)
... description 0..0 Additional details about the location that could be displayed as further information to identify the location beyond its name
... mode 1..1 code instance | kind
Fixed Value: instance
... type 0..0 Type of function performed
... telecom 0..1 ContactPoint Contact details of the location
.... system 0..1 code phone | fax | email | pager | url | sms | other
Fixed Value: phone
.... value 0..1 string Phone number to the location
.... use 0..0 home | work | temp | old | mobile - purpose of this contact point
.... rank 0..0 Specify preferred order of use (1 = highest)
.... period 0..0 Time period when the contact point was/is in use
... address
.... use 0..0 home | work | temp | old | billing - purpose of this address
.... type 0..0 postal | physical | both
.... text 0..0 Text representation of the address
.... district 0..0 District name (aka county)
.... state 0..0 Sub-unit of country (abbreviations ok)
.... country 0..0 Country (e.g. can be ISO 3166 2 or 3 letter code)
.... period 0..0 Time period when address was/is in use
... physicalType
.... coding 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
..... system 0..1 uri System for DIPS FHIR location type
Binding: LocationType (required)
..... version 0..0 Version of the system - if relevant
..... code 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
... position 0..0 The absolute geographic location
... managingOrganization 0..0 Organization responsible for provisioning and upkeep
... partOf 0..1 Reference(DIPSEncounterLocation) Another Location this one is physically part of: bed -> ward, location -> workplace ("arbeidssted")
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 0..0 Logical reference, when literal reference is not known
... hoursOfOperation 0..0 What days/times during a week is this location usually open
... availabilityExceptions 0..0 Description of availability exceptions
... endpoint 0..0 Technical endpoints providing access to services operated for the location

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.system Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* Location Details and position information for a physical place
... id Σ 0..1 id Logical id of this artifact
... 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 Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 0..1 Identifier Unique code or number identifying the location to its users
Slice: Unordered, Open by value:system
.... identifier:ReshID Σ 0..1 Identifier Unique code or number identifying the location to its users
..... 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 Σ 1..1 uri OID for Resh ID
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string Resh ID of the location
Example General: 123456
... name Σ 0..1 string Name of the location as used by humans
... mode Σ 1..1 code instance | kind
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.
Fixed Value: instance
... telecom 0..1 ContactPoint Contact details of the location
.... 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 ΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Fixed Value: phone
.... value Σ 0..1 string Phone number to the location
... address 0..1 Address Physical location
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... line Σ 0..* string Street 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 Σ 0..1 string Name of city, town etc.
Example General: Erewhon
.... postalCode Σ 0..1 string Postal code for area
Example General: 9132
... physicalType Σ 0..1 CodeableConcept Physical form of the location
Binding: LocationType (example): Physical form of the location.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
..... 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 Σ 0..1 uri System for DIPS FHIR location type
Binding: LocationType (required)
..... code Σ 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
.... text Σ 0..1 string Plain text representation of the concept
... partOf 0..1 Reference(DIPSEncounterLocation) Another Location this one is physically part of: bed -> ward, location -> workplace ("arbeidssted")
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Location.mode Base required LocationMode 📍4.0.1 FHIR Std.
Location.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Location.physicalType Base example Location type 📍4.0.1 FHIR Std.
Location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.system Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.
Location.hoursOfOperation.​daysOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If 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-4 error Location If 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-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Location

Summary

Mandatory: 1 element(2 nested mandatory elements)
Fixed: 3 elements
Prohibited: 29 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Location.identifier

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* Location Details and position information for a physical place
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 0..1 Identifier Unique code or number identifying the location to its users
Slice: Unordered, Open by value:system
.... identifier:ReshID Σ 0..1 Identifier Unique code or number identifying the location to its users
..... system Σ 1..1 uri OID for Resh ID
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string Resh ID of the location
Example General: 123456
... telecom 0..1 ContactPoint Contact details of the location
.... system ΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Fixed Value: phone
.... value Σ 0..1 string Phone number to the location
... partOf 0..1 Reference(DIPSEncounterLocation) Another Location this one is physically part of: bed -> ward, location -> workplace ("arbeidssted")

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.mode Base required LocationMode 📍4.0.1 FHIR Std.
Location.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If 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-4 error Location If 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-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Location

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* Location Details and position information for a physical place
... Slices for identifier 0..1 Identifier Unique code or number identifying the location to its users
Slice: Unordered, Open by value:system
.... identifier:ReshID 0..1 Identifier Unique code or number identifying the location to its users
..... use 0..0 usual | official | temp | secondary | old (If known)
..... type 0..0 Description of identifier
..... system 1..1 uri OID for Resh ID
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value 1..1 string Resh ID of the location
..... period 0..0 Time period when id is/was valid for use
..... assigner 0..0 Organization that issued id (may be just text)
... status 0..0 active | suspended | inactive
... operationalStatus 0..0 The operational status of the location (typically only for a bed/room)
... description 0..0 Additional details about the location that could be displayed as further information to identify the location beyond its name
... mode 1..1 code instance | kind
Fixed Value: instance
... type 0..0 Type of function performed
... telecom 0..1 ContactPoint Contact details of the location
.... system 0..1 code phone | fax | email | pager | url | sms | other
Fixed Value: phone
.... value 0..1 string Phone number to the location
.... use 0..0 home | work | temp | old | mobile - purpose of this contact point
.... rank 0..0 Specify preferred order of use (1 = highest)
.... period 0..0 Time period when the contact point was/is in use
... address
.... use 0..0 home | work | temp | old | billing - purpose of this address
.... type 0..0 postal | physical | both
.... text 0..0 Text representation of the address
.... district 0..0 District name (aka county)
.... state 0..0 Sub-unit of country (abbreviations ok)
.... country 0..0 Country (e.g. can be ISO 3166 2 or 3 letter code)
.... period 0..0 Time period when address was/is in use
... physicalType
.... coding 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
..... system 0..1 uri System for DIPS FHIR location type
Binding: LocationType (required)
..... version 0..0 Version of the system - if relevant
..... code 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
..... display 0..0 Representation defined by the system
..... userSelected 0..0 If this coding was chosen directly by the user
... position 0..0 The absolute geographic location
... managingOrganization 0..0 Organization responsible for provisioning and upkeep
... partOf 0..1 Reference(DIPSEncounterLocation) Another Location this one is physically part of: bed -> ward, location -> workplace ("arbeidssted")
.... type 0..0 Type the reference refers to (e.g. "Patient")
.... identifier 0..0 Logical reference, when literal reference is not known
... hoursOfOperation 0..0 What days/times during a week is this location usually open
... availabilityExceptions 0..0 Description of availability exceptions
... endpoint 0..0 Technical endpoints providing access to services operated for the location

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.system Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Location 0..* Location Details and position information for a physical place
... id Σ 0..1 id Logical id of this artifact
... 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 Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension 0..* Extension Additional content defined by implementations
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... Slices for identifier Σ 0..1 Identifier Unique code or number identifying the location to its users
Slice: Unordered, Open by value:system
.... identifier:ReshID Σ 0..1 Identifier Unique code or number identifying the location to its users
..... 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 Σ 1..1 uri OID for Resh ID
Fixed Value: urn:oid:2.16.578.1.12.4.1.4.102
..... value Σ 1..1 string Resh ID of the location
Example General: 123456
... name Σ 0..1 string Name of the location as used by humans
... mode Σ 1..1 code instance | kind
Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations.
Fixed Value: instance
... telecom 0..1 ContactPoint Contact details of the location
.... 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 ΣC 0..1 code phone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.
Fixed Value: phone
.... value Σ 0..1 string Phone number to the location
... address 0..1 Address Physical location
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... line Σ 0..* string Street 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 Σ 0..1 string Name of city, town etc.
Example General: Erewhon
.... postalCode Σ 0..1 string Postal code for area
Example General: 9132
... physicalType Σ 0..1 CodeableConcept Physical form of the location
Binding: LocationType (example): Physical form of the location.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 0..* Coding Code defined by a terminology system
Binding: LocationType (required)
..... 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 Σ 0..1 uri System for DIPS FHIR location type
Binding: LocationType (required)
..... code Σ 0..1 code Symbol in syntax defined by the system
Binding: LocationType (required)
.... text Σ 0..1 string Plain text representation of the concept
... partOf 0..1 Reference(DIPSEncounterLocation) Another Location this one is physically part of: bed -> ward, location -> workplace ("arbeidssted")
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... display Σ 0..1 string Text alternative for the resource

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Location.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Location.mode Base required LocationMode 📍4.0.1 FHIR Std.
Location.telecom.system Base required ContactPointSystem 📍4.0.1 FHIR Std.
Location.physicalType Base example Location type 📍4.0.1 FHIR Std.
Location.physicalType.​coding Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.system Base required Location type 📦4.0.1 FHIR Std.
Location.physicalType.​coding.code Base required Location type 📦4.0.1 FHIR Std.
Location.hoursOfOperation.​daysOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Location If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Location If 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-4 error Location If 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-5 error Location If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Location A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Location

Summary

Mandatory: 1 element(2 nested mandatory elements)
Fixed: 3 elements
Prohibited: 29 elements

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Location.identifier

 

Other representations of profile: CSV, Excel, Schematron