1.0.0 - release
            
          
CambioOpenServicesIG - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions
| Official URL: https://fhir.cambio.se/StructureDefinition/LocationUnitSe/v1 | Version: 1.0.0 | |||
| Active as of 2024-02-21 | Computable Name: LocationUnitSe | |||
LocationUnitSe is a profile based on the FHIR resource Location.
LocationUnitSe is used to communicate care units, where healthcare services for that unit can be found in order for a patient to be able to book appointments.
The intended use for reading data with this API is in first hand that the API is applied for direct access and should not be used to transfer data between caregivers. If it should be used for "data copying" between care providers, patient consent must be handled outside the API.
| Type | Description | 
|---|---|
| Limitation | Only outpatient facilities (OF) are allowed. | 
| Rule | The element Location.address is read-only. | 
| Rule | The element Location.telecom is read-only. | 
| Rule | The consumer of the API is responsible for making sure data retrieved is filtered in compliance with laws and regulations prior to presenting it to any end-users. | 
| Rule | For reading locations, the external system needs to be able to evaluate PDL. This means whether the information can be displayed for a healthcare professional with a specific assignment. PDL data needed (HSA care unit and HSA care provider) is retrieved from Location.identifier.hsaid. | 
| COS version | Profile version | Required COSMIC version | Date | Description | 
|---|---|---|---|---|
| 3.0.0 | 1.0.0 | R8.3.05 | May 2022 | Initial version, support for GET. | 
| Extension | Data type | Description | 
|---|---|---|
| hsaHierarchy | Complex | HSA hierarchy. | 
| HTTP Method | Description | 
|---|---|
| GET | Used to retrieve a location. | 
| Parameter | Format | Mandatory | Comment | 
|---|---|---|---|
type | 
      code | Yes | Only OF (Outpatient facility) is allowed. | 
    
GET [baseUrl]/Location/[id] (GET)
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | LocationUnitCoreSe | Details and position information for a physical place | |
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
Σ | 1..* | Identifier | Unique code or number identifying the location to its users Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | HSA Identifier for the unit. | 
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official  | 
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | 
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]()  | 
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use.  | 
![]() ![]()  | 
0..1 | string | A list of alternate names that the location is known as, or was known as, in the past | |
![]() ![]()  | 
Σ | 0..1 | code | instance | kind Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. Fixed Value: instance  | 
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Type of function performed Binding: ServiceDeliveryLocationRoleType (extensible): Indicates the type of function performed at the location.  | 
![]() ![]() ![]()  | 
Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system  | 
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | Coding | Code defined by a terminology system | 
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode  | 
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | code | Symbol in syntax defined by the system Binding: CosmicUnitFunctions (required): Value set contains the supported role codes  | 
![]() ![]()  | 
0..* | ContactPoint | Contact details of the location | |
![]() ![]() ![]()  | 
ΣCN | 0..1 | code | phone | email Binding: CosmicUnitContactPointSystems (required): System for telecome  | 
![]() ![]() ![]()  | 
ΣN | 1..1 | string | The actual contact point details | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| Location.identifier:hsaId.use | required | Fixed Value: officialhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | |
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard  | |
| Location.mode | required | Fixed Value: instancehttp://hl7.org/fhir/ValueSet/location-mode|4.0.1From the FHIR Standard  | |
| Location.type | extensible | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | |
| Location.type.coding:v3RoleCode.code | required | CosmicUnitFunctionshttps://fhir.cambio.se/ValueSet/CosmicUnitFunctions/v1From this IG  | |
| Location.telecom.system | required | CosmicUnitContactPointSystemshttps://fhir.cambio.se/ValueSet/CosmicUnitContactPointSystems/v1From this IG  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 LocationUnitCoreSe
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
LocationUnitCoreSe | |||
![]() ![]()  | 
1..* | Identifier | Unique code or number identifying the location to its users | |
![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]()  | 
0..1 | Identifier | HSA Identifier for the unit. | |
![]() ![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]() ![]()  | 
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | CodeableConcept | Type of function performed | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]()  | 
1..1 | code | Symbol in syntax defined by the system Binding: CosmicUnitFunctions (required): Value set contains the supported role codes  | |
![]() ![]()  | 
0..* | ContactPoint | Contact details of the location | |
![]() ![]() ![]()  | 
N | 0..1 | code | phone | email Binding: CosmicUnitContactPointSystems (required): System for telecome  | 
![]() ![]() ![]()  | 
N | 1..1 | string | The actual contact point details | 
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
N | 0..0 | ||
![]() ![]()  | 
0..0 | |||
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Location.type.coding:v3RoleCode.code | required | CosmicUnitFunctionshttps://fhir.cambio.se/ValueSet/CosmicUnitFunctions/v1From this IG  | |
| Location.telecom.system | required | CosmicUnitContactPointSystemshttps://fhir.cambio.se/ValueSet/CosmicUnitContactPointSystems/v1From this IG  | 
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
0..* | LocationUnitCoreSe | Details and position information for a physical place | |||||
![]() ![]()  | 
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]()  | 
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language. 
  | |||||
