LTT Implementation Guide
1.0.0 - ci-build

LTT Implementation Guide, published by Kommunernes Landsforening. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7dk/kl-ltt/ and changes regularly. See the Directory of published versions

Resource Profile: KLGatewayLTTEncounter

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

Scope and usage

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:

  • Henvendelse
  • Forsamtale
  • Screening
  • Behandling
  • Afsluttende samtale
  • Afslutning

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.

  • 'HH' home health: Visits in citizens homes. The code is also used for services that are not strictly health related e.g. help with cleaning. This code is also used, even if the activities stretch outside the citizens residence e.g. a physiotherapist that want to see a citizen walk outside, or a social worker helping with shopping activities.
  • 'AMB' Ambulatory: Sessions where the citizens visit municipality facilities e.g. for training or health prevention.
  • 'Skærmbesøg': Encounters delivered as a screen visit.
  • 'Telefonisk': Encounters delivered using a phone.

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"

Conversions between Danish information model and FHIR profile

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* Encounter An interaction during which services are provided to the patient
Constraints: klgateway-ltt-encounter-participants-and-deliveryType
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:deliveryType 0..1 (Complex) [DK] kontaktLeveringstype
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
..... extension 0..0
..... url 1..1 uri "http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type"
.... extension:basedOnCarePlan 1..1 Reference(KLGatewayLTTCarePlan) [DK] kontaktBaseretPå
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... class Σ 1..1 Coding [DK] kontaktklasse
Binding: KontaktKlasseKoder (required)
.... system Σ 1..1 uri Identity of the terminology system
.... code Σ 1..1 code Symbol in syntax defined by the system
... type Σ 1..1 CodeableConcept [DK] kontakttype
Binding: Lettilgængeligt Tilbud - Kontakttyper (required)
.... coding Σ 1..1 Coding Code defined by a terminology system
... subject Σ 0..1 Reference(KLGatewayLTTCitizen) [DK] kontaktsubjekt
... participant Σ 0..1 BackboneElement [DK] kontaktdeltagere
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required)
... period 1..1 Period The start and end time of the encounter
.... start ΣC 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.classrequiredEncounterClassCodes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes
From this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typerequiredLTTEncounterTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types
From this IG
Encounter.participant.typerequiredLTTParticipantTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants
From this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
klgateway-ltt-encounter-participants-and-deliveryTypeerrorEncounterIf 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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* Encounter An interaction during which services are provided to the patient
Constraints: klgateway-ltt-encounter-participants-and-deliveryType
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:deliveryType 0..1 (Complex) [DK] kontaktLeveringstype
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
..... value[x]
...... coding 0..* Coding Code defined by a terminology system
Binding: Lettilgængeligt Tilbud - Leveringstype (required)
.... extension:basedOnCarePlan 1..1 Reference(KLGatewayLTTCarePlan) [DK] kontaktBaseretPå
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan
... identifier 0..0
... status 1..1 code [DK] kontaktstatus
... class 1..1 Coding [DK] kontaktklasse
Binding: KontaktKlasseKoder (required)
.... system 1..1 uri Identity of the terminology system
.... version 0..0
.... code 1..1 code Symbol in syntax defined by the system
.... userSelected 0..0
... classHistory 0..0
... type 1..1 CodeableConcept [DK] kontakttype
Binding: Lettilgængeligt Tilbud - Kontakttyper (required)
.... coding 1..1 Coding Code defined by a terminology system
..... version 0..0
..... userSelected 0..0
.... text 0..0
... serviceType 0..0
... priority 0..0
... subject 0..1 Reference(KLGatewayLTTCitizen) [DK] kontaktsubjekt
... episodeOfCare 0..0
... basedOn 0..0
... participant 0..1 BackboneElement [DK] kontaktdeltagere
.... type 1..1 CodeableConcept Role of participant in encounter
Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required)
.... period 0..0
.... individual 0..0
... appointment 0..0
... period 1..1 Period The start and end time of the encounter
.... start 1..1 dateTime [DK] kontaktstart
.... end 0..0
... length 0..0
... reasonCode 0..0
... reasonReference 0..0
... diagnosis 0..0
... account 0..0
... hospitalization 0..0
... location 0..0
... serviceProvider 0..0
... partOf 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Encounter.extension:deliveryType.value[x].codingrequiredLTTDeliveryTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery
From this IG
Encounter.classrequiredEncounterClassCodes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes
From this IG
Encounter.typerequiredLTTEncounterTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types
From this IG
Encounter.participant.typerequiredLTTParticipantTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants
From this IG

Constraints

