2.1.1 - Release

This page is part of the KLGatewayPrevention (v2.1.1: Release) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Resource Profile: KLGateway119Organization

Official URL: http://fhir.kl.dk/prevention/StructureDefinition/klgateway-119-organization Version: 2.1.1
Active as of 2024-06-24 Computable Name: KLGateway119Organization

Organization as expressed in KLGateway for prevention/health promotion.

Scope and usage

The organization inherits its basic structure from dk-core. When it is used in KL gateway, identifiers are reported. The identifier can be either a SOR-id or an FK-org code.

Organization.active is optional and assumed true, if not given. Organization.active = false is used to report entered-in-error. However, this option should only be used, if the Organization is fully unknown to the municipality system, and should never have been in the system at all.

Be aware that in the context of KL gateway, the managing organization (the municipality keeping the record) is represented in the citizen profile, NOT using this organization profile. The organization profile is used to represent other organizations such as general practitioners and hospitals sending service requests.

Conversions between Danish information model and FHIR-profile

Organization svarer til en type af Aktør i den fælleskommunale rammearkitektur. nedenstående tabel definerer kort den enkelte attribut på dansk og specificerer, hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet.

FKI-attribut Definition FHIR
organisationsid Id på organisationen der enten er en SOR kode eller et FK-Org id Organization.identifier
organisationHarAktivJournal Angiver om organisationen har en aktiv journal i den journalførende organisation eller ej Organization.active

Usage:

Formal Views of Profile Content

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

This structure is derived from DkCoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization DkCoreOrganization
... identifier 1..1 Identifier [DK] organisationsid
... Slices for identifier Content/Rules for all slices
.... identifier:EAN-ID 0..0
.... identifier:SOR-ID 0..1 SORIdentifier [DK] SOR-id
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DK] FK-ORG-id
.... identifier:Ydernummer 0..0
.... identifier:CVR-ID 0..0
.... identifier:Kommunekode 0..0
.... identifier:Regionskode 0..0
... active 0..1 boolean [DK] harAktivJournal
... alias 0..0
... telecom 0..0
... address 0..0
... partOf 0..0
... contact 0..0
... endpoint 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* DkCoreOrganization A grouping of people or organizations with a common purpose
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
dk-core-organization-mandatory-identifier: Minimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
... 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 ΣC 1..1 Identifier [DK] organisationsid
Slice: Unordered, Open by value:system
.... identifier:SOR-ID 0..1 SORIdentifier [DK] SOR-id
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DK] FK-ORG-id
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.identifier:Ydernummer.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Kommunekode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Kommunekode.valuerequiredMunicipalityCodes
http://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes
Organization.identifier:Regionskode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dk-core-organization-mandatory-identifiererrorOrganizationMinimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
: identifier.where(system='urn:oid:1.2.208.176.1.1' or system='https://kombit.dk/sts/organisation' or system='urn:oid:2.16.840.1.113883.2.24.1.1').exists()
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
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()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* DkCoreOrganization A grouping of people or organizations with a common purpose
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
dk-core-organization-mandatory-identifier: Minimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
... 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
... 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 ΣC 1..1 Identifier [DK] organisationsid
Slice: Unordered, Open by value:system
.... identifier:SOR-ID 0..1 SORIdentifier [DK] SOR-id
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DK] FK-ORG-id
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id
... active ?!Σ 0..1 boolean [DK] harAktivJournal
... name ΣC 0..1 string Name used for the organization

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Organization.identifier:Ydernummer.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Ydernummer.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Organization.identifier:Kommunekode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Kommunekode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Organization.identifier:Kommunekode.valuerequiredMunicipalityCodes
http://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes
Organization.identifier:Regionskode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Regionskode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Organization.contact.purposeextensibleContactEntityType
http://hl7.org/fhir/ValueSet/contactentity-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dk-core-organization-mandatory-identifiererrorOrganizationMinimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
: identifier.where(system='urn:oid:1.2.208.176.1.1' or system='https://kombit.dk/sts/organisation' or system='urn:oid:2.16.840.1.113883.2.24.1.1').exists()
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
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()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0

This structure is derived from DkCoreOrganization

Differential View

This structure is derived from DkCoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization DkCoreOrganization
... identifier 1..1 Identifier [DK] organisationsid
... Slices for identifier Content/Rules for all slices
.... identifier:EAN-ID 0..0
.... identifier:SOR-ID 0..1 SORIdentifier [DK] SOR-id
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DK] FK-ORG-id
.... identifier:Ydernummer 0..0
.... identifier:CVR-ID 0..0
.... identifier:Kommunekode 0..0
.... identifier:Regionskode 0..0
... active 0..1 boolean [DK] harAktivJournal
... alias 0..0
... telecom 0..0
... address 0..0
... partOf 0..0
... contact 0..0
... endpoint 0..0

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* DkCoreOrganization A grouping of people or organizations with a common purpose
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
dk-core-organization-mandatory-identifier: Minimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
... 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 ΣC 1..1 Identifier [DK] organisationsid
Slice: Unordered, Open by value:system
.... identifier:SOR-ID 0..1 SORIdentifier [DK] SOR-id
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DK] FK-ORG-id
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.identifier:Ydernummer.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Kommunekode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Kommunekode.valuerequiredMunicipalityCodes
http://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes
Organization.identifier:Regionskode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dk-core-organization-mandatory-identifiererrorOrganizationMinimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
: identifier.where(system='urn:oid:1.2.208.176.1.1' or system='https://kombit.dk/sts/organisation' or system='urn:oid:2.16.840.1.113883.2.24.1.1').exists()
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
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()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* DkCoreOrganization A grouping of people or organizations with a common purpose
org-1: The organization SHALL at least have a name or an identifier, and possibly more than one
dk-core-organization-mandatory-identifier: Minimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
... 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
... 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 ΣC 1..1 Identifier [DK] organisationsid
Slice: Unordered, Open by value:system
.... identifier:SOR-ID 0..1 SORIdentifier [DK] SOR-id
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DK] FK-ORG-id
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id
... active ?!Σ 0..1 boolean [DK] harAktivJournal
... name ΣC 0..1 string Name used for the organization

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Organization.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Organization.identifier:Ydernummer.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Ydernummer.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Organization.identifier:Kommunekode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Kommunekode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Organization.identifier:Kommunekode.valuerequiredMunicipalityCodes
http://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes
Organization.identifier:Regionskode.userequiredIdentifierUse
http://hl7.org/fhir/ValueSet/identifier-use|4.0.1
from the FHIR Standard
Organization.identifier:Regionskode.typeextensibleIdentifier Type Codes
http://hl7.org/fhir/ValueSet/identifier-type
from the FHIR Standard
Organization.contact.purposeextensibleContactEntityType
http://hl7.org/fhir/ValueSet/contactentity-type
from the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dk-core-organization-mandatory-identifiererrorOrganizationMinimum one identifier shall be of type SOR-ID, KOMBIT-ORG-ID or CVR-ID
: identifier.where(system='urn:oid:1.2.208.176.1.1' or system='https://kombit.dk/sts/organisation' or system='urn:oid:2.16.840.1.113883.2.24.1.1').exists()
dom-2errorOrganizationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorOrganizationIf 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-4errorOrganizationIf 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-5errorOrganizationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceOrganizationA resource should have narrative for robust management
: text.`div`.exists()
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()
org-1errorOrganizationThe organization SHALL at least have a name or an identifier, and possibly more than one
: (identifier.count() + name.count()) > 0

This structure is derived from DkCoreOrganization

 

Other representations of profile: CSV, Excel, Schematron