DK MedCom Messaging
2.2.0 - release Denmark flag

This page is part of the DK MedCom Messaging (v2.2.0: Release) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 2.1.0. For a full list of available versions, see the Directory of published versions

Resource Profile: MedComMessagingOrganization

Official URL: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-organization Version: 2.2.0
Active as of 2024-06-28 Computable Name: MedComMessagingOrganization

A formally recognized organizations registered for exchanging messages within Danish healthcare, registered with a SOR identifier issued by The Danish Health Data Authority

Scope and usage

This profile describes the Organization resource that shall be used in all MedCom FHIR Messages. MedComMessagingOrganization inherits from MedComCoreOrganization as it shall include both a SOR and EAN/GLN identifier. MedComMessagingOrganization is used to describe the sender and receiver organizations of a all MedCom FHIR Messages.

Please refer to the tab “Snapshot Table(Must support)” below for the definition of the required content of a MedComMessagingOrganization.

Usage:

Formal Views of Profile Content

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

This structure is derived from MedComCoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..* MedComCoreOrganization A formally recognized organizations within Danish healthcare
... text S 0..1 Narrative Text summary of the resource, for human interpretation
... identifier S 2..* Identifier Identifies this organization across multiple systems
... Slices for identifier Content/Rules for all slices
.... identifier:EAN-ID SΣ 1..1 GLNIdentifier An identifier intended for computation

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* MedComCoreOrganization A formally recognized organizations within Danish healthcare
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
... text S 0..1 Narrative Text summary of the resource, for human interpretation
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:EAN-ID SΣ 1..1 GLNIdentifier An identifier intended for computation
.... identifier:SOR-ID SΣ 1..1 SORIdentifier Sundhedsvæsenets Organisationsregister (SOR) identifier
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DA] Organisationsenheds-id som specificeret af FK-ORG
.... identifier:Ydernummer ΣC 0..1 Identifier [DA] Ydernummer
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.208.176.1.4
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:CVR-ID 0..1 CVRIdentifier VAT identification number, [DA] CVR-nummer
.... identifier:Kommunekode ΣC 0..1 Identifier [DA] Kommunekode
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes
..... value Σ 1..1 string The value that is unique
Binding: DK Municipality Codes (required)
Example General: 123456
.... identifier:Regionskode ΣC 0..1 Identifier [DA] Regionskode
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-regional-subdivision-codes
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id
... active ?!Σ 0..1 boolean Whether the organization's record is still in active use
... name SΣC 0..1 string Name used for the organization

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..* MedComCoreOrganization A formally recognized organizations within Danish healthcare
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 S 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 SΣC 2..* Identifier Identifies this organization across multiple systems
Slice: Unordered, Open by value:system
.... identifier:EAN-ID SΣ 1..1 GLNIdentifier An identifier intended for computation
.... identifier:SOR-ID SΣ 1..1 SORIdentifier Sundhedsvæsenets Organisationsregister (SOR) identifier
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DA] Organisationsenheds-id som specificeret af FK-ORG
.... identifier:Ydernummer ΣC 0..1 Identifier [DA] Ydernummer
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 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.

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.208.176.1.4
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:CVR-ID 0..1 CVRIdentifier VAT identification number, [DA] CVR-nummer
.... identifier:Kommunekode ΣC 0..1 Identifier [DA] Kommunekode
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 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.

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes
..... value Σ 1..1 string The value that is unique
Binding: DK Municipality Codes (required)
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:Regionskode ΣC 0..1 Identifier [DA] Regionskode
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 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.

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-regional-subdivision-codes
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id
... active ?!Σ 0..1 boolean Whether the organization's record is still in active use
... type Σ 0..* CodeableConcept Kind of organization
Binding: DK SOR Organization Type (preferred)
... name SΣC 0..1 string Name used for the organization
... alias 0..* string A list of alternate names that the organization is known as, or was known as in the past
... telecom C 0..* ContactPoint A contact detail for the organization
org-3: The telecom of an organization can never be of use 'home'
... address C 0..* Address An address for the organization
org-2: An address of an organization can never be of use 'home'
... partOf Σ 0..1 Reference(Organization) The organization of which this organization forms a part
... contact 0..* BackboneElement Contact for the organization for a certain purpose
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... purpose 0..1 CodeableConcept The type of contact
Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.

.... name 0..1 HumanName A name associated with the contact
.... telecom 0..* ContactPoint Contact details (telephone, email, etc.) for a contact
.... address 0..1 Address Visiting or postal addresses for the contact
... endpoint 0..* Reference(Endpoint) Technical endpoints providing access to services operated 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.typepreferredSorOrganizationType
http://hl7.dk/fhir/core/ValueSet/sor-organization-type
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
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()

This structure is derived from MedComCoreOrganization

Summary

Mandatory: 1 element
Must-Support: 3 elements

