KLChildren implementation guide, an implementation of FBU
            
            2.1.0 - Release
            
          
This page is part of the KLChildren (v2.1.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/children/StructureDefinition/klgateway-children-encounter | Version: 2.1.0 | |||
| Active as of 2024-10-31 | Computable Name: KLGatewayChildrenEncounter | |||
Encounter for health prevention and need-based visits from childrens nurses
KLGatewayChildrenEncounter is used whenever a child with or without family members meet the health nurse (sundhedsplejerske) in a Danish municipality context.
The Encounter.type.coding attribute is used to classify the type of activities that occur at the encounter. The encounters have been classified according to the guidance document from the Health Authorities (Sundhedsstyrelsen).
Sometimes, it might be difficult to apply the correct type to an encounter. The following guiding principles exists:
In the context of the children database, only encounters actually carried out should be documented. Consequently, for most intends and purposes 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.
For school nurse encounters, the Danish school-code should be registered as well, using Encounter.location that relates to a Location resource. Note that the school code should be registered even though the encounter does not take place at the school. FHIR Locations can be used to describe a more abstract location, and as such the school nurse works in the context of a school when seeing the child. If the child does not have a school affiliation, a school-code should not be registered.
The time of the encounter is documented in Encounter.period.start, and it is mandatory. The end time is not mandatory. If Encounter.period.end is reported it may be either planned end time or actual end time.
Encounter.subject relates to the subject that the encounter is about. In the context of the children database, primarily the children's encounters are documented. This should be respected even though many visits are directed at the family as a whole. However, before the child is born, this is not possible. For pregnancy visits/'Graviditetsbesøg', the encounter is linked to one of the parents (typically the mother). For need-based encounters, they should be linked to citizen who has the intervention, whether this is the child, one of the parents or both. Consequently, one visit might result in more than one encounter if both parent and child has a need-based intervention going on.
Nedenstående tabel oversætter mellem de attributter der er defineret i den fælleskommunale informationsmodel (FKI), definerer kort den enkelte attribut på dansk og specificere hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet
| FKI-attribut | Definition | FHIR | 
|---|---|---|
| borgerkontakttype | Klasse der udtrykker typen af aktivitet der gennemføres ved kontakten | Encounter.type.coding | 
| borgerkontaktstatus | Klasse der indikerer om kontakten er igangværende, eller om dokumentationen repræsentere en fremtidig intention eller er historisk | Encounter.status | 
| borgerkontaktklasse | Klasse, der udtrykker en generel kategori for kontakten, som rækker ud over den kommunale kontekst. | Encounter.class | 
| borgerkontaktstart | Kontaktens start, eller planlagte start | Encounter.period.start | 
| borgerkontaktslut | Kontaktens sluttidspunkt, eller planlagte sluttidspunkt | Encounter.period.end | 
| borgerkontaktsubjekt | Den borger kontakten vedrører | Encounter.subject | 
| borgerkontaktBaseretPå | Den behovsindsats, der er grunden til at denne kontakt udføres | Encounter.extension:basedOnIntervention | 
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Encounter | Encounter | |||
|    Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
|     basedOnIntervention | 0..* | (Complex) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension | |
|      value[x] | 1..1 | Reference(KLGatewayChildrenIntervention) {b} | Value of extension | |
|    identifier | 0..0 | |||
|    status | 1..1 | code | [DK] kontaktstatus | |
|    statusHistory | 0..0 | |||
|    class | 1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | |
|     version | 0..0 | |||
|     userSelected | 0..0 | |||
|    classHistory | 0..0 | |||
|    type | 1..1 | CodeableConcept | Specific type of encounter Binding: SundhedsplejeKontaktTyper (required) | |
|     coding | 1..1 | Coding | [DK] kontakttype | |
|      version | 0..0 | |||
|      userSelected | 0..0 | |||
|     text | 0..0 | |||
|    serviceType | 0..0 | |||
|    priority | 0..0 | |||
|    subject | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] kontaktsubjekt | |
|    episodeOfCare | 0..0 | |||
|    basedOn | 0..0 | |||
|    participant | 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..1 | dateTime | [DK] kontaktslut | |
|    length | 0..0 | |||
|    reasonCode | 0..0 | |||
|    reasonReference | 0..0 | |||
|    diagnosis | 0..0 | |||
|    account | 0..0 | |||
|    hospitalization | 0..0 | |||
|    location | 0..1 | BackboneElement | List of locations where the patient has been | |
|     location | 1..1 | Reference(KLGatewayChildrenLocation) {b} | [DK] kontaktLokation | |
|     status | 0..0 | |||
|     physicalType | 0..0 | |||
|     period | 0..0 | |||
|    serviceProvider | 0..0 | |||
|    partOf | 0..0 | |||
|  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Encounter.class | required | EncounterClassCodes http://fhir.kl.dk/children/ValueSet/EncounterClassCodesfrom this IG | |
| Encounter.type | required | EncounterTypes http://fhir.kl.dk/children/ValueSet/EncounterTypesfrom this IG | 
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Encounter | 0..* | Encounter | An interaction during which services are provided to the patient | |
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
|    Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
|     basedOnIntervention | 0..* | (Complex) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension" | |
|      value[x] | 1..1 | Reference(KLGatewayChildrenIntervention) {b} | Value of extension | |
|    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) | 
|    type | Σ | 1..1 | CodeableConcept | Specific type of encounter Binding: SundhedsplejeKontaktTyper (required) | 
|     coding | Σ | 1..1 | Coding | [DK] kontakttype | 
|    subject | Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] kontaktsubjekt | 
|    period | 1..1 | Period | The start and end time of the encounter | |
|     start | ΣC | 1..1 | dateTime | [DK] kontaktstart | 
|     end | ΣC | 0..1 | dateTime | [DK] kontaktslut | 
|    location | 0..1 | BackboneElement | List of locations where the patient has been | |
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
|     location | 1..1 | Reference(KLGatewayChildrenLocation) {b} | [DK] kontaktLokation | |
|  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Encounter.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | |
| Encounter.statusHistory.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | |
| Encounter.class | required | EncounterClassCodes http://fhir.kl.dk/children/ValueSet/EncounterClassCodesfrom this IG | |
| Encounter.classHistory.class | extensible | ActEncounterCode http://terminology.hl7.org/ValueSet/v3-ActEncounterCode | |
| Encounter.type | required | EncounterTypes http://fhir.kl.dk/children/ValueSet/EncounterTypesfrom 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() | 
| Name | Flags | Card. | Type | Description & Constraints  | ||||
|---|---|---|---|---|---|---|---|---|
|   Encounter | 0..* | Encounter | An interaction during which services are provided to the patient | |||||
|    id | Σ | 0..1 | id | Logical id of this artifact | ||||
|    meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
|    language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language. 
 | |||||
