EHDSEncounter
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSEncounter
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition EHDSEncounter Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSEncounter 0..* EHDSDataSet Elements defined in Ancestors:header Encounter model Instances of this logical model can be the target of a Reference #xD; priority 0..1 CodeableConcept Priority Binding Description: (preferred): hl7:v3-xEncounterAdmissionUrgency #xD; type 1..1 CodeableConcept Encounter type Binding Description: (preferred): hl7v3:ActEncounterCode #xD; note 0..1 string A narrative description of the encounter course. #xD; episodeOfCare 0..* EHDSEpisodeOfCare Reference to the episode(s) of care that this encounter should be recorded against #xD; basedOn[x] 0..* Reference to the request that initiated this encounter #xD; basedOnEHDSCarePlan EHDSCarePlan #xD; basedOnEHDSServiceRequest EHDSServiceRequest #xD; partOf 0..1 EHDSEncounter Reference to another encounter this encounter is part of #xD; serviceProvider 0..1 EHDSOrganisation The organisation (facility) responsible for this encounter #xD; actualPeriod 0..1 Period The actual start and end time of the encounter #xD; plannedStartDate 0..1 dateTime The planned start date/time (or admission date) of the encounter #xD; plannedEndDate 0..1 dateTime The planned end date/time (or discharge date) of the encounter #xD; admission 0..1 Base Details about the admission to a healthcare service #xD; admitter 0..1 EHDSHealthProfessional Admitting healthcare professional #xD; admitSource 0..1 CodeableConcept From where the patient was admitted (e.g. physician referral, transfer). Binding Description: (preferred): hl7:admit-source #xD; referringProfessional 0..1 EHDSHealthProfessional Referring Healthcare Professional #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 EHDSObser…
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
  value: code
    v: can-be-target
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
  value: code
    v: can-be-target
url:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
version:
  v: 0.1.0
name:
  v: EHDSEncounter
title:
  v: Encounter model
status:
  v: draft
date:
  v: 2025-09-22T14:06:17+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://Xt-EHR.eu
description:
  v: EHDS refined base model for Encounter
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
base definition:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 0.1.0
  element:
    id:
      v: EHDSEncounter
    path:
      v: EHDSEncounter
    short:
      v: Encounter model
    definition:
      v: EHDS refined base model for Encounter
    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: Common header for all patient-related data
    definition:
      v: Common header for all patient-related data
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: 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: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
  element:
    id:
      v: EHDSEncounter.header.identifier
    path:
      v: EHDSEncounter.header.identifier
    short:
      v: Business identifier for the object
    definition:
      v: Business identifier for the object
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
  element:
    id:
      v: EHDSEncounter.header.authorship
    path:
      v: EHDSEncounter.header.authorship
    short:
      v: Resource authoring details
    definition:
      v: Resource authoring details
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.authorship
      min:
        v: 1
      max:
        v: *
    type:
      code:
        v: Base
  element:
    id:
      v: EHDSEncounter.header.authorship.author[x]
    path:
      v: EHDSEncounter.header.authorship.author[x]
    short:
      v: Author(s) by whom the resource was/were authored. Multiple authors could be provided.
    definition:
      v: Author(s) by whom the resource was/were authored. Multiple authors could be provided.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header.authorship.author[x]

v: 1

v: 1

id:
  v: EHDSEncounter.header.authorship.datetime
path:
  v: EHDSEncounter.header.authorship.datetime
short:
  v: Date and time of authoring/issuing
definition:
  v: Date and time of authoring/issuing
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.authorship.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSEncounter.header.lastUpdate
path:
  v: EHDSEncounter.header.lastUpdate
short:
  v: Date and time of the last update to the resource (may be used for technical corrections).
definition:
  v: Date and time of the last update to the resource (may be used for technical corrections).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.lastUpdate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSEncounter.header.status
path:
  v: EHDSEncounter.header.status
short:
  v: Status of the resource or document
definition:
  v: Status of the resource or document
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept

id:
  v: EHDSEncounter.header.statusReason[x]
path:
  v: EHDSEncounter.header.statusReason[x]
short:
  v: Reason for the current status of the resource.