IdGradePath(s)DetailsRequirements
klgateway-ltt-encounter-participants-and-deliveryTypeerrorEncounterIf 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())
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* Encounter An interaction during which services are provided to the patient
Constraints: klgateway-ltt-encounter-participants-and-deliveryType
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:deliveryType 0..1 (Complex) [DK] kontaktLeveringstype
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type"
..... value[x] 0..1 CodeableConcept Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
Binding: Lettilgængeligt Tilbud - Leveringstype (required)
...... text Σ 0..1 string Plain text representation of the concept
.... extension:basedOnCarePlan 1..1 Reference(KLGatewayLTTCarePlan) [DK] kontaktBaseretPå
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code [DK] kontaktstatus
Binding: EncounterStatus (required): Current state of the encounter.
... class Σ 1..1 Coding [DK] kontaktklasse
Binding: KontaktKlasseKoder (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... system Σ 1..1 uri Identity of the terminology system
.... code Σ 1..1 code Symbol in syntax defined by the system
.... display Σ 0..1 string Representation defined by the system
... type Σ 1..1 CodeableConcept [DK] kontakttype
Binding: Lettilgængeligt Tilbud - Kontakttyper (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
..... code Σ 0..1 code Symbol in syntax defined by the system
..... display Σ 0..1 string Representation defined by the system
... subject Σ 0..1 Reference(KLGatewayLTTCitizen) [DK] kontaktsubjekt
... participant Σ 0..1 BackboneElement [DK] kontaktdeltagere
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required)
... period 1..1 Period The start and end time of the encounter
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Encounter.extension:deliveryType.value[x].codingrequiredLTTDeliveryTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery
From this IG
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.classrequiredEncounterClassCodes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes
From this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typerequiredLTTEncounterTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types
From this IG
Encounter.participant.typerequiredLTTParticipantTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants
From this IG
Encounter.diagnosis.usepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
From the FHIR Standard
Encounter.hospitalization.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
From the FHIR Standard
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.hospitalization.dietPreferenceexampleDiet
http://hl7.org/fhir/ValueSet/encounter-diet
From the FHIR Standard
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
From the FHIR Standard
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
From the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
From the FHIR Standard
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
From the FHIR Standard
Encounter.location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
klgateway-ltt-encounter-participants-and-deliveryTypeerrorEncounterIf 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

Summary

Mandatory: 8 elements(1 nested mandatory element)
Prohibited: 25 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* Encounter An interaction during which services are provided to the patient
Constraints: klgateway-ltt-encounter-participants-and-deliveryType
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:deliveryType 0..1 (Complex) [DK] kontaktLeveringstype
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
..... extension 0..0
..... url 1..1 uri "http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type"
.... extension:basedOnCarePlan 1..1 Reference(KLGatewayLTTCarePlan) [DK] kontaktBaseretPå
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... class Σ 1..1 Coding [DK] kontaktklasse
Binding: KontaktKlasseKoder (required)
.... system Σ 1..1 uri Identity of the terminology system
.... code Σ 1..1 code Symbol in syntax defined by the system
... type Σ 1..1 CodeableConcept [DK] kontakttype
Binding: Lettilgængeligt Tilbud - Kontakttyper (required)
.... coding Σ 1..1 Coding Code defined by a terminology system
... subject Σ 0..1 Reference(KLGatewayLTTCitizen) [DK] kontaktsubjekt
... participant Σ 0..1 BackboneElement [DK] kontaktdeltagere
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required)
... period 1..1 Period The start and end time of the encounter
.... start ΣC 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.classrequiredEncounterClassCodes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes
From this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typerequiredLTTEncounterTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types
From this IG
Encounter.participant.typerequiredLTTParticipantTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants
From this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
klgateway-ltt-encounter-participants-and-deliveryTypeerrorEncounterIf 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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* Encounter An interaction during which services are provided to the patient
Constraints: klgateway-ltt-encounter-participants-and-deliveryType
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:deliveryType 0..1 (Complex) [DK] kontaktLeveringstype
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
..... value[x]
...... coding 0..* Coding Code defined by a terminology system
Binding: Lettilgængeligt Tilbud - Leveringstype (required)
.... extension:basedOnCarePlan 1..1 Reference(KLGatewayLTTCarePlan) [DK] kontaktBaseretPå
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan
... identifier 0..0
... status 1..1 code [DK] kontaktstatus
... class 1..1 Coding [DK] kontaktklasse
Binding: KontaktKlasseKoder (required)
.... system 1..1 uri Identity of the terminology system
.... version 0..0
.... code 1..1 code Symbol in syntax defined by the system
.... userSelected 0..0
... classHistory 0..0
... type 1..1 CodeableConcept [DK] kontakttype
Binding: Lettilgængeligt Tilbud - Kontakttyper (required)
.... coding 1..1 Coding Code defined by a terminology system
..... version 0..0
..... userSelected 0..0
.... text 0..0
... serviceType 0..0
... priority 0..0
... subject 0..1 Reference(KLGatewayLTTCitizen) [DK] kontaktsubjekt
... episodeOfCare 0..0
... basedOn 0..0
... participant 0..1 BackboneElement [DK] kontaktdeltagere
.... type 1..1 CodeableConcept Role of participant in encounter
Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required)
.... period 0..0
.... individual 0..0
... appointment 0..0
... period 1..1 Period The start and end time of the encounter
.... start 1..1 dateTime [DK] kontaktstart
.... end 0..0
... length 0..0
... reasonCode 0..0
... reasonReference 0..0
... diagnosis 0..0
... account 0..0
... hospitalization 0..0
... location 0..0
... serviceProvider 0..0
... partOf 0..0

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Encounter.extension:deliveryType.value[x].codingrequiredLTTDeliveryTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery
From this IG
Encounter.classrequiredEncounterClassCodes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes
From this IG
Encounter.typerequiredLTTEncounterTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types
From this IG
Encounter.participant.typerequiredLTTParticipantTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants
From this IG