|    text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
|    contained | 0..* | Resource | Contained, inline Resources | |||||
|    Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
|     basedOnIntervention | 0..* | (Complex) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension | |||||
|      id | 0..1 | string | Unique id for inter-element referencing | |||||
|      extension | 0..0 | |||||||
|      url | 1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension" | |||||
|      value[x] | 1..1 | Reference(KLGatewayChildrenIntervention) {b} | Value of extension | |||||
|    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 | Σ | 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 | ||||
|    type | Σ | 1..1 | CodeableConcept | Specific type of encounter Binding: SundhedsplejeKontaktTyper (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 | [DK] kontakttype | ||||
|      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 | Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] kontaktsubjekt | ||||
|    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 | ||||
|     end | ΣC | 0..1 | dateTime | [DK] kontaktslut | ||||
|    location | 0..1 | BackboneElement | List of locations where the patient has been | |||||
|     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 | ||||
|     location | 1..1 | Reference(KLGatewayChildrenLocation) {b} | [DK] kontaktLokation | |||||
|  Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | |||
| Encounter.language | preferred | CommonLanguages 
 http://hl7.org/fhir/ValueSet/languagesfrom the FHIR Standard | ||||
| Encounter.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | ||||
| Encounter.statusHistory.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | ||||
| Encounter.class | required | EncounterClassCodes http://fhir.kl.dk/children/ValueSet/EncounterClassCodesfrom this IG | ||||
| Encounter.classHistory.class | extensible | ActEncounterCode http://terminology.hl7.org/ValueSet/v3-ActEncounterCode | ||||
| Encounter.type | required | EncounterTypes http://fhir.kl.dk/children/ValueSet/EncounterTypesfrom this IG | ||||
| Encounter.participant.type | extensible | ParticipantType http://hl7.org/fhir/ValueSet/encounter-participant-typefrom the FHIR Standard | ||||
| Encounter.diagnosis.use | preferred | DiagnosisRole http://hl7.org/fhir/ValueSet/diagnosis-rolefrom the FHIR Standard | ||||
| Encounter.hospitalization.admitSource | preferred | AdmitSource http://hl7.org/fhir/ValueSet/encounter-admit-sourcefrom the FHIR Standard | ||||
| Encounter.hospitalization.reAdmission | example | Hl7VSReAdmissionIndicator http://terminology.hl7.org/ValueSet/v2-0092 | ||||
| Encounter.hospitalization.dietPreference | example | Diet http://hl7.org/fhir/ValueSet/encounter-dietfrom the FHIR Standard | ||||
| Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesy http://hl7.org/fhir/ValueSet/encounter-special-courtesyfrom the FHIR Standard | ||||
| Encounter.hospitalization.specialArrangement | preferred | SpecialArrangements http://hl7.org/fhir/ValueSet/encounter-special-arrangementsfrom the FHIR Standard | ||||
| Encounter.hospitalization.dischargeDisposition | example | DischargeDisposition http://hl7.org/fhir/ValueSet/encounter-discharge-dispositionfrom 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() | 
This structure is derived from Encounter
Summary
Mandatory: 5 elements
 Prohibited: 25 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Differential View
