Moderne Patient:innenabrechnung und Datenkommunikation on FHIR (MOPED)
0.1.0 - ci-build

Moderne Patient:innenabrechnung und Datenkommunikation on FHIR (MOPED) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

## Resource Profile: MOPED TransferEncounter Intensiv

Official URL: https://elga.moped.at/StructureDefinition/MopedTransferEncounterI | Version: 0.1.0
Draft as of 2025-11-27 | Responsible: ELGA GmbH | Computable Name: MopedTransferEncounterI

MOPED Profil der Encounter Ressource für die Verlegung auf Intensivstationen

Usages:

- Refer to this Profile: MOPED Composition

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.

- Key Elements Table
- Differential Table
- Snapshot Table
- Statistics/References
- All

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Encounter | C | 0..* | MopedTransferEncounterS | An interaction during which services are provided to the patient Constraints: moped-TENC-status-entweder-in-progress-oder-completed, moped-verlegen-intensiv-verpflichtendes-abgangsdatum, moped-verlegen-intensiv-verpflichtende-abgangsart
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
status | ?!O Σ | 1..1 | code | planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown Binding: EncounterStatus (required): Current state of the encounter.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
type | O Σ | 1..* | CodeableConcept | Specific type of encounter (e.g. e-mail consultation, surgical day-care, ...) Binding: EncounterType (example): A specific code indicating type of service provided Required Pattern: At least the following
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
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: https://elga.moped.at/CodeSystem/MopedEncounterTypesCS
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: TENC
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
subject | O Σ | 1..1 | Reference(MOPED Patient) | The patient or group related to this encounter
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
partOf | O | 1..1 | Reference(MOPED Encounter) | Another Encounter this encounter is part of
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
serviceProvider | O | 1..1 | Reference(MOPED Organization Abteilung) | LKF: Hauptkostenstelle – Funktionscode/Fachgebiet; KaOrg: Funktionscode der Abteilung lt. LKF + Funktionssubcode der Abteilung lt. LKF bzw. Abteilung - Funktionscode der Ambulanz + Abteilung - Subcode
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
admission |  | 0..1 | BackboneElement | Details about the admission to a healthcare service
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:Altersgruppe | SO C | 1..1 | (Complex) | Altersgruppe URL: https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe Constraints: moped-inv-Altersgruppe-1
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:beiZugang | S | 1..1 | Extension | LKF: Altersgruppe bei Zugang/Kontakt
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiZugang"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: Altersgruppe des Patienten (required)
extension:beiEntlassung | S | 0..1 | Extension | Altersgruppe bei Entlassung/Kontakt
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiEntlassung"
extension:neugeborenes | S | 1..1 | Extension | Extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "neugeborenes"
value[x] |  | 1..1 | boolean | Value of extension
url |  | 1..1 | uri | "https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe"
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Encounter.status | Base | required | Encounter Status | 📍5.0.0 | FHIR Std.
Encounter.type | Base | example | Encounter Type | 📍5.0.0 | FHIR Std.
Encounter.admission.​extension:Altersgruppe.​extension:beiZugang.​value[x] | Base | required | Altersgruppe des Patienten | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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()`
moped-TENC-status-entweder-in-progress-oder-completed | error | Encounter | Der TENC status muss entweder in-progress oder completed sein | ``
moped-inv-Altersgruppe-1 | error | Encounter.admission.extension:Altersgruppe | If 'neugeborenes' is true then 'beiZugang' must be age group 0. | `(extension.where(url = 'neugeborenes').exists() and extension.where(url = 'neugeborenes').value = true) implies (extension.where(url = 'beiZugang').value = '0')`
moped-verlegen-intensiv-verpflichtende-abgangsart | error | Encounter | Wenn der TENC.status complete ist, muss die Abgangsart (dischargeDisposition) befüllt sein | ``
moped-verlegen-intensiv-verpflichtendes-abgangsdatum | error | Encounter | Wenn der TENC.status complete ist, muss es das Abgangsdatum befüllt sein | ``

This structure is derived from MopedTransferEncounterS

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Encounter | C | 0..* | MopedTransferEncounterS | An interaction during which services are provided to the patient Constraints: moped-TENC-status-entweder-in-progress-oder-completed, moped-verlegen-intensiv-verpflichtendes-abgangsdatum, moped-verlegen-intensiv-verpflichtende-abgangsart
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
moped-TENC-status-entweder-in-progress-oder-completed | error | Encounter | Der TENC status muss entweder in-progress oder completed sein | ``
moped-verlegen-intensiv-verpflichtende-abgangsart | error | Encounter | Wenn der TENC.status complete ist, muss die Abgangsart (dischargeDisposition) befüllt sein | ``
moped-verlegen-intensiv-verpflichtendes-abgangsdatum | error | Encounter | Wenn der TENC.status complete ist, muss es das Abgangsdatum befüllt sein | ``

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Encounter | C | 0..* | MopedTransferEncounterS | An interaction during which services are provided to the patient Constraints: moped-TENC-status-entweder-in-progress-oder-completed, moped-verlegen-intensiv-verpflichtendes-abgangsdatum, moped-verlegen-intensiv-verpflichtende-abgangsart
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
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
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Identifier(s) by which this encounter is known
status | ?!O Σ | 1..1 | code | planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown Binding: EncounterStatus (required): Current state of the encounter.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
class | Σ | 0..* | CodeableConcept | Classification of patient encounter context - e.g. Inpatient, outpatient Binding: Encounter class (preferred): Classification of the encounter.
priority |  | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ActPriority (example): Indicates the urgency of the encounter.
type | O Σ | 1..* | CodeableConcept | Specific type of encounter (e.g. e-mail consultation, surgical day-care, ...) Binding: EncounterType (example): A specific code indicating type of service provided Required Pattern: At least the following
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
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: https://elga.moped.at/CodeSystem/MopedEncounterTypesCS
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: TENC
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 | Σ | 0..* | CodeableReference(HealthcareService) | Specific type of service Binding: ServiceType (example): Broad categorization of the service that is to be provided.
subject | O Σ | 1..1 | Reference(MOPED Patient) | The patient or group related to this encounter
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
subjectStatus | O | 0..1 | CodeableConcept | LKF: Physische Anwesenheit Binding: EncounterSubjectStatus (example): Current status of the subject within the encounter.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
episodeOfCare | Σ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against
basedOn |  | 0..* | Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest) | The request that initiated this encounter
careTeam |  | 0..* | Reference(CareTeam) | The group(s) that are allocated to participate in this encounter
partOf | O | 1..1 | Reference(MOPED Encounter) | Another Encounter this encounter is part of
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
serviceProvider | O | 1..1 | Reference(MOPED Organization Abteilung) | LKF: Hauptkostenstelle – Funktionscode/Fachgebiet; KaOrg: Funktionscode der Abteilung lt. LKF + Funktionssubcode der Abteilung lt. LKF bzw. Abteilung - Funktionscode der Ambulanz + Abteilung - Subcode
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
participant | Σ C | 0..* | BackboneElement | List of participants involved in the encounter Constraints: enc-1, enc-2
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ C | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible): Role of participant in encounter.
period |  | 0..1 | Period | Period of time during the encounter that the participant participated
actor | Σ C | 0..1 | Reference(Patient | Group | RelatedPerson | Practitioner | PractitionerRole | Device | HealthcareService) | The individual, device, or service participating in the encounter
appointment | Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter
virtualService |  | 0..* | VirtualServiceDetail | Connection details of a virtual service (e.g. conference call)
actualPeriod | O | 0..1 | Period | LKF: Zugangs- und Abgangsdatum
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
start | Σ C | 1..1 | dateTime | LKF: Hauptkostenstelle/Fachgebiet – Zugangsdatum/Kontaktdatum + Hauptkostenstelle/Fachgebiet – Zugangsuhrzeit/Kontaktuhrzeit
end | Σ C | 0..1 | dateTime | LKF: Hauptkostenstelle – Abgangsdatum + Hauptkostenstelle – Abgangsuhrzeit
plannedStartDate |  | 0..1 | dateTime | The planned start date/time (or admission date) of the encounter
plannedEndDate |  | 0..1 | dateTime | The planned end date/time (or discharge date) of the encounter
length |  | 0..1 | Duration | Actual quantity of time the encounter lasted (less time absent)
reason | Σ | 0..* | BackboneElement | The list of medical reasons that are expected to be addressed during the episode of care
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
use | Σ | 0..* | CodeableConcept | What the reason value should be used for/as Binding: EncounterReasonUse (example)
value | Σ | 0..* | CodeableReference(Condition | DiagnosticReport | Observation | ImmunizationRecommendation | Procedure) | Reason the encounter takes place (core or reference) Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
diagnosis | Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
condition | Σ | 0..* | CodeableReference(Condition) | The diagnosis relevant to the encounter Binding: ConditionProblemDiagnosisCodes (example)
use |  | 0..* | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
account |  | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter
dietPreference |  | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: EncounterDiet (example): Medical, cultural or ethical food preferences to help with catering requirements.
specialArrangement |  | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc Binding: SpecialArrangements (preferred): Special arrangements.
specialCourtesy |  | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred): Special courtesies.
admission |  | 0..1 | BackboneElement | Details about the admission to a healthcare service
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:Altersgruppe | SO C | 1..1 | (Complex) | Altersgruppe URL: https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe Constraints: moped-inv-Altersgruppe-1
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
id |  | 0..1 | id | Unique id for inter-element referencing
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:beiZugang | S | 1..1 | Extension | LKF: Altersgruppe bei Zugang/Kontakt
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiZugang"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: Altersgruppe des Patienten (required)
extension:beiEntlassung | S | 0..1 | Extension | Altersgruppe bei Entlassung/Kontakt
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiEntlassung"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Altersgruppe des Patienten (required)
extension:neugeborenes | S | 1..1 | Extension | Extension
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "neugeborenes"
value[x] |  | 1..1 | boolean | Value of extension
url |  | 1..1 | uri | "https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe"
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
preAdmissionIdentifier |  | 0..1 | Identifier | Pre-admission identifier
origin |  | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission
admitSource |  | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred): From where the patient was admitted.
reAdmission |  | 0..1 | CodeableConcept | Indicates that the patient is being re-admitted Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this admission encounter.
destination |  | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged
dischargeDisposition | O | 0..1 | CodeableConcept | LKF: Hauptkostenstelle – Abgangsart Binding: DischargeDisposition (example): Discharge Disposition.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
location |  | 0..* | BackboneElement | List of locations where the patient has been
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
location |  | 1..1 | Reference(Location) | Location the encounter takes place
status |  | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location.
form |  | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) Binding: LocationForm (example): Physical form of the location.
period |  | 0..1 | Period | Time period during which the patient was present at the location
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Encounter.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
Encounter.status | Base | required | Encounter Status | 📍5.0.0 | FHIR Std.
Encounter.class | Base | preferred | Encounter class | 📦2.0.1 | THO v7.0
Encounter.priority | Base | example | ActPriority | 📦3.0.0 | THO v7.0
Encounter.type | Base | example | Encounter Type | 📍5.0.0 | FHIR Std.
Encounter.serviceType | Base | example | Service Type | 📍5.0.0 | FHIR Std.
Encounter.subjectStatus | Base | example | Encounter Subject Status | 📍5.0.0 | FHIR Std.
Encounter.participant.​type | Base | extensible | Participant Type | 📍5.0.0 | FHIR Std.
Encounter.reason.use | Base | example | Encounter Reason Use | 📍5.0.0 | FHIR Std.
Encounter.reason.value | Base | preferred | Encounter Reason Codes | 📍5.0.0 | FHIR Std.
Encounter.diagnosis.​condition | Base | example | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
Encounter.diagnosis.​use | Base | preferred | Encounter Diagnosis Use | 📍5.0.0 | FHIR Std.
Encounter.dietPreference | Base | example | Diet | 📍5.0.0 | FHIR Std.
Encounter.specialArrangement | Base | preferred | Special Arrangements | 📍5.0.0 | FHIR Std.
Encounter.specialCourtesy | Base | preferred | Special Courtesy | 📍5.0.0 | FHIR Std.
Encounter.admission.​extension:Altersgruppe.​extension:beiZugang.​value[x] | Base | required | Altersgruppe des Patienten | 📦0.1.0 | This IG
Encounter.admission.​extension:Altersgruppe.​extension:beiEntlassung.​value[x] | Base | required | Altersgruppe des Patienten | 📦0.1.0 | This IG
Encounter.admission.​admitSource | Base | preferred | Admit Source | 📍5.0.0 | FHIR Std.
Encounter.admission.​reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦2.0.0 | THO v7.0
Encounter.admission.​dischargeDisposition | Base | example | Discharge Disposition | 📍5.0.0 | FHIR Std.
Encounter.location.status | Base | required | Encounter Location Status | 📍5.0.0 | FHIR Std.
Encounter.location.form | Base | example | Location Form | 📍5.0.0 | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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())`
enc-1 | error | Encounter.participant | A type must be provided when no explicit actor is specified | `actor.exists() or type.exists()`
enc-2 | error | Encounter.participant | A type cannot be provided for a patient or group participant | `actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not()`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
moped-TENC-status-entweder-in-progress-oder-completed | error | Encounter | Der TENC status muss entweder in-progress oder completed sein | ``
moped-inv-Altersgruppe-1 | error | Encounter.admission.extension:Altersgruppe | If 'neugeborenes' is true then 'beiZugang' must be age group 0. | `(extension.where(url = 'neugeborenes').exists() and extension.where(url = 'neugeborenes').value = true) implies (extension.where(url = 'beiZugang').value = '0')`
moped-verlegen-intensiv-verpflichtende-abgangsart | error | Encounter | Wenn der TENC.status complete ist, muss die Abgangsart (dischargeDisposition) befüllt sein | ``
moped-verlegen-intensiv-verpflichtendes-abgangsdatum | error | Encounter | Wenn der TENC.status complete ist, muss es das Abgangsdatum befüllt sein | ``

This structure is derived from MopedTransferEncounterS

Summary

Key Elements View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Encounter | C | 0..* | MopedTransferEncounterS | An interaction during which services are provided to the patient Constraints: moped-TENC-status-entweder-in-progress-oder-completed, moped-verlegen-intensiv-verpflichtendes-abgangsdatum, moped-verlegen-intensiv-verpflichtende-abgangsart
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
contained |  | 0..* | Resource | Contained, inline Resources
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
status | ?!O Σ | 1..1 | code | planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown Binding: EncounterStatus (required): Current state of the encounter.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
type | O Σ | 1..* | CodeableConcept | Specific type of encounter (e.g. e-mail consultation, surgical day-care, ...) Binding: EncounterType (example): A specific code indicating type of service provided Required Pattern: At least the following
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
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: https://elga.moped.at/CodeSystem/MopedEncounterTypesCS
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: TENC
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
subject | O Σ | 1..1 | Reference(MOPED Patient) | The patient or group related to this encounter
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
partOf | O | 1..1 | Reference(MOPED Encounter) | Another Encounter this encounter is part of
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
serviceProvider | O | 1..1 | Reference(MOPED Organization Abteilung) | LKF: Hauptkostenstelle – Funktionscode/Fachgebiet; KaOrg: Funktionscode der Abteilung lt. LKF + Funktionssubcode der Abteilung lt. LKF bzw. Abteilung - Funktionscode der Ambulanz + Abteilung - Subcode
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
admission |  | 0..1 | BackboneElement | Details about the admission to a healthcare service
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:Altersgruppe | SO C | 1..1 | (Complex) | Altersgruppe URL: https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe Constraints: moped-inv-Altersgruppe-1
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:beiZugang | S | 1..1 | Extension | LKF: Altersgruppe bei Zugang/Kontakt
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiZugang"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: Altersgruppe des Patienten (required)
extension:beiEntlassung | S | 0..1 | Extension | Altersgruppe bei Entlassung/Kontakt
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiEntlassung"
extension:neugeborenes | S | 1..1 | Extension | Extension
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "neugeborenes"
value[x] |  | 1..1 | boolean | Value of extension
url |  | 1..1 | uri | "https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe"
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Encounter.status | Base | required | Encounter Status | 📍5.0.0 | FHIR Std.
Encounter.type | Base | example | Encounter Type | 📍5.0.0 | FHIR Std.
Encounter.admission.​extension:Altersgruppe.​extension:beiZugang.​value[x] | Base | required | Altersgruppe des Patienten | 📦0.1.0 | This IG

