1.3.0 - release

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

Resource Profile: CareEncounter

Official URL: http://fhir.kl.dk/gateway/StructureDefinition/klgateway-care-encounter Version: 1.3.0
Active as of 2026-11-18 Computable Name: KLGatewayCareEncounter

Encounter for following up on conditions, care plans, or observations.

Scope and usage

The Encounter may be instantiated whenever citizens and practitioners meet in a Danish municipality context. In this implementation guide it is only used for follow-up on conditions and interventions. The Encounter.type.coding attribute is thus the fixed code for "opfølgning".

It is important in FSIII to be able to express follow-up encounters. In the planning state, these are documented by setting Encounter.status = "planned", and Encounter.type.coding = "opfølgning". Encounters which are finished should not be reported hence Encounters with Encounter.status = 'finished' should not be reported and can be omitted entirely.

Encounter.class is mandatory in FHIR. In this implementation guide encounter have the fixed code 'HH' home health.

Encounter.period.start is mandatory and contains the follow-up date. Note that "time of day" is optional.

Conversions between Danish information model and FHIR-profile

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 specificerer hvilke af FHIR-profilens atributter der skal bruges til specifikation af indholdet

FKI-attribut Definition FHIR
kontaktstatus Klasse der indikerer om kontakten er igangværende, eller om dokumentationen repræsentere en fremtidig intention eller er historisk Encounter.status
kontakttype Klasse der udtrykker typen af aktivitet der gennemføres ved kontakten Encounter.type.coding
kontaktstart Kontaktens start, eller planlagte start Encounter.period.start
kontaktsubjekt Den borger kontakten vedrører Encounter.subject
kontaktklasse Klasse, der udtrykker en generel kategori for kontakten, som rækker ud over den kommunale kontekst. Encounter.class

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: doco
Encounter 0..* Encounter An interaction during which services are provided to the patient
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.status This element is a modifier element. This element is included in summaries. 1..1 code [DK] kontaktstatus
Binding: EncounterStatus (required): Current state of the encounter.
Encounter.class This element is included in summaries. 1..1 Coding [DK] kontaktklasse
Binding: ActEncounterCode (extensible): Classification of the encounter.
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
  "code" : "HH"
}
Encounter.type This element is included in summaries. 1..1 CodeableConcept Specific type of encounter
Binding: GatewayKontaktTyper (required)
Encounter.type.coding This element is included in summaries. 1..1 Coding [DK] kontakttype

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "9f03dfbb-7a97-45a5-94db-d4c3501714a9"
}
Encounter.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] kontaktsubjekt
Encounter.period 1..1 Period The start and end time of the encounter
Encounter.period.start This element is included in summaries. C 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.type Base required GatewayKontaktTyper 📦1.3.0 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* Encounter An interaction during which services are provided to the patient
Encounter.identifier 0..0 Identifier(s) by which this encounter is known
Encounter.status 1..1 code [DK] kontaktstatus
Encounter.statusHistory 0..0 List of past encounter statuses
Encounter.class.version 0..0 Version of the system - if relevant
Encounter.class.display 0..0 Representation defined by the system
Encounter.class.userSelected 0..0 If this coding was chosen directly by the user
Encounter.classHistory 0..0 List of past encounter classes
Encounter.type 1..1 CodeableConcept Specific type of encounter
Binding: GatewayKontaktTyper (required)
Encounter.type.coding 1..1 Coding [DK] kontakttype
Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "9f03dfbb-7a97-45a5-94db-d4c3501714a9"
}
Encounter.type.coding.version 0..0 Version of the system - if relevant
Encounter.type.coding.display 0..0 Representation defined by the system
Encounter.type.coding.userSelected 0..0 If this coding was chosen directly by the user
Encounter.type.text 0..0 Plain text representation of the concept
Encounter.serviceType 0..0 Specific type of service
Encounter.priority 0..0 Indicates the urgency of the encounter
Encounter.subject 1..1 Reference(CareCitizen) {b} [DK] kontaktsubjekt
Encounter.episodeOfCare 0..0 Episode(s) of care that this encounter should be recorded against
Encounter.basedOn 0..0 The ServiceRequest that initiated this encounter
Encounter.participant 0..0 List of participants involved in the encounter
Encounter.appointment 0..0 The appointment that scheduled this encounter
Encounter.period 1..1 Period The start and end time of the encounter
Encounter.period.start 1..1 dateTime [DK] kontaktstart
Encounter.period.end 0..0 [DK] kontaktslut
Encounter.length 0..0 Quantity of time the encounter lasted (less time absent)
Encounter.reasonCode 0..0 Coded reason the encounter takes place
Encounter.reasonReference 0..0 Reason the encounter takes place (reference)
Encounter.diagnosis 0..0 The list of diagnosis relevant to this encounter
Encounter.account 0..0 The set of accounts that may be used for billing for this Encounter
Encounter.hospitalization 0..0 Details about the admission to a healthcare service
Encounter.location 0..0 List of locations where the patient has been
Encounter.serviceProvider 0..0 The organization (facility) responsible for this encounter
Encounter.partOf 0..0 Another Encounter this encounter is part of

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.type Base required GatewayKontaktTyper 📦1.3.0 This IG
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* Encounter An interaction during which services are provided to the patient
Encounter.id This element is included in summaries. 0..1 id Logical id of this artifact
Encounter.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Encounter.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Encounter.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
Encounter.contained 0..* Resource Contained, inline Resources
Encounter.extension 0..* Extension Additional content defined by implementations
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.status This element is a modifier element. This element is included in summaries. 1..1 code [DK] kontaktstatus
Binding: EncounterStatus (required): Current state of the encounter.
Encounter.class This element is included in summaries. 1..1 Coding [DK] kontaktklasse
Binding: ActEncounterCode (extensible): Classification of the encounter.
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
  "code" : "HH"
}
Encounter.class.id 0..1 string Unique id for inter-element referencing
Encounter.class.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.class.system This element is included in summaries. 0..1 uri Identity of the terminology system
Encounter.class.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Encounter.type This element is included in summaries. 1..1 CodeableConcept Specific type of encounter
Binding: GatewayKontaktTyper (required)
Encounter.type.id 0..1 string Unique id for inter-element referencing
Encounter.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.type.coding This element is included in summaries. 1..1 Coding [DK] kontakttype

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "9f03dfbb-7a97-45a5-94db-d4c3501714a9"
}
Encounter.type.coding.id 0..1 string Unique id for inter-element referencing
Encounter.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.type.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Encounter.type.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Encounter.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] kontaktsubjekt
Encounter.period 1..1 Period The start and end time of the encounter
Encounter.period.id 0..1 string Unique id for inter-element referencing
Encounter.period.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.period.start This element is included in summaries. C 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.type Base required GatewayKontaktTyper 📦1.3.0 This IG
Encounter.participant.​type Base extensible Participant type 📍4.0.1 FHIR Std.
Encounter.diagnosis.​use Base preferred DiagnosisRole 📍4.0.1 FHIR Std.
Encounter.hospitalization.​admitSource Base preferred Admit source 📍4.0.1 FHIR Std.
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.5
Encounter.hospitalization.​dietPreference Base example Diet 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialCourtesy Base preferred Special courtesy 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialArrangement Base preferred Special arrangements 📍4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📍4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location.physicalType Base example Location type 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Encounter

