ENRICH-mHealth FHIR Implementation Guide
0.1.0 - ci-build

ENRICH-mHealth FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: ENRICH-mHealth Encounter

Official URL: https://www.bihealth.org/fhir/enrich-mhealth/StructureDefinition/enrich-mhealth-encounter Version: 0.1.0
Draft as of 2026-07-16 Computable Name: ENRICH-Encounter

This is the profile of Enocunter within ENRICH-mHealth

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..* MII_PR_Fall_KontaktGesundheitseinrichtung An interaction during which services are provided to the patient
Constraints: mii-enc-1, mii-enc-2, mii-enc-3, mii-enc-4, mii-enc-5, mii-enc-6, mii-enc-7
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
.... extension:Aufnahmegrund SN 0..1 (Complex) Admission reason
URL: http://fhir.de/StructureDefinition/Aufnahmegrund
..... Slices for extension Content/Rules for all slices
...... extension:ErsteUndZweiteStelle SN 0..1 Extension 1st and 2nd position
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "ErsteUndZweiteStelle"
...... extension:DritteStelle SN 0..1 Extension 3rd position
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "DritteStelle"
...... extension:VierteStelle SN 0..1 Extension 4th position
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "VierteStelle"
..... url 1..1 uri "http://fhir.de/StructureDefinition/Aufnahmegrund"
.... extension:plannedStartDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
.... extension:plannedEndDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣN 0..* Identifier Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:Aufnahmenummer SΣN 0..1 Identifier Admission number

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣN 1..1 CodeableConcept Description of identifier
Binding: MII VS Fall Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... text 0..1 string Plain text representation of the concept
...... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... Slices for coding Content/Rules for all slices
....... coding:vn-type SΣN 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ version 0..1 string Version of the system - if relevant
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
........ code SΣ 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
..... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 1..1 string The value that is unique
Example General: 123456
... status ?!SΣ 1..1 code status
Binding: Encounter Status ValueSet (required): Current state of the encounter.
... class SΣ 1..1 Coding Classification of patient encounter
Binding: EncounterClassDE (required): Classification of the encounter.
... Slices for type SΣN 0..* CodeableConcept Type of encounter
Slice: Unordered, Open by pattern:$this
Binding: EncounterType (example): The type of encounter.
.... type:Kontaktebene SΣN 0..1 CodeableConcept Level of encounter
Binding: KontaktebeneDe ValueSet (required): Kontaktebene

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/Kontaktebene
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... type:KontaktArt SΣN 0..1 CodeableConcept Type of encounter
Binding: KontaktartDe ValueSet (required): The type of encounter.

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/kontaktart-de
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... serviceType SΣ 0..1 CodeableConcept Department
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Fachabteilungsschluessel SΣN 0..1 Coding Department key
Binding: Fachabteilungsschlüssel ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... version 0..1 string Version of the system - if relevant
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel
...... code SΣ 1..1 code Symbol in syntax defined by the system
..... coding:ErweiterterFachabteilungsschluessel SΣN 0..1 Coding Extended department key
Binding: FachabteilungsschluesselErweitert ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... version 0..1 string Version of the system - if relevant
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert
...... code SΣ 1..1 code Symbol in syntax defined by the system
... subject SΣC 1..1 Reference(Patient | Group) Patientenidentifikator
Constraints: ref-1
... period SC 0..1 Period Period of encounter
Constraints: per-1
.... start SΣC 0..1 dateTime Beginndatum
.... end SΣC 0..1 dateTime Enddatum
... diagnosis SΣ 0..* BackboneElement Diagnoses
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣC 1..1 Reference(Condition | Procedure) Referenz zu Diagnose-Ressource
Constraints: ref-1
.... use S 1..1 CodeableConcept Diagnosetyp
Binding: MII VS Fall Diagnosis Use (extensible): The type of diagnosis this condition represents.
..... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
...... coding:Diagnosetyp SΣN 0..1 Coding Diagnosetyp
Binding: DiagnoseTyp ValueSet (required)
...... coding:DiagnosesubTyp SΣN 0..1 Coding Diagnosesubtyp
Binding: Diagnosesubtyp ValueSet (required)
.... rank S 0..1 positiveInt Rangfolge
... hospitalization S 0..1 BackboneElement Hospitalization
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... admitSource S 1..1 CodeableConcept Aufnahmeanlass
Binding: Aufnahmeanlass ValueSet (preferred): From where the patient was admitted.
.... dischargeDisposition S 0..1 CodeableConcept Entlassung
Binding: DischargeDisposition (example): Discharge Disposition.
..... Slices for extension Content/Rules for all slices
...... extension:Entlassungsgrund SN 0..1 (Complex) Entlassungsgrund
URL: http://fhir.de/StructureDefinition/Entlassungsgrund
... Slices for location N 0..* BackboneElement Location
Slice: Unordered, Open by pattern:physicalType
.... location:All Slices Content/Rules for all slices
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
.... location:Zimmer N 0..1 BackboneElement Zimmer
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ro
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
.... location:Bett N 0..1 BackboneElement Bett
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: bd
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
.... location:Station N 0..1 BackboneElement Station
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: wa
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
... partOf SC 0..1 Reference(Encounter) Part of encounter
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.identifier:Aufnahmenummer.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.identifier:Aufnahmenummer.​type Base extensible MII VS Fall Identifier Type Codes 📦2025.0.0 MII IG Fall v2025.0
Encounter.status Base required Encounter Status ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.class Base required EncounterClassDE 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.type:Kontaktebene Base required KontaktebeneDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.type:KontaktArt Base required KontaktartDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType Base example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:Fachabteilungsschluessel Base required Fachabteilungsschlüssel ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType.​coding:ErweiterterFachabteilungsschluessel Base required FachabteilungsschluesselErweitert ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.diagnosis.​use Base extensible MII VS Fall Diagnosis Use 📦2025.0.0 MII IG Fall v2025.0
Encounter.diagnosis.​use.coding:Diagnosetyp Base required DiagnoseTyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.diagnosis.​use.coding:DiagnosesubTyp Base required Diagnosesubtyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​admitSource Base preferred Aufnahmeanlass ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📦4.0.1 FHIR Std.
Encounter.location:Zimmer.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Bett.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Station.​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()
mii-enc-1 error Encounter Falls der Encounter abgeschlossen wurde, MUSS ein Enddatum bekannt sein status = 'finished' implies period.end.exists()
mii-enc-2 error Encounter Abgeschlossene, stationäre Kontakte MÜSSEN einen Start- und End-Zeitpunkt angeben status = 'finished' and class = 'IMP' implies period.start.exists() and period.end.exists()
mii-enc-3 error Encounter Geplante Kontakte DÜRFEN NICHT einen Start- oder End-Zeitpunkt angeben status = 'planned' implies period.exists().not()
mii-enc-4 warning Encounter Geplante Kontakte SOLLTEN die Extensions für den geplanten Start- oder End-Zeitpunkt verwenden status = 'planned' implies extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate').exists()
mii-enc-5 error Encounter In-Durchführung befindliche Kontakte MÜSSEN einen Start-Zeitpunkt angeben status = 'in-progress' implies period.start.exists()
mii-enc-6 error Encounter Kontakte mit Abwesenheitsstatus MÜSSEN einen Start-Zeitpunkt angeben status = 'onleave' implies period.start.exists()
mii-enc-7 warning Encounter Kontakte mit unbekannten Status SOLLTEN einen Start-Zeitpunkt angeben status = 'unknown' implies period.start.exists()
per-1 error Encounter.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1 error Encounter.subject, Encounter.diagnosis.condition, Encounter.location.location, Encounter.location:Zimmer.location, Encounter.location:Bett.location, Encounter.location:Station.location, Encounter.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from MII_PR_Fall_KontaktGesundheitseinrichtung

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* MII_PR_Fall_KontaktGesundheitseinrichtung An interaction during which services are provided to the patient
... participant
.... individual 0..1 Reference(Practitioner) Persons involved in the encounter other than the patient

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* MII_PR_Fall_KontaktGesundheitseinrichtung An interaction during which services are provided to the patient
Constraints: mii-enc-1, mii-enc-2, mii-enc-3, mii-enc-4, mii-enc-5, mii-enc-6, mii-enc-7
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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.
Additional BindingsPurpose
AllLanguages Max Binding
... 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:Aufnahmegrund SN 0..1 (Complex) Admission reason
URL: http://fhir.de/StructureDefinition/Aufnahmegrund
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for extension Content/Rules for all slices
...... extension:ErsteUndZweiteStelle SN 0..1 Extension 1st and 2nd position
....... id 0..1 string Unique id for inter-element referencing
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "ErsteUndZweiteStelle"
....... value[x] N 0..1 Coding Value of extension
Binding: Aufnahmegrund Erste und Zweite Stelle ValueSet (required)
...... extension:DritteStelle SN 0..1 Extension 3rd position
....... id 0..1 string Unique id for inter-element referencing
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "DritteStelle"
....... value[x] N 0..1 Coding Value of extension
Binding: AufnahmegrundDritteStelle ValueSet (required)
...... extension:VierteStelle SN 0..1 Extension 4th position
....... id 0..1 string Unique id for inter-element referencing
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "VierteStelle"
....... value[x] N 0..1 Coding Value of extension
Binding: Aufnahmegrund Vierte Stelle ValueSet (required)
..... url 1..1 uri "http://fhir.de/StructureDefinition/Aufnahmegrund"
.... extension:plannedStartDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
.... extension:plannedEndDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣN 0..* Identifier Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:Aufnahmenummer SΣN 0..1 Identifier Admission number

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣN 1..1 CodeableConcept Description of identifier
Binding: MII VS Fall Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... Slices for coding Content/Rules for all slices
....... coding:vn-type SΣN 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 1..1 string The value that is unique
Example General: 123456
..... period ΣCN 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
... status ?!SΣ 1..1 code status
Binding: Encounter Status ValueSet (required): Current state of the encounter.
... statusHistory 0..* BackboneElement List of past encounter statuses
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.
.... period C 1..1 Period The time that the episode was in the specified status
Constraints: per-1
... class SΣ 1..1 Coding Classification of patient encounter
Binding: EncounterClassDE (required): Classification of the encounter.
... classHistory 0..* BackboneElement List of past encounter classes
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): Classification of the encounter.
.... period C 1..1 Period The time that the episode was in the specified class
Constraints: per-1
... Slices for type SΣN 0..* CodeableConcept Type of encounter
Slice: Unordered, Open by pattern:$this
Binding: EncounterType (example): The type of encounter.
.... type:Kontaktebene SΣN 0..1 CodeableConcept Level of encounter
Binding: KontaktebeneDe ValueSet (required): Kontaktebene

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/Kontaktebene
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... type:KontaktArt SΣN 0..1 CodeableConcept Type of encounter
Binding: KontaktartDe ValueSet (required): The type of encounter.

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/kontaktart-de
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... serviceType SΣ 0..1 CodeableConcept Department
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Fachabteilungsschluessel SΣN 0..1 Coding Department key
Binding: Fachabteilungsschlüssel ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:ErweiterterFachabteilungsschluessel SΣN 0..1 Coding Extended department key
Binding: FachabteilungsschluesselErweitert ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... priority 0..1 CodeableConcept Indicates the urgency of the encounter
Binding: ActPriority (example): Indicates the urgency of the encounter.
... subject SΣC 1..1 Reference(Patient | Group) Patientenidentifikator
Constraints: ref-1
... episodeOfCare ΣC 0..* Reference(EpisodeOfCare) Episode(s) of care that this encounter should be recorded against
Constraints: ref-1
... basedOn C 0..* Reference(ServiceRequest) The ServiceRequest that initiated this encounter
Constraints: ref-1
... participant Σ 0..* BackboneElement List of participants involved in the encounter
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 0..* CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
.... period C 0..1 Period Period of time during the encounter that the participant participated
Constraints: per-1
.... individual ΣC 0..1 Reference(Practitioner) Persons involved in the encounter other than the patient
Constraints: ref-1
... appointment ΣC 0..* Reference(Appointment) The appointment that scheduled this encounter
Constraints: ref-1
... period SC 0..1 Period Period of encounter
Constraints: per-1
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 0..1 dateTime Beginndatum
.... end SΣC 0..1 dateTime Enddatum
... length C 0..1 Duration Quantity of time the encounter lasted (less time absent)
Constraints: qty-3, drt-1
... reasonCode Σ 0..* CodeableConcept Coded reason the encounter takes place
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
... reasonReference ΣC 0..* Reference(Condition | Procedure | Observation | ImmunizationRecommendation) Reason the encounter takes place (reference)
Constraints: ref-1
... diagnosis SΣ 0..* BackboneElement Diagnoses
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣC 1..1 Reference(Condition | Procedure) Referenz zu Diagnose-Ressource
Constraints: ref-1
.... use S 1..1 CodeableConcept Diagnosetyp
Binding: MII VS Fall Diagnosis Use (extensible): The type of diagnosis this condition represents.
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
...... coding:Diagnosetyp SΣN 0..1 Coding Diagnosetyp
Binding: DiagnoseTyp ValueSet (required)
...... coding:DiagnosesubTyp SΣN 0..1 Coding Diagnosesubtyp
Binding: Diagnosesubtyp ValueSet (required)
..... text Σ 0..1 string Plain text representation of the concept
.... rank S 0..1 positiveInt Rangfolge
... account C 0..* Reference(Account) The set of accounts that may be used for billing for this Encounter
Constraints: ref-1
... hospitalization S 0..1 BackboneElement Hospitalization
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1 Identifier Pre-admission identifier
.... origin C 0..1 Reference(Location | Organization) The location/organization from which the patient came before admission
Constraints: ref-1
.... admitSource S 1..1 CodeableConcept Aufnahmeanlass
Binding: Aufnahmeanlass ValueSet (preferred): From where the patient was admitted.
.... reAdmission 0..1 CodeableConcept The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.
.... dietPreference 0..* CodeableConcept Diet preferences reported by the patient
Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.
.... specialCourtesy 0..* CodeableConcept Special courtesies (VIP, board member)
Binding: SpecialCourtesy (preferred): Special courtesies.
.... specialArrangement 0..* CodeableConcept Wheelchair, translator, stretcher, etc.
Binding: SpecialArrangements (preferred): Special arrangements.
.... destination C 0..1 Reference(Location | Organization) Location/organization to which the patient is discharged
Constraints: ref-1
.... dischargeDisposition S 0..1 CodeableConcept Entlassung
Binding: DischargeDisposition (example): Discharge Disposition.
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:Entlassungsgrund SN 0..1 (Complex) Entlassungsgrund
URL: http://fhir.de/StructureDefinition/Entlassungsgrund
..... coding Σ 0..* Coding Code defined by a terminology system
..... text Σ 0..1 string Plain text representation of the concept
... Slices for location N 0..* BackboneElement Location
Slice: Unordered, Open by pattern:physicalType
.... location:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 0..1 CodeableConcept Kontaktorttyp
Binding: MII VS Fall Location Physical Type (extensible): Physical form of the location.
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
.... location:Zimmer N 0..1 BackboneElement Zimmer
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ro
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
.... location:Bett N 0..1 BackboneElement Bett
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: bd
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
.... location:Station N 0..1 BackboneElement Station
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: wa
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
... serviceProvider C 0..1 Reference(Organization) Service Provider
Constraints: ref-1
... partOf SC 0..1 Reference(Encounter) Part of encounter
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.meta.security Base extensible SecurityLabels 📦4.0.1 FHIR Std.
Encounter.meta.tag Base example Common Tags 📦4.0.1 FHIR Std.
Encounter.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Encounter.extension:Aufnahmegrund.​extension:ErsteUndZweiteStelle.​value[x] Base required Aufnahmegrund Erste und Zweite Stelle ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.extension:Aufnahmegrund.​extension:DritteStelle.​value[x] Base required AufnahmegrundDritteStelle ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.extension:Aufnahmegrund.​extension:VierteStelle.​value[x] Base required Aufnahmegrund Vierte Stelle ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.identifier:Aufnahmenummer.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.identifier:Aufnahmenummer.​type Base extensible MII VS Fall Identifier Type Codes 📦2025.0.0 MII IG Fall v2025.0
Encounter.status Base required Encounter Status ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required EncounterClassDE 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.2
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.type:Kontaktebene Base required KontaktebeneDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.type:KontaktArt Base required KontaktartDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType Base example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:Fachabteilungsschluessel Base required Fachabteilungsschlüssel ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType.​coding:ErweiterterFachabteilungsschluessel Base required FachabteilungsschluesselErweitert ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.priority Base example ActPriority 📦3.0.0 THO v7.2
Encounter.participant.​type Base extensible Participant type 📦4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📦4.0.1 FHIR Std.
Encounter.diagnosis.​use Base extensible MII VS Fall Diagnosis Use 📦2025.0.0 MII IG Fall v2025.0
Encounter.diagnosis.​use.coding:Diagnosetyp Base required DiagnoseTyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.diagnosis.​use.coding:DiagnosesubTyp Base required Diagnosesubtyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​admitSource Base preferred Aufnahmeanlass ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.2
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 extensible MII VS Fall Location Physical Type 📦2025.0.0 MII IG Fall v2025.0
Encounter.location:Zimmer.​status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location:Zimmer.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Bett.​status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location:Bett.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Station.​status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location:Station.​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()
drt-1 error Encounter.length There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. code.exists() implies ((system = %ucum) and value.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()
mii-enc-1 error Encounter Falls der Encounter abgeschlossen wurde, MUSS ein Enddatum bekannt sein status = 'finished' implies period.end.exists()
mii-enc-2 error Encounter Abgeschlossene, stationäre Kontakte MÜSSEN einen Start- und End-Zeitpunkt angeben status = 'finished' and class = 'IMP' implies period.start.exists() and period.end.exists()
mii-enc-3 error Encounter Geplante Kontakte DÜRFEN NICHT einen Start- oder End-Zeitpunkt angeben status = 'planned' implies period.exists().not()
mii-enc-4 warning Encounter Geplante Kontakte SOLLTEN die Extensions für den geplanten Start- oder End-Zeitpunkt verwenden status = 'planned' implies extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate').exists()
mii-enc-5 error Encounter In-Durchführung befindliche Kontakte MÜSSEN einen Start-Zeitpunkt angeben status = 'in-progress' implies period.start.exists()
mii-enc-6 error Encounter Kontakte mit Abwesenheitsstatus MÜSSEN einen Start-Zeitpunkt angeben status = 'onleave' implies period.start.exists()
mii-enc-7 warning Encounter Kontakte mit unbekannten Status SOLLTEN einen Start-Zeitpunkt angeben status = 'unknown' implies period.start.exists()
per-1 error Encounter.identifier:Aufnahmenummer.period, Encounter.statusHistory.period, Encounter.classHistory.period, Encounter.participant.period, Encounter.period, Encounter.location.period, Encounter.location:Zimmer.period, Encounter.location:Bett.period, Encounter.location:Station.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3 error Encounter.length If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error Encounter.identifier:Aufnahmenummer.assigner, Encounter.subject, Encounter.episodeOfCare, Encounter.basedOn, Encounter.participant.individual, Encounter.appointment, Encounter.reasonReference, Encounter.diagnosis.condition, Encounter.account, Encounter.hospitalization.origin, Encounter.hospitalization.destination, Encounter.location.location, Encounter.location:Zimmer.location, Encounter.location:Bett.location, Encounter.location:Station.location, Encounter.serviceProvider, Encounter.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from MII_PR_Fall_KontaktGesundheitseinrichtung

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* MII_PR_Fall_KontaktGesundheitseinrichtung An interaction during which services are provided to the patient
Constraints: mii-enc-1, mii-enc-2, mii-enc-3, mii-enc-4, mii-enc-5, mii-enc-6, mii-enc-7
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
.... extension:Aufnahmegrund SN 0..1 (Complex) Admission reason
URL: http://fhir.de/StructureDefinition/Aufnahmegrund
..... Slices for extension Content/Rules for all slices
...... extension:ErsteUndZweiteStelle SN 0..1 Extension 1st and 2nd position
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "ErsteUndZweiteStelle"
...... extension:DritteStelle SN 0..1 Extension 3rd position
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "DritteStelle"
...... extension:VierteStelle SN 0..1 Extension 4th position
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "VierteStelle"
..... url 1..1 uri "http://fhir.de/StructureDefinition/Aufnahmegrund"
.... extension:plannedStartDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
.... extension:plannedEndDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣN 0..* Identifier Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:Aufnahmenummer SΣN 0..1 Identifier Admission number

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... period 0..1 Period Time period when id is/was valid for use
..... assigner 0..1 Reference(Organization) Organization that issued id (may be just text)
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣN 1..1 CodeableConcept Description of identifier
Binding: MII VS Fall Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... text 0..1 string Plain text representation of the concept
...... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... Slices for coding Content/Rules for all slices
....... coding:vn-type SΣN 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ version 0..1 string Version of the system - if relevant
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
........ code SΣ 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
..... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 1..1 string The value that is unique
Example General: 123456
... status ?!SΣ 1..1 code status
Binding: Encounter Status ValueSet (required): Current state of the encounter.
... class SΣ 1..1 Coding Classification of patient encounter
Binding: EncounterClassDE (required): Classification of the encounter.
... Slices for type SΣN 0..* CodeableConcept Type of encounter
Slice: Unordered, Open by pattern:$this
Binding: EncounterType (example): The type of encounter.
.... type:Kontaktebene SΣN 0..1 CodeableConcept Level of encounter
Binding: KontaktebeneDe ValueSet (required): Kontaktebene

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/Kontaktebene
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... type:KontaktArt SΣN 0..1 CodeableConcept Type of encounter
Binding: KontaktartDe ValueSet (required): The type of encounter.

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/kontaktart-de
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... serviceType SΣ 0..1 CodeableConcept Department
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Fachabteilungsschluessel SΣN 0..1 Coding Department key
Binding: Fachabteilungsschlüssel ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... version 0..1 string Version of the system - if relevant
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel
...... code SΣ 1..1 code Symbol in syntax defined by the system
..... coding:ErweiterterFachabteilungsschluessel SΣN 0..1 Coding Extended department key
Binding: FachabteilungsschluesselErweitert ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... version 0..1 string Version of the system - if relevant
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert
...... code SΣ 1..1 code Symbol in syntax defined by the system
... subject SΣC 1..1 Reference(Patient | Group) Patientenidentifikator
Constraints: ref-1
... period SC 0..1 Period Period of encounter
Constraints: per-1
.... start SΣC 0..1 dateTime Beginndatum
.... end SΣC 0..1 dateTime Enddatum
... diagnosis SΣ 0..* BackboneElement Diagnoses
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣC 1..1 Reference(Condition | Procedure) Referenz zu Diagnose-Ressource
Constraints: ref-1
.... use S 1..1 CodeableConcept Diagnosetyp
Binding: MII VS Fall Diagnosis Use (extensible): The type of diagnosis this condition represents.
..... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
...... coding:Diagnosetyp SΣN 0..1 Coding Diagnosetyp
Binding: DiagnoseTyp ValueSet (required)
...... coding:DiagnosesubTyp SΣN 0..1 Coding Diagnosesubtyp
Binding: Diagnosesubtyp ValueSet (required)
.... rank S 0..1 positiveInt Rangfolge
... hospitalization S 0..1 BackboneElement Hospitalization
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... admitSource S 1..1 CodeableConcept Aufnahmeanlass
Binding: Aufnahmeanlass ValueSet (preferred): From where the patient was admitted.
.... dischargeDisposition S 0..1 CodeableConcept Entlassung
Binding: DischargeDisposition (example): Discharge Disposition.
..... Slices for extension Content/Rules for all slices
...... extension:Entlassungsgrund SN 0..1 (Complex) Entlassungsgrund
URL: http://fhir.de/StructureDefinition/Entlassungsgrund
... Slices for location N 0..* BackboneElement Location
Slice: Unordered, Open by pattern:physicalType
.... location:All Slices Content/Rules for all slices
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
.... location:Zimmer N 0..1 BackboneElement Zimmer
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ro
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
.... location:Bett N 0..1 BackboneElement Bett
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: bd
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
.... location:Station N 0..1 BackboneElement Station
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: wa
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
... partOf SC 0..1 Reference(Encounter) Part of encounter
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.identifier:Aufnahmenummer.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.identifier:Aufnahmenummer.​type Base extensible MII VS Fall Identifier Type Codes 📦2025.0.0 MII IG Fall v2025.0
Encounter.status Base required Encounter Status ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.class Base required EncounterClassDE 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.type:Kontaktebene Base required KontaktebeneDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.type:KontaktArt Base required KontaktartDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType Base example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:Fachabteilungsschluessel Base required Fachabteilungsschlüssel ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType.​coding:ErweiterterFachabteilungsschluessel Base required FachabteilungsschluesselErweitert ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.diagnosis.​use Base extensible MII VS Fall Diagnosis Use 📦2025.0.0 MII IG Fall v2025.0
Encounter.diagnosis.​use.coding:Diagnosetyp Base required DiagnoseTyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.diagnosis.​use.coding:DiagnosesubTyp Base required Diagnosesubtyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​admitSource Base preferred Aufnahmeanlass ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​dischargeDisposition Base example Discharge disposition 📦4.0.1 FHIR Std.
Encounter.location:Zimmer.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Bett.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Station.​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()
mii-enc-1 error Encounter Falls der Encounter abgeschlossen wurde, MUSS ein Enddatum bekannt sein status = 'finished' implies period.end.exists()
mii-enc-2 error Encounter Abgeschlossene, stationäre Kontakte MÜSSEN einen Start- und End-Zeitpunkt angeben status = 'finished' and class = 'IMP' implies period.start.exists() and period.end.exists()
mii-enc-3 error Encounter Geplante Kontakte DÜRFEN NICHT einen Start- oder End-Zeitpunkt angeben status = 'planned' implies period.exists().not()
mii-enc-4 warning Encounter Geplante Kontakte SOLLTEN die Extensions für den geplanten Start- oder End-Zeitpunkt verwenden status = 'planned' implies extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate').exists()
mii-enc-5 error Encounter In-Durchführung befindliche Kontakte MÜSSEN einen Start-Zeitpunkt angeben status = 'in-progress' implies period.start.exists()
mii-enc-6 error Encounter Kontakte mit Abwesenheitsstatus MÜSSEN einen Start-Zeitpunkt angeben status = 'onleave' implies period.start.exists()
mii-enc-7 warning Encounter Kontakte mit unbekannten Status SOLLTEN einen Start-Zeitpunkt angeben status = 'unknown' implies period.start.exists()
per-1 error Encounter.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
ref-1 error Encounter.subject, Encounter.diagnosis.condition, Encounter.location.location, Encounter.location:Zimmer.location, Encounter.location:Bett.location, Encounter.location:Station.location, Encounter.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

Differential View

This structure is derived from MII_PR_Fall_KontaktGesundheitseinrichtung

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter 0..* MII_PR_Fall_KontaktGesundheitseinrichtung An interaction during which services are provided to the patient
... participant
.... individual 0..1 Reference(Practitioner) Persons involved in the encounter other than the patient

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Encounter C 0..* MII_PR_Fall_KontaktGesundheitseinrichtung An interaction during which services are provided to the patient
Constraints: mii-enc-1, mii-enc-2, mii-enc-3, mii-enc-4, mii-enc-5, mii-enc-6, mii-enc-7
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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.
Additional BindingsPurpose
AllLanguages Max Binding
... 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 N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:Aufnahmegrund SN 0..1 (Complex) Admission reason
URL: http://fhir.de/StructureDefinition/Aufnahmegrund
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for extension Content/Rules for all slices
...... extension:ErsteUndZweiteStelle SN 0..1 Extension 1st and 2nd position
....... id 0..1 string Unique id for inter-element referencing
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "ErsteUndZweiteStelle"
....... value[x] N 0..1 Coding Value of extension
Binding: Aufnahmegrund Erste und Zweite Stelle ValueSet (required)
...... extension:DritteStelle SN 0..1 Extension 3rd position
....... id 0..1 string Unique id for inter-element referencing
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "DritteStelle"
....... value[x] N 0..1 Coding Value of extension
Binding: AufnahmegrundDritteStelle ValueSet (required)
...... extension:VierteStelle SN 0..1 Extension 4th position
....... id 0..1 string Unique id for inter-element referencing
....... extension N 0..0 Additional content defined by implementations
Slice: Unordered, Open by value:url
....... url 1..1 uri "VierteStelle"
....... value[x] N 0..1 Coding Value of extension
Binding: Aufnahmegrund Vierte Stelle ValueSet (required)
..... url 1..1 uri "http://fhir.de/StructureDefinition/Aufnahmegrund"
.... extension:plannedStartDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate
.... extension:plannedEndDate N 0..1 dateTime Optional Extensions Element
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedEndDate
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... Slices for identifier SΣN 0..* Identifier Identifier
Slice: Unordered, Open by pattern:$this
.... identifier:Aufnahmenummer SΣN 0..1 Identifier Admission number

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known .
..... type SΣN 1..1 CodeableConcept Description of identifier
Binding: MII VS Fall Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding ΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this

Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... Slices for coding Content/Rules for all slices
....... coding:vn-type SΣN 1..1 Coding Code defined by a terminology system

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0203
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
Fixed Value: VN
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text Σ 0..1 string Plain text representation of the concept
..... system SΣ 1..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
..... value SΣ 1..1 string The value that is unique
Example General: 123456
..... period ΣCN 0..1 Period Time period when id is/was valid for use
Constraints: per-1
..... assigner ΣCN 0..1 Reference(Organization) Organization that issued id (may be just text)
Constraints: ref-1
... status ?!SΣ 1..1 code status
Binding: Encounter Status ValueSet (required): Current state of the encounter.
... statusHistory 0..* BackboneElement List of past encounter statuses
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... status 1..1 code planned | arrived | triaged | in-progress | onleave | finished | cancelled +
Binding: EncounterStatus (required): Current state of the encounter.
.... period C 1..1 Period The time that the episode was in the specified status
Constraints: per-1
... class SΣ 1..1 Coding Classification of patient encounter
Binding: EncounterClassDE (required): Classification of the encounter.
... classHistory 0..* BackboneElement List of past encounter classes
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... class 1..1 Coding inpatient | outpatient | ambulatory | emergency +
Binding: ActEncounterCode (extensible): Classification of the encounter.
.... period C 1..1 Period The time that the episode was in the specified class
Constraints: per-1
... Slices for type SΣN 0..* CodeableConcept Type of encounter
Slice: Unordered, Open by pattern:$this
Binding: EncounterType (example): The type of encounter.
.... type:Kontaktebene SΣN 0..1 CodeableConcept Level of encounter
Binding: KontaktebeneDe ValueSet (required): Kontaktebene

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/Kontaktebene
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
.... type:KontaktArt SΣN 0..1 CodeableConcept Type of encounter
Binding: KontaktartDe ValueSet (required): The type of encounter.

Required Pattern: At least the following
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
..... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/kontaktart-de
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
..... text 0..1 string Plain text representation of the concept
... serviceType SΣ 0..1 CodeableConcept Department
Binding: ServiceType (example): Broad categorization of the service that is to be provided.
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Fachabteilungsschluessel SΣN 0..1 Coding Department key
Binding: Fachabteilungsschlüssel ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:ErweiterterFachabteilungsschluessel SΣN 0..1 Coding Extended department key
Binding: FachabteilungsschluesselErweitert ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/dkgev/Fachabteilungsschluessel-erweitert
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... priority 0..1 CodeableConcept Indicates the urgency of the encounter
Binding: ActPriority (example): Indicates the urgency of the encounter.
... subject SΣC 1..1 Reference(Patient | Group) Patientenidentifikator
Constraints: ref-1
... episodeOfCare ΣC 0..* Reference(EpisodeOfCare) Episode(s) of care that this encounter should be recorded against
Constraints: ref-1
... basedOn C 0..* Reference(ServiceRequest) The ServiceRequest that initiated this encounter
Constraints: ref-1
... participant Σ 0..* BackboneElement List of participants involved in the encounter
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... type Σ 0..* CodeableConcept Role of participant in encounter
Binding: ParticipantType (extensible): Role of participant in encounter.
.... period C 0..1 Period Period of time during the encounter that the participant participated
Constraints: per-1
.... individual ΣC 0..1 Reference(Practitioner) Persons involved in the encounter other than the patient
Constraints: ref-1
... appointment ΣC 0..* Reference(Appointment) The appointment that scheduled this encounter
Constraints: ref-1
... period SC 0..1 Period Period of encounter
Constraints: per-1
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... start SΣC 0..1 dateTime Beginndatum
.... end SΣC 0..1 dateTime Enddatum
... length C 0..1 Duration Quantity of time the encounter lasted (less time absent)
Constraints: qty-3, drt-1
... reasonCode Σ 0..* CodeableConcept Coded reason the encounter takes place
Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
... reasonReference ΣC 0..* Reference(Condition | Procedure | Observation | ImmunizationRecommendation) Reason the encounter takes place (reference)
Constraints: ref-1
... diagnosis SΣ 0..* BackboneElement Diagnoses
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... condition SΣC 1..1 Reference(Condition | Procedure) Referenz zu Diagnose-Ressource
Constraints: ref-1
.... use S 1..1 CodeableConcept Diagnosetyp
Binding: MII VS Fall Diagnosis Use (extensible): The type of diagnosis this condition represents.
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
...... coding:Diagnosetyp SΣN 0..1 Coding Diagnosetyp
Binding: DiagnoseTyp ValueSet (required)
...... coding:DiagnosesubTyp SΣN 0..1 Coding Diagnosesubtyp
Binding: Diagnosesubtyp ValueSet (required)
..... text Σ 0..1 string Plain text representation of the concept
.... rank S 0..1 positiveInt Rangfolge
... account C 0..* Reference(Account) The set of accounts that may be used for billing for this Encounter
Constraints: ref-1
... hospitalization S 0..1 BackboneElement Hospitalization
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... preAdmissionIdentifier 0..1 Identifier Pre-admission identifier
.... origin C 0..1 Reference(Location | Organization) The location/organization from which the patient came before admission
Constraints: ref-1
.... admitSource S 1..1 CodeableConcept Aufnahmeanlass
Binding: Aufnahmeanlass ValueSet (preferred): From where the patient was admitted.
.... reAdmission 0..1 CodeableConcept The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission
Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this hospitalization encounter.
.... dietPreference 0..* CodeableConcept Diet preferences reported by the patient
Binding: Diet (example): Medical, cultural or ethical food preferences to help with catering requirements.
.... specialCourtesy 0..* CodeableConcept Special courtesies (VIP, board member)
Binding: SpecialCourtesy (preferred): Special courtesies.
.... specialArrangement 0..* CodeableConcept Wheelchair, translator, stretcher, etc.
Binding: SpecialArrangements (preferred): Special arrangements.
.... destination C 0..1 Reference(Location | Organization) Location/organization to which the patient is discharged
Constraints: ref-1
.... dischargeDisposition S 0..1 CodeableConcept Entlassung
Binding: DischargeDisposition (example): Discharge Disposition.
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:Entlassungsgrund SN 0..1 (Complex) Entlassungsgrund
URL: http://fhir.de/StructureDefinition/Entlassungsgrund
..... coding Σ 0..* Coding Code defined by a terminology system
..... text Σ 0..1 string Plain text representation of the concept
... Slices for location N 0..* BackboneElement Location
Slice: Unordered, Open by pattern:physicalType
.... location:All Slices Content/Rules for all slices
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 0..1 CodeableConcept Kontaktorttyp
Binding: MII VS Fall Location Physical Type (extensible): Physical form of the location.
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
.... location:Zimmer N 0..1 BackboneElement Zimmer
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: ro
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
.... location:Bett N 0..1 BackboneElement Bett
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: bd
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
.... location:Station N 0..1 BackboneElement Station
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... modifierExtension ?!ΣN 0..* Extension Extensions that cannot be ignored even if unrecognized
..... location CN 1..1 Reference(Location) Location the encounter takes place
Constraints: ref-1
..... status 0..1 code planned | active | reserved | completed
Binding: EncounterLocationStatus (required): The status of the location.
..... physicalType N 1..1 CodeableConcept The physical type of the location (usually the level in the location hierachy - bed room ward etc.)
Binding: LocationType (example): Physical form of the location.
Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... coding 1..* Coding Code defined by a terminology system
Fixed Value: (Complex)
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..* Extension Additional content defined by implementations
....... system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/location-physical-type
....... version 0..1 string Version of the system - if relevant
....... code 1..1 code Symbol in syntax defined by the system
Fixed Value: wa
....... display 0..1 string Representation defined by the system
....... userSelected 0..1 boolean If this coding was chosen directly by the user
...... text 0..1 string Plain text representation of the concept
..... period CN 0..1 Period Time period during which the patient was present at the location
Constraints: per-1
... serviceProvider C 0..1 Reference(Organization) Service Provider
Constraints: ref-1
... partOf SC 0..1 Reference(Encounter) Part of encounter
Constraints: ref-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Encounter.meta.security Base extensible SecurityLabels 📦4.0.1 FHIR Std.
Encounter.meta.tag Base example Common Tags 📦4.0.1 FHIR Std.
Encounter.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Encounter.extension:Aufnahmegrund.​extension:ErsteUndZweiteStelle.​value[x] Base required Aufnahmegrund Erste und Zweite Stelle ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.extension:Aufnahmegrund.​extension:DritteStelle.​value[x] Base required AufnahmegrundDritteStelle ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.extension:Aufnahmegrund.​extension:VierteStelle.​value[x] Base required Aufnahmegrund Vierte Stelle ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.identifier:Aufnahmenummer.​use Base required IdentifierUse 📍4.0.1 FHIR Std.
Encounter.identifier:Aufnahmenummer.​type Base extensible MII VS Fall Identifier Type Codes 📦2025.0.0 MII IG Fall v2025.0
Encounter.status Base required Encounter Status ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.statusHistory.​status Base required EncounterStatus 📍4.0.1 FHIR Std.
Encounter.class Base required EncounterClassDE 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.classHistory.​class Base extensible ActEncounterCode 📦3.0.0 THO v7.2
Encounter.type Base example Encounter type 📦4.0.1 FHIR Std.
Encounter.type:Kontaktebene Base required KontaktebeneDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.type:KontaktArt Base required KontaktartDe ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType Base example Service type 📦4.0.1 FHIR Std.
Encounter.serviceType.​coding:Fachabteilungsschluessel Base required Fachabteilungsschlüssel ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.serviceType.​coding:ErweiterterFachabteilungsschluessel Base required FachabteilungsschluesselErweitert ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.priority Base example ActPriority 📦3.0.0 THO v7.2
Encounter.participant.​type Base extensible Participant type 📦4.0.1 FHIR Std.
Encounter.reasonCode Base preferred Encounter Reason Codes 📦4.0.1 FHIR Std.
Encounter.diagnosis.​use Base extensible MII VS Fall Diagnosis Use 📦2025.0.0 MII IG Fall v2025.0
Encounter.diagnosis.​use.coding:Diagnosetyp Base required DiagnoseTyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.diagnosis.​use.coding:DiagnosesubTyp Base required Diagnosesubtyp ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​admitSource Base preferred Aufnahmeanlass ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Encounter.hospitalization.​reAdmission Base example hl7VS-re-admissionIndicator 📦3.0.0 THO v7.2
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 extensible MII VS Fall Location Physical Type 📦2025.0.0 MII IG Fall v2025.0
Encounter.location:Zimmer.​status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location:Zimmer.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Bett.​status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location:Bett.​physicalType Base example Location type 📦4.0.1 FHIR Std.
Encounter.location:Station.​status Base required EncounterLocationStatus 📍4.0.1 FHIR Std.
Encounter.location:Station.​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()
drt-1 error Encounter.length There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. code.exists() implies ((system = %ucum) and value.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()
mii-enc-1 error Encounter Falls der Encounter abgeschlossen wurde, MUSS ein Enddatum bekannt sein status = 'finished' implies period.end.exists()
mii-enc-2 error Encounter Abgeschlossene, stationäre Kontakte MÜSSEN einen Start- und End-Zeitpunkt angeben status = 'finished' and class = 'IMP' implies period.start.exists() and period.end.exists()
mii-enc-3 error Encounter Geplante Kontakte DÜRFEN NICHT einen Start- oder End-Zeitpunkt angeben status = 'planned' implies period.exists().not()
mii-enc-4 warning Encounter Geplante Kontakte SOLLTEN die Extensions für den geplanten Start- oder End-Zeitpunkt verwenden status = 'planned' implies extension.where(url = 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Encounter.plannedStartDate').exists()
mii-enc-5 error Encounter In-Durchführung befindliche Kontakte MÜSSEN einen Start-Zeitpunkt angeben status = 'in-progress' implies period.start.exists()
mii-enc-6 error Encounter Kontakte mit Abwesenheitsstatus MÜSSEN einen Start-Zeitpunkt angeben status = 'onleave' implies period.start.exists()
mii-enc-7 warning Encounter Kontakte mit unbekannten Status SOLLTEN einen Start-Zeitpunkt angeben status = 'unknown' implies period.start.exists()
per-1 error Encounter.identifier:Aufnahmenummer.period, Encounter.statusHistory.period, Encounter.classHistory.period, Encounter.participant.period, Encounter.period, Encounter.location.period, Encounter.location:Zimmer.period, Encounter.location:Bett.period, Encounter.location:Station.period If present, start SHALL have a lower value than end start.hasValue().not() or end.hasValue().not() or (start <= end)
qty-3 error Encounter.length If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
ref-1 error Encounter.identifier:Aufnahmenummer.assigner, Encounter.subject, Encounter.episodeOfCare, Encounter.basedOn, Encounter.participant.individual, Encounter.appointment, Encounter.reasonReference, Encounter.diagnosis.condition, Encounter.account, Encounter.hospitalization.origin, Encounter.hospitalization.destination, Encounter.location.location, Encounter.location:Zimmer.location, Encounter.location:Bett.location, Encounter.location:Station.location, Encounter.serviceProvider, Encounter.partOf SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from MII_PR_Fall_KontaktGesundheitseinrichtung

Summary

 

Other representations of profile: CSV, Excel, Schematron