![]() ![]()  | 
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  | |||||
![]() ![]()  | 
0..* | Resource | Contained, inline Resources | |||||
![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
Σ | 1..* | Identifier | Unique code or number identifying the location to its users Slice: Unordered, Open by value:system  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | HSA Identifier for the unit. | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | ||||
![]() ![]()  | 
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use.  | ||||
![]() ![]()  | 
Σ | 0..1 | string | Name of the location as used by humans | ||||
![]() ![]()  | 
0..1 | string | A list of alternate names that the location is known as, or was known as, in the past | |||||
![]() ![]()  | 
Σ | 0..1 | string | Additional details about the location that could be displayed as further information to identify the location beyond its name | ||||
![]() ![]()  | 
Σ | 0..1 | code | instance | kind Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. Fixed Value: instance  | ||||
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Type of function performed Binding: ServiceDeliveryLocationRoleType (extensible): Indicates the type of function performed at the location.  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | code | Symbol in syntax defined by the system Binding: CosmicUnitFunctions (required): Value set contains the supported role codes  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]()  | 
0..* | ContactPoint | Contact details of the location | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣCN | 0..1 | code | phone | email Binding: CosmicUnitContactPointSystems (required): System for telecome  | ||||
![]() ![]() ![]()  | 
ΣN | 1..1 | string | The actual contact point details | ||||
![]() ![]()  | 
0..1 | Address | Physical location | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132  | ||||
![]() ![]() ![]()  | 
Σ | 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  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | District name (aka county) Example General: Madison  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Sub-unit of country (abbreviations ok) | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Postal code for area Example General: 9132  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Organization) | Organization responsible for provisioning and upkeep | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]()  | 
0..1 | Reference(Location) | Another Location this one is physically a part of | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Location.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Location.identifier:hsaId.use | required | Fixed Value: officialhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard  | ||||
| Location.mode | required | Fixed Value: instancehttp://hl7.org/fhir/ValueSet/location-mode|4.0.1From the FHIR Standard  | ||||
| Location.type | extensible | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | ||||
| Location.type.coding:v3RoleCode.code | required | CosmicUnitFunctionshttps://fhir.cambio.se/ValueSet/CosmicUnitFunctions/v1From this IG  | ||||
| Location.telecom.system | required | CosmicUnitContactPointSystemshttps://fhir.cambio.se/ValueSet/CosmicUnitContactPointSystems/v1From this IG  | ||||
| Location.address.type | required | AddressTypehttp://hl7.org/fhir/ValueSet/address-type|4.0.1From the FHIR Standard  | ||||
| Location.managingOrganization.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Location.managingOrganization.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Location.managingOrganization.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | ||||
| Location.partOf.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Location.partOf.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Location.partOf.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | ||||
| Location.hoursOfOperation.daysOfWeek | required | DaysOfWeekhttp://hl7.org/fhir/ValueSet/days-of-week|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 LocationUnitCoreSe
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
0..* | LocationUnitCoreSe | Details and position information for a physical place | |
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | 
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | 
![]() ![]()  | 
Σ | 1..* | Identifier | Unique code or number identifying the location to its users Slice: Unordered, Open by value:system  | 
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | HSA Identifier for the unit. | 
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official  | 
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | 
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | 
![]() ![]()  | 
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use.  | 
![]() ![]()  | 
0..1 | string | A list of alternate names that the location is known as, or was known as, in the past | |
![]() ![]()  | 
Σ | 0..1 | code | instance | kind Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. Fixed Value: instance  | 
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Type of function performed Binding: ServiceDeliveryLocationRoleType (extensible): Indicates the type of function performed at the location.  | 
![]() ![]() ![]()  | 
Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system  | 
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | Coding | Code defined by a terminology system | 
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode  | 
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | code | Symbol in syntax defined by the system Binding: CosmicUnitFunctions (required): Value set contains the supported role codes  | 
![]() ![]()  | 
0..* | ContactPoint | Contact details of the location | |
![]() ![]() ![]()  | 
ΣCN | 0..1 | code | phone | email Binding: CosmicUnitContactPointSystems (required): System for telecome  | 
![]() ![]() ![]()  | 
ΣN | 1..1 | string | The actual contact point details | 
  Documentation for this format | ||||