Summary

Mandatory: 5 elements
Prohibited: 26 elements

Structures

This structure refers to these other structures:

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* Encounter An interaction during which services are provided to the patient
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.status This element is a modifier element. This element is included in summaries. 1..1 code [DK] kontaktstatus
Binding: EncounterStatus (required): Current state of the encounter.
Encounter.class This element is included in summaries. 1..1 Coding [DK] kontaktklasse
Binding: ActEncounterCode (extensible): Classification of the encounter.
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
  "code" : "HH"
}
Encounter.type This element is included in summaries. 1..1 CodeableConcept Specific type of encounter
Binding: GatewayKontaktTyper (required)
Encounter.type.coding This element is included in summaries. 1..1 Coding [DK] kontakttype

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "9f03dfbb-7a97-45a5-94db-d4c3501714a9"
}
Encounter.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] kontaktsubjekt
Encounter.period 1..1 Period The start and end time of the encounter
Encounter.period.start This element is included in summaries. C 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.type Base required GatewayKontaktTyper 📦1.3.0 This IG

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Encounter

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* Encounter An interaction during which services are provided to the patient
Encounter.identifier 0..0 Identifier(s) by which this encounter is known
Encounter.status 1..1 code [DK] kontaktstatus
Encounter.statusHistory 0..0 List of past encounter statuses
Encounter.class 1..1 Coding [DK] kontaktklasse
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
  "code" : "HH"
}
Encounter.class.version 0..0 Version of the system - if relevant
Encounter.class.display 0..0 Representation defined by the system
Encounter.class.userSelected 0..0 If this coding was chosen directly by the user
Encounter.classHistory 0..0 List of past encounter classes
Encounter.type 1..1 CodeableConcept Specific type of encounter
Binding: GatewayKontaktTyper (required)
Encounter.type.coding 1..1 Coding [DK] kontakttype
Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "9f03dfbb-7a97-45a5-94db-d4c3501714a9"
}
Encounter.type.coding.version 0..0 Version of the system - if relevant
Encounter.type.coding.display 0..0 Representation defined by the system
Encounter.type.coding.userSelected 0..0 If this coding was chosen directly by the user
Encounter.type.text 0..0 Plain text representation of the concept
Encounter.serviceType 0..0 Specific type of service
Encounter.priority 0..0 Indicates the urgency of the encounter
Encounter.subject 1..1 Reference(CareCitizen) {b} [DK] kontaktsubjekt
Encounter.episodeOfCare 0..0 Episode(s) of care that this encounter should be recorded against
Encounter.basedOn 0..0 The ServiceRequest that initiated this encounter
Encounter.participant 0..0 List of participants involved in the encounter
Encounter.appointment 0..0 The appointment that scheduled this encounter
Encounter.period 1..1 Period The start and end time of the encounter
Encounter.period.start 1..1 dateTime [DK] kontaktstart
Encounter.period.end 0..0 [DK] kontaktslut
Encounter.length 0..0 Quantity of time the encounter lasted (less time absent)
Encounter.reasonCode 0..0 Coded reason the encounter takes place
Encounter.reasonReference 0..0 Reason the encounter takes place (reference)
Encounter.diagnosis 0..0 The list of diagnosis relevant to this encounter
Encounter.account 0..0 The set of accounts that may be used for billing for this Encounter
Encounter.hospitalization 0..0 Details about the admission to a healthcare service
Encounter.location 0..0 List of locations where the patient has been
Encounter.serviceProvider 0..0 The organization (facility) responsible for this encounter
Encounter.partOf 0..0 Another Encounter this encounter is part of

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Encounter.type Base required GatewayKontaktTyper 📦1.3.0 This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Encounter 0..* Encounter An interaction during which services are provided to the patient
Encounter.id This element is included in summaries. 0..1 id Logical id of this artifact
Encounter.meta This element is included in summaries. 0..1 Meta Metadata about the resource
Encounter.implicitRules This element is a modifier element. This element is included in summaries. 0..1 uri A set of rules under which this content was created
Encounter.language 0..1 code Language of the resource content
Binding: CommonLanguages (preferred): A human language.
Additional BindingsPurpose
AllLanguages Max Binding
Encounter.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
Encounter.contained 0..* Resource Contained, inline Resources
Encounter.extension 0..* Extension Additional content defined by implementations
Encounter.modifierExtension This element is a modifier element. 0..* Extension Extensions that cannot be ignored
Encounter.status This element is a modifier element. This element is included in summaries. 1..1 code [DK] kontaktstatus
Binding: EncounterStatus (required): Current state of the encounter.
Encounter.class This element is included in summaries. 1..1 Coding [DK] kontaktklasse
Binding: ActEncounterCode (extensible): Classification of the encounter.
Required Pattern:
{
  "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
  "code" : "HH"
}
Encounter.class.id 0..1 string Unique id for inter-element referencing
Encounter.class.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.class.system This element is included in summaries. 0..1 uri Identity of the terminology system
Encounter.class.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Encounter.type This element is included in summaries. 1..1 CodeableConcept Specific type of encounter
Binding: GatewayKontaktTyper (required)
Encounter.type.id 0..1 string Unique id for inter-element referencing
Encounter.type.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.type.coding This element is included in summaries. 1..1 Coding [DK] kontakttype

