LTT Implementation Guide
1.0.0 - ci-build
This page is part of the KLltt (v1.0.0: 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.0 | |||
Active as of 2025-08-31 | 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 Danish municipalities the values are used as follows.
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 | |||
![]() ![]() ![]() ![]() ![]() |
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: KontaktKlasseKoder (required) |
![]() ![]() ![]() ![]() |
Σ | 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 |
![]() |
Path | Conformance | ValueSet | URI |
Encounter.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | |
Encounter.statusHistory.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | |
Encounter.class | required | EncounterClassCodeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes From this IG | |
Encounter.classHistory.class | extensible | ActEncounterCodehttp://terminology.hl7.org/ValueSet/v3-ActEncounterCode | |
Encounter.type | required | LTTEncounterTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types From this IG | |
Encounter.participant.type | required | LTTParticipantTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants From this IG |
Id | Grade | Path(s) | Details | Requirements |
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 | |||
![]() ![]() ![]() |
1..1 | code | [DK] kontaktstatus | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (required) | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | BackboneElement | [DK] kontaktdeltagere | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() ![]() |
1..1 | dateTime | [DK] kontaktstart | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
Encounter.extension:deliveryType.value[x].coding | required | LTTDeliveryTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery From this IG | |
Encounter.class | required | EncounterClassCodeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes From this IG | |
Encounter.type | required | LTTEncounterTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types From this IG | |
Encounter.participant.type | required | LTTParticipantTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants From this IG |
Id | Grade | Path(s) | Details | Requirements |
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 | |||||||
![]() ![]() ![]() ![]() ![]() |
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: KontaktKlasseKoder (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 | 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 | ||||
![]() |
Path | Conformance | ValueSet | URI | |||
Encounter.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
Encounter.extension:deliveryType.value[x].coding | required | LTTDeliveryTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery From this IG | ||||
Encounter.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | ||||
Encounter.statusHistory.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | ||||
Encounter.class | required | EncounterClassCodeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes From this IG | ||||
Encounter.classHistory.class | extensible | ActEncounterCodehttp://terminology.hl7.org/ValueSet/v3-ActEncounterCode | ||||
Encounter.type | required | LTTEncounterTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types From this IG | ||||
Encounter.participant.type | required | LTTParticipantTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants From this IG | ||||
Encounter.diagnosis.use | preferred | DiagnosisRolehttp://hl7.org/fhir/ValueSet/diagnosis-role From the FHIR Standard | ||||
Encounter.hospitalization.admitSource | preferred | AdmitSourcehttp://hl7.org/fhir/ValueSet/encounter-admit-source From the FHIR Standard | ||||
Encounter.hospitalization.reAdmission | example | Hl7VSReAdmissionIndicatorhttp://terminology.hl7.org/ValueSet/v2-0092 | ||||
Encounter.hospitalization.dietPreference | example | Diethttp://hl7.org/fhir/ValueSet/encounter-diet From the FHIR Standard | ||||
Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesyhttp://hl7.org/fhir/ValueSet/encounter-special-courtesy From the FHIR Standard | ||||
Encounter.hospitalization.specialArrangement | preferred | SpecialArrangementshttp://hl7.org/fhir/ValueSet/encounter-special-arrangements From the FHIR Standard | ||||
Encounter.hospitalization.dischargeDisposition | example | DischargeDispositionhttp://hl7.org/fhir/ValueSet/encounter-discharge-disposition From the FHIR Standard | ||||
Encounter.location.status | required | EncounterLocationStatushttp://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1 From the FHIR Standard | ||||
Encounter.location.physicalType | example | LocationTypehttp://hl7.org/fhir/ValueSet/location-physical-type From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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 | |||
![]() ![]() ![]() ![]() ![]() |
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: KontaktKlasseKoder (required) |
![]() ![]() ![]() ![]() |
Σ | 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 |
![]() |
Path | Conformance | ValueSet | URI |
Encounter.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | |
Encounter.statusHistory.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | |
Encounter.class | required | EncounterClassCodeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes From this IG | |
Encounter.classHistory.class | extensible | ActEncounterCodehttp://terminology.hl7.org/ValueSet/v3-ActEncounterCode | |
Encounter.type | required | LTTEncounterTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types From this IG | |
Encounter.participant.type | required | LTTParticipantTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants From this IG |
Id | Grade | Path(s) | Details | Requirements |
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 | |||
![]() ![]() ![]() |
1..1 | code | [DK] kontaktstatus | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | |
![]() ![]() ![]() ![]() |
1..1 | uri | Identity of the terminology system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
1..1 | code | Symbol in syntax defined by the system | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | CodeableConcept | [DK] kontakttype Binding: Lettilgængeligt Tilbud - Kontakttyper (required) | |
![]() ![]() ![]() ![]() |
1..1 | Coding | Code defined by a terminology system | |
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | Reference(KLGatewayLTTCitizen) | [DK] kontaktsubjekt | |
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..1 | BackboneElement | [DK] kontaktdeltagere | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | Role of participant in encounter Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required) | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
1..1 | Period | The start and end time of the encounter | |
![]() ![]() ![]() ![]() |
1..1 | dateTime | [DK] kontaktstart | |
![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() |
0..0 | |||
![]() |
Path | Conformance | ValueSet | URI |
Encounter.extension:deliveryType.value[x].coding | required | LTTDeliveryTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery From this IG | |
Encounter.class | required | EncounterClassCodeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes From this IG | |
Encounter.type | required | LTTEncounterTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types From this IG | |
Encounter.participant.type | required | LTTParticipantTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants From this IG |
Id | Grade | Path(s) | Details | Requirements |
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 | |||||||
![]() ![]() ![]() ![]() ![]() |
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: KontaktKlasseKoder (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 | 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 | ||||
![]() |
Path | Conformance | ValueSet | URI | |||
Encounter.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages From the FHIR Standard
| ||||
Encounter.extension:deliveryType.value[x].coding | required | LTTDeliveryTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery From this IG | ||||
Encounter.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | ||||
Encounter.statusHistory.status | required | EncounterStatushttp://hl7.org/fhir/ValueSet/encounter-status|4.0.1 From the FHIR Standard | ||||
Encounter.class | required | EncounterClassCodeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes From this IG | ||||
Encounter.classHistory.class | extensible | ActEncounterCodehttp://terminology.hl7.org/ValueSet/v3-ActEncounterCode | ||||
Encounter.type | required | LTTEncounterTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types From this IG | ||||
Encounter.participant.type | required | LTTParticipantTypeshttp://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants From this IG | ||||
Encounter.diagnosis.use | preferred | DiagnosisRolehttp://hl7.org/fhir/ValueSet/diagnosis-role From the FHIR Standard | ||||
Encounter.hospitalization.admitSource | preferred | AdmitSourcehttp://hl7.org/fhir/ValueSet/encounter-admit-source From the FHIR Standard | ||||
Encounter.hospitalization.reAdmission | example | Hl7VSReAdmissionIndicatorhttp://terminology.hl7.org/ValueSet/v2-0092 | ||||
Encounter.hospitalization.dietPreference | example | Diethttp://hl7.org/fhir/ValueSet/encounter-diet From the FHIR Standard | ||||
Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesyhttp://hl7.org/fhir/ValueSet/encounter-special-courtesy From the FHIR Standard | ||||
Encounter.hospitalization.specialArrangement | preferred | SpecialArrangementshttp://hl7.org/fhir/ValueSet/encounter-special-arrangements From the FHIR Standard | ||||
Encounter.hospitalization.dischargeDisposition | example | DischargeDispositionhttp://hl7.org/fhir/ValueSet/encounter-discharge-disposition From the FHIR Standard | ||||
Encounter.location.status | required | EncounterLocationStatushttp://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1 From the FHIR Standard | ||||
Encounter.location.physicalType | example | LocationTypehttp://hl7.org/fhir/ValueSet/location-physical-type From the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
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