MyHealthEuHdrEncounter
type: StructureDefinition
node role: treeRoot
id:
  v: MyHealthEuHdrEncounter
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition MyHealthEuHdrEncounter Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> MyHealthEuHdrEncounter 0..* EHDSEncounter MyHealth@EU HDR Encounter model Elements defined in Ancestors:header, priority, type, period, serviceProvider, referringProfessional, basedOn[x], reason[x], admission, dischargeDiagnosis[x], dischargeDestination, serviceLocation, subEncounter, note #xD; type O 1..1 CodeableConcept Type of the encounter (inpatient, ambulatory, teleconsultation). Obligations Actor SHALL:handle HDR Handler #xD; period O 1..1 Period The actual start and end time of the encounter. Obligations Actor SHALL:handle HDR Handler #xD; serviceProvider O 0..1 MyHealthEuOrganisation The organisation (facility) responsible for this encounter Obligations Actor SHOULD:handle HDR Handler #xD; referringProfessional O 0..1 MyHealthEuHealthProfessional Referring healthcare professional Obligations Actor MAY:able-to-populate HDR Handler #xD; reason[x] O 0..* Reason(s) for admission, e.g. problem, procedure or finding. Obligations Actor MAY:able-to-populate HDR Handler #xD; reasonCodeableConcept CodeableConcept #xD; reasonMyHealthEuHdrCondition MyHealthEuHdrCondition #xD; reasonEHDSProcedure EHDSProcedure #xD; reasonEHDSObservation EHDSObservation #xD; reasonString string #xD; admission O 0..1 Base Details about the admission to a healthcare service Obligations Actor MAY:able-to-populate HDR Handler #xD; admitter O 0..1 MyHealthEuHealthProfessional Admitting healthcare professional Obligations Actor MAY:able-to-populate HDR Handler #xD; dischargeDiagnosis[x] O 0..* The diagnoses at the time of discharge. Obligations Actor MAY:able-to-populate HDR Handler #xD; dischargeDiagnosisCodeableConcept CodeableConcept #xD; dischargeDiagnosisMyHealthEuHdrCondition MyHealthEuHdrCondition #xD; dischargeDestination O 0..1 Base Location or organisation to which the patient is going after discharge. Obliga…
url:
  v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  l: MyHealthEuHdrEncounter
version:
  v: 9.1.1
name:
  v: MyHealthEuHdrEncounter
title:
  v: MyHealth@EU HDR Encounter model
status:
  v: draft
date:
  v: 2026-05-05T14:42:04+00:00
publisher:
  v: MyHealth@Eu
contact:
  name:
    v: MyHealth@Eu
  telecom:
    system:
      v: url
    value:
      v: https://health.ec.europa.eu/other-pages/basic-page/myhealtheu-flyer-addressed-patients-and-health-professionals_en
description:
  v: MyHealthEu refined model for encounter in the context of hospital discharge report.
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
      l: m49.htm
    code:
      v: 150
    display:
      v: Europe
fhir version:
  v: 4.0.1
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://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  l: MyHealthEuHdrEncounter
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSEncounter
  l: EHDSEncounter
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.3.0
  element:
    id:
      v: MyHealthEuHdrEncounter
    path:
      v: MyHealthEuHdrEncounter
    short:
      v: MyHealth@EU HDR Encounter model
    definition:
      v: MyHealthEu refined model for encounter in the context of hospital discharge report.
    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: MyHealthEuHdrEncounter.header
    path:
      v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.header.subject
    path:
      v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.header.identifier
    path:
      v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.header.author[x]
    path:
      v: MyHealthEuHdrEncounter.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

id:
  v: MyHealthEuHdrEncounter.header.date
path:
  v: MyHealthEuHdrEncounter.header.date
short:
  v: Date and optionally time of authoring/issuing
definition:
  v: Date and optionally time of authoring/issuing
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: MyHealthEuHdrEncounter.header.status
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.header.source
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.header.language
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.priority
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.period
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.serviceProvider
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:handle
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuOrganisation
    l: MyHealthEuOrganisation

id:
  v: MyHealthEuHdrEncounter.referringProfessional
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuHealthProfessional
    l: MyHealthEuHealthProfessional

id:
  v: MyHealthEuHdrEncounter.basedOn[x]
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.reason[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrCondition
    l: MyHealthEuHdrCondition
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: MyHealthEuHdrEncounter.admission
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.admission.admitter
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuHealthProfessional
    l: MyHealthEuHealthProfessional

id:
  v: MyHealthEuHdrEncounter.admission.admitSource
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.dischargeDiagnosis[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrCondition
    l: MyHealthEuHdrCondition

id:
  v: MyHealthEuHdrEncounter.dischargeDestination
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.dischargeDestination.type
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.dischargeDestination.location[x]
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.serviceLocation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter|9.1.1
      l: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrEncounter
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.serviceLocation.period
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.serviceLocation.organisationPart[x]
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.subEncounter
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter.note
path:
  v: MyHealthEuHdrEncounter.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: MyHealthEuHdrEncounter
  path:
    v: MyHealthEuHdrEncounter
  short:
    v: MyHealth@EU HDR Encounter model
  definition:
    v: MyHealthEu refined model for encounter in the context of hospital discharge report.
element:
  id:
    v: MyHealthEuHdrEncounter.type
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.type
element:
  id:
    v: MyHealthEuHdrEncounter.period
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.period
element:
  id:
    v: MyHealthEuHdrEncounter.serviceProvider
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:handle
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.serviceProvider
  type:
    code:
      v: http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuOrganisation
      l: MyHealthEuOrganisation
element:
  id:
    v: MyHealthEuHdrEncounter.referringProfessional
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: MAY:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.referringProfessional
  type:
    code:
      v: http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuHealthProfessional
      l: MyHealthEuHealthProfessional
element:
  id:
    v: MyHealthEuHdrEncounter.reason[x]
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: MAY:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.reason[x]
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  type:
    code:
      v: http://fhir.ehdsi.eu/hdr/StructureDefinition/MyHealthEuHdrCondition
      l: MyHealthEuHdrCondition
  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: MyHealthEuHdrEncounter.admission
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: MAY:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.admission
element:
  id:
    v: MyHealthEuHdrEncounter.admission.admitter
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: MAY:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
        l: actor-handler-eu-hdr
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: MyHealthEuHdrEncounter.admission.admitter
  type:
    code:
      v: http://fhir.ehdsi.eu/core/StructureDefinition/MyHealthEuHealthProfessional
      l: MyHealthEuHealthProfessional
element:
  id:
    v: MyHealthEuHdrEncounter.dischargeDiagnosis[x]
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code

Code
v: MAY:able-to-populate

url:
  v: actor
  l: actor
value: Canonical
  v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
  l: actor-handler-eu-hdr

v: MyHealthEuHdrEncounter.dischargeDiagnosis[x]

code:
  v: CodeableConcept
  l: CodeableConcept

id:
  v: MyHealthEuHdrEncounter.dischargeDestination
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.dischargeDestination

id:
  v: MyHealthEuHdrEncounter.serviceLocation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: MAY:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: http://fhir.ehdsi.eu/hdr/ActorDefinition/actor-handler-eu-hdr
      l: actor-handler-eu-hdr
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: MyHealthEuHdrEncounter.serviceLocation