description: The model provides a structured way to capture information about a patient’s interaction with a healthcare service. It enables recording details related to individual encounters and supports linking closely related encounters when needed. Tracking broader or longer episodes of care that extend beyond individual encounters is outside the scope of this model. package_name: xtehr.eu.ehds.models derivation: specialization name: EHDSEncounter type: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter elements: reasonString: {type: string, short: 'Reason(s) for admission, e.g. problem, procedure or finding.', choiceOf: reason, array: true, index: 18} reasonCodeableConcept: {type: CodeableConcept, short: 'Reason(s) for admission, e.g. problem, procedure or finding.', choiceOf: reason, array: true, index: 14} admission: type: Base short: Details about the admission to a healthcare service index: 19 elements: admitter: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional', short: Admitting healthcare professional, index: 20} admitSource: {type: CodeableConcept, short: 'From where the patient was admitted (e.g. physician referral, transfer).', index: 21} reasonHttp://www: elements: xt-ehr: elements: eu/fhir/models/StructureDefinition/EHDSCondition: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition', short: 'Reason(s) for admission, e.g. problem, procedure or finding.', choiceOf: reason, array: true, index: 15} eu/fhir/models/StructureDefinition/EHDSProcedure: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSProcedure', short: 'Reason(s) for admission, e.g. problem, procedure or finding.', choiceOf: reason, array: true, index: 16} eu/fhir/models/StructureDefinition/EHDSObservation: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation', short: 'Reason(s) for admission, e.g. problem, procedure or finding.', choiceOf: reason, array: true, index: 17} dischargeDestination: type: Base short: Location or organisation to which the patient is going after discharge. index: 26 elements: type: {type: CodeableConcept, short: 'Type of location (e.g. home, hospital, nursing home, etc.)', index: 27} location: short: The location or organisation (including contact details) choices: ['locationHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation', 'locationHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation'] index: 29 locationHttp://www: elements: xt-ehr: elements: eu/fhir/models/StructureDefinition/EHDSOrganisation: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation', short: The location or organisation (including contact details), choiceOf: location, index: 30} eu/fhir/models/StructureDefinition/EHDSLocation: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation', short: The location or organisation (including contact details), choiceOf: location, index: 31} serviceProvider: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation', short: The organisation (facility) responsible for this encounter, index: 6} type: {type: CodeableConcept, short: 'Type of the encounter (inpatient, ambulatory, teleconsultation).', index: 4} dischargeDiagnosisCodeableConcept: {type: CodeableConcept, short: The diagnoses at the time of discharge., choiceOf: dischargeDiagnosis, array: true, index: 24} header: elements: author: short: Author (typically a health professional) who is responsible for this encounter choices: [] index: 1 status: {short: 'Status of the encounter (e.g. discharged, discontinued, completed)', index: 2} note: {type: string, short: Free text notes by the health professional, index: 39} reason: short: Reason(s) for admission, e.g. problem, procedure or finding. choices: [reasonCodeableConcept, 'reasonHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition', 'reasonHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSProcedure', 'reasonHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation', reasonString] array: true index: 13 priority: {type: CodeableConcept, short: 'Indicates the urgency of the encounter (e.g. urgent, routine).', index: 3} subEncounter: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter', short: Reference to encounters that are considered parts of this encounter., array: true, index: 38} basedOnHttp://www: elements: xt-ehr: elements: eu/fhir/models/StructureDefinition/EHDSCarePlan: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCarePlan', short: Reference to the request that initiated this encounter, choiceOf: basedOn, array: true, index: 10} eu/fhir/models/StructureDefinition/EHDSServiceRequest: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest', short: Reference to the request that initiated this encounter, choiceOf: basedOn, array: true, index: 11} dischargeDiagnosis: short: The diagnoses at the time of discharge. choices: [dischargeDiagnosisCodeableConcept, 'dischargeDiagnosisHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition'] array: true index: 23 dischargeDiagnosisHttp://www: elements: xt-ehr: elements: eu/fhir/models/StructureDefinition/EHDSCondition: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition', short: The diagnoses at the time of discharge., choiceOf: dischargeDiagnosis, array: true, index: 25} period: {type: Period, short: The actual start and end time of the encounter., index: 5} basedOn: short: Reference to the request that initiated this encounter choices: ['basedOnHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCarePlan', 'basedOnHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest'] array: true index: 9 serviceLocation: type: Base short: List of locations where the patient was present during this encounter. array: true index: 32 elements: period: {type: Period, short: Time period during which the patient was present at the location, index: 33} organisationPart: short: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter. choices: ['organisationPartHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation', 'organisationPartHttp://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation'] index: 35 organisationPartHttp://www: elements: xt-ehr: elements: eu/fhir/models/StructureDefinition/EHDSOrganisation: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation', short: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter., choiceOf: organisationPart, index: 36} eu/fhir/models/StructureDefinition/EHDSLocation: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation', short: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter., choiceOf: organisationPart, index: 37} required: [fhir/models/StructureDefinition/EHDSOrganisation, fhir/models/StructureDefinition/EHDSLocation] required: [organisationPart] referringProfessional: {type: 'http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional', short: Referring healthcare professional, index: 7} package_version: 0.3.0 class: logical kind: logical url: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter base: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet version: 0.3.0 required: [type, period]