definition:
  v: Reason for the current status of the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.statusReason[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: string

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
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSEncounter.priority
path:
  v: EHDSEncounter.priority
short:
  v: Priority
definition:
  v: Indicates the urgency of the encounter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.priority
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:v3-xEncounterAdmissionUrgency

id:
  v: EHDSEncounter.type
path:
  v: EHDSEncounter.type
short:
  v: Encounter type
definition:
  v: The type of the encounter whether inpatient or short stay encounter.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSEncounter.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7v3:ActEncounterCode

id:
  v: EHDSEncounter.note
path:
  v: EHDSEncounter.note
short:
  v: A narrative description of the encounter course.
definition:
  v: A narrative description of the encounter course.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSEncounter.episodeOfCare
path:
  v: EHDSEncounter.episodeOfCare
short:
  v: Reference to the episode(s) of care that this encounter should be recorded against
definition:
  v: Reference to the episode(s) of care that this encounter should be recorded against
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.episodeOfCare
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare

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: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest

id:
  v: EHDSEncounter.partOf
path:
  v: EHDSEncounter.partOf
short:
  v: Reference to another encounter this encounter is part of
definition:
  v: Reference to another encounter this encounter is part of
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.partOf
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter

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: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation

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

id:
  v: EHDSEncounter.plannedStartDate
path:
  v: EHDSEncounter.plannedStartDate
short:
  v: The planned start date/time (or admission date) of the encounter
definition:
  v: The planned start date/time (or admission date) of the encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.plannedStartDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSEncounter.plannedEndDate
path:
  v: EHDSEncounter.plannedEndDate
short:
  v: The planned end date/time (or discharge date) of the encounter
definition:
  v: The planned end date/time (or discharge date) of the encounter
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.plannedEndDate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

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

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: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/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
binding:
  strength:
    v: preferred
  description:
    v: hl7:admit-source

id:
  v: EHDSEncounter.admission.referringProfessional
path:
  v: EHDSEncounter.admission.referringProfessional
short:
  v: Referring Healthcare Professional
definition:
  v: Referring Healthcare Professional
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission.referringProfessional
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.reason[x]
path:
  v: EHDSEncounter.admission.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.admission.reason[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation

id:
  v: EHDSEncounter.admission.reasonComment
path:
  v: EHDSEncounter.admission.reasonComment
short:
  v: Explanation of the reason for the encounter.
definition:
  v: Explanation of the reason for the encounter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission.reasonComment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSEncounter.admission.legalStatus
path:
  v: EHDSEncounter.admission.legalStatus
short:
  v: Legal status/situation at admission (indicates the basis on which the patient is staying in a healthcare organisation).
definition:
  v: Legal status can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission.legalStatus
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSEncounter.discharge
path:
  v: EHDSEncounter.discharge
short:
  v: Discharge details
definition:
  v: Discharge details
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.discharge
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base

id:
  v: EHDSEncounter.discharge.destinationType
path:
  v: EHDSEncounter.discharge.destinationType
short:
  v: Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.
definition:
  v: Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.discharge.destinationType
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7.discharge-disposition

id:
  v: EHDSEncounter.discharge.destinationLocation[x]
path:
  v: EHDSEncounter.discharge.destinationLocation[x]
short:
  v: The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.
definition:
  v: The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.discharge.destinationLocation[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation

id:
  v: EHDSEncounter.location
path:
  v: EHDSEncounter.location
short:
  v: List of locations where the patient has been.
definition:
  v: List of locations where the patient has been.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.location
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base

id:
  v: EHDSEncounter.location.period
path:
  v: EHDSEncounter.location.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.location.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period

id:
  v: EHDSEncounter.location.organisationPart[x]
path:
  v: EHDSEncounter.location.organisationPart[x]
short:
  v: Organisation or organisation part (department) where the patient was present.
definition:
  v: Organisation or organisation part (department) where the patient was present.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSEncounter.location.organisationPart[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation

element:
  id:
    v: EHDSEncounter
  path:
    v: EHDSEncounter
  short:
    v: Encounter model
  definition:
    v: EHDS refined base model for Encounter
element:
  id:
    v: EHDSEncounter.priority
  path:
    v: EHDSEncounter.priority
  short:
    v: Priority
  definition:
    v: Indicates the urgency of the encounter.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
  binding:
    strength:
      v: preferred
    description:
      v: hl7:v3-xEncounterAdmissionUrgency
element:
  id:
    v: EHDSEncounter.type
  path:
    v: EHDSEncounter.type
  short:
    v: Encounter type
  definition:
    v: The type of the encounter whether inpatient or short stay encounter.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
  binding:
    strength:
      v: preferred
    description:
      v: hl7v3:ActEncounterCode
element:
  id:
    v: EHDSEncounter.note
  path:
    v: EHDSEncounter.note
  short:
    v: A narrative description of the encounter course.
  definition:
    v: A narrative description of the encounter course.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: EHDSEncounter.episodeOfCare
  path:
    v: EHDSEncounter.episodeOfCare
  short:
    v: Reference to the episode(s) of care that this encounter should be recorded against
  definition:
    v: Reference to the episode(s) of care that this encounter should be recorded against
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare
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: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest
element:
  id:
    v: EHDSEncounter.partOf
  path:
    v: EHDSEncounter.partOf
  short:
    v: Reference to another encounter this encounter is part of
  definition:
    v: Reference to another encounter this encounter is part of
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
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: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
element:
  id:
    v: EHDSEncounter.actualPeriod
  path:
    v: EHDSEncounter.actualPeriod
  short:
    v: The actual start and end time of the encounter
  definition:
    v: The actual start and end time of the encounter
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Period
element:
  id:
    v: EHDSEncounter.plannedStartDate
  path:
    v: EHDSEncounter.plannedStartDate
  short:
    v: The planned start date/time (or admission date) of the encounter
  definition:
    v: The planned start date/time (or admission date) of the encounter
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
element:
  id:
    v: EHDSEncounter.plannedEndDate
  path:
    v: EHDSEncounter.plannedEndDate
  short:
    v: The planned end date/time (or discharge date) of the encounter
  definition:
    v: The planned end date/time (or discharge date) of the encounter
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: dateTime
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
element:
  id:
    v: EHDSEncounter.admission.admitter

v: EHDSEncounter.admission.admitter

v: Admitting healthcare professional

v: Admitting healthcare professional

v: 0

v: 1

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
binding:
  strength:
    v: preferred
  description:
    v: hl7:admit-source

id:
  v: EHDSEncounter.admission.referringProfessional
path:
  v: EHDSEncounter.admission.referringProfessional
short:
  v: Referring Healthcare Professional
definition:
  v: Referring Healthcare Professional
min:
  v: 0
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.reason[x]
path:
  v: EHDSEncounter.admission.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
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation

id:
  v: EHDSEncounter.admission.reasonComment
path:
  v: EHDSEncounter.admission.reasonComment
short:
  v: Explanation of the reason for the encounter.
definition:
  v: Explanation of the reason for the encounter.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: EHDSEncounter.admission.legalStatus
path:
  v: EHDSEncounter.admission.legalStatus
short:
  v: Legal status/situation at admission (indicates the basis on which the patient is staying in a healthcare organisation).
definition:
  v: Legal status can be either voluntary or involuntary, however the legal status is always determined by a court. A patient can also receive healthcare based on a forensic status. (voluntary, involuntary, admission by legal authority).
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSEncounter.discharge
path:
  v: EHDSEncounter.discharge
short:
  v: Discharge details
definition:
  v: Discharge details
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Base

id:
  v: EHDSEncounter.discharge.destinationType
path:
  v: EHDSEncounter.discharge.destinationType
short:
  v: Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.
definition:
  v: Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7.discharge-disposition

id:
  v: EHDSEncounter.discharge.destinationLocation[x]
path:
  v: EHDSEncounter.discharge.destinationLocation[x]
short:
  v: The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.
definition:
  v: The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation

id:
  v: EHDSEncounter.location
path:
  v: EHDSEncounter.location
short:
  v: List of locations where the patient has been.
definition:
  v: List of locations where the patient has been.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Base

id:
  v: EHDSEncounter.location.period
path:
  v: EHDSEncounter.location.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

id:
  v: EHDSEncounter.location.organisationPart[x]
path:
  v: EHDSEncounter.location.organisationPart[x]
short:
  v: Organisation or organisation part (department) where the patient was present.
definition:
  v: Organisation or organisation part (department) where the patient was present.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation