...
The following table explains how each of the attributes on the FHIR resource is mapped from the SOR data model.
See https://docs.ehealth.sundhed.dk/latest-released/igfhir/StructureDefinition-ehealth-organization.html for the eHealth FHIR Organization profile.
See https://www.nspop.dk/display/public/web/SORUS+-+Guide+til+anvendere for a description of SOR data.
ehealth-organization element | Source from SOR | Description |
---|---|---|
| N/A | Generated by FHIR server |
| N/A | Generated by FHIR server |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| Always set to | |
| N/A | |
| always set to | |
|
| The SOR identifier is stored in eHealth Infrastructure |
|
| |
|
| |
| N/A | |
| Computed based on | Set to true when: sor1:ToDate is not set or is in the future and sor1:FirstFromDate is not a future date. Set to false when sor1:ToDate is in the past or sor1:FirstFromDate is a future date. We will be using FirstFromDate as this is the flag used in SOR to set organizations active - FromDate is set when other data on the organization changes. |
|
| |
|
| |
| Concatenation of | Example: For SorIdentifier=914571000016002 with the name "KOL Klinik" the constructed alias will be: "Region Midtjylland, Aarhus Universitetshospital, Lungesygdomme, Lungesygdomme Klinik, KOL Klinik" |
|
| If the SOR organization has a CVR number, it is stored. Only if available on the current SOR entity. (no inheritance) |
| Always set to SOR. See Organization Source - eHealth Infrastructure v3.0.0 (sundhed.dk) | |
| Calculated from | Relationships defining the organization trees are reflected in the FHIR id for the parent organization according to the SOR hierarchy. |
|
| |
| Code calculated from
| Stored as ContactPoints See https://hl7.org/fhir/R4/valueset-contact-point-system.html If not present on the current element the VirtualAddressInformation is inherited from the SOR parent. |
| Two addresses will be stored in FHIR.
And either an
|
Then a prioritized select of http://filer.sst.dk/sor/docs/sorxml/v_2_0_0/SorXmlDocumentationV2.html describes the inheritance of addresses in the SOR structure (translated to English):
After applying the inheritance logic the values are copied to the FHIR model. Ie. addresses are not left blank in the FHIR model. |
|
| |
|
| |
| Either a | |
| N/A | Not created during import. |
|
| |
|
| |
|
| Translates to the Danish 'Ydernummer' |
|
| |
|
| The |
eHealth Infrastructure imports from KOMBIT Fælleskommunalt (FK) Organisation
The eHealth Infrastructure imports organization information from the FK Organisation every night around midnightMidnight. Only
Info |
---|
For the import to be performed a Service Agreement in KOMBIT Serviceplatform must be established per municipality. |
The import performs the following:
Process all 98 municipalities given they have every municipality that has agreed to a Service Agreement .(could be all 98 municipalities)
For OrganisationEnhed to be imported
either the OrganisationEnhed itself or one of its children (transitively) must have
KLE code ‘
29.70.10 Telesundhed
' or '29.70.20 Telemedicin
' assigned as Opgaver as eitherudførende
oransvarlig
.
Import and update information from each municipality individually
...
Search for all OrganisationEnhed having the KLE code ‘
29.70.10 Telesundhed
' or'29.70.20 Telemedicin
' assigned as Opgaver as eitherudførende
oransvarlig
.For all found OrganisationEnhed their parent organizational tree is found using the
RelationListe.Overordnet
attributes.For OrganisationEnhed not having a RelationListe.Overordnet the RelationListe.Tilhoerer attribute will be used to retrieve the Organisation.
Then the Virksomhed is referenced by the Organisation's RelationList.Virksomhed attribute will be retrieved.
Lastly, the referenced addresses will be retrieved from the Adresser service and Danish Adresse Register (DAR).
The found Organisation and OrganisationEnhed resources are transformed into eHealth Organization resources and imported.
Data mapping overview
...
Info |
---|
Prior to FUT-I Release 2024.3, the FK Organisation object type Organisation was transformed and maintained as the top-level FHIR Organization in a municipal organization tree. With FUT-I Release 2024.3 these have been inactived (FHIR |
Data mapping overview
Data mapping from FK Organisation objects to FHIR Organization of profile https://docs.ehealth.sundhed.dk/latest-released/ig/StructureDefinition-fhir/StructureDefinition-ehealth-organization.html :
The following table explains how each of the attributes on the FHIR resource is mapped from the FK Organisation data model
ehealth-organization element | FK Organisation Source | Comment |
---|---|---|
| Generated by FHIR server | |
| Generated by FHIR server | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
| N/A | |
|
| A relation to corresponding FHIR |
Organization with the given SOR Id is established. Adresse resources with Rolle ' |
-origin FHIR Organization is reflected in the |
|
N/A
identifier[0].use
Always set to official
identifier[0].type
Not used
identifier[0].system
For FK Organisation always https://www.kombit.dk/sts/organisation
identifier[0].value
//element(*,tns:ListResponseType)/org:ListOutput/org:FiltreretOejebliksbillede/org:ObjektType/sd:UUIDIdentifikator
If OrganisationEnhed
tns:ListResponse/orgenhed:ListOutput/orgenhed:FiltreretOejebliksbillede/orgenhed:ObjektType/sd:UUIDIdentifikator
N/A | ||
| Always set to | |
|
//element(*,tns:ListResponseType)/org:ListOutput/org:FiltreretOejebliksbillede/org:Registrering/org:TilstandListe/orgfaelles:Gyldighed/sd:Virkning/sd:FraTidspunkt
If
| Not used | |
| For FK Organisation always | |
| OrganisationEnhed |
|
| |
|
|
OrganisationEnhed |
|
|
|
|
|
| ||
| If OrganisationEnhed | |
| Not used | |
|
Organisation
or | See https:// |
active
//element(*,tns:ListResponseType)/org:ListOutput/org:FiltreretOejebliksbillede/org:Registrering/org:TilstandListe/orgfaelles:Gyldighed/orgfaelles:GyldighedStatusKode
If
| OrganisationEnhed | Has to be Aktiv for If value is “Inaktiv”, then |
|
//element(*,tns:ListResponseType)/org:ListOutput/org:FiltreretOejebliksbillede/org:Registrering/org:AttributListe/org:Egenskab/sd:OrganisationNavn
OrganisationEnhed | ||
| Concatenation of 'name' from the top of the tree down to and including the current entity. | |
| OrganisationEnhed.Overordnet .. or if Overordnet |
is not set: OrganisationEnhed.Tilhoerer | Relationships defined in the organization trees from FK Organisation are reflected in the Root OrganisationEnhed will have no partOf. FHIR id for the parent organization according to the OIO hierarchy. | |
| The first found entry in | Address: Adresse resources with Rolle ' |
| Always | In case of a STS ORG Adresse |
| Always | In case of a STS ORG Adresse |
| From Adresse service
| In case of a STS ORG Adresse |
| From Organisation|OrganisationEnhed service
| In case of a STS ORG Adresse |
| From Organisation|OrganisationEnhed service
| In case of a STS ORG Adresse |
| Always | In case of a DAR address |
| Always | In case of a DAR address |
|
| In case of a DAR address |
|
| In case of a DAR address |
|
| In case of a DAR address |
| Always | In case of a DAR address |
|
| In case of a DAR address |
|
| In case of a DAR address |
| The first found entries in | Telecom: Adresse resources with Rolle 'Email' or 'Telefon' are stored as ContactPoints under the |
| Always " | |
| " | |
| From Adresse service
| |
| From Organisation|OrganisationEnhed service
| |
| From Organisation|OrganisationEnhed service
| |
| Not set by import | |
|
| |
|
| The CVR Number defined on the Virksomhed is copied to all children in the organizational tree. This CVR number is taken from the Organisation-associated Virksomheds object and applied to all |
OrganisationEnhed in the tree. The top-level Organisation in a hierarchy is accessed with the "tilhører" relation in an OrganisationEnhed | ||
| Not available in FK Org. | This information does not exist for address in OIO Organisation (Adresse). RegionCode for addresses is read from DAR: |
| Not available in FK Org. | This information does not exist for address in OIO Organisation (Adresse). Municipality code for addresses is read from DAR: |
| Not available in FK Org. | |
| Not available in FK Org. |
Note |
---|
In case the resolution of the Address and telecom fails, it is logged and processing continues. This leaves the Address and telecom unchanged. |
...