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..* Base Encounter model Instances of this logical model can be the target of a Reference identifier 0..* Identifier C.30.1 - Identifier priority 0..1 CodeableConcept C.30.3 - Priority Binding Description (No ValueSet): (preferred): hl7:v3-xEncounterAdmissionUrgency encounterType 1..1 CodeableConcept C.30.2 - Encounter type Binding Description (No ValueSet): (preferred): hl7v3:ActEncounterCode encounterNote 0..1 string C.30.4 - Encounter note patient 0..1 Reference(Patient model) C.30.5 - Patient episodeOfCare 0..* Reference(Episode of care model) C.30.6 - Episode of care basedOn 0..* Reference(Care plan model | Service request model) C.30.7 - Based on partOf 0..1 Reference(Encounter model) C.30.8 - Part of serviceProvider 0..1 Reference(Organization model) C.30.9 - Service provider appointment 0..* Reference(Appointment model) C.30.10 - Appointment actualPeriod 0..1 Period C.30.11 - Actual period plannedStartDate 0..1 dateTime C.30.12 - Planned start date plannedEndDate 0..1 dateTime C.30.13 - Planned end date admission 0..1 Base C.30.14 - Admission admitter 0..1 Reference(Health professional model) C.30.14.1 - Admitter admitSource 0..1 CodeableConcept C.30.14.2 - Admit Source Binding Description (No ValueSet): (preferred): hl7:admit-source referringProfessional 0..1 Reference(Health professional model) C.30.14.3 - Referring professional admissionReason 0..* Reference(Condition model | Procedure model | Observation model) C.30.14.4 - Admission reason admissionReasonComment 0..1 string C.30.14.5 - Admission reason comment <a href="StructureDefinition-EHDSEncounter-definitions.html#EHDSEncounter.admission.admissionLegalStatus" title="Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This can be either …
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-05-26T10:09:34+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://Xt-EHR.eu
description:
  v: C.30 - 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: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 5.0.0
  element:
    id:
      v: EHDSEncounter
    path:
      v: EHDSEncounter
    short:
      v: Encounter model
    definition:
      v: C.30 - 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.identifier
    path:
      v: EHDSEncounter.identifier
    short:
      v: C.30.1 - Identifier
    definition:
      v: Encounter identifier (Business identifiers assigned to this encounter).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSEncounter.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
  element:
    id:
      v: EHDSEncounter.priority
    path:
      v: EHDSEncounter.priority
    short:
      v: C.30.3 - 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
  element:
    id:
      v: EHDSEncounter.encounterType
    path:
      v: EHDSEncounter.encounterType
    short:
      v: C.30.2 - 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.encounterType
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: CodeableConcept
    binding:
      strength:
        v: preferred
      description:
        v: hl7v3:ActEncounterCode
  element:
    id:
      v: EHDSEncounter.encounterNote
    path:
      v: EHDSEncounter.encounterNote
    short:
      v: C.30.4 - Encounter note
    definition:
      v: A narrative description of the encounter course.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: EHDSEncounter.encounterNote
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: string
  element:
    id:
      v: EHDSEncounter.patient
    path:
      v: EHDSEncounter.patient
    short:
      v: C.30.5 - Patient
    definition:
      v: The patient related to this encounter.
    min:
      v: 0

v: 1

path:
  v: EHDSEncounter.patient
min:
  v: 0
max:
  v: 1

code:
  v: Reference
target profile:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient

id:
  v: EHDSEncounter.episodeOfCare
path:
  v: EHDSEncounter.episodeOfCare
short:
  v: C.30.6 - Episode of care
definition:
  v: 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: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare

id:
  v: EHDSEncounter.basedOn
path:
  v: EHDSEncounter.basedOn
short:
  v: C.30.7 - Based on
definition:
  v: The request that initiated this encounter
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.basedOn
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest

id:
  v: EHDSEncounter.partOf
path:
  v: EHDSEncounter.partOf
short:
  v: C.30.8 - Part of
definition:
  v: 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: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter

id:
  v: EHDSEncounter.serviceProvider
path:
  v: EHDSEncounter.serviceProvider
short:
  v: C.30.9 - Service provider
