FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagehl7.fhir.eu.imaging-r5
Resource TypeStructureDefinition
IdStructureDefinition-EHDSEncounter.json
FHIR VersionR5
Sourcehttps://build.fhir.org/ig/hl7-eu/imaging-r5/StructureDefinition-EHDSEncounter.html
URLhttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
Version0.1.0
Statusdraft
Date2025-08-05T08:51:00+00:00
NameEHDSEncounter
TitleEncounter model
Realmeu
Authorityhl7
DescriptionEHDS refined base model for Encounter
CopyrightCopyright HL7 Europe. Licensed under Creative Commons public domain (CC0 1.0).
Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter
Kindlogical

Resources that use this resource

StructureDefinition
EHDSDischargeReportDischarge Report model
EHDSEncounterEncounter model
EHDSImagingStudyImaging study model
EHDSLaboratoryOrderBodyLaboratory order body model
EHDSServiceRequestService request model

Resources that this resource uses

StructureDefinition
EHDSCarePlanCare plan model
EHDSConditionCondition model
EHDSDataSetDataSet model
EHDSEncounterEncounter model
EHDSEpisodeOfCareEpisode of care model
EHDSHealthProfessionalHealth professional model
EHDSLocationLocation model
EHDSObservationObservation model
EHDSOrganisationOrganisation model
EHDSProcedureProcedure model
EHDSServiceRequestService request model

Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: StructureDefinition EHDSEncounter

Language: en

NameFlagsCard.TypeDescription & Constraintsdoco
.. EHDSEncounter 0..*EHDSDataSetEncounter model

Elements defined in Ancestors:header, presentedForm
Instances of this logical model can be the target of a Reference
... priority 0..1CodeableConceptPriority
Binding Description: (preferred): hl7:v3-xEncounterAdmissionUrgency
... type 1..1CodeableConceptEncounter type
Binding Description: (preferred): hl7v3:ActEncounterCode
... note 0..1stringA narrative description of the encounter course.
... episodeOfCare 0..*EHDSEpisodeOfCareReference to the episode(s) of care that this encounter should be recorded against
... basedOn[x] 0..*Reference to the request that initiated this encounter
.... basedOnEHDSCarePlanEHDSCarePlan
.... basedOnEHDSServiceRequestEHDSServiceRequest
... partOf 0..1EHDSEncounterReference to another encounter this encounter is part of
... serviceProvider 0..1EHDSOrganisationThe organisation (facility) responsible for this encounter
... actualPeriod 0..1PeriodThe actual start and end time of the encounter
... plannedStartDate 0..1dateTimeThe planned start date/time (or admission date) of the encounter
... plannedEndDate 0..1dateTimeThe planned end date/time (or discharge date) of the encounter
... admission 0..1BaseDetails about the admission to a healthcare service
.... admitter 0..1EHDSHealthProfessionalAdmitting healthcare professional
.... admitSource 0..1CodeableConceptFrom where the patient was admitted (e.g. physician referral, transfer).
Binding Description: (preferred): hl7:admit-source
.... referringProfessional 0..1EHDSHealthProfessionalReferring Healthcare Professional
.... reason[x] 0..*Reason(s) for admission, e.g. problem, procedure or finding.
..... reasonCodeableConceptCodeableConcept
..... reasonEHDSConditionEHDSCondition
..... reasonEHDSProcedureEHDSProcedure
..... reasonEHDSObservationEHDSObservation
.... reasonComment 0..1stringExplanation of the reason for the encounter.
.... legalStatus 0..1CodeableConceptLegal status/situation at admission (indicates the basis on which the patient is staying in a healthcare organisation).
Binding Description: (preferred): SNOMED CT
... discharge 0..1BaseDischarge details
.... destinationType 0..1CodeableConceptType of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.
Binding Description: (preferred): hl7.discharge-disposition
.... destinationLocation[x] 0..1The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.
..... destinationLocationEHDSOrganisationEHDSOrganisation
..... destinationLocationEHDSLocationEHDSLocation
... location 0..*BaseList of locations where the patient has been.
.... period 0..1PeriodTime period during which the patient was present at the location
.... organisationPart[x] 1..1Organisation or organisation part (department) where the patient was present.
..... organisationPartEHDSOrganisationEHDSOrganisation
..... organisationPartEHDSLocationEHDSLocation

doco Documentation for this format

Source1