#### Constraints

Id | Grade | Path(s) | Description | Expression
dom-2 | error | Encounter | If the resource is contained in another resource, it SHALL NOT contain nested Resources | `contained.contained.empty()`
dom-3 | error | Encounter | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource | `contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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()`
moped-TENC-status-entweder-in-progress-oder-completed | error | Encounter | Der TENC status muss entweder in-progress oder completed sein | ``
moped-inv-Altersgruppe-1 | error | Encounter.admission.extension:Altersgruppe | If 'neugeborenes' is true then 'beiZugang' must be age group 0. | `(extension.where(url = 'neugeborenes').exists() and extension.where(url = 'neugeborenes').value = true) implies (extension.where(url = 'beiZugang').value = '0')`
moped-verlegen-intensiv-verpflichtende-abgangsart | error | Encounter | Wenn der TENC.status complete ist, muss die Abgangsart (dischargeDisposition) befüllt sein | ``
moped-verlegen-intensiv-verpflichtendes-abgangsdatum | error | Encounter | Wenn der TENC.status complete ist, muss es das Abgangsdatum befüllt sein | ``

Differential View

This structure is derived from MopedTransferEncounterS

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Encounter | C | 0..* | MopedTransferEncounterS | An interaction during which services are provided to the patient Constraints: moped-TENC-status-entweder-in-progress-oder-completed, moped-verlegen-intensiv-verpflichtendes-abgangsdatum, moped-verlegen-intensiv-verpflichtende-abgangsart
Documentation for this format