This structure is derived from Encounter
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Encounter | Encounter | |||
|    Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
|     basedOnIntervention | 0..* | (Complex) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension | |
|      value[x] | 1..1 | Reference(KLGatewayChildrenIntervention) {b} | Value of extension | |
|    identifier | 0..0 | |||
|    status | 1..1 | code | [DK] kontaktstatus | |
|    statusHistory | 0..0 | |||
|    class | 1..1 | Coding | [DK] kontaktklasse Binding: KontaktKlasseKoder (required) | |
|     version | 0..0 | |||
|     userSelected | 0..0 | |||
|    classHistory | 0..0 | |||
|    type | 1..1 | CodeableConcept | Specific type of encounter Binding: SundhedsplejeKontaktTyper (required) | |
|     coding | 1..1 | Coding | [DK] kontakttype | |
|      version | 0..0 | |||
|      userSelected | 0..0 | |||
|     text | 0..0 | |||
|    serviceType | 0..0 | |||
|    priority | 0..0 | |||
|    subject | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] kontaktsubjekt | |
|    episodeOfCare | 0..0 | |||
|    basedOn | 0..0 | |||
|    participant | 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..1 | dateTime | [DK] kontaktslut | |
|    length | 0..0 | |||
|    reasonCode | 0..0 | |||
|    reasonReference | 0..0 | |||
|    diagnosis | 0..0 | |||
|    account | 0..0 | |||
|    hospitalization | 0..0 | |||
|    location | 0..1 | BackboneElement | List of locations where the patient has been | |
|     location | 1..1 | Reference(KLGatewayChildrenLocation) {b} | [DK] kontaktLokation | |
|     status | 0..0 | |||
|     physicalType | 0..0 | |||
|     period | 0..0 | |||
|    serviceProvider | 0..0 | |||
|    partOf | 0..0 | |||
|  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Encounter.class | required | EncounterClassCodes http://fhir.kl.dk/children/ValueSet/EncounterClassCodesfrom this IG | |
| Encounter.type | required | EncounterTypes http://fhir.kl.dk/children/ValueSet/EncounterTypesfrom this IG | 
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints  | 
|---|---|---|---|---|
|   Encounter | 0..* | Encounter | An interaction during which services are provided to the patient | |
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | 
|    Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |
|     basedOnIntervention | 0..* | (Complex) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension | |
|      extension | 0..0 | |||
|      url | 1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension" | |
|      value[x] | 1..1 | Reference(KLGatewayChildrenIntervention) {b} | Value of extension | |
|    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) | 
|    type | Σ | 1..1 | CodeableConcept | Specific type of encounter Binding: SundhedsplejeKontaktTyper (required) | 
|     coding | Σ | 1..1 | Coding | [DK] kontakttype | 
|    subject | Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] kontaktsubjekt | 
|    period | 1..1 | Period | The start and end time of the encounter | |
|     start | ΣC | 1..1 | dateTime | [DK] kontaktstart | 
|     end | ΣC | 0..1 | dateTime | [DK] kontaktslut | 
|    location | 0..1 | BackboneElement | List of locations where the patient has been | |
|     modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | 
|     location | 1..1 | Reference(KLGatewayChildrenLocation) {b} | [DK] kontaktLokation | |
|  Documentation for this format | ||||
| Path | Conformance | ValueSet | URI | 
| Encounter.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | |
| Encounter.statusHistory.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | |
| Encounter.class | required | EncounterClassCodes http://fhir.kl.dk/children/ValueSet/EncounterClassCodesfrom this IG | |
| Encounter.classHistory.class | extensible | ActEncounterCode http://terminology.hl7.org/ValueSet/v3-ActEncounterCode | |
| Encounter.type | required | EncounterTypes http://fhir.kl.dk/children/ValueSet/EncounterTypesfrom 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() | 
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints  | ||||
|---|---|---|---|---|---|---|---|---|
|   Encounter | 0..* | Encounter | An interaction during which services are provided to the patient | |||||
|    id | Σ | 0..1 | id | Logical id of this artifact | ||||
|    meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
|    implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
|    language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language. 
 | |||||
