Xt-EHR Metadata Standards
0.1.0 - ci-build

Xt-EHR Metadata Standards, 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-metadata/ and changes regularly. See the Directory of published versions

Logical Model: EHDSDataSet - Detailed Descriptions

Draft as of 2025-08-21

Definitions for the EHDSDataSet logical model.

Guidance on how to interpret the contents of this table can be foundhere

0. EHDSDataSet
Definition

Common elements for all EHDS data exchange.


Base definition for all types defined in FHIR type system.

ShortEHDS data exchangeBase for all types and resources
Control0..*
Is Modifierfalse
Logical ModelInstances of this logical model are not marked to be the target of a Reference
2. EHDSDataSet.identifier
Definition

Unique identifier of the data object

ShortDocument ID
NoteThis is a business identifier, not a resource identifier (see discussion)
Control0..*
TypeIdentifier
4. EHDSDataSet.subject
Definition

Patient/subject information

ShortSubject
Control0..1
Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
6. EHDSDataSet.country
Definition

Country of the data exchange initiator.

ShortCountry
Control0..1
Binding

ISO 3166

TypeCodeableConcept
8. EHDSDataSet.relatedPerson
Definition

Patient/subject guardian and related person information

ShortRelated person
Control0..*
TypeBackboneElement
Requirements

Some roles for the related person are essential for data access control. For example, the role of the guardian is essential for the data access control of a minor patient.

Definitional Codes[not stated] A.1.2
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
10. EHDSDataSet.relatedPerson.id
Definition

Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

ShortUnique id for inter-element referencing
Control0..1
This element is affected by the following invariants: ele-1
Typeidstring
Is Modifierfalse
XML FormatIn the XML format, this property is represented as an attribute.
Summaryfalse
12. EHDSDataSet.relatedPerson.extension
Definition

