1.3.0 - release
KLGateway, published by KL. This guide is not an authorized publication; it is the continuous build for version 1.3.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7dk/kl-gateway/ and changes regularly. See the Directory of published versions
| Official URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-general-encounter | Version: 1.3.0 | |||
| Active as of 2026-07-19 | Computable Name: KLGatewayCareGeneralEncounter | |||
Encounter for planned and completed meetings between citizens and care staff.
The Encounter may be instantiated whenever citizens and practitioners meet in a Danish municipality context.
It is mandatory in FSIII to be able to express follow-up encounters on Conditions. In the planning state, these are documented by setting Encounter.status = 'planned', and Encounter.type.coding = 'opfølgning'. Encounter.status may be changed to 'finished' when the follow-up has taken place, but this is is optional.
Encounters which are used to deliver an intervention can also be be reported. Use Encounter.type.coding = 'Udførelse af indsats' and Encounter.status 'finished'. Reporting on finished encounters is optional.
To report errors use status 'entered-in-error'
Encounter.class is mandatory in FHIR. In Danish municipalities the values are used as follows.
The time of the encounter is documented in Encounter.period.start and Encounter.periode.end, and Encounter.period.start is mandatory. Only planned time is mandatory to report. There is no expectation that the staff update the time if they finish a little earlier or a little later. Time of day is also not mandatory. Encounter.periode.end and time of day is encouraged when reporting on finished Encounters.
Encounters can be related to the PlannedIntervention on which they are a delivery. Use Encounter.extension[basedOnCarePlan]. Encounters can also be related to the condition or conditions which are the reason for having the encounter. This is used for documenting the condition follow-up encounter. Use Encounter.reasonReference
Nedenstående tabel oversætter mellem de attributter der er defineret i den fælleskommunale informationsmodel (FKI), definerer kort den enkelte attribut på dansk og specificere hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet
| FKI-attribut | Definition | FHIR |
|---|---|---|
| borgerkontaktstatus | Klasse der indikerer om kontakten er igangværende, eller om dokumentationen repræsentere en fremtidig intention eller er historisk | Encounter.status |
| kontakttype | Klasse der udtrykker typen af aktivitet der gennemføres ved kontakten | Encounter.type.coding |
| borgerkontaktklasse | Klasse, der udtrykker en generel kategori for kontaktens leveringsform. | Encounter.class |
| borgerkontaktstart | Kontaktens start, eller planlagte start | Encounter.period.start |
| borgerkontaktslut | Kontaktens sluttidspunkt, eller planlagte sluttidspunkt | Encounter.period.end |
| borgerkontaktsubjekt | Den borger kontakten vedrører | Encounter.subject |
| borgerkontaktBaseretPå | Den eller de indsatser, der er grunden til at denne kontakt udføres | Encounter.extension:basedOnCarePlan |
| borgerkontaktTilstand | Den eller de tilstande, der er grunden til at denne kontakt udføres | Encounter.reasonReference |
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | (Complex) | [DK] kontaktIndsats URL: http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension" | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CarePlannedIntervention) {b} | Value of extension | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | [DK] kontaktstatus Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
Σ | 1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) |
![]() ![]() |
Σ | 1..* | CodeableConcept | Specific type of encounter Binding: GatewayKontaktTyper (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] kontakttype |
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] kontaktsubjekt |
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | [DK] kontaktstart |
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | [DK] kontaktslut |
![]() ![]() |
Σ | 0..* | Reference(CareCondition) | [DK] kontaktTilstand |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | required | KontaktKlasseKoder | 📦1.3.0 | This IG |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | GatewayKontaktTyper | 📦1.3.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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()
|
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | (Complex) | [DK] kontaktIndsats URL: http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CarePlannedIntervention) {b} | Value of extension | |
![]() ![]() |
0..0 | Identifier(s) by which this encounter is known | ||
![]() ![]() |
1..1 | code | [DK] kontaktstatus | |
![]() ![]() |
0..0 | List of past encounter statuses | ||
![]() ![]() |
1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | |
![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
0..0 | List of past encounter classes | ||
![]() ![]() |
1..* | CodeableConcept | Specific type of encounter Binding: GatewayKontaktTyper (required) | |
![]() ![]() ![]() |
1..1 | Coding | [DK] kontakttype | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Specific type of service | ||
![]() ![]() |
0..0 | Indicates the urgency of the encounter | ||
![]() ![]() |
1..1 | Reference(CareCitizen) {b} | [DK] kontaktsubjekt | |
![]() ![]() |
0..0 | Episode(s) of care that this encounter should be recorded against | ||
![]() ![]() |
0..0 | The ServiceRequest that initiated this encounter | ||
![]() ![]() |
0..0 | List of participants involved in the encounter | ||
![]() ![]() |
0..0 | The appointment that scheduled this encounter | ||
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() |
1..1 | dateTime | [DK] kontaktstart | |
![]() ![]() ![]() |
0..1 | dateTime | [DK] kontaktslut | |
![]() ![]() |
0..0 | Quantity of time the encounter lasted (less time absent) | ||
![]() ![]() |
0..0 | Coded reason the encounter takes place | ||
![]() ![]() |
0..* | Reference(CareCondition) | [DK] kontaktTilstand | |
![]() ![]() |
0..0 | The list of diagnosis relevant to this encounter | ||
![]() ![]() |
0..0 | The set of accounts that may be used for billing for this Encounter | ||
![]() ![]() |
0..0 | Details about the admission to a healthcare service | ||
![]() ![]() |
0..0 | List of locations where the patient has been | ||
![]() ![]() |
0..0 | The organization (facility) responsible for this encounter | ||
![]() ![]() |
0..0 | Another Encounter this encounter is part of | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.class | Base | required | KontaktKlasseKoder | 📦1.3.0 | This IG |
| Encounter.type | Base | required | GatewayKontaktTyper | 📦1.3.0 | This IG |
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | (Complex) | [DK] kontaktIndsats URL: http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(CarePlannedIntervention) {b} | Value of extension | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 1..1 | code | [DK] kontaktstatus Binding: EncounterStatus (required): Current state of the encounter. | ||||
![]() ![]() |
Σ | 1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 1..* | CodeableConcept | Specific type of encounter Binding: GatewayKontaktTyper (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] kontakttype | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] kontaktsubjekt | ||||
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | [DK] kontaktstart | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | [DK] kontaktslut | ||||
![]() ![]() |
Σ | 0..* | Reference(CareCondition) | [DK] kontaktTilstand | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | required | KontaktKlasseKoder | 📦1.3.0 | This IG |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | GatewayKontaktTyper | 📦1.3.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.diagnosis.use | Base | preferred | DiagnosisRole | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.admitSource | Base | preferred | Admit source | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦3.0.0 | THO v7.2 |
| Encounter.hospitalization.dietPreference | Base | example | Diet | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialCourtesy | Base | preferred | Special courtesy | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialArrangement | Base | preferred | Special arrangements | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.dischargeDisposition | Base | example | Discharge disposition | 📍4.0.1 | FHIR Std. |
| Encounter.location.status | Base | required | EncounterLocationStatus | 📍4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | example | Location type | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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()
|
This structure is derived from Encounter
Summary
Mandatory: 5 elements
Prohibited: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | (Complex) | [DK] kontaktIndsats URL: http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension" | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CarePlannedIntervention) {b} | Value of extension | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | [DK] kontaktstatus Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
Σ | 1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) |
![]() ![]() |
Σ | 1..* | CodeableConcept | Specific type of encounter Binding: GatewayKontaktTyper (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] kontakttype |
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] kontaktsubjekt |
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | [DK] kontaktstart |
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | [DK] kontaktslut |
![]() ![]() |
Σ | 0..* | Reference(CareCondition) | [DK] kontaktTilstand |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | required | KontaktKlasseKoder | 📦1.3.0 | This IG |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | GatewayKontaktTyper | 📦1.3.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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()
|
Differential View
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | (Complex) | [DK] kontaktIndsats URL: http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension | |
![]() ![]() ![]() ![]() |
1..1 | Reference(CarePlannedIntervention) {b} | Value of extension | |
![]() ![]() |
0..0 | Identifier(s) by which this encounter is known | ||
![]() ![]() |
1..1 | code | [DK] kontaktstatus | |
![]() ![]() |
0..0 | List of past encounter statuses | ||
![]() ![]() |
1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | |
![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
0..0 | List of past encounter classes | ||
![]() ![]() |
1..* | CodeableConcept | Specific type of encounter Binding: GatewayKontaktTyper (required) | |
![]() ![]() ![]() |
1..1 | Coding | [DK] kontakttype | |
![]() ![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() ![]() |
0..0 | Plain text representation of the concept | ||
![]() ![]() |
0..0 | Specific type of service | ||
![]() ![]() |
0..0 | Indicates the urgency of the encounter | ||
![]() ![]() |
1..1 | Reference(CareCitizen) {b} | [DK] kontaktsubjekt | |
![]() ![]() |
0..0 | Episode(s) of care that this encounter should be recorded against | ||
![]() ![]() |
0..0 | The ServiceRequest that initiated this encounter | ||
![]() ![]() |
0..0 | List of participants involved in the encounter | ||
![]() ![]() |
0..0 | The appointment that scheduled this encounter | ||
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() |
1..1 | dateTime | [DK] kontaktstart | |
![]() ![]() ![]() |
0..1 | dateTime | [DK] kontaktslut | |
![]() ![]() |
0..0 | Quantity of time the encounter lasted (less time absent) | ||
![]() ![]() |
0..0 | Coded reason the encounter takes place | ||
![]() ![]() |
0..* | Reference(CareCondition) | [DK] kontaktTilstand | |
![]() ![]() |
0..0 | The list of diagnosis relevant to this encounter | ||
![]() ![]() |
0..0 | The set of accounts that may be used for billing for this Encounter | ||
![]() ![]() |
0..0 | Details about the admission to a healthcare service | ||
![]() ![]() |
0..0 | List of locations where the patient has been | ||
![]() ![]() |
0..0 | The organization (facility) responsible for this encounter | ||
![]() ![]() |
0..0 | Another Encounter this encounter is part of | ||
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.class | Base | required | KontaktKlasseKoder | 📦1.3.0 | This IG |
| Encounter.type | Base | required | GatewayKontaktTyper | 📦1.3.0 | This IG |
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Encounter | An interaction during which services are provided to the patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | (Complex) | [DK] kontaktIndsats URL: http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/gateway/StructureDefinition/BasedOnInterventionExtension" | |||||
![]() ![]() ![]() ![]() |
1..1 | Reference(CarePlannedIntervention) {b} | Value of extension | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 1..1 | code | [DK] kontaktstatus Binding: EncounterStatus (required): Current state of the encounter. | ||||
![]() ![]() |
Σ | 1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 1..* | CodeableConcept | Specific type of encounter Binding: GatewayKontaktTyper (required) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | Coding | [DK] kontakttype | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 1..1 | Reference(CareCitizen) {b} | [DK] kontaktsubjekt | ||||
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | [DK] kontaktstart | ||||
![]() ![]() ![]() |
ΣC | 0..1 | dateTime | [DK] kontaktslut | ||||
![]() ![]() |
Σ | 0..* | Reference(CareCondition) | [DK] kontaktTilstand | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | required | KontaktKlasseKoder | 📦1.3.0 | This IG |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v7.2 |
| Encounter.type | Base | required | GatewayKontaktTyper | 📦1.3.0 | This IG |
| Encounter.participant.type | Base | extensible | Participant type | 📍4.0.1 | FHIR Std. |
| Encounter.diagnosis.use | Base | preferred | DiagnosisRole | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.admitSource | Base | preferred | Admit source | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦3.0.0 | THO v7.2 |
| Encounter.hospitalization.dietPreference | Base | example | Diet | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialCourtesy | Base | preferred | Special courtesy | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.specialArrangement | Base | preferred | Special arrangements | 📍4.0.1 | FHIR Std. |
| Encounter.hospitalization.dischargeDisposition | Base | example | Discharge disposition | 📍4.0.1 | FHIR Std. |
| Encounter.location.status | Base | required | EncounterLocationStatus | 📍4.0.1 | FHIR Std. |
| Encounter.location.physicalType | Base | example | Location type | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Encounter | 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 | Encounter | 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 | Encounter | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Encounter | 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()
|
This structure is derived from Encounter
Summary
Mandatory: 5 elements
Prohibited: 22 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Other representations of profile: CSV, Excel, Schematron