| Path | Conformance | ValueSet / Code | URI | 
| Location.identifier:hsaId.use | required | Fixed Value: officialhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | |
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard  | |
| Location.mode | required | Fixed Value: instancehttp://hl7.org/fhir/ValueSet/location-mode|4.0.1From the FHIR Standard  | |
| Location.type | extensible | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | |
| Location.type.coding:v3RoleCode.code | required | CosmicUnitFunctionshttps://fhir.cambio.se/ValueSet/CosmicUnitFunctions/v1From this IG  | |
| Location.telecom.system | required | CosmicUnitContactPointSystemshttps://fhir.cambio.se/ValueSet/CosmicUnitContactPointSystems/v1From this IG  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 LocationUnitCoreSe
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | 
|---|---|---|---|---|
![]()  | 
LocationUnitCoreSe | |||
![]() ![]()  | 
1..* | Identifier | Unique code or number identifying the location to its users | |
![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]()  | 
0..1 | Identifier | HSA Identifier for the unit. | |
![]() ![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]() ![]()  | 
1..1 | string | The value that is unique | |
![]() ![]() ![]() ![]()  | 
0..0 | |||
![]() ![]() ![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
1..1 | CodeableConcept | Type of function performed | |
![]() ![]() ![]()  | 
Content/Rules for all slices | |||
![]() ![]() ![]() ![]()  | 
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]()  | 
1..1 | code | Symbol in syntax defined by the system Binding: CosmicUnitFunctions (required): Value set contains the supported role codes  | |
![]() ![]()  | 
0..* | ContactPoint | Contact details of the location | |
![]() ![]() ![]()  | 
N | 0..1 | code | phone | email Binding: CosmicUnitContactPointSystems (required): System for telecome  | 
![]() ![]() ![]()  | 
N | 1..1 | string | The actual contact point details | 
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
0..0 | |||
![]() ![]()  | 
N | 0..0 | ||
![]() ![]()  | 
0..0 | |||
  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Location.type.coding:v3RoleCode.code | required | CosmicUnitFunctionshttps://fhir.cambio.se/ValueSet/CosmicUnitFunctions/v1From this IG  | |
| Location.telecom.system | required | CosmicUnitContactPointSystemshttps://fhir.cambio.se/ValueSet/CosmicUnitContactPointSystems/v1From this IG  | 
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints    Filter:  ![]() ![]()  | ||||
|---|---|---|---|---|---|---|---|---|
![]()  | 
0..* | LocationUnitCoreSe | Details and position information for a physical place | |||||
![]() ![]()  | 
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]()  | 
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]()  | 
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]()  | 
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language. 
  | |||||
