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: EHDSDocument - XML Profile

Draft as of 2025-08-25

XML representation of the EHDSDocument logical model.

Raw xml | Download

    <StructureDefinition xmlns="http://hl7.org/fhir">
      <id value="EHDSDocument"/>
      <text>
        <status value="extensions"/>
        <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition EHDSDocument</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-EHDSDocument-definitions.html#EHDSDocument" title="EHDS refined base model for common document data elements, including the common header. Data relevant to document type and its content for administrative and searching purposes.">EHDSDocument</a><a name="EHDSDocument"> </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/>Document model<br/><span style="font-weight:bold">Instances of this logical model can be the target of a Reference</span></td></tr>
    <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_element.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header">header</a><a name="EHDSDocument.header"> </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"><span style="opacity: 0.5">1</span><span style="opacity: 0.5">..</span><span style="opacity: 0.5">1</span></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"><span style="opacity: 0.5">Base</span></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">Document header elements</td></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_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_element.gif" alt="." style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.identifier" title="Unique identifier of the document">identifier</a><a name="EHDSDocument.header.identifier"> </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..<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 style="opacity: 0.5; opacity: 0.5" 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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px" class="hierarchy">Document ID</td></tr>
    <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_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_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.documentType" title="Identifies the type of document at hand, e.g. Discharge report.">documentType</a><a name="EHDSDocument.header.documentType"> </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">1..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">Document type<br class="binding"/><span style="font-weight:bold" title="null" class="binding">Binding Description: </span><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a><span title="null" class="binding">)</span><span title="null" class="binding">: </span><span title="null" class="binding">LOINC</span></td></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_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-EHDSDocument-definitions.html#EHDSDocument.header.documentTitle" title="Document title, such as Discharge Report, Laboratory Result Report, etc.">documentTitle</a><a name="EHDSDocument.header.documentTitle"> </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">Document title</td></tr>
    <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_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_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.documentStatus" title="The status of the Discharge report. E.g., preliminary, final.">documentStatus</a><a name="EHDSDocument.header.documentStatus"> </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">1..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">Document status<br class="binding"/><span style="font-weight:bold" title="null" class="binding">Binding Description: </span><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a><span title="null" class="binding">)</span><span title="null" class="binding">: </span><span title="null" class="binding">hl7:CompositionStatus</span></td></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_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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.period" title="Time of service that is being documented">period</a><a name="EHDSDocument.header.period"> </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#Period">Period</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">Period</td></tr>
    <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_bck111.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_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.attestation" title="Document attestation details">attestation</a><a name="EHDSDocument.header.attestation"> </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">Attestation<br/></td></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_bck1110.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_vline.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-EHDSDocument-definitions.html#EHDSDocument.header.attestation.attester" title="Attester who validated the document. Mulitple attesters could be provided.">attester</a><a name="EHDSDocument.header.attestation.attester"> </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-EHDSHealthProfessional.html">EHDSHealthProfessional</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">Attester</td></tr>
    <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_bck1100.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_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_primitive.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.attestation.datetime" title="Date and time of the approval of the document by Attester.">datetime</a><a name="EHDSDocument.header.attestation.datetime"> </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">1..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#dateTime">dateTime</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">DateTime</td></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_bck111.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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.legalAuthentication" title="Document legal authentication">legalAuthentication</a><a name="EHDSDocument.header.legalAuthentication"> </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">Base</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">Legal authentication</td></tr>
    <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_bck1110.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_vline.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: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.legalAuthentication.legalAuthenticator" title="The person taking responsibility for the medical content of the document">legalAuthenticator</a><a name="EHDSDocument.header.legalAuthentication.legalAuthenticator"> </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">1..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="StructureDefinition-EHDSHealthProfessional.html">EHDSHealthProfessional</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">Legal authenticator</td></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_bck1100.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_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_primitive.png" alt="." style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.legalAuthentication.datetime" title="Date and time when the document was authorized.">datetime</a><a name="EHDSDocument.header.legalAuthentication.datetime"> </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#dateTime">dateTime</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">DateTime</td></tr>
    <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_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_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.eventType" title="Categorization of the event covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of such tags or labels depends on the use case and agreement betwen data sharing parties. This meta-data element serves primarily for searching and filtering purpuses.">eventType</a><a name="EHDSDocument.header.eventType"> </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">Event type<br class="binding"/><span style="font-weight:bold" title="null" class="binding">Binding Description: </span><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a><span title="null" class="binding">)</span><span title="null" class="binding">: </span><span title="null" class="binding">LOINC, SNOMED CT, dicom-cid-33-Modality</span><br/></td></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_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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.authorSpecialty" title="Additional details about where the content was created (e.g. clinical specialty)">authorSpecialty</a><a name="EHDSDocument.header.authorSpecialty"> </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">Specialty<br class="binding"/><span style="font-weight:bold" title="null" class="binding">Binding Description: </span><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a><span title="null" class="binding">)</span><span title="null" class="binding">: </span><span title="null" class="binding">SNOMED CT</span><br/></td></tr>
    <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_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_resource.png" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Resource" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.custodian" title="Organisation that is in charge of maintaining the document/report.">custodian</a><a name="EHDSDocument.header.custodian"> </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">1..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="StructureDefinition-EHDSOrganisation.html">EHDSOrganisation</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">Document custodian</td></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_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_datatype.gif" alt="." style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.documentFormat" title="An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.">documentFormat</a><a name="EHDSDocument.header.documentFormat"> </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#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">Document format<br class="binding"/><span style="font-weight:bold" title="null" class="binding">Binding Description: </span><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a><span title="null" class="binding">)</span><span title="null" class="binding">: </span><span title="null" class="binding">HL7 Document Format Codes</span></td></tr>
    <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_datatype.gif" alt="." style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.confidentiality" title="Level of confidentiality of the document. Implicit value is normal.">confidentiality</a><a name="EHDSDocument.header.confidentiality"> </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">Confidentiality<br class="binding"/><span style="font-weight:bold" title="null" class="binding">Binding Description: </span><span title="null" class="binding"> (</span><a href="http://hl7.org/fhir/R5/terminologies.html#preferred" title="Instances are encouraged to draw from the specified codes for interoperability purposes but are not required to do so to be considered conformant." class="binding">preferred</a><span title="null" class="binding">)</span><span title="null" class="binding">: </span><span title="null" class="binding">hl7:Confidentiality</span></td></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_bck01.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: white; background-color: inherit" title="Data Type" class="hierarchy"/> <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.knowledgeResources" title="Related documents and information sources">knowledgeResources</a><a name="EHDSDocument.knowledgeResources"> </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">Base</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">Related documents and information sources<br/></td></tr>
    <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_bck010.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.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-EHDSDocument-definitions.html#EHDSDocument.knowledgeResources.externalReference" title="...">externalReference</a><a name="EHDSDocument.knowledgeResources.externalReference"> </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/metadatatypes.html#RelatedArtifact">RelatedArtifact</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">...<br/></td></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_bck000.png)" class="hierarchy"><img src="tbl_spacer.png" alt="." style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.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-EHDSDocument-definitions.html#EHDSDocument.knowledgeResources.relatedTo" title="...">relatedTo</a><a name="EHDSDocument.knowledgeResources.relatedTo"> </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">Reference</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/></td></tr>
    <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>
      </text>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
        <valueCode value="can-be-target"/>
      </extension>
      <extension
                 url="http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics">
        <valueCode value="can-be-target"/>
      </extension>
      <url
           value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDocument"/>
      <version value="0.1.0"/>
      <name value="EHDSDocument"/>
      <title value="Document model"/>
      <status value="draft"/>
      <date value="2025-08-25T17:05:40+00:00"/>
      <publisher value="Xt-EHR"/>
      <contact>
        <name value="Xt-EHR"/>
        <telecom>
          <system value="url"/>
          <value value="http://Xt-EHR.eu"/>
        </telecom>
      </contact>
      <description
                   value="EHDS refined base model for common document data elements, including the common header. Data relevant to document type and its content for administrative and searching purposes."/>
      <fhirVersion value="5.0.0"/>
      <mapping>
        <identity value="rim"/>
        <uri value="http://hl7.org/v3"/>
        <name value="RIM Mapping"/>
      </mapping>
      <kind value="logical"/>
      <abstract value="false"/>
      <type
            value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDocument"/>
      <baseDefinition
                      value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet"/>
      <derivation value="specialization"/>
      <snapshot>
        <extension
                   url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
          <valueString value="0.1.0"/>
        </extension>
        <element id="EHDSDocument">
          <path value="EHDSDocument"/>
          <short value="Document model"/>
          <definition
                      value="EHDS refined base model for common document data elements, including the common header. Data relevant to document type and its content for administrative and searching purposes."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="Base"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <isModifier value="false"/>
          <mapping>
            <identity value="rim"/>
            <map value="n/a"/>
          </mapping>
        </element>
        <element id="EHDSDocument.header">
          <path value="EHDSDocument.header"/>
          <short value="Document header elements"/>
          <definition value="Common header for all patient-related data"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.header.subject">
          <path value="EHDSDocument.header.subject"/>
          <short value="Subject"/>
          <definition value="Patient/subject information"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.subject"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient"/>
          </type>
        </element>
        <element id="EHDSDocument.header.identifier">
          <path value="EHDSDocument.header.identifier"/>
          <short value="Document ID"/>
          <definition value="Unique identifier of the document"/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="EHDSDataSet.header.identifier"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Identifier"/>
          </type>
        </element>
        <element id="EHDSDocument.header.authorship">
          <path value="EHDSDocument.header.authorship"/>
          <short value="Authorship"/>
          <definition value="Resource authoring details"/>
          <min value="1"/>
          <max value="*"/>
          <base>
            <path value="EHDSDataSet.header.authorship"/>
            <min value="1"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.header.authorship.author[x]">
          <path value="EHDSDocument.header.authorship.author[x]"/>
          <short value="Author"/>
          <definition
                      value="Author(s) by whom the resource was/were authored. Multiple authors could be provided."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.authorship.author[x]"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
          </type>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"/>
          </type>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice"/>
          </type>
        </element>
        <element id="EHDSDocument.header.authorship.datetime">
          <path value="EHDSDocument.header.authorship.datetime"/>
          <short value="Date and time of authoring/issuing"/>
          <definition
                      value="Date and time of the issuing the document/resource by its author."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.authorship.datetime"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSDocument.header.lastUpdate">
          <path value="EHDSDocument.header.lastUpdate"/>
          <short value="Date and time of the last update to the resource"/>
          <definition
                      value="Date and time of the last update to the document/information"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.lastUpdate"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSDocument.header.status">
          <path value="EHDSDocument.header.status"/>
          <short value="Status of the resource"/>
          <definition value="Status of the resource"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.status"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
        </element>
        <element id="EHDSDocument.header.statusReason[x]">
          <path value="EHDSDocument.header.statusReason[x]"/>
          <short value="Reason for the current status of the resource."/>
          <definition value="Reason for the current status of the resource."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.statusReason[x]"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSDocument.header.language">
          <path value="EHDSDocument.header.language"/>
          <short value="Language"/>
          <definition
                      value="Language in which the resource is written. Language is expressed by the IETF language tag."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.language"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="BCP 47"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.version">
          <path value="EHDSDocument.header.version"/>
          <short value="Version"/>
          <definition value="Business version of the resource."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDataSet.header.version"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSDocument.presentedForm">
          <path value="EHDSDocument.presentedForm"/>
          <short
                 value="A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document"/>
          <definition
                      value="A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDataSet.presentedForm"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment"/>
          </type>
        </element>
        <element id="EHDSDocument.header.documentType">
          <path value="EHDSDocument.header.documentType"/>
          <short value="Document type"/>
          <definition
                      value="Identifies the type of document at hand, e.g. Discharge report."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.documentType"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="LOINC"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.documentTitle">
          <path value="EHDSDocument.header.documentTitle"/>
          <short value="Document title"/>
          <definition
                      value="Document title, such as Discharge Report, Laboratory Result Report, etc."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.documentTitle"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSDocument.header.documentStatus">
          <path value="EHDSDocument.header.documentStatus"/>
          <short value="Document status"/>
          <definition
                      value="The status of the Discharge report. E.g., preliminary, final."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.documentStatus"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="hl7:CompositionStatus"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.period">
          <path value="EHDSDocument.header.period"/>
          <short value="Period"/>
          <definition value="Time of service that is being documented"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.period"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Period"/>
          </type>
        </element>
        <element id="EHDSDocument.header.attestation">
          <path value="EHDSDocument.header.attestation"/>
          <short value="Attestation"/>
          <definition value="Document attestation details"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDocument.header.attestation"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.header.attestation.attester">
          <path value="EHDSDocument.header.attestation.attester"/>
          <short value="Attester"/>
          <definition
                      value="Attester who validated the document. Mulitple attesters could be provided."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.attestation.attester"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
          </type>
        </element>
        <element id="EHDSDocument.header.attestation.datetime">
          <path value="EHDSDocument.header.attestation.datetime"/>
          <short value="DateTime"/>
          <definition
                      value="Date and time of the approval of the document by Attester."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.attestation.datetime"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSDocument.header.legalAuthentication">
          <path value="EHDSDocument.header.legalAuthentication"/>
          <short value="Legal authentication"/>
          <definition value="Document legal authentication"/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.legalAuthentication"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.header.legalAuthentication.legalAuthenticator">
          <path
                value="EHDSDocument.header.legalAuthentication.legalAuthenticator"/>
          <short value="Legal authenticator"/>
          <definition
                      value="The person taking responsibility for the medical content of the document"/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path
                  value="EHDSDocument.header.legalAuthentication.legalAuthenticator"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
          </type>
        </element>
        <element id="EHDSDocument.header.legalAuthentication.datetime">
          <path value="EHDSDocument.header.legalAuthentication.datetime"/>
          <short value="DateTime"/>
          <definition value="Date and time when the document was authorized."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.legalAuthentication.datetime"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSDocument.header.eventType">
          <path value="EHDSDocument.header.eventType"/>
          <short value="Event type"/>
          <definition
                      value="Categorization of the event covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of such tags or labels depends on the use case and agreement betwen data sharing parties. This meta-data element serves primarily for searching and filtering purpuses."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDocument.header.eventType"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="LOINC, SNOMED CT, dicom-cid-33-Modality"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.authorSpecialty">
          <path value="EHDSDocument.header.authorSpecialty"/>
          <short value="Specialty"/>
          <definition
                      value="Additional details about where the content was created (e.g. clinical specialty)"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDocument.header.authorSpecialty"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.custodian">
          <path value="EHDSDocument.header.custodian"/>
          <short value="Document custodian"/>
          <definition
                      value="Organisation that is in charge of maintaining the document/report."/>
          <min value="1"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.custodian"/>
            <min value="1"/>
            <max value="1"/>
          </base>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"/>
          </type>
        </element>
        <element id="EHDSDocument.header.documentFormat">
          <path value="EHDSDocument.header.documentFormat"/>
          <short value="Document format"/>
          <definition
                      value="An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.documentFormat"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="HL7 Document Format Codes"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.confidentiality">
          <path value="EHDSDocument.header.confidentiality"/>
          <short value="Confidentiality"/>
          <definition
                      value="Level of confidentiality of the document. Implicit value is normal."/>
          <min value="0"/>
          <max value="1"/>
          <base>
            <path value="EHDSDocument.header.confidentiality"/>
            <min value="0"/>
            <max value="1"/>
          </base>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="hl7:Confidentiality"/>
          </binding>
        </element>
        <element id="EHDSDocument.knowledgeResources">
          <path value="EHDSDocument.knowledgeResources"/>
          <short value="Related documents and information sources"/>
          <definition value="Related documents and information sources"/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDocument.knowledgeResources"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.knowledgeResources.externalReference">
          <path value="EHDSDocument.knowledgeResources.externalReference"/>
          <short value="..."/>
          <definition value="..."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDocument.knowledgeResources.externalReference"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="RelatedArtifact"/>
          </type>
        </element>
        <element id="EHDSDocument.knowledgeResources.relatedTo">
          <path value="EHDSDocument.knowledgeResources.relatedTo"/>
          <short value="..."/>
          <definition value="..."/>
          <min value="0"/>
          <max value="*"/>
          <base>
            <path value="EHDSDocument.knowledgeResources.relatedTo"/>
            <min value="0"/>
            <max value="*"/>
          </base>
          <type>
            <code value="Reference"/>
          </type>
        </element>
      </snapshot>
      <differential>
        <element id="EHDSDocument">
          <path value="EHDSDocument"/>
          <short value="Document model"/>
          <definition
                      value="EHDS refined base model for common document data elements, including the common header. Data relevant to document type and its content for administrative and searching purposes."/>
        </element>
        <element id="EHDSDocument.header">
          <path value="EHDSDocument.header"/>
          <short value="Document header elements"/>
        </element>
        <element id="EHDSDocument.header.identifier">
          <path value="EHDSDocument.header.identifier"/>
          <short value="Document ID"/>
          <definition value="Unique identifier of the document"/>
          <min value="1"/>
        </element>
        <element id="EHDSDocument.header.documentType">
          <path value="EHDSDocument.header.documentType"/>
          <short value="Document type"/>
          <definition
                      value="Identifies the type of document at hand, e.g. Discharge report."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="LOINC"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.documentTitle">
          <path value="EHDSDocument.header.documentTitle"/>
          <short value="Document title"/>
          <definition
                      value="Document title, such as Discharge Report, Laboratory Result Report, etc."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="string"/>
          </type>
        </element>
        <element id="EHDSDocument.header.documentStatus">
          <path value="EHDSDocument.header.documentStatus"/>
          <short value="Document status"/>
          <definition
                      value="The status of the Discharge report. E.g., preliminary, final."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="hl7:CompositionStatus"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.period">
          <path value="EHDSDocument.header.period"/>
          <short value="Period"/>
          <definition value="Time of service that is being documented"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="Period"/>
          </type>
        </element>
        <element id="EHDSDocument.header.attestation">
          <path value="EHDSDocument.header.attestation"/>
          <short value="Attestation"/>
          <definition value="Document attestation details"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.header.attestation.attester">
          <path value="EHDSDocument.header.attestation.attester"/>
          <short value="Attester"/>
          <definition
                      value="Attester who validated the document. Mulitple attesters could be provided."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
          </type>
        </element>
        <element id="EHDSDocument.header.attestation.datetime">
          <path value="EHDSDocument.header.attestation.datetime"/>
          <short value="DateTime"/>
          <definition
                      value="Date and time of the approval of the document by Attester."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSDocument.header.legalAuthentication">
          <path value="EHDSDocument.header.legalAuthentication"/>
          <short value="Legal authentication"/>
          <definition value="Document legal authentication"/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.header.legalAuthentication.legalAuthenticator">
          <path
                value="EHDSDocument.header.legalAuthentication.legalAuthenticator"/>
          <short value="Legal authenticator"/>
          <definition
                      value="The person taking responsibility for the medical content of the document"/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional"/>
          </type>
        </element>
        <element id="EHDSDocument.header.legalAuthentication.datetime">
          <path value="EHDSDocument.header.legalAuthentication.datetime"/>
          <short value="DateTime"/>
          <definition value="Date and time when the document was authorized."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code value="dateTime"/>
          </type>
        </element>
        <element id="EHDSDocument.header.eventType">
          <path value="EHDSDocument.header.eventType"/>
          <short value="Event type"/>
          <definition
                      value="Categorization of the event covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of such tags or labels depends on the use case and agreement betwen data sharing parties. This meta-data element serves primarily for searching and filtering purpuses."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="LOINC, SNOMED CT, dicom-cid-33-Modality"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.authorSpecialty">
          <path value="EHDSDocument.header.authorSpecialty"/>
          <short value="Specialty"/>
          <definition
                      value="Additional details about where the content was created (e.g. clinical specialty)"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="SNOMED CT"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.custodian">
          <path value="EHDSDocument.header.custodian"/>
          <short value="Document custodian"/>
          <definition
                      value="Organisation that is in charge of maintaining the document/report."/>
          <min value="1"/>
          <max value="1"/>
          <type>
            <code
                  value="https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation"/>
          </type>
        </element>
        <element id="EHDSDocument.header.documentFormat">
          <path value="EHDSDocument.header.documentFormat"/>
          <short value="Document format"/>
          <definition
                      value="An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="HL7 Document Format Codes"/>
          </binding>
        </element>
        <element id="EHDSDocument.header.confidentiality">
          <path value="EHDSDocument.header.confidentiality"/>
          <short value="Confidentiality"/>
          <definition
                      value="Level of confidentiality of the document. Implicit value is normal."/>
          <min value="0"/>
          <max value="1"/>
          <type>
            <code value="CodeableConcept"/>
          </type>
          <binding>
            <strength value="preferred"/>
            <description value="hl7:Confidentiality"/>
          </binding>
        </element>
        <element id="EHDSDocument.knowledgeResources">
          <path value="EHDSDocument.knowledgeResources"/>
          <short value="Related documents and information sources"/>
          <definition value="Related documents and information sources"/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Base"/>
          </type>
        </element>
        <element id="EHDSDocument.knowledgeResources.externalReference">
          <path value="EHDSDocument.knowledgeResources.externalReference"/>
          <short value="..."/>
          <definition value="..."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="RelatedArtifact"/>
          </type>
        </element>
        <element id="EHDSDocument.knowledgeResources.relatedTo">
          <path value="EHDSDocument.knowledgeResources.relatedTo"/>
          <short value="..."/>
          <definition value="..."/>
          <min value="0"/>
          <max value="*"/>
          <type>
            <code value="Reference"/>
          </type>
        </element>
      </differential>
    </StructureDefinition>