Required Pattern:
{
  "system" : "http://fhir.kl.dk/term/CodeSystem/CareSocialCodes",
  "code" : "9f03dfbb-7a97-45a5-94db-d4c3501714a9"
}
Encounter.type.coding.id 0..1 string Unique id for inter-element referencing
Encounter.type.coding.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.type.coding.system This element is included in summaries. 0..1 uri Identity of the terminology system
Encounter.type.coding.code This element is included in summaries. 0..1 code Symbol in syntax defined by the system
Encounter.subject This element is included in summaries. 1..1 Reference(CareCitizen) {b} [DK] kontaktsubjekt
Encounter.period 1..1 Period The start and end time of the encounter
Encounter.period.id 0..1 string Unique id for inter-element referencing
Encounter.period.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Encounter.period.start This element is included in summaries. C 1..1 dateTime [DK] kontaktstart

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.language Base preferred Common Languages 📍4.0.1 FHIR Std.
Encounter.status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.5
Encounter.type Base required GatewayKontaktTyper 📦1.3.0 This IG
Encounter.participant.​type Base extensible Participant type 📍4.0.1 FHIR Std.
Encounter.diagnosis.​use Base preferred DiagnosisRole 📍4.0.1 FHIR Std.
Encounter.hospitalization.​admitSource Base preferred Admit source 📍4.0.1 FHIR Std.
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.5
Encounter.hospitalization.​dietPreference Base example Diet 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialCourtesy Base preferred Special courtesy 📍4.0.1 FHIR Std.
Encounter.hospitalization.​specialArrangement Base preferred Special arrangements 📍4.0.1 FHIR Std.
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📍4.0.1 FHIR Std.
Encounter.location.status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location.physicalType Base example Location type 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Encounter If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Encounter If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4 error Encounter If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Encounter If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Encounter A resource should have narrative for robust management text.`div`.exists()
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Encounter

Summary

Mandatory: 5 elements
Prohibited: 26 elements

Structures

This structure refers to these other structures:

 

Other representations of profile: CSV, Excel, Schematron