#### Constraints

Id | Grade | Path(s) | Description | Expression
moped-TENC-status-entweder-in-progress-oder-completed | error | Encounter | Der TENC status muss entweder in-progress oder completed sein | ``
moped-verlegen-intensiv-verpflichtende-abgangsart | error | Encounter | Wenn der TENC.status complete ist, muss die Abgangsart (dischargeDisposition) befüllt sein | ``
moped-verlegen-intensiv-verpflichtendes-abgangsdatum | error | Encounter | Wenn der TENC.status complete ist, muss es das Abgangsdatum befüllt sein | ``

Snapshot View

Name | Flags | Card. | Type | Description & Constraints Filter: Bindings Constraints Obligations
--- | --- | --- | --- | ---
Encounter | C | 0..* | MopedTransferEncounterS | An interaction during which services are provided to the patient Constraints: moped-TENC-status-entweder-in-progress-oder-completed, moped-verlegen-intensiv-verpflichtendes-abgangsdatum, moped-verlegen-intensiv-verpflichtende-abgangsart
id | Σ | 0..1 | id | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
Additional Bindings | Purpose
CommonLanguages | Starter
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
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored
identifier | Σ | 0..* | Identifier | Identifier(s) by which this encounter is known
status | ?!O Σ | 1..1 | code | planned | in-progress | on-hold | discharged | completed | cancelled | discontinued | entered-in-error | unknown Binding: EncounterStatus (required): Current state of the encounter.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
class | Σ | 0..* | CodeableConcept | Classification of patient encounter context - e.g. Inpatient, outpatient Binding: Encounter class (preferred): Classification of the encounter.
priority |  | 0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ActPriority (example): Indicates the urgency of the encounter.
type | O Σ | 1..* | CodeableConcept | Specific type of encounter (e.g. e-mail consultation, surgical day-care, ...) Binding: EncounterType (example): A specific code indicating type of service provided Required Pattern: At least the following
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
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: https://elga.moped.at/CodeSystem/MopedEncounterTypesCS
version |  | 0..1 | string | Version of the system - if relevant
code |  | 1..1 | code | Symbol in syntax defined by the system Fixed Value: TENC
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 | Σ | 0..* | CodeableReference(HealthcareService) | Specific type of service Binding: ServiceType (example): Broad categorization of the service that is to be provided.
subject | O Σ | 1..1 | Reference(MOPED Patient) | The patient or group related to this encounter
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
subjectStatus | O | 0..1 | CodeableConcept | LKF: Physische Anwesenheit Binding: EncounterSubjectStatus (example): Current status of the subject within the encounter.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
episodeOfCare | Σ | 0..* | Reference(EpisodeOfCare) | Episode(s) of care that this encounter should be recorded against
basedOn |  | 0..* | Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest) | The request that initiated this encounter
careTeam |  | 0..* | Reference(CareTeam) | The group(s) that are allocated to participate in this encounter
partOf | O | 1..1 | Reference(MOPED Encounter) | Another Encounter this encounter is part of
Obligations | Actor | Source
SHALL:handle | Moped Device Actor | from MOPED TransferEncounter
serviceProvider | O | 1..1 | Reference(MOPED Organization Abteilung) | LKF: Hauptkostenstelle – Funktionscode/Fachgebiet; KaOrg: Funktionscode der Abteilung lt. LKF + Funktionssubcode der Abteilung lt. LKF bzw. Abteilung - Funktionscode der Ambulanz + Abteilung - Subcode
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
participant | Σ C | 0..* | BackboneElement | List of participants involved in the encounter Constraints: enc-1, enc-2
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
type | Σ C | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible): Role of participant in encounter.
period |  | 0..1 | Period | Period of time during the encounter that the participant participated
actor | Σ C | 0..1 | Reference(Patient | Group | RelatedPerson | Practitioner | PractitionerRole | Device | HealthcareService) | The individual, device, or service participating in the encounter
appointment | Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter
virtualService |  | 0..* | VirtualServiceDetail | Connection details of a virtual service (e.g. conference call)
actualPeriod | O | 0..1 | Period | LKF: Zugangs- und Abgangsdatum
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url
start | Σ C | 1..1 | dateTime | LKF: Hauptkostenstelle/Fachgebiet – Zugangsdatum/Kontaktdatum + Hauptkostenstelle/Fachgebiet – Zugangsuhrzeit/Kontaktuhrzeit
end | Σ C | 0..1 | dateTime | LKF: Hauptkostenstelle – Abgangsdatum + Hauptkostenstelle – Abgangsuhrzeit
plannedStartDate |  | 0..1 | dateTime | The planned start date/time (or admission date) of the encounter
plannedEndDate |  | 0..1 | dateTime | The planned end date/time (or discharge date) of the encounter
length |  | 0..1 | Duration | Actual quantity of time the encounter lasted (less time absent)
reason | Σ | 0..* | BackboneElement | The list of medical reasons that are expected to be addressed during the episode of care
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
use | Σ | 0..* | CodeableConcept | What the reason value should be used for/as Binding: EncounterReasonUse (example)
value | Σ | 0..* | CodeableReference(Condition | DiagnosticReport | Observation | ImmunizationRecommendation | Procedure) | Reason the encounter takes place (core or reference) Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place.
diagnosis | Σ | 0..* | BackboneElement | The list of diagnosis relevant to this encounter
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
condition | Σ | 0..* | CodeableReference(Condition) | The diagnosis relevant to the encounter Binding: ConditionProblemDiagnosisCodes (example)
use |  | 0..* | CodeableConcept | Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …) Binding: EncounterDiagnosisUse (preferred): The type of diagnosis this condition represents.
account |  | 0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter
dietPreference |  | 0..* | CodeableConcept | Diet preferences reported by the patient Binding: EncounterDiet (example): Medical, cultural or ethical food preferences to help with catering requirements.
specialArrangement |  | 0..* | CodeableConcept | Wheelchair, translator, stretcher, etc Binding: SpecialArrangements (preferred): Special arrangements.
specialCourtesy |  | 0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred): Special courtesies.
admission |  | 0..1 | BackboneElement | Details about the admission to a healthcare service
id |  | 0..1 | string | Unique id for inter-element referencing
Slices for extension |  | 1..* | Extension | Extension Slice: Unordered, Open by value:url
extension:Altersgruppe | SO C | 1..1 | (Complex) | Altersgruppe URL: https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe Constraints: moped-inv-Altersgruppe-1
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
id |  | 0..1 | id | Unique id for inter-element referencing
Slices for extension |  | 2..* | Extension | Extension Slice: Unordered, Open by value:url
extension:beiZugang | S | 1..1 | Extension | LKF: Altersgruppe bei Zugang/Kontakt
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiZugang"
value[x] |  | 1..1 | CodeableConcept | Value of extension Binding: Altersgruppe des Patienten (required)
extension:beiEntlassung | S | 0..1 | Extension | Altersgruppe bei Entlassung/Kontakt
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "beiEntlassung"
value[x] |  | 0..1 | CodeableConcept | Value of extension Binding: Altersgruppe des Patienten (required)
extension:neugeborenes | S | 1..1 | Extension | Extension
id |  | 0..1 | id | Unique id for inter-element referencing
extension |  | 0..0 |  | Extension Slice: Unordered, Open by value:url
url |  | 1..1 | uri | "neugeborenes"
value[x] |  | 1..1 | boolean | Value of extension
url |  | 1..1 | uri | "https://elga.moped.at/StructureDefinition/moped-ext-altersgruppe"
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
preAdmissionIdentifier |  | 0..1 | Identifier | Pre-admission identifier
origin |  | 0..1 | Reference(Location | Organization) | The location/organization from which the patient came before admission
admitSource |  | 0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred): From where the patient was admitted.
reAdmission |  | 0..1 | CodeableConcept | Indicates that the patient is being re-admitted Binding: hl7VS-re-admissionIndicator (example): The reason for re-admission of this admission encounter.
destination |  | 0..1 | Reference(Location | Organization) | Location/organization to which the patient is discharged
dischargeDisposition | O | 0..1 | CodeableConcept | LKF: Hauptkostenstelle – Abgangsart Binding: DischargeDisposition (example): Discharge Disposition.
Obligations | Actor | Source
SHALL:populate | Moped KH Actor | from MOPED TransferEncounter
location |  | 0..* | BackboneElement | List of locations where the patient has been
id |  | 0..1 | string | Unique id for inter-element referencing
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized
location |  | 1..1 | Reference(Location) | Location the encounter takes place
status |  | 0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location.
form |  | 0..1 | CodeableConcept | The physical type of the location (usually the level in the location hierarchy - bed, room, ward, virtual etc.) Binding: LocationForm (example): Physical form of the location.
period |  | 0..1 | Period | Time period during which the patient was present at the location
Documentation for this format