Differential View

This structure is derived from MedComCoreOrganization

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization 0..* MedComCoreOrganization A formally recognized organizations within Danish healthcare
... text S 0..1 Narrative Text summary of the resource, for human interpretation
... identifier S 2..* Identifier Identifies this organization across multiple systems
... Slices for identifier Content/Rules for all slices
.... identifier:EAN-ID SΣ 1..1 GLNIdentifier An identifier intended for computation

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Organization C 0..* MedComCoreOrganization A formally recognized organizations within Danish healthcare
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
... text S 0..1 Narrative Text summary of the resource, for human interpretation
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... identifier:EAN-ID SΣ 1..1 GLNIdentifier An identifier intended for computation
.... identifier:SOR-ID SΣ 1..1 SORIdentifier Sundhedsvæsenets Organisationsregister (SOR) identifier
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DA] Organisationsenheds-id som specificeret af FK-ORG
.... identifier:Ydernummer ΣC 0..1 Identifier [DA] Ydernummer
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.208.176.1.4
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:CVR-ID 0..1 CVRIdentifier VAT identification number, [DA] CVR-nummer
.... identifier:Kommunekode ΣC 0..1 Identifier [DA] Kommunekode
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes
..... value Σ 1..1 string The value that is unique
Binding: DK Municipality Codes (required)
Example General: 123456
.... identifier:Regionskode ΣC 0..1 Identifier [DA] Regionskode
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-regional-subdivision-codes
..... value Σ 1..1 string The value that is unique
Example General: 123456
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id
... active ?!Σ 0..1 boolean Whether the organization's record is still in active use
... name SΣC 0..1 string Name used for the organization

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..* MedComCoreOrganization A formally recognized organizations within Danish healthcare
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 S 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 SΣC 2..* Identifier Identifies this organization across multiple systems
Slice: Unordered, Open by value:system
.... identifier:EAN-ID SΣ 1..1 GLNIdentifier An identifier intended for computation
.... identifier:SOR-ID SΣ 1..1 SORIdentifier Sundhedsvæsenets Organisationsregister (SOR) identifier
.... identifier:KOMBIT-ORG-ID 0..1 KombitOrgIdentifier [DA] Organisationsenheds-id som specificeret af FK-ORG
.... identifier:Ydernummer ΣC 0..1 Identifier [DA] Ydernummer
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 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.

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: urn:oid:1.2.208.176.1.4
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:CVR-ID 0..1 CVRIdentifier VAT identification number, [DA] CVR-nummer
.... identifier:Kommunekode ΣC 0..1 Identifier [DA] Kommunekode
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 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.

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-municipality-codes
..... value Σ 1..1 string The value that is unique
Binding: DK Municipality Codes (required)
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:Regionskode ΣC 0..1 Identifier [DA] Regionskode
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .

..... type Σ 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.

..... system Σ 1..1 uri The namespace for the identifier value
Fixed Value: http://hl7.dk/fhir/core/CodeSystem/dk-core-regional-subdivision-codes
..... value Σ 1..1 string The value that is unique
Example General: 123456
..... period Σ 0..1 Period Time period when id is/was valid for use
..... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
.... identifier:ProducentID 0..1 ProducentId [DA] Producent Id
... active ?!Σ 0..1 boolean Whether the organization's record is still in active use
... type Σ 0..* CodeableConcept Kind of organization
Binding: DK SOR Organization Type (preferred)
... name SΣC 0..1 string Name used for the organization
... alias 0..* string A list of alternate names that the organization is known as, or was known as in the past
... telecom C 0..* ContactPoint A contact detail for the organization
org-3: The telecom of an organization can never be of use 'home'
... address C 0..* Address An address for the organization
org-2: An address of an organization can never be of use 'home'
... partOf Σ 0..1 Reference(Organization) The organization of which this organization forms a part
... contact 0..* BackboneElement Contact for the organization for a certain purpose
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... purpose 0..1 CodeableConcept The type of contact
Binding: ContactEntityType (extensible): The purpose for which you would contact a contact party.

.... name 0..1 HumanName A name associated with the contact
.... telecom 0..* ContactPoint Contact details (telephone, email, etc.) for a contact
.... address 0..1 Address Visiting or postal addresses for the contact
... endpoint 0..* Reference(Endpoint) Technical endpoints providing access to services operated 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.typepreferredSorOrganizationType
http://hl7.dk/fhir/core/ValueSet/sor-organization-type
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
org-2errorOrganization.addressAn address of an organization can never be of use 'home'
: where(use = 'home').empty()
org-3errorOrganization.telecomThe telecom of an organization can never be of use 'home'
: where(use = 'home').empty()

This structure is derived from MedComCoreOrganization

Summary

Mandatory: 1 element
Must-Support: 3 elements

 

Other representations of profile: CSV, Excel, Schematron