|    text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
|    contained | 0..* | Resource | Contained, inline Resources | |||||
|    Slices for extension | 0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
|     basedOnIntervention | 0..* | (Complex) | [DK] kontaktBaseretPå URL: http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension | |||||
|      id | 0..1 | string | Unique id for inter-element referencing | |||||
|      extension | 0..0 | |||||||
|      url | 1..1 | uri | "http://fhir.kl.dk/children/StructureDefinition/BasedOnInterventionExtension" | |||||
|      value[x] | 1..1 | Reference(KLGatewayChildrenIntervention) {b} | Value of extension | |||||
|    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 | Σ | 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 | ||||
|    type | Σ | 1..1 | CodeableConcept | Specific type of encounter Binding: SundhedsplejeKontaktTyper (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 | [DK] kontakttype | ||||
|      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 | Σ | 1..1 | Reference(KLGatewayChildrenCitizen) {b} | [DK] kontaktsubjekt | ||||
|    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 | ||||
|     end | ΣC | 0..1 | dateTime | [DK] kontaktslut | ||||
|    location | 0..1 | BackboneElement | List of locations where the patient has been | |||||
|     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 | ||||
|     location | 1..1 | Reference(KLGatewayChildrenLocation) {b} | [DK] kontaktLokation | |||||
|  Documentation for this format | ||||||||
| Path | Conformance | ValueSet | URI | |||
| Encounter.language | preferred | CommonLanguages 
 http://hl7.org/fhir/ValueSet/languagesfrom the FHIR Standard | ||||
| Encounter.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | ||||
| Encounter.statusHistory.status | required | EncounterStatus http://hl7.org/fhir/ValueSet/encounter-status|4.0.1from the FHIR Standard | ||||
| Encounter.class | required | EncounterClassCodes http://fhir.kl.dk/children/ValueSet/EncounterClassCodesfrom this IG | ||||
| Encounter.classHistory.class | extensible | ActEncounterCode http://terminology.hl7.org/ValueSet/v3-ActEncounterCode | ||||
| Encounter.type | required | EncounterTypes http://fhir.kl.dk/children/ValueSet/EncounterTypesfrom this IG | ||||
| Encounter.participant.type | extensible | ParticipantType http://hl7.org/fhir/ValueSet/encounter-participant-typefrom the FHIR Standard | ||||
| Encounter.diagnosis.use | preferred | DiagnosisRole http://hl7.org/fhir/ValueSet/diagnosis-rolefrom the FHIR Standard | ||||
| Encounter.hospitalization.admitSource | preferred | AdmitSource http://hl7.org/fhir/ValueSet/encounter-admit-sourcefrom the FHIR Standard | ||||
| Encounter.hospitalization.reAdmission | example | Hl7VSReAdmissionIndicator http://terminology.hl7.org/ValueSet/v2-0092 | ||||
| Encounter.hospitalization.dietPreference | example | Diet http://hl7.org/fhir/ValueSet/encounter-dietfrom the FHIR Standard | ||||
| Encounter.hospitalization.specialCourtesy | preferred | SpecialCourtesy http://hl7.org/fhir/ValueSet/encounter-special-courtesyfrom the FHIR Standard | ||||
| Encounter.hospitalization.specialArrangement | preferred | SpecialArrangements http://hl7.org/fhir/ValueSet/encounter-special-arrangementsfrom the FHIR Standard | ||||
| Encounter.hospitalization.dischargeDisposition | example | DischargeDisposition http://hl7.org/fhir/ValueSet/encounter-discharge-dispositionfrom 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() | 
This structure is derived from Encounter
Summary
Mandatory: 5 elements
 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