{
  "resourceType": "StructureDefinition",
  "id": "EHDSEncounter",
  "language": "en",
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
      "valueCode": "can-be-target"
    }
  ],
  "url": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter",
  "version": "0.1.0",
  "name": "EHDSEncounter",
  "title": "Encounter model",
  "status": "draft",
  "date": "2025-08-05T08:51:00+00:00",
  "publisher": "HL7 Europe",
  "contact": [
    {
      "name": "Xt-EHR",
      "telecom": [
        {
          "system": "url",
          "value": "http://Xt-EHR.eu"
        }
      ]
    }
  ],
  "description": "EHDS refined base model for Encounter",
  "jurisdiction": [
    {
      "coding": [
        {
          "system": "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code": "150",
          "display": "Europe"
        }
      ]
    }
  ],
  "copyright": "Copyright HL7 Europe. Licensed under Creative Commons public domain (CC0 1.0).",
  "fhirVersion": "5.0.0",
  "mapping": [
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter",
  "baseDefinition": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet",
  "derivation": "specialization",
  "snapshot": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
        "valueString": "0.1.0"
      }
    ],
    "element": [
      {
        "id": "EHDSEncounter",
        "path": "EHDSEncounter",
        "short": "Encounter model",
        "definition": "EHDS refined base model for Encounter",
        "min": 0,
        "max": "*",
        "base": {
          "path": "Base",
          "min": 0,
          "max": "*"
        },
        "isModifier": false,
        "mapping": [
          {
            "identity": "rim",
            "map": "n/a"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header",
        "path": "EHDSEncounter.header",
        "short": "Common header for all patient-related data",
        "definition": "Common header for all patient-related data",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.subject",
        "path": "EHDSEncounter.header.subject",
        "short": "Subject",
        "definition": "Patient/subject information",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.subject",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.identifier",
        "path": "EHDSEncounter.header.identifier",
        "short": "Business identifier for the object",
        "definition": "Business identifier for the object",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.identifier",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Identifier"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.authorship",
        "path": "EHDSEncounter.header.authorship",
        "short": "Authorship",
        "definition": "Resource authoring details",
        "min": 1,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.header.authorship",
          "min": 1,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.authorship.author[x]",
        "path": "EHDSEncounter.header.authorship.author[x]",
        "short": "Author",
        "definition": "Author(s) by whom the resource was/were authored. Multiple authors could be provided.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.authorship.author[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.authorship.datetime",
        "path": "EHDSEncounter.header.authorship.datetime",
        "short": "Date and time of authoring/issuing",
        "definition": "Date and time of the issuing the document/resource by its author.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.authorship.datetime",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.lastUpdate",
        "path": "EHDSEncounter.header.lastUpdate",
        "short": "Date and time of the last update to the resource",
        "definition": "Date and time of the last update to the document/information",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.lastUpdate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.status",
        "path": "EHDSEncounter.header.status",
        "short": "Status of the resource",
        "definition": "Status of the resource",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.status",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.statusReason[x]",
        "path": "EHDSEncounter.header.statusReason[x]",
        "short": "Reason for the current status of the resource.",
        "definition": "Reason for the current status of the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.statusReason[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.header.language",
        "path": "EHDSEncounter.header.language",
        "short": "Language",
        "definition": "Language in which the resource is written. Language is expressed by the IETF language tag.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.language",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "BCP 47"
        }
      },
      {
        "id": "EHDSEncounter.header.version",
        "path": "EHDSEncounter.header.version",
        "short": "Version",
        "definition": "Business version of the resource.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSDataSet.header.version",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.presentedForm",
        "path": "EHDSEncounter.presentedForm",
        "short": "A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document",
        "definition": "A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSDataSet.presentedForm",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"
          }
        ]
      },
      {
        "id": "EHDSEncounter.priority",
        "path": "EHDSEncounter.priority",
        "short": "Priority",
        "definition": "Indicates the urgency of the encounter.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.priority",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7:v3-xEncounterAdmissionUrgency"
        }
      },
      {
        "id": "EHDSEncounter.type",
        "path": "EHDSEncounter.type",
        "short": "Encounter type",
        "definition": "The type of the encounter whether inpatient or short stay encounter.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.type",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7v3:ActEncounterCode"
        }
      },
      {
        "id": "EHDSEncounter.note",
        "path": "EHDSEncounter.note",
        "short": "A narrative description of the encounter course.",
        "definition": "A narrative description of the encounter course.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.note",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.episodeOfCare",
        "path": "EHDSEncounter.episodeOfCare",
        "short": "Reference to the episode(s) of care that this encounter should be recorded against",
        "definition": "Reference to the episode(s) of care that this encounter should be recorded against",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.episodeOfCare",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"
          }
        ]
      },
      {
        "id": "EHDSEncounter.basedOn[x]",
        "path": "EHDSEncounter.basedOn[x]",
        "short": "Reference to the request that initiated this encounter",
        "definition": "Reference to the request that initiated this encounter",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.basedOn[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest"
          }
        ]
      },
      {
        "id": "EHDSEncounter.partOf",
        "path": "EHDSEncounter.partOf",
        "short": "Reference to another encounter this encounter is part of",
        "definition": "Reference to another encounter this encounter is part of",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.partOf",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceProvider",
        "path": "EHDSEncounter.serviceProvider",
        "short": "The organisation (facility) responsible for this encounter",
        "definition": "The organisation (facility) responsible for this encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.serviceProvider",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.actualPeriod",
        "path": "EHDSEncounter.actualPeriod",
        "short": "The actual start and end time of the encounter",
        "definition": "The actual start and end time of the encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.actualPeriod",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.plannedStartDate",
        "path": "EHDSEncounter.plannedStartDate",
        "short": "The planned start date/time (or admission date) of the encounter",
        "definition": "The planned start date/time (or admission date) of the encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.plannedStartDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.plannedEndDate",
        "path": "EHDSEncounter.plannedEndDate",
        "short": "The planned end date/time (or discharge date) of the encounter",
        "definition": "The planned end date/time (or discharge date) of the encounter",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.plannedEndDate",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission",
        "path": "EHDSEncounter.admission",
        "short": "Details about the admission to a healthcare service",
        "definition": "Details about the admission to a healthcare service",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitter",
        "path": "EHDSEncounter.admission.admitter",
        "short": "Admitting healthcare professional",
        "definition": "Admitting healthcare professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.admitter",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitSource",
        "path": "EHDSEncounter.admission.admitSource",
        "short": "From where the patient was admitted (e.g. physician referral, transfer).",
        "definition": "From where the patient was admitted (e.g. physician referral, transfer).",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.admitSource",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7:admit-source"
        }
      },
      {
        "id": "EHDSEncounter.admission.referringProfessional",
        "path": "EHDSEncounter.admission.referringProfessional",
        "short": "Referring Healthcare Professional",
        "definition": "Referring Healthcare Professional",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.referringProfessional",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.reason[x]",
        "path": "EHDSEncounter.admission.reason[x]",
        "short": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "definition": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.admission.reason[x]",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.reasonComment",
        "path": "EHDSEncounter.admission.reasonComment",
        "short": "Explanation of the reason for the encounter.",
        "definition": "Explanation of the reason for the encounter.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.reasonComment",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.legalStatus",
        "path": "EHDSEncounter.admission.legalStatus",
        "short": "Legal status/situation at admission (indicates the basis on which the patient is staying in a healthcare organisation).",
        "definition": "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": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.admission.legalStatus",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "SNOMED CT"
        }
      },
      {
        "id": "EHDSEncounter.discharge",
        "path": "EHDSEncounter.discharge",
        "short": "Discharge details",
        "definition": "Discharge details",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.discharge",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.discharge.destinationType",
        "path": "EHDSEncounter.discharge.destinationType",
        "short": "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
        "definition": "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.discharge.destinationType",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7.discharge-disposition"
        }
      },
      {
        "id": "EHDSEncounter.discharge.destinationLocation[x]",
        "path": "EHDSEncounter.discharge.destinationLocation[x]",
        "short": "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
        "definition": "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.discharge.destinationLocation[x]",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.location",
        "path": "EHDSEncounter.location",
        "short": "List of locations where the patient has been.",
        "definition": "List of locations where the patient has been.",
        "min": 0,
        "max": "*",
        "base": {
          "path": "EHDSEncounter.location",
          "min": 0,
          "max": "*"
        },
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.location.period",
        "path": "EHDSEncounter.location.period",
        "short": "Time period during which the patient was present at the location",
        "definition": "Time period during which the patient was present at the location",
        "min": 0,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.location.period",
          "min": 0,
          "max": "1"
        },
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.location.organisationPart[x]",
        "path": "EHDSEncounter.location.organisationPart[x]",
        "short": "Organisation or organisation part (department) where the patient was present.",
        "definition": "Organisation or organisation part (department) where the patient was present.",
        "min": 1,
        "max": "1",
        "base": {
          "path": "EHDSEncounter.location.organisationPart[x]",
          "min": 1,
          "max": "1"
        },
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
          }
        ]
      }
    ]
  },
  "differential": {
    "element": [
      {
        "id": "EHDSEncounter",
        "path": "EHDSEncounter",
        "short": "Encounter model",
        "definition": "EHDS refined base model for Encounter"
      },
      {
        "id": "EHDSEncounter.priority",
        "path": "EHDSEncounter.priority",
        "short": "Priority",
        "definition": "Indicates the urgency of the encounter.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7:v3-xEncounterAdmissionUrgency"
        }
      },
      {
        "id": "EHDSEncounter.type",
        "path": "EHDSEncounter.type",
        "short": "Encounter type",
        "definition": "The type of the encounter whether inpatient or short stay encounter.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7v3:ActEncounterCode"
        }
      },
      {
        "id": "EHDSEncounter.note",
        "path": "EHDSEncounter.note",
        "short": "A narrative description of the encounter course.",
        "definition": "A narrative description of the encounter course.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.episodeOfCare",
        "path": "EHDSEncounter.episodeOfCare",
        "short": "Reference to the episode(s) of care that this encounter should be recorded against",
        "definition": "Reference to the episode(s) of care that this encounter should be recorded against",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"
          }
        ]
      },
      {
        "id": "EHDSEncounter.basedOn[x]",
        "path": "EHDSEncounter.basedOn[x]",
        "short": "Reference to the request that initiated this encounter",
        "definition": "Reference to the request that initiated this encounter",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCarePlan"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSServiceRequest"
          }
        ]
      },
      {
        "id": "EHDSEncounter.partOf",
        "path": "EHDSEncounter.partOf",
        "short": "Reference to another encounter this encounter is part of",
        "definition": "Reference to another encounter this encounter is part of",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEncounter"
          }
        ]
      },
      {
        "id": "EHDSEncounter.serviceProvider",
        "path": "EHDSEncounter.serviceProvider",
        "short": "The organisation (facility) responsible for this encounter",
        "definition": "The organisation (facility) responsible for this encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.actualPeriod",
        "path": "EHDSEncounter.actualPeriod",
        "short": "The actual start and end time of the encounter",
        "definition": "The actual start and end time of the encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.plannedStartDate",
        "path": "EHDSEncounter.plannedStartDate",
        "short": "The planned start date/time (or admission date) of the encounter",
        "definition": "The planned start date/time (or admission date) of the encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.plannedEndDate",
        "path": "EHDSEncounter.plannedEndDate",
        "short": "The planned end date/time (or discharge date) of the encounter",
        "definition": "The planned end date/time (or discharge date) of the encounter",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission",
        "path": "EHDSEncounter.admission",
        "short": "Details about the admission to a healthcare service",
        "definition": "Details about the admission to a healthcare service",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitter",
        "path": "EHDSEncounter.admission.admitter",
        "short": "Admitting healthcare professional",
        "definition": "Admitting healthcare professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.admitSource",
        "path": "EHDSEncounter.admission.admitSource",
        "short": "From where the patient was admitted (e.g. physician referral, transfer).",
        "definition": "From where the patient was admitted (e.g. physician referral, transfer).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7:admit-source"
        }
      },
      {
        "id": "EHDSEncounter.admission.referringProfessional",
        "path": "EHDSEncounter.admission.referringProfessional",
        "short": "Referring Healthcare Professional",
        "definition": "Referring Healthcare Professional",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.reason[x]",
        "path": "EHDSEncounter.admission.reason[x]",
        "short": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "definition": "Reason(s) for admission, e.g. problem, procedure or finding.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "CodeableConcept"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.reasonComment",
        "path": "EHDSEncounter.admission.reasonComment",
        "short": "Explanation of the reason for the encounter.",
        "definition": "Explanation of the reason for the encounter.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "EHDSEncounter.admission.legalStatus",
        "path": "EHDSEncounter.admission.legalStatus",
        "short": "Legal status/situation at admission (indicates the basis on which the patient is staying in a healthcare organisation).",
        "definition": "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": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "SNOMED CT"
        }
      },
      {
        "id": "EHDSEncounter.discharge",
        "path": "EHDSEncounter.discharge",
        "short": "Discharge details",
        "definition": "Discharge details",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.discharge.destinationType",
        "path": "EHDSEncounter.discharge.destinationType",
        "short": "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
        "definition": "Type of location to which the patient will go after the encounter. E.g. home, hospital, nursing home, left against medical advice etc.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "preferred",
          "description": "hl7.discharge-disposition"
        }
      },
      {
        "id": "EHDSEncounter.discharge.destinationLocation[x]",
        "path": "EHDSEncounter.discharge.destinationLocation[x]",
        "short": "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
        "definition": "The location/organisation to which the patient will go after the encounter. Name, address and telecommunication contact.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
          }
        ]
      },
      {
        "id": "EHDSEncounter.location",
        "path": "EHDSEncounter.location",
        "short": "List of locations where the patient has been.",
        "definition": "List of locations where the patient has been.",
        "min": 0,
        "max": "*",
        "type": [
          {
            "code": "Base"
          }
        ]
      },
      {
        "id": "EHDSEncounter.location.period",
        "path": "EHDSEncounter.location.period",
        "short": "Time period during which the patient was present at the location",
        "definition": "Time period during which the patient was present at the location",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Period"
          }
        ]
      },
      {
        "id": "EHDSEncounter.location.organisationPart[x]",
        "path": "EHDSEncounter.location.organisationPart[x]",
        "short": "Organisation or organisation part (department) where the patient was present.",
        "definition": "Organisation or organisation part (department) where the patient was present.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"
          },
          {
            "code": "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSLocation"
          }
        ]
      }
    ]
  }
}