EHDS Logical Information Models
0.1.0 - ci-build

EHDS Logical Information Models, published by Xt-EHR. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Xt-EHR/xt-ehr-common/tree/stakeholder-consultation-D6-1 and changes regularly. See the Directory of published versions

## Logical Model: EHDSEpisodeOfCare - TTL Profile

Draft as of 2025-07-08

TTL representation of the EHDSEpisodeOfCare logical model.

Raw ttl | Download

    @prefix fhir: <http://hl7.org/fhir/> .
    @prefix owl: <http://www.w3.org/2002/07/owl#> .
    @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:StructureDefinition ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "EHDSEpisodeOfCare"] ; #
      fhir:text [
    fhir:status [ fhir:v "extensions" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSEpisodeOfCare</b></p><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"The logical name of the element\">Name</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Information about the use of the element\">Flags</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the element can appear in the instance\">Card.</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; width: 100px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Reference to the type of the element\">Type</a></th><th style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Additional information about the element\">Description &amp; Constraints</a><span style=\"float: right\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/></a></span></th></tr><tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare\" title=\"C.29 - EHDS refined base model for Episode of care\">EHDSEpisodeOfCare</a><a name=\"EHDSEpisodeOfCare\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/types.html#Base\">Base</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Episode of care model<br/><span style=\"font-weight:bold\">Instances of this logical model can be the target of a Reference</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.identifier\" title=\"Episode of care identifier (Business identifiers assigned to this episode of care).\">identifier</a><a name=\"EHDSEpisodeOfCare.identifier\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.1 - Identifier<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.type\" title=\"A classification of the type of episode of care; e.g. specialist referral, disease management.\">type</a><a name=\"EHDSEpisodeOfCare.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#CodeableConcept\">CodeableConcept</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.2 - Type<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.reasonText\" title=\"The medical reasons that are expected to be addressed during the episode of care - text.\">reasonText</a><a name=\"EHDSEpisodeOfCare.reasonText\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.3 - Reason text</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.reason\" title=\"The list of medical reasons that are expected to be addressed during the episode of care - coded.\">reason</a><a name=\"EHDSEpisodeOfCare.reason\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">CodeableReference</a>(<a href=\"StructureDefinition-EHDSCondition.html\">Condition model</a> | <a href=\"StructureDefinition-EHDSProcedure.html\">Procedure model</a> | <a href=\"StructureDefinition-EHDSObservation.html\">Observation model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.4 - Reason<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.diagnosis\" title=\"The list of medical conditions that were addressed during the episode of care\">diagnosis</a><a name=\"EHDSEpisodeOfCare.diagnosis\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..*</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Base</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.5 - Diagnosis<br/></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.diagnosis.description\" title=\"The medical condition that was addressed during the episode of care - text.\">description</a><a name=\"EHDSEpisodeOfCare.diagnosis.description\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.5.1 - Description</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck100.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vline.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.diagnosis.condition\" title=\"The medical condition that was addressed during the episode of care\">condition</a><a name=\"EHDSEpisodeOfCare.diagnosis.condition\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">CodeableReference</a>(<a href=\"StructureDefinition-EHDSCondition.html\">Condition model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.5.2 - Condition</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck00.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSEpisodeOfCare-definitions.html#EHDSEpisodeOfCare.patient\" title=\"The patient who is the focus of this episode of care\">patient</a><a name=\"EHDSEpisodeOfCare.patient\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R5/references.html\">Reference</a>(<a href=\"StructureDefinition-EHDSPatient.html\">Patient model</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">C.30.6 - Patient</td></tr>#xD;\n<tr><td colspan=\"5\" class=\"hierarchy\"><br/><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Legend for this format\"><img src=\"data:image/png;base64, \" alt=\"doco\" style=\"background-color: inherit\"/> Documentation for this format</a></td></tr></table></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:extension ( [
    fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:code ;
    fhir:v "can-be-target"     ]
      ] ) ; #
      fhir:url [ fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"^^xsd:anyURI] ; #
      fhir:version [ fhir:v "0.1.0"] ; #
      fhir:name [ fhir:v "EHDSEpisodeOfCare"] ; #
      fhir:title [ fhir:v "Episode of care model"] ; #
      fhir:status [ fhir:v "draft"] ; #
      fhir:date [ fhir:v "2025-07-08T13:43:56+00:00"^^xsd:dateTime] ; #
      fhir:publisher [ fhir:v "Xt-EHR"] ; #
      fhir:contact ( [
    fhir:name [ fhir:v "Xt-EHR" ] ;
        ( fhir:telecom [
    fhir:system [ fhir:v "url" ] ;
    fhir:value [ fhir:v "http://Xt-EHR.eu" ]     ] )
      ] ) ; #
      fhir:description [ fhir:v "C.29 - EHDS refined base model for Episode of care"] ; #
      fhir:fhirVersion [ fhir:v "5.0.0"] ; #
      fhir:mapping ( [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:uri [ fhir:v "http://hl7.org/v3"^^xsd:anyURI ] ;
    fhir:name [ fhir:v "RIM Mapping" ]
      ] ) ; #
      fhir:kind [ fhir:v "logical"] ; #
      fhir:abstract [ fhir:v false] ; #
      fhir:type [ fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare"^^xsd:anyURI] ; #
      fhir:baseDefinition [
    fhir:v "http://hl7.org/fhir/StructureDefinition/Base"^^xsd:anyURI ;
    fhir:link <http://hl7.org/fhir/StructureDefinition/Base>
      ] ; #
      fhir:derivation [ fhir:v "specialization"] ; #
      fhir:snapshot [
        ( fhir:extension [
    fhir:url [ fhir:v "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version"^^xsd:anyURI ] ;
    fhir:value [
    a fhir:string ;
    fhir:v "5.0.0"       ]     ] ) ;
        ( fhir:element [
    fhir:id [ fhir:v "EHDSEpisodeOfCare" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare" ] ;
    fhir:short [ fhir:v "Episode of care model" ] ;
    fhir:definition [ fhir:v "C.29 - EHDS refined base model for Episode of care" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "Base" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
    fhir:isModifier [ fhir:v false ] ;
          ( fhir:mapping [
    fhir:identity [ fhir:v "rim" ] ;
    fhir:map [ fhir:v "n/a" ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.identifier" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.identifier" ] ;
    fhir:short [ fhir:v "C.30.1 - Identifier" ] ;
    fhir:definition [ fhir:v "Episode of care identifier (Business identifiers assigned to this episode of care)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.identifier" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.type" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.type" ] ;
    fhir:short [ fhir:v "C.30.2 - Type" ] ;
    fhir:definition [ fhir:v "A classification of the type of episode of care; e.g. specialist referral, disease management." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.type" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.reasonText" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.reasonText" ] ;
    fhir:short [ fhir:v "C.30.3 - Reason text" ] ;
    fhir:definition [ fhir:v "The medical reasons that are expected to be addressed during the episode of care - text." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.reasonText" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.reason" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.reason" ] ;
    fhir:short [ fhir:v "C.30.4 - Reason" ] ;
    fhir:definition [ fhir:v "The list of medical reasons that are expected to be addressed during the episode of care - coded." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.reason" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableReference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition>         ] [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure>         ] [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation>         ] )       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.diagnosis" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis" ] ;
    fhir:short [ fhir:v "C.30.5 - Diagnosis" ] ;
    fhir:definition [ fhir:v "The list of medical conditions that were addressed during the episode of care" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Base"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.diagnosis.description" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis.description" ] ;
    fhir:short [ fhir:v "C.30.5.1 - Description" ] ;
    fhir:definition [ fhir:v "The medical condition that was addressed during the episode of care - text." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis.description" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.diagnosis.condition" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis.condition" ] ;
    fhir:short [ fhir:v "C.30.5.2 - Condition" ] ;
    fhir:definition [ fhir:v "The medical condition that was addressed during the episode of care" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis.condition" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableReference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition>         ] )       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.patient" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.patient" ] ;
    fhir:short [ fhir:v "C.30.6 - Patient" ] ;
    fhir:definition [ fhir:v "The patient who is the focus of this episode of care" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
    fhir:base [
    fhir:path [ fhir:v "EHDSEpisodeOfCare.patient" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ]       ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient>         ] )       ] )     ] )
      ] ; #
      fhir:differential [
        ( fhir:element [
    fhir:id [ fhir:v "EHDSEpisodeOfCare" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare" ] ;
    fhir:short [ fhir:v "Episode of care model" ] ;
    fhir:definition [ fhir:v "C.29 - EHDS refined base model for Episode of care" ]     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.identifier" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.identifier" ] ;
    fhir:short [ fhir:v "C.30.1 - Identifier" ] ;
    fhir:definition [ fhir:v "Episode of care identifier (Business identifiers assigned to this episode of care)." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Identifier"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.type" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.type" ] ;
    fhir:short [ fhir:v "C.30.2 - Type" ] ;
    fhir:definition [ fhir:v "A classification of the type of episode of care; e.g. specialist referral, disease management." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableConcept"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.reasonText" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.reasonText" ] ;
    fhir:short [ fhir:v "C.30.3 - Reason text" ] ;
    fhir:definition [ fhir:v "The medical reasons that are expected to be addressed during the episode of care - text." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.reason" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.reason" ] ;
    fhir:short [ fhir:v "C.30.4 - Reason" ] ;
    fhir:definition [ fhir:v "The list of medical reasons that are expected to be addressed during the episode of care - coded." ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableReference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition>         ] [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure>         ] [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation>         ] )       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.diagnosis" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis" ] ;
    fhir:short [ fhir:v "C.30.5 - Diagnosis" ] ;
    fhir:definition [ fhir:v "The list of medical conditions that were addressed during the episode of care" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "*" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Base"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.diagnosis.description" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis.description" ] ;
    fhir:short [ fhir:v "C.30.5.1 - Description" ] ;
    fhir:definition [ fhir:v "The medical condition that was addressed during the episode of care - text." ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "string"^^xsd:anyURI ]       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.diagnosis.condition" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.diagnosis.condition" ] ;
    fhir:short [ fhir:v "C.30.5.2 - Condition" ] ;
    fhir:definition [ fhir:v "The medical condition that was addressed during the episode of care" ] ;
    fhir:min [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "CodeableReference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition>         ] )       ] )     ] [
    fhir:id [ fhir:v "EHDSEpisodeOfCare.patient" ] ;
    fhir:path [ fhir:v "EHDSEpisodeOfCare.patient" ] ;
    fhir:short [ fhir:v "C.30.6 - Patient" ] ;
    fhir:definition [ fhir:v "The patient who is the focus of this episode of care" ] ;
    fhir:min [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
    fhir:max [ fhir:v "1" ] ;
          ( fhir:type [
    fhir:code [ fhir:v "Reference"^^xsd:anyURI ] ;
            ( fhir:targetProfile [
    fhir:v "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"^^xsd:anyURI ;
    fhir:link <https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient>         ] )       ] )     ] )
      ] . #