Swedish FHIR group common profiles

1.0.2 - ci-build Sweden flag

Swedish FHIR group common profiles, published by Swedish FHIR group. This guide is not an authorized publication; it is the continuous build for version 1.0.2 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/commonprofiles-care/fhir/ and changes regularly. See the Directory of published versions

Extension: HSA Hierarchy

Official URL: https://commonprofiles.care/fhir/StructureDefinition/common-hsaHierarchy Version: 1.0.2
Active as of 2025-02-26 Computable Name: HsaHierarchy

This extension is used to describe a unit's (Location or Organization) place in the Swedish HSA hierarchy. There are two important levels in the hierarchy:

HSA Vårdgivare (eng HSA Care Provider) - This is often a region or private healthcare provider and the highest defined level in the hierarchy HSA Vårdenhet (eng HSA Department) - This is often a department within a region or private healthcare provider and the lower defined level in the hierarchy All official healthcare units in Sweden will have a representation in the national HSA catalogue, and all will have a relationship to a parent HSA Vårdenhet (lower level) and/or HSA Vårdgivare (highest level).

This can among other things be used to evaluate PDL (Patientdatalagen, eng Patient Data Law) rules.

Context of Use

This extension may be used on the following element(s):

This extension may be used on the following element(s):

    This extension may be used on the following element(s):

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension HSA Hierarchy
... Slices for extension Content/Rules for all slices
.... extension:hsaCareProvider 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "hsaCareProvider"
..... value[x] 1..1 Reference(Organization) Value of extension
...... type 0..1 uri Type the reference refers to (e.g. "Patient")
Fixed Value: Organization
...... identifier
....... system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.29.4.19
....... value 1..1 string The value that is unique
.... extension:hsaCareUnit 0..1 Extension Extension
..... extension 0..0
..... url 1..1 uri "hsaCareUnit"
..... value[x] 1..1 Reference(Organization) Value of extension
...... type 0..1 uri Type the reference refers to (e.g. "Patient")
Fixed Value: Organization
...... identifier
....... system 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.752.29.4.19
....... value 1..1 string The value that is unique
... url 1..1 uri "https://commonprofiles.care/fhir/StructureDefinition/common-hsaHierarchy"
... value[x] 0..0

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / CodeURI
Extension.extension:hsaCareProvider.value[x].typeextensibleFixed Value: Organization
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Extension.extension:hsaCareProvider.value[x].identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Extension.extension:hsaCareProvider.value[x].identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Extension.extension:hsaCareUnit.value[x].typeextensibleFixed Value: Organization
http://hl7.org/fhir/ValueSet/resource-types
from the FHIR Standard
Extension.extension:hsaCareUnit.value[x].identifier.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Extension.extension:hsaCareUnit.value[x].identifier.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()