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. For a full list of available versions, see the Directory of published versions
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.
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.
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from DkCoreOrganization
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
type | 0..0 | |||
alias | 0..0 | |||
telecom | 0..0 | |||
address | 0..0 | |||
partOf | 0..0 | |||
contact | 0..0 | |||
endpoint | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
active | ?!Σ | 0..1 | boolean | [DK] harAktivJournal |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Organization.identifier:Ydernummer.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
Organization.identifier:Kommunekode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
Organization.identifier:Kommunekode.value | required | MunicipalityCodeshttp://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes | |
Organization.identifier:Regionskode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dk-core-organization-mandatory-identifier | error | Organization | Minimum 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-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Organization | 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() | |
org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one : (identifier.count() + name.count()) > 0 |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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 | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Organization.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Organization.identifier:Ydernummer.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Organization.identifier:Ydernummer.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Organization.identifier:Kommunekode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Organization.identifier:Kommunekode.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Organization.identifier:Kommunekode.value | required | MunicipalityCodeshttp://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes | ||||
Organization.identifier:Regionskode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Organization.identifier:Regionskode.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Organization.contact.purpose | extensible | ContactEntityTypehttp://hl7.org/fhir/ValueSet/contactentity-type from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dk-core-organization-mandatory-identifier | error | Organization | Minimum 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-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Organization | 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() | |
org-1 | error | Organization | The 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
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
type | 0..0 | |||
alias | 0..0 | |||
telecom | 0..0 | |||
address | 0..0 | |||
partOf | 0..0 | |||
contact | 0..0 | |||
endpoint | 0..0 | |||
Documentation for this format |
Key Elements View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
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 | |
active | ?!Σ | 0..1 | boolean | [DK] harAktivJournal |
Documentation for this format |
Path | Conformance | ValueSet | URI |
Organization.identifier:Ydernummer.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
Organization.identifier:Kommunekode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
Organization.identifier:Kommunekode.value | required | MunicipalityCodeshttp://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes | |
Organization.identifier:Regionskode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dk-core-organization-mandatory-identifier | error | Organization | Minimum 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-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Organization | 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() | |
org-1 | error | Organization | The organization SHALL at least have a name or an identifier, and possibly more than one : (identifier.count() + name.count()) > 0 |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
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 | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
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 | ||||
Documentation for this format |
Path | Conformance | ValueSet | URI | |||
Organization.language | preferred | CommonLanguages
http://hl7.org/fhir/ValueSet/languages from the FHIR Standard | ||||
Organization.identifier:Ydernummer.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Organization.identifier:Ydernummer.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Organization.identifier:Kommunekode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Organization.identifier:Kommunekode.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Organization.identifier:Kommunekode.value | required | MunicipalityCodeshttp://hl7.dk/fhir/core/ValueSet/dk-core-MunicipalityCodes | ||||
Organization.identifier:Regionskode.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
Organization.identifier:Regionskode.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
Organization.contact.purpose | extensible | ContactEntityTypehttp://hl7.org/fhir/ValueSet/contactentity-type from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dk-core-organization-mandatory-identifier | error | Organization | Minimum 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-2 | error | Organization | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Organization | 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 | Organization | 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 | Organization | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Organization | 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() | |
org-1 | error | Organization | The 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