![]() ![]()  | 
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  | |||||
![]() ![]()  | 
0..* | Resource | Contained, inline Resources | |||||
![]() ![]()  | 
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]()  | 
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]()  | 
Σ | 1..* | Identifier | Unique code or number identifying the location to its users Slice: Unordered, Open by value:system  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | HSA Identifier for the unit. | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . Fixed Value: official  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | ||||
![]() ![]()  | 
?!Σ | 0..1 | code | active | suspended | inactive Binding: LocationStatus (required): Indicates whether the location is still in use.  | ||||
![]() ![]()  | 
Σ | 0..1 | string | Name of the location as used by humans | ||||
![]() ![]()  | 
0..1 | string | A list of alternate names that the location is known as, or was known as, in the past | |||||
![]() ![]()  | 
Σ | 0..1 | string | Additional details about the location that could be displayed as further information to identify the location beyond its name | ||||
![]() ![]()  | 
Σ | 0..1 | code | instance | kind Binding: LocationMode (required): Indicates whether a resource instance represents a specific location or a class of locations. Fixed Value: instance  | ||||
![]() ![]()  | 
Σ | 1..1 | CodeableConcept | Type of function performed Binding: ServiceDeliveryLocationRoleType (extensible): Indicates the type of function performed at the location.  | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 1..* | Coding | Code defined by a terminology system Slice: Unordered, Open by value:system  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Version of the system - if relevant | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 1..1 | code | Symbol in syntax defined by the system Binding: CosmicUnitFunctions (required): Value set contains the supported role codes  | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() ![]() ![]() ![]()  | 
Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]()  | 
0..* | ContactPoint | Contact details of the location | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣCN | 0..1 | code | phone | email Binding: CosmicUnitContactPointSystems (required): System for telecome  | ||||
![]() ![]() ![]()  | 
ΣN | 1..1 | string | The actual contact point details | ||||
![]() ![]()  | 
0..1 | Address | Physical location | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
Σ | 0..1 | code | postal | physical | both Binding: AddressType (required): The type of an address (physical / postal). Example General: both  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text representation of the address Example General: 137 Nowhere Street, Erewhon 9132  | ||||
![]() ![]() ![]()  | 
Σ | 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  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Name of city, town etc. Example General: Erewhon  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | District name (aka county) Example General: Madison  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Sub-unit of country (abbreviations ok) | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Postal code for area Example General: 9132  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Country (e.g. can be ISO 3166 2 or 3 letter code) | ||||
![]() ![]()  | 
Σ | 0..1 | Reference(Organization) | Organization responsible for provisioning and upkeep | ||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]()  | 
0..1 | Reference(Location) | Another Location this one is physically a part of | |||||
![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]()  | 
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible): Aa resource (or, for logical models, the URI of the logical model).  | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() ![]()  | 
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]()  | 
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url  | |||||
![]() ![]() ![]() ![]()  | 
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | uri | The namespace for the identifier value Fixed Value: urn:oid:1.2.752.129.2.1.4.1  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 1..1 | string | The value that is unique Example General: 123456  | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]()  | 
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]()  | 
Σ | 0..1 | string | Text alternative for the resource | ||||
  Documentation for this format | ||||||||
| Path | Conformance | ValueSet / Code | URI | |||
| Location.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languagesFrom the FHIR Standard 
  | ||||
| Location.identifier:hsaId.use | required | Fixed Value: officialhttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Location.status | required | LocationStatushttp://hl7.org/fhir/ValueSet/location-status|4.0.1From the FHIR Standard  | ||||
| Location.mode | required | Fixed Value: instancehttp://hl7.org/fhir/ValueSet/location-mode|4.0.1From the FHIR Standard  | ||||
| Location.type | extensible | ServiceDeliveryLocationRoleTypehttp://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType | ||||
| Location.type.coding:v3RoleCode.code | required | CosmicUnitFunctionshttps://fhir.cambio.se/ValueSet/CosmicUnitFunctions/v1From this IG  | ||||
| Location.telecom.system | required | CosmicUnitContactPointSystemshttps://fhir.cambio.se/ValueSet/CosmicUnitContactPointSystems/v1From this IG  | ||||
| Location.address.type | required | AddressTypehttp://hl7.org/fhir/ValueSet/address-type|4.0.1From the FHIR Standard  | ||||
| Location.managingOrganization.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Location.managingOrganization.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Location.managingOrganization.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | ||||
| Location.partOf.type | extensible | ResourceTypehttp://hl7.org/fhir/ValueSet/resource-typesFrom the FHIR Standard  | ||||
| Location.partOf.identifier.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1From the FHIR Standard  | ||||
| Location.partOf.identifier.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-typeFrom the FHIR Standard  | ||||
| Location.hoursOfOperation.daysOfWeek | required | DaysOfWeekhttp://hl7.org/fhir/ValueSet/days-of-week|4.0.1From the FHIR Standard  | 
| Id | Grade | Path(s) | Details | Requirements | 
| 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 LocationUnitCoreSe
Other representations of profile: CSV, Excel, Schematron