#### Terminology Bindings

Path | Status | Usage | ValueSet | Version | Source
Encounter.language | Base | required | All Languages | 📍5.0.0 | FHIR Std.
Encounter.status | Base | required | Encounter Status | 📍5.0.0 | FHIR Std.
Encounter.class | Base | preferred | Encounter class | 📦2.0.1 | THO v7.0
Encounter.priority | Base | example | ActPriority | 📦3.0.0 | THO v7.0
Encounter.type | Base | example | Encounter Type | 📍5.0.0 | FHIR Std.
Encounter.serviceType | Base | example | Service Type | 📍5.0.0 | FHIR Std.
Encounter.subjectStatus | Base | example | Encounter Subject Status | 📍5.0.0 | FHIR Std.
Encounter.participant.​type | Base | extensible | Participant Type | 📍5.0.0 | FHIR Std.
Encounter.reason.use | Base | example | Encounter Reason Use | 📍5.0.0 | FHIR Std.
Encounter.reason.value | Base | preferred | Encounter Reason Codes | 📍5.0.0 | FHIR Std.
Encounter.diagnosis.​condition | Base | example | Condition/Problem/Diagnosis Codes | 📍5.0.0 | FHIR Std.
Encounter.diagnosis.​use | Base | preferred | Encounter Diagnosis Use | 📍5.0.0 | FHIR Std.
Encounter.dietPreference | Base | example | Diet | 📍5.0.0 | FHIR Std.
Encounter.specialArrangement | Base | preferred | Special Arrangements | 📍5.0.0 | FHIR Std.
Encounter.specialCourtesy | Base | preferred | Special Courtesy | 📍5.0.0 | FHIR Std.
Encounter.admission.​extension:Altersgruppe.​extension:beiZugang.​value[x] | Base | required | Altersgruppe des Patienten | 📦0.1.0 | This IG
Encounter.admission.​extension:Altersgruppe.​extension:beiEntlassung.​value[x] | Base | required | Altersgruppe des Patienten | 📦0.1.0 | This IG
Encounter.admission.​admitSource | Base | preferred | Admit Source | 📍5.0.0 | FHIR Std.
Encounter.admission.​reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦2.0.0 | THO v7.0
Encounter.admission.​dischargeDisposition | Base | example | Discharge Disposition | 📍5.0.0 | FHIR Std.
Encounter.location.status | Base | required | Encounter Location Status | 📍5.0.0 | FHIR Std.
Encounter.location.form | Base | example | Location Form | 📍5.0.0 | 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().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(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())`
enc-1 | error | Encounter.participant | A type must be provided when no explicit actor is specified | `actor.exists() or type.exists()`
enc-2 | error | Encounter.participant | A type cannot be provided for a patient or group participant | `actor.exists(resolve() is Patient or resolve() is Group) implies type.exists().not()`
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both | `extension.exists() != value.exists()`
moped-TENC-status-entweder-in-progress-oder-completed | error | Encounter | Der TENC status muss entweder in-progress oder completed sein | ``
moped-inv-Altersgruppe-1 | error | Encounter.admission.extension:Altersgruppe | If 'neugeborenes' is true then 'beiZugang' must be age group 0. | `(extension.where(url = 'neugeborenes').exists() and extension.where(url = 'neugeborenes').value = true) implies (extension.where(url = 'beiZugang').value = '0')`
moped-verlegen-intensiv-verpflichtende-abgangsart | error | Encounter | Wenn der TENC.status complete ist, muss die Abgangsart (dischargeDisposition) befüllt sein | ``
moped-verlegen-intensiv-verpflichtendes-abgangsdatum | error | Encounter | Wenn der TENC.status complete ist, muss es das Abgangsdatum befüllt sein | ``

This structure is derived from MopedTransferEncounterS

Summary

Other representations of profile: CSV, Excel, Schematron