Constraints

IdGradePath(s)DetailsRequirements
klgateway-ltt-encounter-participants-and-deliveryTypeerrorEncounterIf 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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* Encounter An interaction during which services are provided to the patient
Constraints: klgateway-ltt-encounter-participants-and-deliveryType
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 1..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:deliveryType 0..1 (Complex) [DK] kontaktLeveringstype
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-delivery-type"
..... value[x] 0..1 CodeableConcept Value of extension
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... coding Σ 0..* Coding Code defined by a terminology system
Binding: Lettilgængeligt Tilbud - Leveringstype (required)
...... text Σ 0..1 string Plain text representation of the concept
.... extension:basedOnCarePlan 1..1 Reference(KLGatewayLTTCarePlan) [DK] kontaktBaseretPå
URL: http://fhir.kl.dk/ltt/StructureDefinition/klgateway-ltt-encounter-based-on-care-plan
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... status ?!Σ 1..1 code [DK] kontaktstatus
Binding: EncounterStatus (required): Current state of the encounter.
... class Σ 1..1 Coding [DK] kontaktklasse
Binding: KontaktKlasseKoder (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... system Σ 1..1 uri Identity of the terminology system
.... code Σ 1..1 code Symbol in syntax defined by the system
.... display Σ 0..1 string Representation defined by the system
... type Σ 1..1 CodeableConcept [DK] kontakttype
Binding: Lettilgængeligt Tilbud - Kontakttyper (required)
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... coding Σ 1..1 Coding Code defined by a terminology system
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... system Σ 0..1 uri Identity of the terminology system
..... code Σ 0..1 code Symbol in syntax defined by the system
..... display Σ 0..1 string Representation defined by the system
... subject Σ 0..1 Reference(KLGatewayLTTCitizen) [DK] kontaktsubjekt
... participant Σ 0..1 BackboneElement [DK] kontaktdeltagere
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 1..1 CodeableConcept Role of participant in encounter
Binding: Lettilgængeligt Tilbud - Deltagere i kontakt (required)
... period 1..1 Period The start and end time of the encounter
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start ΣC 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Encounter.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Encounter.extension:deliveryType.value[x].codingrequiredLTTDeliveryTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-delivery
From this IG
Encounter.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.statusHistory.statusrequiredEncounterStatus
http://hl7.org/fhir/ValueSet/encounter-status|4.0.1
From the FHIR Standard
Encounter.classrequiredEncounterClassCodes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-class-codes
From this IG
Encounter.classHistory.classextensibleActEncounterCode
http://terminology.hl7.org/ValueSet/v3-ActEncounterCode
Encounter.typerequiredLTTEncounterTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-encounter-types
From this IG
Encounter.participant.typerequiredLTTParticipantTypes
http://fhir.kl.dk/ltt/ValueSet/fkgateway-ltt-type-of-participants
From this IG
Encounter.diagnosis.usepreferredDiagnosisRole
http://hl7.org/fhir/ValueSet/diagnosis-role
From the FHIR Standard
Encounter.hospitalization.admitSourcepreferredAdmitSource
http://hl7.org/fhir/ValueSet/encounter-admit-source
From the FHIR Standard
Encounter.hospitalization.reAdmissionexampleHl7VSReAdmissionIndicator
http://terminology.hl7.org/ValueSet/v2-0092
Encounter.hospitalization.dietPreferenceexampleDiet
http://hl7.org/fhir/ValueSet/encounter-diet
From the FHIR Standard
Encounter.hospitalization.specialCourtesypreferredSpecialCourtesy
http://hl7.org/fhir/ValueSet/encounter-special-courtesy
From the FHIR Standard
Encounter.hospitalization.specialArrangementpreferredSpecialArrangements
http://hl7.org/fhir/ValueSet/encounter-special-arrangements
From the FHIR Standard
Encounter.hospitalization.dischargeDispositionexampleDischargeDisposition
http://hl7.org/fhir/ValueSet/encounter-discharge-disposition
From the FHIR Standard
Encounter.location.statusrequiredEncounterLocationStatus
http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1
From the FHIR Standard
Encounter.location.physicalTypeexampleLocationType
http://hl7.org/fhir/ValueSet/location-physical-type
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorEncounterIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorEncounterIf 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-4errorEncounterIf 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-5errorEncounterIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceEncounterA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
klgateway-ltt-encounter-participants-and-deliveryTypeerrorEncounterIf 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

Summary

Mandatory: 8 elements(1 nested mandatory element)
Prohibited: 25 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

 

Other representations of profile: CSV, Excel, Schematron