EHDSEncounter
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSEncounter
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSEncounter Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> <a href="StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter" title="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.">EHDSEncounter 0..* EHDSDataSet Encounter model Elements defined in Ancestors:header #xD; header #xD; author[x] 0..* EHDSHealthProfessional, EHDSOrganisation, EHDSDevice Author (typically a health professional) who is responsible for this encounter #xD; status 1..1 CodeableConcept Status of the encounter (e.g. discharged, discontinued, completed) #xD; priority 0..1 CodeableConcept Indicates the urgency of the encounter (e.g. urgent, routine). #xD; type 1..1 CodeableConcept Type of the encounter (inpatient, ambulatory, teleconsultation). #xD; period 1..1 Period The actual start and end time of the encounter. #xD; serviceProvider 0..1 EHDSOrganisation The organisation (facility) responsible for this encounter #xD; referringProfessional 0..1 EHDSHealthProfessional Referring healthcare professional #xD; basedOn[x] 0..* Reference to the request that initiated this encounter #xD; basedOnEHDSCarePlan EHDSCarePlan #xD; basedOnEHDSServiceRequest EHDSServiceRequest #xD; reason[x] 0..* Reason(s) for admission, e.g. problem, procedure or finding. #xD; reasonCodeableConcept CodeableConcept #xD; reasonEHDSCondition EHDSCondition #xD; reasonEHDSProcedure EHDSProcedure #xD; reasonEHDSObservation EHDSObservation #xD; reasonString string #xD; admission 0..1 Base Details about the admission to a healthcare service #xD; admitter 0..1 EHDSHealthProfessional Admitting healthcare professio…
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
  l: EHDSEncounter
version:
  v: 0.4.0
name:
  v: EHDSEncounter
title:
  v: Encounter model
status:
  v: draft
date:
  v: 2026-03-03T22:34:02+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: 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.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
  l: EHDSEncounter
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet
  l: EHDSDataSet
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.4.0
  element:
    id:
      v: EHDSEncounter
    path:
      v: EHDSEncounter
    short:
      v: Encounter model
    definition:
      v: 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.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: EHDSEncounter.header
    path:
      v: EHDSEncounter.header
    short:
      v: Basic metadata for this information
    definition:
      v: Basic metadata for this information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Base
        l: Base
  element:
    id:
      v: EHDSEncounter.header.subject
    path:
      v: EHDSEncounter.header.subject
    short:
      v: Patient/subject information
    definition:
      v: Patient/subject information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
        l: EHDSPatient
  element:
    id:
      v: EHDSEncounter.header.identifier
    path:
      v: EHDSEncounter.header.identifier
    short:
      v: Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).
    definition:
      v: Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
        l: Identifier
  element:
    id:
      v: EHDSEncounter.header.author[x]
    path:
      v: EHDSEncounter.header.author[x]
    short:
      v: Author (typically a health professional) who is responsible for this encounter
    definition:
      v: Author (typically a health professional) who is responsible for this encounter
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.author[x]
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
        l: EHDSHealthProfessional
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
        l: EHDSOrganisation
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
        l: EHDSDevice
  element:
    id:
      v: EHDSEncounter.header.date
    path:
      v: EHDSEncounter.header.date
    short:
      v: Date and optionally time of authoring/issuing
    definition:
      v: Date and optionally time of authoring/issuing

v: 0

v: 1

path:
  v: EHDSDataSet.header.date
min:
  v: 0
max:
  v: 1

code:
  v: dateTime
  l: dateTime

id:
  v: EHDSEncounter.header.status
path:
  v: EHDSEncounter.header.status
short:
  v: Status of the encounter (e.g. discharged, discontinued, completed)
definition:
  v: Status of the encounter (e.g. discharged, discontinued, completed)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSEncounter.header.source
path:
  v: EHDSEncounter.header.source
short:
  v: Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
definition:
  v: Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.source
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSEncounter.header.language
path:
  v: EHDSEncounter.header.language
short:
  v: Language in which the resource is written. Language is expressed by the IETF language tag.
definition:
  v: Language in which the resource is written. Language is expressed by the IETF language tag.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSEncounter.priority
path:
  v: EHDSEncounter.priority
short:
  v: Indicates the urgency of the encounter (e.g. urgent, routine).
definition:
  v: Indicates the urgency of the encounter (e.g. urgent, routine).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.priority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSEncounter.type
path:
  v: EHDSEncounter.type
short:
  v: Type of the encounter (inpatient, ambulatory, teleconsultation).
definition:
  v: Type of the encounter (inpatient, ambulatory, teleconsultation).
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSEncounter.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSEncounter.period
path:
  v: EHDSEncounter.period
short:
  v: The actual start and end time of the encounter.
definition:
  v: The actual start and end time of the encounter.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSEncounter.period
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSEncounter.serviceProvider
path:
  v: EHDSEncounter.serviceProvider
short:
  v: The organisation (facility) responsible for this encounter