definition:
  v: The organization (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: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization

id:
  v: EHDSEncounter.appointment
path:
  v: EHDSEncounter.appointment
short:
  v: C.30.10 - Appointment
definition:
  v: The appointment that scheduled this encounter
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.appointment
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment

id:
  v: EHDSEncounter.actualPeriod
path:
  v: EHDSEncounter.actualPeriod
short:
  v: C.30.11 - Actual period
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: C.30.12 - Planned start date
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: C.30.13 - Planned end date
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: C.30.14 - Admission
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: C.30.14.1 - Admitter
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: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.admitSource
path:
  v: EHDSEncounter.admission.admitSource
short:
  v: C.30.14.2 - Admit Source
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: C.30.14.3 - Referring 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: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.admissionReason
path:
  v: EHDSEncounter.admission.admissionReason
short:
  v: C.30.14.4 - Admission reason
definition:
  v: Reason or reasons for admission, e.g. Problem, procedure or finding.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSEncounter.admission.admissionReason
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation

id:
  v: EHDSEncounter.admission.admissionReasonComment
path:
  v: EHDSEncounter.admission.admissionReasonComment
short:
  v: C.30.14.5 - Admission reason comment
definition:
  v: Explanation of the reason for the encounter.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSEncounter.admission.admissionReasonComment
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSEncounter.admission.admissionLegalStatus
path:
  v: EHDSEncounter.admission.admissionLegalStatus
short:
  v: C.30.14.6 - Admission legal status
definition:
  v: Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This 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.admissionLegalStatus
  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: C.30.15 - Discharge
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: C.30.15.1 - Destination type
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
path:
  v: EHDSEncounter.discharge.destinationLocation
short:
  v: C.30.15.2 - Destination location
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
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation

id:
  v: EHDSEncounter.location
path:
  v: EHDSEncounter.location
short:
  v: C.30.16 - Location
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: C.30.16.1 - Period
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.organizationPart
path:
  v: EHDSEncounter.location.organizationPart
short:
  v: C.30.16.2 - Organization part
definition:
  v: Organization or organization part (department) where the patient was present.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSEncounter.location.organizationPart
  min:
    v: 1
  max:
    v: 1
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: C.30 - EHDS refined base model for Encounter
element:
  id:
    v: EHDSEncounter.identifier
  path:
    v: EHDSEncounter.identifier
  short:
    v: C.30.1 - Identifier
  definition:
    v: Encounter identifier (Business identifiers assigned to this encounter).
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
element:
  id:
    v: EHDSEncounter.priority
  path:
    v: EHDSEncounter.priority
  short:
    v: C.30.3 - 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.encounterType
  path:
    v: EHDSEncounter.encounterType
  short:
    v: C.30.2 - 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.encounterNote
  path:
    v: EHDSEncounter.encounterNote
  short:
    v: C.30.4 - Encounter note
  definition:
    v: A narrative description of the encounter course.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: EHDSEncounter.patient
  path:
    v: EHDSEncounter.patient
  short:
    v: C.30.5 - Patient
  definition:
    v: The patient related to this encounter.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
element:
  id:
    v: EHDSEncounter.episodeOfCare
  path:
    v: EHDSEncounter.episodeOfCare
  short:
    v: C.30.6 - Episode of care
  definition:
    v: Episode(s) of care that this encounter should be recorded against
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare
element:
  id:
    v: EHDSEncounter.basedOn
  path:
    v: EHDSEncounter.basedOn
  short:
    v: C.30.7 - Based on
  definition:
    v: The request that initiated this encounter
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest
element:
  id:
    v: EHDSEncounter.partOf
  path:
    v: EHDSEncounter.partOf
  short:
    v: C.30.8 - Part of
  definition:
    v: Another Encounter this encounter is part of
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
element:
  id:
    v: EHDSEncounter.serviceProvider
  path:
    v: EHDSEncounter.serviceProvider
  short:
    v: C.30.9 - Service provider
  definition:
    v: The organization (facility) responsible for this encounter
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
element:
  id:
    v: EHDSEncounter.appointment
  path:
    v: EHDSEncounter.appointment
  short:
    v: C.30.10 - Appointment
  definition:
    v: The appointment that scheduled this encounter
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAppointment

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

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

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

id:
  v: EHDSEncounter.admission
path:
  v: EHDSEncounter.admission
short:
  v: C.30.14 - Admission
definition:
  v: Details about the admission to a healthcare service
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Base

id:
  v: EHDSEncounter.admission.admitter
path:
  v: EHDSEncounter.admission.admitter
short:
  v: C.30.14.1 - Admitter
definition:
  v: Admitting Healthcare Professional
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.admitSource
path:
  v: EHDSEncounter.admission.admitSource
short:
  v: C.30.14.2 - Admit Source
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: C.30.14.3 - Referring professional
definition:
  v: Referring Healthcare Professional
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSEncounter.admission.admissionReason
path:
  v: EHDSEncounter.admission.admissionReason
short:
  v: C.30.14.4 - Admission reason
definition:
  v: Reason or reasons for admission, e.g. Problem, procedure or finding.
min:
  v: 0
max:
  v: *
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation

id:
  v: EHDSEncounter.admission.admissionReasonComment
path:
  v: EHDSEncounter.admission.admissionReasonComment
short:
  v: C.30.14.5 - Admission reason comment
definition:
  v: Explanation of the reason for the encounter.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: EHDSEncounter.admission.admissionLegalStatus
path:
  v: EHDSEncounter.admission.admissionLegalStatus
short:
  v: C.30.14.6 - Admission legal status
definition:
  v: Legal status/situation at admission. The legal status indicates the basis on which the patient is staying in a healthcare organisation. This 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: C.30.15 - Discharge
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: C.30.15.1 - Destination type
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
path:
  v: EHDSEncounter.discharge.destinationLocation
short:
  v: C.30.15.2 - Destination location
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: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation

id:
  v: EHDSEncounter.location
path:
  v: EHDSEncounter.location
short:
  v: C.30.16 - Location
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: C.30.16.1 - Period
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.organizationPart
path:
  v: EHDSEncounter.location.organizationPart
short:
  v: C.30.16.2 - Organization part
definition:
  v: Organization or organization part (department) where the patient was present.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation