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 - JSON Profile

Draft as of 2025-07-08

JSON representation of the EHDSEpisodeOfCare logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "EHDSEpisodeOfCare",
      "text" : {
        "status" : "extensions",
        "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>\r\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>\r\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>\r\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>\r\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>\r\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>\r\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>\r\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>\r\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>\r\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>"
      },
      "extension" : [
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        }
      ],
      "url" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSEpisodeOfCare",
      "version" : "0.1.0",
      "name" : "EHDSEpisodeOfCare",
      "title" : "Episode of care model",
      "status" : "draft",
      "date" : "2025-07-08T13:43:56+00:00",
      "publisher" : "Xt-EHR",
      "contact" : [
        {
          "name" : "Xt-EHR",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://Xt-EHR.eu"
            }
          ]
        }
      ],
      "description" : "C.29 - EHDS refined base model for Episode of care",
      "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/EHDSEpisodeOfCare",
      "baseDefinition" : "http://hl7.org/fhir/StructureDefinition/Base",
      "derivation" : "specialization",
      "snapshot" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version",
            "valueString" : "5.0.0"
          }
        ],
        "element" : [
          {
            "id" : "EHDSEpisodeOfCare",
            "path" : "EHDSEpisodeOfCare",
            "short" : "Episode of care model",
            "definition" : "C.29 - EHDS refined base model for Episode of care",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.identifier",
            "path" : "EHDSEpisodeOfCare.identifier",
            "short" : "C.30.1 - Identifier",
            "definition" : "Episode of care identifier (Business identifiers assigned to this episode of care).",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEpisodeOfCare.identifier",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.type",
            "path" : "EHDSEpisodeOfCare.type",
            "short" : "C.30.2 - Type",
            "definition" : "A classification of the type of episode of care; e.g. specialist referral, disease management.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEpisodeOfCare.type",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.reasonText",
            "path" : "EHDSEpisodeOfCare.reasonText",
            "short" : "C.30.3 - Reason text",
            "definition" : "The medical reasons that are expected to be addressed during the episode of care - text.",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEpisodeOfCare.reasonText",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.reason",
            "path" : "EHDSEpisodeOfCare.reason",
            "short" : "C.30.4 - Reason",
            "definition" : "The list of medical reasons that are expected to be addressed during the episode of care - coded.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEpisodeOfCare.reason",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableReference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.diagnosis",
            "path" : "EHDSEpisodeOfCare.diagnosis",
            "short" : "C.30.5 - Diagnosis",
            "definition" : "The list of medical conditions that were addressed during the episode of care",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSEpisodeOfCare.diagnosis",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.diagnosis.description",
            "path" : "EHDSEpisodeOfCare.diagnosis.description",
            "short" : "C.30.5.1 - Description",
            "definition" : "The medical condition that was addressed during the episode of care - text.",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSEpisodeOfCare.diagnosis.description",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.diagnosis.condition",
            "path" : "EHDSEpisodeOfCare.diagnosis.condition",
            "short" : "C.30.5.2 - Condition",
            "definition" : "The medical condition that was addressed during the episode of care",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSEpisodeOfCare.diagnosis.condition",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableReference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.patient",
            "path" : "EHDSEpisodeOfCare.patient",
            "short" : "C.30.6 - Patient",
            "definition" : "The patient who is the focus of this episode of care",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSEpisodeOfCare.patient",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"
                ]
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "EHDSEpisodeOfCare",
            "path" : "EHDSEpisodeOfCare",
            "short" : "Episode of care model",
            "definition" : "C.29 - EHDS refined base model for Episode of care"
          },
          {
            "id" : "EHDSEpisodeOfCare.identifier",
            "path" : "EHDSEpisodeOfCare.identifier",
            "short" : "C.30.1 - Identifier",
            "definition" : "Episode of care identifier (Business identifiers assigned to this episode of care).",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Identifier"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.type",
            "path" : "EHDSEpisodeOfCare.type",
            "short" : "C.30.2 - Type",
            "definition" : "A classification of the type of episode of care; e.g. specialist referral, disease management.",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.reasonText",
            "path" : "EHDSEpisodeOfCare.reasonText",
            "short" : "C.30.3 - Reason text",
            "definition" : "The medical reasons that are expected to be addressed during the episode of care - text.",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.reason",
            "path" : "EHDSEpisodeOfCare.reason",
            "short" : "C.30.4 - Reason",
            "definition" : "The list of medical reasons that are expected to be addressed during the episode of care - coded.",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "CodeableReference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure"🔗 ,
                  "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.diagnosis",
            "path" : "EHDSEpisodeOfCare.diagnosis",
            "short" : "C.30.5 - Diagnosis",
            "definition" : "The list of medical conditions that were addressed during the episode of care",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.diagnosis.description",
            "path" : "EHDSEpisodeOfCare.diagnosis.description",
            "short" : "C.30.5.1 - Description",
            "definition" : "The medical condition that was addressed during the episode of care - text.",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.diagnosis.condition",
            "path" : "EHDSEpisodeOfCare.diagnosis.condition",
            "short" : "C.30.5.2 - Condition",
            "definition" : "The medical condition that was addressed during the episode of care",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableReference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition"
                ]
              }
            ]
          },
          {
            "id" : "EHDSEpisodeOfCare.patient",
            "path" : "EHDSEpisodeOfCare.patient",
            "short" : "C.30.6 - Patient",
            "definition" : "The patient who is the focus of this episode of care",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "Reference",
                "targetProfile" : [
                  🔗 "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"
                ]
              }
            ]
          }
        ]
      }
    }