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-D7-3 and changes regularly. See the Directory of published versions

## Logical Model: EHDSMedicationStatement - JSON Profile

Draft as of 2025-08-25

JSON representation of the EHDSMedicationStatement logical model.

Raw json | Download

    {
      "resourceType" : "StructureDefinition",
      "id" : "EHDSMedicationStatement",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition EHDSMedicationStatement</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-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement\" title=\"Statement about a single medication as part of a medication summary.\">EHDSMedicationStatement</a><a name=\"EHDSMedicationStatement\"> </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=\"StructureDefinition-EHDSDataSet.html\">EHDSDataSet</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\"><br/>Elements defined in Ancestors:<a href=\"StructureDefinition-EHDSDataSet.html\" title=\"Common header for all patient-related data\">header</a>, <a href=\"StructureDefinition-EHDSDataSet.html\" title=\"A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document\">presentedForm</a><br/>Medication statement 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-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.medicationTreatmentStatus\" title=\"The current status of the taking of medicine\">medicationTreatmentStatus</a><a name=\"EHDSMedicationStatement.medicationTreatmentStatus\"> </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#CodeableConcept\">CodeableConcept</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\">The current status of the taking of medicine</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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.medication\" title=\"Describes the medicinal product.\">medication</a><a name=\"EHDSMedicationStatement.medication\"> </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=\"StructureDefinition-EHDSMedication.html\">EHDSMedication</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\">Describes the medicinal product.</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-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.medicationReason\" title=\"Coded reason for the use of the medication (typically diagnosis, or a procedure)\">medicationReason</a><a name=\"EHDSMedicationStatement.medicationReason\"> </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#CodeableConcept\">CodeableConcept</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\">Coded reason for the use of the medication (typically diagnosis, or a procedure)<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_primitive.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Primitive Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.medicationReasonText\" title=\"Reason for the use of the medication (typically diagnosis, or a procedure) in free text.\">medicationReasonText</a><a name=\"EHDSMedicationStatement.medicationReasonText\"> </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..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\">Reason for the use of the medication (typically diagnosis, or a procedure) in free text.</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-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.intendedUseType\" title=\"The type of intended use of the medication, e.g. prophylactic, therapeutic, diagnostic, anesthesia, etc.\">intendedUseType</a><a name=\"EHDSMedicationStatement.intendedUseType\"> </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#CodeableConcept\">CodeableConcept</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\">The type of intended use of the medication, e.g. prophylactic, therapeutic, diagnostic, anesthesia, etc.</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_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.dosageInstructions\" title=\"Details of how medication is/was taken or should be taken. This includes the number of units per intake and frequency of intake over a specified duration of time. Example: 1 tablet every 24h, for 10 days .\">dosageInstructions</a><a name=\"EHDSMedicationStatement.dosageInstructions\"> </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..*</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=\"StructureDefinition-EHDSDosaging.html\">EHDSDosaging</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\">Details of how medication is/was taken or should be taken<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_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_datatype.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Data Type\" class=\"hierarchy\"/> <a href=\"StructureDefinition-EHDSMedicationStatement-definitions.html#EHDSMedicationStatement.periodOfUse\" title=\"Period when patient took, is taking or is expected to take the medication. This information may be expressed using start and end date times OR indicating the duration. The first is used to indicate a specified interval (e.g., from March 15th, 2017); the latter for indicating a 'floating' period (e.g., 2 weeks). In case of unbounded period (continuous therapy), the end element will be valued with an exceptional value.\">periodOfUse</a><a name=\"EHDSMedicationStatement.periodOfUse\"> </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#Period\">Period</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\">Period when patient took, is taking or is expected to take the medication</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" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics",
          "valueCode" : "can-be-target"
        }
      ],
      "url" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedicationStatement",
      "version" : "0.1.0",
      "name" : "EHDSMedicationStatement",
      "title" : "Medication statement model",
      "status" : "draft",
      "date" : "2025-08-25T17:05:40+00:00",
      "publisher" : "Xt-EHR",
      "contact" : [
        {
          "name" : "Xt-EHR",
          "telecom" : [
            {
              "system" : "url",
              "value" : "http://Xt-EHR.eu"
            }
          ]
        }
      ],
      "description" : "Statement about a single medication as part of a medication summary.",
      "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/EHDSMedicationStatement",
      "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" : "EHDSMedicationStatement",
            "path" : "EHDSMedicationStatement",
            "short" : "Medication statement model",
            "definition" : "Statement about a single medication as part of a medication summary.",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "Base",
              "min" : 0,
              "max" : "*"
            },
            "isModifier" : false,
            "mapping" : [
              {
                "identity" : "rim",
                "map" : "n/a"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.header",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.subject",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.identifier",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.authorship",
            "path" : "EHDSMedicationStatement.header.authorship",
            "short" : "Authorship",
            "definition" : "Resource authoring details",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "EHDSDataSet.header.authorship",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "Base"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.header.authorship.author[x]",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.authorship.datetime",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.lastUpdate",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.status",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.statusReason[x]",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.language",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.header.version",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.presentedForm",
            "path" : "EHDSMedicationStatement.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" : "EHDSMedicationStatement.medicationTreatmentStatus",
            "path" : "EHDSMedicationStatement.medicationTreatmentStatus",
            "short" : "The current status of the taking of medicine",
            "definition" : "The current status of the taking of medicine",
            "requirements" : "MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationStatement.medicationTreatmentStatus",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.medication",
            "path" : "EHDSMedicationStatement.medication",
            "short" : "Describes the medicinal product.",
            "definition" : "Describes the medicinal product.",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 1,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationStatement.medication",
              "min" : 1,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.medicationReason",
            "path" : "EHDSMedicationStatement.medicationReason",
            "short" : "Coded reason for the use of the medication (typically diagnosis, or a procedure)",
            "definition" : "Coded reason for the use of the medication (typically diagnosis, or a procedure)",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 0,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationStatement.medicationReason",
              "min" : 0,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.medicationReasonText",
            "path" : "EHDSMedicationStatement.medicationReasonText",
            "short" : "Reason for the use of the medication (typically diagnosis, or a procedure) in free text.",
            "definition" : "Reason for the use of the medication (typically diagnosis, or a procedure) in free text.",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationStatement.medicationReasonText",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.intendedUseType",
            "path" : "EHDSMedicationStatement.intendedUseType",
            "short" : "The type of intended use of the medication, e.g. prophylactic, therapeutic, diagnostic, anesthesia, etc.",
            "definition" : "The type of intended use of the medication, e.g. prophylactic, therapeutic, diagnostic, anesthesia, etc.",
            "requirements" : "eHN PS Guideline, MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationStatement.intendedUseType",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.dosageInstructions",
            "path" : "EHDSMedicationStatement.dosageInstructions",
            "short" : "Details of how medication is/was taken or should be taken",
            "definition" : "Details of how medication is/was taken or should be taken. This includes the number of units per intake and frequency of intake over a specified duration of time. Example: 1 tablet every 24h, for 10 days .",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 1,
            "max" : "*",
            "base" : {
              "path" : "EHDSMedicationStatement.dosageInstructions",
              "min" : 1,
              "max" : "*"
            },
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.periodOfUse",
            "path" : "EHDSMedicationStatement.periodOfUse",
            "short" : "Period when patient took, is taking or is expected to take the medication",
            "definition" : "Period when patient took, is taking or is expected to take the medication. This information may be expressed using start and end date times OR indicating the duration. The first is used to indicate a specified interval (e.g., from March 15th, 2017); the latter for indicating a 'floating' period (e.g., 2 weeks). In case of unbounded period (continuous therapy), the end element will be valued with an exceptional value.",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "base" : {
              "path" : "EHDSMedicationStatement.periodOfUse",
              "min" : 0,
              "max" : "1"
            },
            "type" : [
              {
                "code" : "Period"
              }
            ]
          }
        ]
      },
      "differential" : {
        "element" : [
          {
            "id" : "EHDSMedicationStatement",
            "path" : "EHDSMedicationStatement",
            "short" : "Medication statement model",
            "definition" : "Statement about a single medication as part of a medication summary."
          },
          {
            "id" : "EHDSMedicationStatement.medicationTreatmentStatus",
            "path" : "EHDSMedicationStatement.medicationTreatmentStatus",
            "short" : "The current status of the taking of medicine",
            "definition" : "The current status of the taking of medicine",
            "requirements" : "MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.medication",
            "path" : "EHDSMedicationStatement.medication",
            "short" : "Describes the medicinal product.",
            "definition" : "Describes the medicinal product.",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 1,
            "max" : "1",
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSMedication"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.medicationReason",
            "path" : "EHDSMedicationStatement.medicationReason",
            "short" : "Coded reason for the use of the medication (typically diagnosis, or a procedure)",
            "definition" : "Coded reason for the use of the medication (typically diagnosis, or a procedure)",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 0,
            "max" : "*",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.medicationReasonText",
            "path" : "EHDSMedicationStatement.medicationReasonText",
            "short" : "Reason for the use of the medication (typically diagnosis, or a procedure) in free text.",
            "definition" : "Reason for the use of the medication (typically diagnosis, or a procedure) in free text.",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "string"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.intendedUseType",
            "path" : "EHDSMedicationStatement.intendedUseType",
            "short" : "The type of intended use of the medication, e.g. prophylactic, therapeutic, diagnostic, anesthesia, etc.",
            "definition" : "The type of intended use of the medication, e.g. prophylactic, therapeutic, diagnostic, anesthesia, etc.",
            "requirements" : "eHN PS Guideline, MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "CodeableConcept"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.dosageInstructions",
            "path" : "EHDSMedicationStatement.dosageInstructions",
            "short" : "Details of how medication is/was taken or should be taken",
            "definition" : "Details of how medication is/was taken or should be taken. This includes the number of units per intake and frequency of intake over a specified duration of time. Example: 1 tablet every 24h, for 10 days .",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 1,
            "max" : "*",
            "type" : [
              {
                "code" : "https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDosaging"
              }
            ]
          },
          {
            "id" : "EHDSMedicationStatement.periodOfUse",
            "path" : "EHDSMedicationStatement.periodOfUse",
            "short" : "Period when patient took, is taking or is expected to take the medication",
            "definition" : "Period when patient took, is taking or is expected to take the medication. This information may be expressed using start and end date times OR indicating the duration. The first is used to indicate a specified interval (e.g., from March 15th, 2017); the latter for indicating a 'floating' period (e.g., 2 weeks). In case of unbounded period (continuous therapy), the end element will be valued with an exceptional value.",
            "requirements" : "eHN PS Guideline, ISO IPS, MyHealth@EU",
            "min" : 0,
            "max" : "1",
            "type" : [
              {
                "code" : "Period"
              }
            ]
          }
        ]
      }
    }