definition:
  v: The organisation (facility) responsible for this encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.serviceProvider
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation

id:
  v: EHDSEncounter.referringProfessional
path:
  v: EHDSEncounter.referringProfessional
short:
  v: Referring healthcare professional
definition:
  v: Referring healthcare professional
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.referringProfessional
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional

id:
  v: EHDSEncounter.basedOn[x]
path:
  v: EHDSEncounter.basedOn[x]
short:
  v: Reference to the request that initiated this encounter
definition:
  v: Reference to the request that initiated this encounter
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.basedOn[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCarePlan
    l: EHDSCarePlan
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest
    l: EHDSServiceRequest

id:
  v: EHDSEncounter.reason[x]
path:
  v: EHDSEncounter.reason[x]
short:
  v: Reason(s) for admission, e.g. problem, procedure or finding.
definition:
  v: Reason(s) for admission, e.g. problem, procedure or finding.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.reason[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition
    l: EHDSCondition
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSProcedure
    l: EHDSProcedure
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation
    l: EHDSObservation
type:
  code:
    v: string
    l: string

id:
  v: EHDSEncounter.admission
path:
  v: EHDSEncounter.admission
short:
  v: Details about the admission to a healthcare service
definition:
  v: Details about the admission to a healthcare service
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSEncounter.admission.admitter
path:
  v: EHDSEncounter.admission.admitter
short:
  v: Admitting healthcare professional
definition:
  v: Admitting healthcare professional
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission.admitter
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.admitSource
path:
  v: EHDSEncounter.admission.admitSource
short:
  v: From where the patient was admitted (e.g. physician referral, transfer).
definition:
  v: From where the patient was admitted (e.g. physician referral, transfer).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission.admitSource
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Admit Source

id:
  v: EHDSEncounter.dischargeDiagnosis[x]
path:
  v: EHDSEncounter.dischargeDiagnosis[x]
short:
  v: The diagnoses at the time of discharge.
definition:
  v: The diagnoses at the time of discharge.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.dischargeDiagnosis[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition
    l: EHDSCondition

id:
  v: EHDSEncounter.dischargeDestination
path:
  v: EHDSEncounter.dischargeDestination
short:
  v: Location or organisation to which the patient is going after discharge.
definition:
  v: Location or organisation to which the patient is going after discharge.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.dischargeDestination
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSEncounter.dischargeDestination.type
path:
  v: EHDSEncounter.dischargeDestination.type
short:
  v: Type of location (e.g. home, hospital, nursing home, etc.)
definition:
  v: Type of location (e.g. home, hospital, nursing home, etc.)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.dischargeDestination.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSEncounter.dischargeDestination.location[x]
path:
  v: EHDSEncounter.dischargeDestination.location[x]
short:
  v: The location or organisation (including contact details)
definition:
  v: The location or organisation (including contact details)
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.dischargeDestination.location[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
    l: EHDSLocation

id:
  v: EHDSEncounter.serviceLocation
path:
  v: EHDSEncounter.serviceLocation
short:
  v: List of locations where the patient was present during this encounter.
definition:
  v: List of locations where the patient was present during this encounter.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.serviceLocation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSEncounter.serviceLocation.period
path:
  v: EHDSEncounter.serviceLocation.period
short:
  v: Time period during which the patient was present at the location
definition:
  v: Time period during which the patient was present at the location
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.serviceLocation.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSEncounter.serviceLocation.organisationPart[x]
path:
  v: EHDSEncounter.serviceLocation.organisationPart[x]
short:
  v: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.
definition:
  v: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSEncounter.serviceLocation.organisationPart[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
    l: EHDSLocation

id:
  v: EHDSEncounter.subEncounter
path:
  v: EHDSEncounter.subEncounter
short:
  v: Reference to encounters that are considered parts of this encounter.
definition:
  v: Reference to encounters that are considered parts of this encounter.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.subEncounter
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
    l: EHDSEncounter

id:
  v: EHDSEncounter.note
path:
  v: EHDSEncounter.note
short:
  v: Free text notes by the health professional
definition:
  v: Free text notes by the health professional
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

element:
  id:
    v: EHDSEncounter
  path:
    v: EHDSEncounter
  short:
    v: Encounter model
  definition:
    v: 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.
element:
  id:
    v: EHDSEncounter.header.author[x]
  path:
    v: EHDSEncounter.header.author[x]
  short:
    v: Author (typically a health professional) who is responsible for this encounter
  definition:
    v: Author (typically a health professional) who is responsible for this encounter
element:
  id:
    v: EHDSEncounter.header.status
  path:
    v: EHDSEncounter.header.status
  short:
    v: Status of the encounter (e.g. discharged, discontinued, completed)
  definition:
    v: Status of the encounter (e.g. discharged, discontinued, completed)
element:
  id:
    v: EHDSEncounter.priority
  path:
    v: EHDSEncounter.priority
  short:
    v: Indicates the urgency of the encounter (e.g. urgent, routine).
  definition:
    v: Indicates the urgency of the encounter (e.g. urgent, routine).
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: EHDSEncounter.type
  path:
    v: EHDSEncounter.type
  short:
    v: Type of the encounter (inpatient, ambulatory, teleconsultation).
  definition:
    v: Type of the encounter (inpatient, ambulatory, teleconsultation).
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
element:
  id:
    v: EHDSEncounter.period
  path:
    v: EHDSEncounter.period
  short:
    v: The actual start and end time of the encounter.
  definition:
    v: The actual start and end time of the encounter.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: Period
      l: Period
element:
  id:
    v: EHDSEncounter.serviceProvider
  path:
    v: EHDSEncounter.serviceProvider
  short:
    v: The organisation (facility) responsible for this encounter
  definition:
    v: The organisation (facility) responsible for this encounter
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
      l: EHDSOrganisation
element:
  id:
    v: EHDSEncounter.referringProfessional
  path:
    v: EHDSEncounter.referringProfessional
  short:
    v: Referring healthcare professional
  definition:
    v: Referring healthcare professional
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
      l: EHDSHealthProfessional
element:
  id:
    v: EHDSEncounter.basedOn[x]
  path:
    v: EHDSEncounter.basedOn[x]
  short:
    v: Reference to the request that initiated this encounter
  definition:
    v: Reference to the request that initiated this encounter
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCarePlan
      l: EHDSCarePlan
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest
      l: EHDSServiceRequest
element:
  id:
    v: EHDSEncounter.reason[x]
  path:
    v: EHDSEncounter.reason[x]
  short:
    v: Reason(s) for admission, e.g. problem, procedure or finding.
  definition:
    v: Reason(s) for admission, e.g. problem, procedure or finding.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition
      l: EHDSCondition
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSProcedure
      l: EHDSProcedure
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation
      l: EHDSObservation
  type:
    code:
      v: string
      l: string
element:
  id:
    v: EHDSEncounter.admission
  path:
    v: EHDSEncounter.admission
  short:
    v: Details about the admission to a healthcare service
  definition:
    v: Details about the admission to a healthcare service
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Base
      l: Base
element:
  id:
    v: EHDSEncounter.admission.admitter
  path:
    v: EHDSEncounter.admission.admitter
  short:
    v: Admitting healthcare professional
  definition:
    v: Admitting healthcare professional
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
      l: EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.admitSource
path:
  v: EHDSEncounter.admission.admitSource
short:
  v: From where the patient was admitted (e.g. physician referral, transfer).
definition:
  v: From where the patient was admitted (e.g. physician referral, transfer).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Admit Source

id:
  v: EHDSEncounter.dischargeDiagnosis[x]
path:
  v: EHDSEncounter.dischargeDiagnosis[x]
short:
  v: The diagnoses at the time of discharge.
definition:
  v: The diagnoses at the time of discharge.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSCondition
    l: EHDSCondition

id:
  v: EHDSEncounter.dischargeDestination
path:
  v: EHDSEncounter.dischargeDestination
short:
  v: Location or organisation to which the patient is going after discharge.
definition:
  v: Location or organisation to which the patient is going after discharge.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSEncounter.dischargeDestination.type
path:
  v: EHDSEncounter.dischargeDestination.type
short:
  v: Type of location (e.g. home, hospital, nursing home, etc.)
definition:
  v: Type of location (e.g. home, hospital, nursing home, etc.)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSEncounter.dischargeDestination.location[x]
path:
  v: EHDSEncounter.dischargeDestination.location[x]
short:
  v: The location or organisation (including contact details)
definition:
  v: The location or organisation (including contact details)
min:
  v: 0
max:
  v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
    l: EHDSLocation

id:
  v: EHDSEncounter.serviceLocation
path:
  v: EHDSEncounter.serviceLocation
short:
  v: List of locations where the patient was present during this encounter.
definition:
  v: List of locations where the patient was present during this encounter.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSEncounter.serviceLocation.period
path:
  v: EHDSEncounter.serviceLocation.period
short:
  v: Time period during which the patient was present at the location
definition:
  v: Time period during which the patient was present at the location
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSEncounter.serviceLocation.organisationPart[x]
path:
  v: EHDSEncounter.serviceLocation.organisationPart[x]
short:
  v: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.
definition:
  v: Organisation or part of an organisation (e.g. department) where the patient was present during the encounter.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
    l: EHDSLocation

id:
  v: EHDSEncounter.subEncounter
path:
  v: EHDSEncounter.subEncounter
short:
  v: Reference to encounters that are considered parts of this encounter.
definition:
  v: Reference to encounters that are considered parts of this encounter.
min:
  v: 0
max:
  v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
    l: EHDSEncounter

id:
  v: EHDSEncounter.note
path:
  v: EHDSEncounter.note
short:
  v: Free text notes by the health professional
definition:
  v: Free text notes by the health professional
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string