LTT Implementation Guide
1.0.1 - ci-build
This page is part of the KLltt (v1.0.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/ltt/StructureDefinition/klgateway-ltt-encounter | Version: 1.0.1 | |||
| Active as of 2025-10-29 | Computable Name: KLGatewayLTTEncounter | |||
Encounter between a child or youth and the LTT
This model is used whenever an encounter is completed between a citizen and LTT.
The Encounter.type attribute is used to classify the type of activities that occur at the encounter. The encounters have been classified accordingly:
Only encounters actually carried out should be documented. Consequently, the encounter.status should be 'finished'. However, if errors have been reported use the 'entered-in-error' status as described by the FHIR documentation.
Encounter.class is mandatory in FHIR. In this implementation guide, always use 'AMB' Ambulatory.
The time of the encounter is documented in Encounter.period.start, and it is mandatory.
Encounter.extension[basedOnCarePlan] must be populated with a reference to the care plan.
Encounter.subject relates to the subject that the encounter is about. In LTT this is always the child or youth. Eventhough it can be the parents, legal guardians, etc. of the child or youth that are receiving the training or guiding. To document this, Encounter.participant can be used to tell whether it is the child/youth, who is present (maybe in companionship with the parents) or if it is just the parents, who participate in the encounter. Encounter.extension[deliveryType] is used to state, how encounters are delivered. Valid values are 'individual' and 'group based'. There's a difference in how the information is registered in the user interface and how it is reported to KL Gateway. The table below shows how the registrations from the user interface is represented in FHIR:
| User interface terms | FHIR representation |
|---|---|
| 8742dc92-2878-4074-b128-b0384c4989c9 "Gruppebaseret behandling med barn/ung" |
Encounter.extension[deliveryType] = 2865f123-15a7-4a36-a514-32ea37c400ca "Gruppebaseret indsats" Encounter.participant.type.coding = ca228a58-bd0e-4b0e-81ce-3866adc26535 "Barn/ung deltager" |
| dadb1540-9542-46d1-a784-0559d94e0b9a "Gruppebaseret behandling uden barn/ung" |
Encounter.extension[deliveryType] = 2865f123-15a7-4a36-a514-32ea37c400ca "Gruppebaseret indsats" Encounter.participant.type.coding = d3578249-10df-4051-851d-3986b1570bee "Omsorgsperson uden barn/ung" |
| ca52f015-193e-4d31-9471-7385717dfa44 "Individuel behandling med barn/ung" |
Encounter.extension[deliveryType] = 8d12d74c-17da-47a7-a4fe-e69dbaec0a8c "Individuel indsats" Encounter.participant.type.coding = ca228a58-bd0e-4b0e-81ce-3866adc26535 "Barn/ung deltager" |
| c86b5c04-7e13-488b-87fd-fb1e30309bb8 "Individuel behandling uden barn/ung" |
Encounter.extension[deliveryType] = 8d12d74c-17da-47a7-a4fe-e69dbaec0a8c "Individuel indsats" Encounter.participant.type.coding = d3578249-10df-4051-851d-3986b1570bee "Omsorgsperson uden barn/ung" |
Nedenstående tabel definerer kort den enkelte attribut på dansk og specificerer hvilke af FHIR-profilens atributter, der skal bruges til specifikation af indholdet.
| Dansk attribut | Definition | FHIR |
|---|---|---|
| kontaktstatus | Kode, der indikerer om kontakten er igangværende, eller om dokumentationen repræsentere en fremtidig intention eller er historisk | Encounter.status |
| kontaktklasse | Klasse, der udtrykker en generel kategori for kontakten, som rækker ud over den kommunale kontekst | Encounter.class |
| kontakttype | Kode, der udtrykker typen af aktivitet der gennemføres ved kontakten | Encounter.type |
| kontaktsubjekt | Den borger kontakten vedrører | Encounter.subject |
| kontaktdeltagere | Deltagere under kontakten | Encounter.participant |
| kontaktstart | Kontaktens start | Encounter.period.start |
| kontaktLeveringstype | Type, der beskriver hvordan kontaktes leveres | Encounter.extension:deliveryType |
| kontaktBaseretPå | Den care plan, der er grunden til at denne kontakt udføres | Encounter.extension:basedOnCarePlan |
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: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: klgateway-ltt-encounter-participants-and-deliveryType |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | [DK] kontaktLeveringstype URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type" | |
![]() ![]() ![]() |
1..1 | Reference(KLGatewayLTTCarePlan) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan | |
![]() ![]() |
?! | 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: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AMB | |
![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() |
Σ | 0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt |
![]() ![]() |
Σ | 0..1 | BackboneElement | [DK] kontaktdeltagere |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) |
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | [DK] kontaktstart |
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 | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.type | Base | required | Lettilgængeligt Tilbud - Kontakttyper | 📦1.0.1 | This IG |
| Encounter.participant.type | Base | required | Lettilgængeligt Tilbud - Deltagere i kontakt | 📦1.0.1 | 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()
|
| klgateway-ltt-encounter-participants-and-deliveryType | error | Encounter | If the encounter is of type 'Behandling', then the encounter must have participant and deliveryType. |
type.coding.code = 'b7f9217c-2315-4d6f-bba5-5117e202302c' implies (participant.type.coding.exists() and extension.where(url='http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type').value.coding.exists())
|
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: klgateway-ltt-encounter-participants-and-deliveryType |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | [DK] kontaktLeveringstype URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Binding: Lettilgængeligt Tilbud - Leveringstype (required) | |
![]() ![]() ![]() |
1..1 | Reference(KLGatewayLTTCarePlan) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan | |
![]() ![]() |
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 Required Pattern: At least the following | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AMB | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
0..0 | List of past encounter classes | ||
![]() ![]() |
1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
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 | ||
![]() ![]() |
0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt | |
![]() ![]() |
0..0 | Episode(s) of care that this encounter should be recorded against | ||
![]() ![]() |
0..0 | The ServiceRequest that initiated this encounter | ||
![]() ![]() |
0..1 | BackboneElement | [DK] kontaktdeltagere | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) | |
![]() ![]() ![]() |
0..0 | Period of time during the encounter that the participant participated | ||
![]() ![]() ![]() |
0..0 | Persons involved in the encounter other than the patient | ||
![]() ![]() |
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..0 | End time with inclusive boundary, if not ongoing | ||
![]() ![]() |
0..0 | Quantity of time the encounter lasted (less time absent) | ||
![]() ![]() |
0..0 | Coded reason the encounter takes place | ||
![]() ![]() |
0..0 | Reason the encounter takes place (reference) | ||
![]() ![]() |
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.extension:deliveryType.value[x].coding | Base | required | Lettilgængeligt Tilbud - Leveringstype | 📦1.0.1 | This IG |
| Encounter.type | Base | required | Lettilgængeligt Tilbud - Kontakttyper | 📦1.0.1 | This IG |
| Encounter.participant.type | Base | required | Lettilgængeligt Tilbud - Deltagere i kontakt | 📦1.0.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| klgateway-ltt-encounter-participants-and-deliveryType | error | Encounter | If the encounter is of type 'Behandling', then the encounter must have participant and deliveryType. |
type.coding.code = 'b7f9217c-2315-4d6f-bba5-5117e202302c' implies (participant.type.coding.exists() and extension.where(url='http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type').value.coding.exists())
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: klgateway-ltt-encounter-participants-and-deliveryType | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | [DK] kontaktLeveringstype URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type | |||||
![]() ![]() ![]() ![]() |
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/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type" | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Binding: Lettilgængeligt Tilbud - Leveringstype (required) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
1..1 | Reference(KLGatewayLTTCarePlan) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan | |||||
![]() ![]() |
?! | 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: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |||||
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AMB | |||||
![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (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 | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() |
Σ | 0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | [DK] kontaktdeltagere | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) | ||||
![]() ![]() |
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 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Encounter.extension:deliveryType.value[x].coding | Base | required | Lettilgængeligt Tilbud - Leveringstype | 📦1.0.1 | This IG |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.type | Base | required | Lettilgængeligt Tilbud - Kontakttyper | 📦1.0.1 | This IG |
| Encounter.participant.type | Base | required | Lettilgængeligt Tilbud - Deltagere i kontakt | 📦1.0.1 | This IG |
| 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 | 📦2.0.0 | THO v6.5 |
| 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()
|
| klgateway-ltt-encounter-participants-and-deliveryType | error | Encounter | If the encounter is of type 'Behandling', then the encounter must have participant and deliveryType. |
type.coding.code = 'b7f9217c-2315-4d6f-bba5-5117e202302c' implies (participant.type.coding.exists() and extension.where(url='http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type').value.coding.exists())
|
This structure is derived from Encounter
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: klgateway-ltt-encounter-participants-and-deliveryType |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | [DK] kontaktLeveringstype URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type | |
![]() ![]() ![]() ![]() |
0..0 | Extension Slice: Unordered, Open by value:url | ||
![]() ![]() ![]() ![]() |
1..1 | uri | "http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type" | |
![]() ![]() ![]() |
1..1 | Reference(KLGatewayLTTCarePlan) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan | |
![]() ![]() |
?! | 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: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following |
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AMB | |
![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |
![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system |
![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system |
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (required) |
![]() ![]() ![]() |
Σ | 1..1 | Coding | Code defined by a terminology system |
![]() ![]() |
Σ | 0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt |
![]() ![]() |
Σ | 0..1 | BackboneElement | [DK] kontaktdeltagere |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) |
![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() |
ΣC | 1..1 | dateTime | [DK] kontaktstart |
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 | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.type | Base | required | Lettilgængeligt Tilbud - Kontakttyper | 📦1.0.1 | This IG |
| Encounter.participant.type | Base | required | Lettilgængeligt Tilbud - Deltagere i kontakt | 📦1.0.1 | 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()
|
| klgateway-ltt-encounter-participants-and-deliveryType | error | Encounter | If the encounter is of type 'Behandling', then the encounter must have participant and deliveryType. |
type.coding.code = 'b7f9217c-2315-4d6f-bba5-5117e202302c' implies (participant.type.coding.exists() and extension.where(url='http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type').value.coding.exists())
|
Differential View
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: klgateway-ltt-encounter-participants-and-deliveryType |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | (Complex) | [DK] kontaktLeveringstype URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type | |
![]() ![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system Binding: Lettilgængeligt Tilbud - Leveringstype (required) | |
![]() ![]() ![]() |
1..1 | Reference(KLGatewayLTTCarePlan) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan | |
![]() ![]() |
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 Required Pattern: At least the following | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AMB | |
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() |
0..0 | Version of the system - if relevant | ||
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() |
0..0 | If this coding was chosen directly by the user | ||
![]() ![]() |
0..0 | List of past encounter classes | ||
![]() ![]() |
1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (required) | |
![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() |
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 | ||
![]() ![]() |
0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt | |
![]() ![]() |
0..0 | Episode(s) of care that this encounter should be recorded against | ||
![]() ![]() |
0..0 | The ServiceRequest that initiated this encounter | ||
![]() ![]() |
0..1 | BackboneElement | [DK] kontaktdeltagere | |
![]() ![]() ![]() |
1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) | |
![]() ![]() ![]() |
0..0 | Period of time during the encounter that the participant participated | ||
![]() ![]() ![]() |
0..0 | Persons involved in the encounter other than the patient | ||
![]() ![]() |
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..0 | End time with inclusive boundary, if not ongoing | ||
![]() ![]() |
0..0 | Quantity of time the encounter lasted (less time absent) | ||
![]() ![]() |
0..0 | Coded reason the encounter takes place | ||
![]() ![]() |
0..0 | Reason the encounter takes place (reference) | ||
![]() ![]() |
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.extension:deliveryType.value[x].coding | Base | required | Lettilgængeligt Tilbud - Leveringstype | 📦1.0.1 | This IG |
| Encounter.type | Base | required | Lettilgængeligt Tilbud - Kontakttyper | 📦1.0.1 | This IG |
| Encounter.participant.type | Base | required | Lettilgængeligt Tilbud - Deltagere i kontakt | 📦1.0.1 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| klgateway-ltt-encounter-participants-and-deliveryType | error | Encounter | If the encounter is of type 'Behandling', then the encounter must have participant and deliveryType. |
type.coding.code = 'b7f9217c-2315-4d6f-bba5-5117e202302c' implies (participant.type.coding.exists() and extension.where(url='http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type').value.coding.exists())
|
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Encounter | An interaction during which services are provided to the patient Constraints: klgateway-ltt-encounter-participants-and-deliveryType | ||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | (Complex) | [DK] kontaktLeveringstype URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type | |||||
![]() ![]() ![]() ![]() |
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/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type" | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system Binding: Lettilgængeligt Tilbud - Leveringstype (required) | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() ![]() |
1..1 | Reference(KLGatewayLTTCarePlan) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan | |||||
![]() ![]() |
?! | 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: ActEncounterCode (extensible): Classification of the encounter. Required Pattern: At least the following | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-ActCode | |||||
![]() ![]() ![]() |
0..1 | string | Version of the system - if relevant | |||||
![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system Fixed Value: AMB | |||||
![]() ![]() ![]() |
0..1 | string | Representation defined by the system | |||||
![]() ![]() ![]() |
0..1 | boolean | If this coding was chosen directly by the user | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
Σ | 1..1 | uri | Identity of the terminology system | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | Symbol in syntax defined by the system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Representation defined by the system | ||||
![]() ![]() |
Σ | 1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (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 | Code defined by a terminology system | ||||
![]() ![]() ![]() ![]() |
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 | ||||
![]() ![]() |
Σ | 0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt | ||||
![]() ![]() |
Σ | 0..1 | BackboneElement | [DK] kontaktdeltagere | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) | ||||
![]() ![]() |
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 | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Encounter.extension:deliveryType.value[x].coding | Base | required | Lettilgængeligt Tilbud - Leveringstype | 📦1.0.1 | This IG |
| Encounter.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.statusHistory.status | Base | required | EncounterStatus | 📍4.0.1 | FHIR Std. |
| Encounter.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.classHistory.class | Base | extensible | ActEncounterCode | 📦3.0.0 | THO v6.5 |
| Encounter.type | Base | required | Lettilgængeligt Tilbud - Kontakttyper | 📦1.0.1 | This IG |
| Encounter.participant.type | Base | required | Lettilgængeligt Tilbud - Deltagere i kontakt | 📦1.0.1 | This IG |
| 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 | 📦2.0.0 | THO v6.5 |
| 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()
|
| klgateway-ltt-encounter-participants-and-deliveryType | error | Encounter | If the encounter is of type 'Behandling', then the encounter must have participant and deliveryType. |
type.coding.code = 'b7f9217c-2315-4d6f-bba5-5117e202302c' implies (participant.type.coding.exists() and extension.where(url='http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type').value.coding.exists())
|
This structure is derived from Encounter
Other representations of profile: CSV, Excel, Schematron