May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on EHDSDataSet.relatedPerson.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • 14. EHDSDataSet.relatedPerson.modifierExtension
    Definition

    May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensions that cannot be ignored even if unrecognized
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
    Summarytrue
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content, modifiers
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    16. EHDSDataSet.relatedPerson.person
    Definition

    Identification and description of the contact person for that patient. This includes relatives, guardians, caring persons etc.

    ShortIdentification and description of the person
    Control0..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
    18. EHDSDataSet.relatedPerson.relationship
    Definition

    The nature of the relationship between the patient and the related person.

    ShortRelationship
    Control0..1
    Binding

    HL7 RoleCode

    TypeCodeableConcept
    Requirements

    Some roles for the related person are essential for data access control. For example, the role of the guardian is essential for the data access control of a minor patient.

    Definitional Codes[not stated] C.13.3
    20. EHDSDataSet.authorship
    Definition

    Document/resource authoring details

    ShortAuthorship
    Control1..*
    TypeBase
    22. EHDSDataSet.authorship.author
    Definition

    Author by whom the resource was/were authored. Multiple authors could be provided.

    ShortAuthor
    Control1..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    Definitional Codes[not stated] A.1.6.1
    24. EHDSDataSet.authorship.datetime
    Definition

    Date and time of the issuing the document/resource by its author.

    ShortDate and time of authoring/issuing
    Control1..1
    TypedateTime
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Definitional Codes[not stated] A.1.6.2
    26. EHDSDataSet.lastUpdate
    Definition

    Date and time of the last update to the document/information

    ShortDate and time of the last update to the data object
    Control0..1
    TypedateTime
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    28. EHDSDataSet.status
    Definition

    Status of the information

    ShortStatus of the information
    Control1..1
    TypeCodeableConcept
    30. EHDSDataSet.version
    Definition

    Business version of the data object.

    ShortVersion
    NoteThis is a business version Id, not a resource version Id (see discussion)
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    32. EHDSDataSet.language
    Definition

    Language in which the information is written. Language is expressed by the IETF language tag.

    ShortLanguage
    Control0..1
    Binding

    BCP 47

    TypeCodeableConcept
    Definitional Codes[not stated] A.1.9.12
    34. EHDSDataSet.presentation
    Definition

    The presentation of the data, e.g. a PDF document, a video, a text file, etc. In case of unstructured data, this is the actual content.

    ShortPresentation form
    Control1..*
    TypeBase
    36. EHDSDataSet.presentation.author
    Definition

    Author by whom the resource was/were authored. Multiple authors could be provided.

    ShortAuthor
    Control1..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    Definitional Codes[not stated] A.1.6.1
    38. EHDSDataSet.presentation.datetime
    Definition

    Date and time of the issuing the document/resource by its author.

    ShortDate and time of authoring/issuing
    Control1..1
    TypedateTime
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Definitional Codes[not stated] A.1.6.2

    Guidance on how to interpret the contents of this table can be foundhere

    0. EHDSDataSet
    Definition

    Common elements for all EHDS data exchange.

    ShortEHDS data exchange
    Logical ModelInstances of this logical model are not marked to be the target of a Reference
    2. EHDSDataSet.identifier
    Definition

    Unique identifier of the data object

    ShortDocument ID
    NoteThis is a business identifier, not a resource identifier (see discussion)
    Control0..*
    TypeIdentifier
    4. EHDSDataSet.subject
    Definition

    Patient/subject information

    ShortSubject
    Control0..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
    6. EHDSDataSet.country
    Definition

    Country of the data exchange initiator.

    ShortCountry
    Control0..1
    Binding

    ISO 3166

    TypeCodeableConcept
    8. EHDSDataSet.relatedPerson
    Definition

    Patient/subject guardian and related person information

    ShortRelated person
    Control0..*
    TypeBackboneElement
    Requirements

    Some roles for the related person are essential for data access control. For example, the role of the guardian is essential for the data access control of a minor patient.

    Definitional Codes[not stated] A.1.2
    10. EHDSDataSet.relatedPerson.person
    Definition

    Identification and description of the contact person for that patient. This includes relatives, guardians, caring persons etc.

    ShortIdentification and description of the person
    Control0..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
    12. EHDSDataSet.relatedPerson.relationship
    Definition

    The nature of the relationship between the patient and the related person.

    ShortRelationship
    Control0..1
    Binding

    HL7 RoleCode

    TypeCodeableConcept
    Requirements

    Some roles for the related person are essential for data access control. For example, the role of the guardian is essential for the data access control of a minor patient.

    Definitional Codes[not stated] C.13.3
    14. EHDSDataSet.authorship
    Definition

    Document/resource authoring details

    ShortAuthorship
    Control1..*
    TypeBase
    16. EHDSDataSet.authorship.author
    Definition

    Author by whom the resource was/were authored. Multiple authors could be provided.

    ShortAuthor
    Control1..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    Definitional Codes[not stated] A.1.6.1
    18. EHDSDataSet.authorship.datetime
    Definition

    Date and time of the issuing the document/resource by its author.

    ShortDate and time of authoring/issuing
    Control1..1
    TypedateTime
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Definitional Codes[not stated] A.1.6.2
    20. EHDSDataSet.lastUpdate
    Definition

    Date and time of the last update to the document/information

    ShortDate and time of the last update to the data object
    Control0..1
    TypedateTime
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    22. EHDSDataSet.status
    Definition

    Status of the information

    ShortStatus of the information
    Control1..1
    TypeCodeableConcept
    24. EHDSDataSet.version
    Definition

    Business version of the data object.

    ShortVersion
    NoteThis is a business version Id, not a resource version Id (see discussion)
    Control0..1
    Typestring
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    26. EHDSDataSet.language
    Definition

    Language in which the information is written. Language is expressed by the IETF language tag.

    ShortLanguage
    Control0..1
    Binding

    BCP 47

    TypeCodeableConcept
    Definitional Codes[not stated] A.1.9.12
    28. EHDSDataSet.presentation
    Definition

    The presentation of the data, e.g. a PDF document, a video, a text file, etc. In case of unstructured data, this is the actual content.

    ShortPresentation form
    Control1..*
    TypeBase
    30. EHDSDataSet.presentation.author
    Definition

    Author by whom the resource was/were authored. Multiple authors could be provided.

    ShortAuthor
    Control1..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    Definitional Codes[not stated] A.1.6.1
    32. EHDSDataSet.presentation.datetime
    Definition

    Date and time of the issuing the document/resource by its author.

    ShortDate and time of authoring/issuing
    Control1..1
    TypedateTime
    Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
    Definitional Codes[not stated] A.1.6.2

    Guidance on how to interpret the contents of this table can be foundhere

    0. EHDSDataSet
    Definition

    Common elements for all EHDS data exchange.

    ShortEHDS data exchange
    Control0..*
    Is Modifierfalse
    Logical ModelInstances of this logical model are not marked to be the target of a Reference
    2. EHDSDataSet.identifier
    Definition

    Unique identifier of the data object

    ShortDocument ID
    NoteThis is a business identifier, not a resource identifier (see discussion)
    Control0..*
    TypeIdentifier
    4. EHDSDataSet.subject
    Definition

    Patient/subject information

    ShortSubject
    Control0..1
    Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
    6. EHDSDataSet.country
    Definition

    Country of the data exchange initiator.

    ShortCountry
    Control0..1
    Binding

    ISO 3166

    TypeCodeableConcept
    8. EHDSDataSet.relatedPerson
    Definition

    Patient/subject guardian and related person information

    ShortRelated person
    Control0..*
    TypeBackboneElement
    Requirements

    Some roles for the related person are essential for data access control. For example, the role of the guardian is essential for the data access control of a minor patient.

    Definitional Codes[not stated] A.1.2
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    10. EHDSDataSet.relatedPerson.id
    Definition

    Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

    ShortUnique id for inter-element referencing
    Control0..1
    This element is affected by the following invariants: ele-1
    Typeid
    Is Modifierfalse
    XML FormatIn the XML format, this property is represented as an attribute.
    Summaryfalse
    12. EHDSDataSet.relatedPerson.extension
    Definition

    May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

    ShortAdditional content defined by implementations
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifierfalse
    Summaryfalse
    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    SlicingThis element introduces a set of slices on EHDSDataSet.relatedPerson.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ url
    • 14. EHDSDataSet.relatedPerson.modifierExtension
      Definition

      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      16. EHDSDataSet.relatedPerson.person
      Definition

      Identification and description of the contact person for that patient. This includes relatives, guardians, caring persons etc.

      ShortIdentification and description of the person
      Control0..1
      Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
      18. EHDSDataSet.relatedPerson.relationship
      Definition

      The nature of the relationship between the patient and the related person.

      ShortRelationship
      Control0..1
      Binding

      HL7 RoleCode

      TypeCodeableConcept
      Requirements

      Some roles for the related person are essential for data access control. For example, the role of the guardian is essential for the data access control of a minor patient.

      Definitional Codes[not stated] C.13.3
      20. EHDSDataSet.authorship
      Definition

      Document/resource authoring details

      ShortAuthorship
      Control1..*
      TypeBase
      22. EHDSDataSet.authorship.author
      Definition

      Author by whom the resource was/were authored. Multiple authors could be provided.

      ShortAuthor
      Control1..1
      Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
      Definitional Codes[not stated] A.1.6.1
      24. EHDSDataSet.authorship.datetime
      Definition

      Date and time of the issuing the document/resource by its author.

      ShortDate and time of authoring/issuing
      Control1..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Definitional Codes[not stated] A.1.6.2
      26. EHDSDataSet.lastUpdate
      Definition

      Date and time of the last update to the document/information

      ShortDate and time of the last update to the data object
      Control0..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      28. EHDSDataSet.status
      Definition

      Status of the information

      ShortStatus of the information
      Control1..1
      TypeCodeableConcept
      30. EHDSDataSet.version
      Definition

      Business version of the data object.

      ShortVersion
      NoteThis is a business version Id, not a resource version Id (see discussion)
      Control0..1
      Typestring
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      32. EHDSDataSet.language
      Definition

      Language in which the information is written. Language is expressed by the IETF language tag.

      ShortLanguage
      Control0..1
      Binding

      BCP 47

      TypeCodeableConcept
      Definitional Codes[not stated] A.1.9.12
      34. EHDSDataSet.presentation
      Definition

      The presentation of the data, e.g. a PDF document, a video, a text file, etc. In case of unstructured data, this is the actual content.

      ShortPresentation form
      Control1..*
      TypeBase
      36. EHDSDataSet.presentation.author
      Definition

      Author by whom the resource was/were authored. Multiple authors could be provided.

      ShortAuthor
      Control1..1
      Typehttps://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
      Definitional Codes[not stated] A.1.6.1
      38. EHDSDataSet.presentation.datetime
      Definition

      Date and time of the issuing the document/resource by its author.

      ShortDate and time of authoring/issuing
      Control1..1
      TypedateTime
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Definitional Codes[not stated] A.1.6.2