TEHIK FHIR IG Encounter and Episode of Care, published by TEHIK. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TEHIK-EE/ig-encounter-episode/ and changes regularly. See the Directory of published versions
| Official URL: https://fhir.ee/encounter-episode/StructureDefinition/ee-tis-encounter | Version: 0.1.0 | |||
| Draft as of 2025-10-07 | Computable Name: EETISEncounter | |||
A profile for basic encounter. (ee TERVISHOIUKONTAKT v KONTAKT)
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | EEBaseEncounter(1.2.1) | An interaction during which services are provided to the patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Coding | The method that the patient arrived at the facility. URL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival profiled by https://fhir.ee/base/StructureDefinition/ee-mode-of-arrival Binding: Mode Of Arrival (extensible) | |
![]() ![]() ![]() |
0..1 | Reference(Encounter) | Associated Encounter URL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | Kas on vaja HL7 LOEND tõlkida? Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Describes the form of encounter (|ambulatoorne|,|statsionaarne|, |kiirabi|... HL7 loendile mäping+tõlge?) Binding: Encounter class (extensible) |
![]() ![]() |
Σ | 0..* | CodeableConcept | Type or aim of encounter. (|ravi|,|erakorraline|, |ennetus|... VAJA LOENDIT) Binding: EncounterType (example): A specific code indicating type of service provided |
![]() ![]() |
Σ | 0..1 | Reference(EE MPI Patient Verified | EEBase Patient(1.2.1)) | The patient or group related to this encounter |
![]() ![]() |
Σ | 0..* | Reference(EEBase EpisodeOfCare(1.2.1)) | EoC that is related to this encounter (ee Raviepisood, millega see kontakt seotud on) |
![]() ![]() |
0..1 | Period | When encounter started and ended? (ee Millal kontakt algas ja lõppes) | |
![]() ![]() |
Σ | 0..* | BackboneElement | Reason(s) for encounter (ee Põhjused, miks tervishoiukontakt toimus) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() |
Σ | 0..* | BackboneElement | All diagnosis that are related to this encounter (ee Kõik diagnoosid, mis on seotud tervishoiukontaktiga.) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() |
0..1 | BackboneElement | Describes how was the condition or where the patient went after discharge (ee Kirjeldab, kuhu patsient suunati või milline oli seisund lahkumisel.) | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() |
0..* | BackboneElement | Physical location of encounter (ee Füüsiline asukoht kus kontakt toimus (AGA KUI ON VIRTUAALNE?) | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | Reference(EEBase Location(1.2.1)) | Location the encounter takes place | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.status | Base | required | Encounter Status | 📍5.0.0 | FHIR Std. |
| Encounter.class | Base | extensible | Encounter class | 📦2.0.1 | THO v6.5 |
| Encounter.type | Base | example | Encounter Type | 📍5.0.0 | FHIR Std. |
| 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()
|
This structure is derived from EEBaseEncounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | EEBaseEncounter(1.2.1) | An interaction during which services are provided to the patient | |
![]() ![]() |
1..1 | code | Kas on vaja HL7 LOEND tõlkida? | |
![]() ![]() |
1..1 | CodeableConcept | Describes the form of encounter (|ambulatoorne|,|statsionaarne|, |kiirabi|... HL7 loendile mäping+tõlge?) | |
![]() ![]() |
0..* | CodeableConcept | Type or aim of encounter. (|ravi|,|erakorraline|, |ennetus|... VAJA LOENDIT) | |
![]() ![]() |
0..1 | Reference(EE MPI Patient Verified | EEBase Patient(1.2.1)) | The patient or group related to this encounter | |
![]() ![]() |
0..* | Reference(EEBase EpisodeOfCare(1.2.1)) | EoC that is related to this encounter (ee Raviepisood, millega see kontakt seotud on) | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | Reference(EEBase Practitioner(1.2.1) | EEBase RelatedPerson(1.2.1) | EEBase PractitionerRole(1.2.1)) | The individual, device, or service participating in the encounter | |
![]() ![]() |
0..1 | Period | When encounter started and ended? (ee Millal kontakt algas ja lõppes) | |
![]() ![]() |
0..* | BackboneElement | Reason(s) for encounter (ee Põhjused, miks tervishoiukontakt toimus) | |
![]() ![]() |
0..* | BackboneElement | All diagnosis that are related to this encounter (ee Kõik diagnoosid, mis on seotud tervishoiukontaktiga.) | |
![]() ![]() |
0..1 | BackboneElement | Describes how was the condition or where the patient went after discharge (ee Kirjeldab, kuhu patsient suunati või milline oli seisund lahkumisel.) | |
![]() ![]() |
0..* | BackboneElement | Physical location of encounter (ee Füüsiline asukoht kus kontakt toimus (AGA KUI ON VIRTUAALNE?) | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | EEBaseEncounter(1.2.1) | An interaction during which services are provided to the patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Coding | The method that the patient arrived at the facility. URL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival profiled by https://fhir.ee/base/StructureDefinition/ee-mode-of-arrival Binding: Mode Of Arrival (extensible) | |||||
![]() ![]() ![]() |
0..1 | Reference(Encounter) | Associated Encounter URL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Identifier(s) by which this encounter is known | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Kas on vaja HL7 LOEND tõlkida? Binding: EncounterStatus (required): Current state of the encounter. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Describes the form of encounter (|ambulatoorne|,|statsionaarne|, |kiirabi|... HL7 loendile mäping+tõlge?) Binding: Encounter class (extensible) | ||||
![]() ![]() |
0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ActPriority (extensible) | |||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type or aim of encounter. (|ravi|,|erakorraline|, |ennetus|... VAJA LOENDIT) Binding: EncounterType (example): A specific code indicating type of service provided | ||||
![]() ![]() |
Σ | 0..* | CodeableReference(EEBase HealthcareService(1.2.1)) | Specific type of service Binding: ServiceType (example): Broad categorization of the service that is to be provided. | ||||
![]() ![]() |
Σ | 0..1 | Reference(EE MPI Patient Verified | EEBase Patient(1.2.1)) | The patient or group related to this encounter | ||||
![]() ![]() |
0..1 | CodeableConcept | The current status of the subject in relation to the Encounter Binding: EncounterSubjectStatus (example): Current status of the subject within the encounter. | |||||
![]() ![]() |
Σ | 0..* | Reference(EEBase EpisodeOfCare(1.2.1)) | EoC that is related to this encounter (ee Raviepisood, millega see kontakt seotud on) | ||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest) | The request that initiated this encounter | |||||
![]() ![]() |
0..* | Reference(CareTeam) | The group(s) that are allocated to participate in this encounter | |||||
![]() ![]() |
0..1 | Reference(EEBase Encounter(1.2.1)) | Reference to previous encounter | |||||
![]() ![]() |
0..1 | Reference(EEBase Organization(1.2.1)) | The organization (facility) responsible for this encounter | |||||
![]() ![]() |
ΣC | 0..* | BackboneElement | List of participants involved in the encounter Constraints: enc-1, enc-2 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible): Role of participant in encounter. | ||||
![]() ![]() ![]() |
0..1 | Period | Period of time during the encounter that the participant participated | |||||
![]() ![]() ![]() |
ΣC | 0..1 | Reference(EEBase Practitioner(1.2.1) | EEBase RelatedPerson(1.2.1) | EEBase PractitionerRole(1.2.1)) | The individual, device, or service participating in the encounter | ||||
![]() ![]() |
Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter | ||||
![]() ![]() |
0..* | VirtualServiceDetail | Connection details of a virtual service (e.g. conference call) | |||||
![]() ![]() |
0..1 | Period | When encounter started and ended? (ee Millal kontakt algas ja lõppes) | |||||
![]() ![]() |
0..1 | dateTime | The planned start date/time (or admission date) of the encounter | |||||
![]() ![]() |
0..1 | dateTime | The planned end date/time (or discharge date) of the encounter | |||||
![]() ![]() |
0..1 | Duration | Actual quantity of time the encounter lasted (less time absent) | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | Reason(s) for encounter (ee Põhjused, miks tervishoiukontakt toimus) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | What the reason value should be used for/as Binding: EncounterReasonUse (example) | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableReference(Condition | DiagnosticReport | EEBase Observation(1.2.1) | ImmunizationRecommendation | Procedure) | Reason the encounter takes place (core or reference) Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | All diagnosis that are related to this encounter (ee Kõik diagnoosid, mis on seotud tervishoiukontaktiga.) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableReference(Condition) | The diagnosis relevant to the encounter Binding: ConditionProblemDiagnosisCodes (example) | ||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() |
0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |||||
![]() ![]() |
0..* | CodeableConcept | Diet preferences reported by the patient Binding: EncounterDiet (example): Medical, cultural or ethical food preferences to help with catering requirements. | |||||
![]() ![]() |
0..* | CodeableConcept | Wheelchair, translator, stretcher, etc Binding: SpecialArrangements (preferred): Special arrangements. | |||||
![]() ![]() |
0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred): Special courtesies. | |||||
![]() ![]() |
0..1 | BackboneElement | Describes how was the condition or where the patient went after discharge (ee Kirjeldab, kuhu patsient suunati või milline oli seisund lahkumisel.) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | Identifier | Pre-admission identifier | |||||
![]() ![]() ![]() |
0..1 | Reference(EEBase Location(1.2.1) | EEBase Organization(1.2.1)) | The location/organization from which the patient came before admission | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred): From where the patient was admitted. | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | Reference(EEBase Location(1.2.1) | EEBase Organization(1.2.1)) | Location/organization to which the patient is discharged | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example): Discharge Disposition. | |||||
![]() ![]() |
0..* | BackboneElement | Physical location of encounter (ee Füüsiline asukoht kus kontakt toimus (AGA KUI ON VIRTUAALNE?) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | Reference(EEBase Location(1.2.1)) | Location the encounter takes place | |||||
![]() ![]() ![]() |
0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location. | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | Period | Time period during which the patient was present at the location | |||||
Documentation for this format | ||||||||
| 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 | extensible | Encounter class | 📦2.0.1 | THO v6.5 |
| Encounter.priority | Base | extensible | ActPriority | 📦3.0.0 | THO v6.5 |
| 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.admitSource | Base | preferred | Admit Source | 📍5.0.0 | FHIR Std. |
| Encounter.admission.reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦2.0.0 | THO v6.5 |
| 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. |
| 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()
|
This structure is derived from EEBaseEncounter
Summary
Mandatory: 1 element
Structures
This structure refers to these other structures:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | EEBaseEncounter(1.2.1) | An interaction during which services are provided to the patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() |
0..1 | Coding | The method that the patient arrived at the facility. URL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival profiled by https://fhir.ee/base/StructureDefinition/ee-mode-of-arrival Binding: Mode Of Arrival (extensible) | |
![]() ![]() ![]() |
0..1 | Reference(Encounter) | Associated Encounter URL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!SΣ | 1..1 | code | Kas on vaja HL7 LOEND tõlkida? Binding: EncounterStatus (required): Current state of the encounter. |
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Describes the form of encounter (|ambulatoorne|,|statsionaarne|, |kiirabi|... HL7 loendile mäping+tõlge?) Binding: Encounter class (extensible) |
![]() ![]() |
Σ | 0..* | CodeableConcept | Type or aim of encounter. (|ravi|,|erakorraline|, |ennetus|... VAJA LOENDIT) Binding: EncounterType (example): A specific code indicating type of service provided |
![]() ![]() |
Σ | 0..1 | Reference(EE MPI Patient Verified | EEBase Patient(1.2.1)) | The patient or group related to this encounter |
![]() ![]() |
Σ | 0..* | Reference(EEBase EpisodeOfCare(1.2.1)) | EoC that is related to this encounter (ee Raviepisood, millega see kontakt seotud on) |
![]() ![]() |
0..1 | Period | When encounter started and ended? (ee Millal kontakt algas ja lõppes) | |
![]() ![]() |
Σ | 0..* | BackboneElement | Reason(s) for encounter (ee Põhjused, miks tervishoiukontakt toimus) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() |
Σ | 0..* | BackboneElement | All diagnosis that are related to this encounter (ee Kõik diagnoosid, mis on seotud tervishoiukontaktiga.) |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() |
0..1 | BackboneElement | Describes how was the condition or where the patient went after discharge (ee Kirjeldab, kuhu patsient suunati või milline oli seisund lahkumisel.) | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() |
0..* | BackboneElement | Physical location of encounter (ee Füüsiline asukoht kus kontakt toimus (AGA KUI ON VIRTUAALNE?) | |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
![]() ![]() ![]() |
1..1 | Reference(EEBase Location(1.2.1)) | Location the encounter takes place | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Encounter.status | Base | required | Encounter Status | 📍5.0.0 | FHIR Std. |
| Encounter.class | Base | extensible | Encounter class | 📦2.0.1 | THO v6.5 |
| Encounter.type | Base | example | Encounter Type | 📍5.0.0 | FHIR Std. |
| 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()
|
Differential View
This structure is derived from EEBaseEncounter
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | EEBaseEncounter(1.2.1) | An interaction during which services are provided to the patient | |
![]() ![]() |
1..1 | code | Kas on vaja HL7 LOEND tõlkida? | |
![]() ![]() |
1..1 | CodeableConcept | Describes the form of encounter (|ambulatoorne|,|statsionaarne|, |kiirabi|... HL7 loendile mäping+tõlge?) | |
![]() ![]() |
0..* | CodeableConcept | Type or aim of encounter. (|ravi|,|erakorraline|, |ennetus|... VAJA LOENDIT) | |
![]() ![]() |
0..1 | Reference(EE MPI Patient Verified | EEBase Patient(1.2.1)) | The patient or group related to this encounter | |
![]() ![]() |
0..* | Reference(EEBase EpisodeOfCare(1.2.1)) | EoC that is related to this encounter (ee Raviepisood, millega see kontakt seotud on) | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..1 | Reference(EEBase Practitioner(1.2.1) | EEBase RelatedPerson(1.2.1) | EEBase PractitionerRole(1.2.1)) | The individual, device, or service participating in the encounter | |
![]() ![]() |
0..1 | Period | When encounter started and ended? (ee Millal kontakt algas ja lõppes) | |
![]() ![]() |
0..* | BackboneElement | Reason(s) for encounter (ee Põhjused, miks tervishoiukontakt toimus) | |
![]() ![]() |
0..* | BackboneElement | All diagnosis that are related to this encounter (ee Kõik diagnoosid, mis on seotud tervishoiukontaktiga.) | |
![]() ![]() |
0..1 | BackboneElement | Describes how was the condition or where the patient went after discharge (ee Kirjeldab, kuhu patsient suunati või milline oli seisund lahkumisel.) | |
![]() ![]() |
0..* | BackboneElement | Physical location of encounter (ee Füüsiline asukoht kus kontakt toimus (AGA KUI ON VIRTUAALNE?) | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | EEBaseEncounter(1.2.1) | An interaction during which services are provided to the patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Coding | The method that the patient arrived at the facility. URL: http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival profiled by https://fhir.ee/base/StructureDefinition/ee-mode-of-arrival Binding: Mode Of Arrival (extensible) | |||||
![]() ![]() ![]() |
0..1 | Reference(Encounter) | Associated Encounter URL: http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | Identifier(s) by which this encounter is known | ||||
![]() ![]() |
?!SΣ | 1..1 | code | Kas on vaja HL7 LOEND tõlkida? Binding: EncounterStatus (required): Current state of the encounter. | ||||
![]() ![]() |
SΣ | 1..1 | CodeableConcept | Describes the form of encounter (|ambulatoorne|,|statsionaarne|, |kiirabi|... HL7 loendile mäping+tõlge?) Binding: Encounter class (extensible) | ||||
![]() ![]() |
0..1 | CodeableConcept | Indicates the urgency of the encounter Binding: ActPriority (extensible) | |||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Type or aim of encounter. (|ravi|,|erakorraline|, |ennetus|... VAJA LOENDIT) Binding: EncounterType (example): A specific code indicating type of service provided | ||||
![]() ![]() |
Σ | 0..* | CodeableReference(EEBase HealthcareService(1.2.1)) | Specific type of service Binding: ServiceType (example): Broad categorization of the service that is to be provided. | ||||
![]() ![]() |
Σ | 0..1 | Reference(EE MPI Patient Verified | EEBase Patient(1.2.1)) | The patient or group related to this encounter | ||||
![]() ![]() |
0..1 | CodeableConcept | The current status of the subject in relation to the Encounter Binding: EncounterSubjectStatus (example): Current status of the subject within the encounter. | |||||
![]() ![]() |
Σ | 0..* | Reference(EEBase EpisodeOfCare(1.2.1)) | EoC that is related to this encounter (ee Raviepisood, millega see kontakt seotud on) | ||||
![]() ![]() |
0..* | Reference(CarePlan | DeviceRequest | MedicationRequest | ServiceRequest) | The request that initiated this encounter | |||||
![]() ![]() |
0..* | Reference(CareTeam) | The group(s) that are allocated to participate in this encounter | |||||
![]() ![]() |
0..1 | Reference(EEBase Encounter(1.2.1)) | Reference to previous encounter | |||||
![]() ![]() |
0..1 | Reference(EEBase Organization(1.2.1)) | The organization (facility) responsible for this encounter | |||||
![]() ![]() |
ΣC | 0..* | BackboneElement | List of participants involved in the encounter Constraints: enc-1, enc-2 | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
ΣC | 0..* | CodeableConcept | Role of participant in encounter Binding: ParticipantType (extensible): Role of participant in encounter. | ||||
![]() ![]() ![]() |
0..1 | Period | Period of time during the encounter that the participant participated | |||||
![]() ![]() ![]() |
ΣC | 0..1 | Reference(EEBase Practitioner(1.2.1) | EEBase RelatedPerson(1.2.1) | EEBase PractitionerRole(1.2.1)) | The individual, device, or service participating in the encounter | ||||
![]() ![]() |
Σ | 0..* | Reference(Appointment) | The appointment that scheduled this encounter | ||||
![]() ![]() |
0..* | VirtualServiceDetail | Connection details of a virtual service (e.g. conference call) | |||||
![]() ![]() |
0..1 | Period | When encounter started and ended? (ee Millal kontakt algas ja lõppes) | |||||
![]() ![]() |
0..1 | dateTime | The planned start date/time (or admission date) of the encounter | |||||
![]() ![]() |
0..1 | dateTime | The planned end date/time (or discharge date) of the encounter | |||||
![]() ![]() |
0..1 | Duration | Actual quantity of time the encounter lasted (less time absent) | |||||
![]() ![]() |
Σ | 0..* | BackboneElement | Reason(s) for encounter (ee Põhjused, miks tervishoiukontakt toimus) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | What the reason value should be used for/as Binding: EncounterReasonUse (example) | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableReference(Condition | DiagnosticReport | EEBase Observation(1.2.1) | ImmunizationRecommendation | Procedure) | Reason the encounter takes place (core or reference) Binding: EncounterReasonCodes (preferred): Reason why the encounter takes place. | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | All diagnosis that are related to this encounter (ee Kõik diagnoosid, mis on seotud tervishoiukontaktiga.) | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableReference(Condition) | The diagnosis relevant to the encounter Binding: ConditionProblemDiagnosisCodes (example) | ||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() |
0..* | Reference(Account) | The set of accounts that may be used for billing for this Encounter | |||||
![]() ![]() |
0..* | CodeableConcept | Diet preferences reported by the patient Binding: EncounterDiet (example): Medical, cultural or ethical food preferences to help with catering requirements. | |||||
![]() ![]() |
0..* | CodeableConcept | Wheelchair, translator, stretcher, etc Binding: SpecialArrangements (preferred): Special arrangements. | |||||
![]() ![]() |
0..* | CodeableConcept | Special courtesies (VIP, board member) Binding: SpecialCourtesy (preferred): Special courtesies. | |||||
![]() ![]() |
0..1 | BackboneElement | Describes how was the condition or where the patient went after discharge (ee Kirjeldab, kuhu patsient suunati või milline oli seisund lahkumisel.) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
0..1 | Identifier | Pre-admission identifier | |||||
![]() ![]() ![]() |
0..1 | Reference(EEBase Location(1.2.1) | EEBase Organization(1.2.1)) | The location/organization from which the patient came before admission | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | From where patient was admitted (physician referral, transfer) Binding: AdmitSource (preferred): From where the patient was admitted. | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | Reference(EEBase Location(1.2.1) | EEBase Organization(1.2.1)) | Location/organization to which the patient is discharged | |||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Category or kind of location after discharge Binding: DischargeDisposition (example): Discharge Disposition. | |||||
![]() ![]() |
0..* | BackboneElement | Physical location of encounter (ee Füüsiline asukoht kus kontakt toimus (AGA KUI ON VIRTUAALNE?) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
![]() ![]() ![]() |
1..1 | Reference(EEBase Location(1.2.1)) | Location the encounter takes place | |||||
![]() ![]() ![]() |
0..1 | code | planned | active | reserved | completed Binding: EncounterLocationStatus (required): The status of the location. | |||||
![]() ![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | Period | Time period during which the patient was present at the location | |||||
Documentation for this format | ||||||||
| 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 | extensible | Encounter class | 📦2.0.1 | THO v6.5 |
| Encounter.priority | Base | extensible | ActPriority | 📦3.0.0 | THO v6.5 |
| 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.admitSource | Base | preferred | Admit Source | 📍5.0.0 | FHIR Std. |
| Encounter.admission.reAdmission | Base | example | hl7VS-re-admissionIndicator | 📦2.0.0 | THO v6.5 |
| 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. |
| 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()
|
This structure is derived from EEBaseEncounter
Summary
Mandatory: 1 element
Structures
This structure refers to these other structures:
Other representations of profile: CSV, Excel, Schematron