EHDSDataSet
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSDataSet
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSDataSet Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSDataSet 0..* Base EHDS data exchange #xD; identifier 0..* Identifier Document ID #xD; subject 0..1 EHDSPerson Subject #xD; country 0..1 CodeableConcept Country Binding Description: (preferred): ISO 3166 #xD; relatedPerson 0..* BackboneElement Related person #xD; person 0..1 EHDSPerson Identification and description of the person #xD; relationship 0..1 CodeableConcept Relationship Binding Description: (preferred): HL7 RoleCode #xD; authorship 1..* Base Authorship #xD; author 1..1 EHDSHealthProfessional Author #xD; datetime 1..1 dateTime Date and time of authoring/issuing #xD; lastUpdate 0..1 dateTime Date and time of the last update to the data object #xD; status 1..1 CodeableConcept Status of the information #xD; version 0..1 string Version #xD; language 0..1 CodeableConcept Language Binding Description: (preferred): BCP 47 #xD; presentation 1..* Base Presentation form #xD; author 1..1 EHDSHealthProfessional Author #xD; datetime 1..1 dateTime Date and time of authoring/issuing #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format
url:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet
  l: EHDSDataSet
version:
  v: 0.1.0
name:
  v: EHDSDataSet
title:
  v: EHDS data exchange
status:
  v: draft
date:
  v: 2025-11-17T15:56:04+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://Xt-EHR.eu
description:
  v: Common elements for all EHDS data exchange.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet
  l: EHDSDataSet
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  l: Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 5.0.0
  element:
    id:
      v: EHDSDataSet
    path:
      v: EHDSDataSet
    short:
      v: EHDS data exchange
    definition:
      v: Common elements for all EHDS data exchange.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: Base
      min:
        v: 0
      max:
        v: *
    is modifier:
      v: false
    mapping:
      identity:
        v: rim
      map:
        v: n/a
  element:
    id:
      v: EHDSDataSet.identifier
    path:
      v: EHDSDataSet.identifier
    short:
      v: Document ID
    definition:
      v: Unique identifier of the data object
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
        l: Identifier
  element:
    id:
      v: EHDSDataSet.subject
    path:
      v: EHDSDataSet.subject
    short:
      v: Subject
    definition:
      v: Patient/subject information
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.subject
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
        l: EHDSPerson
  element:
    id:
      v: EHDSDataSet.country
    path:
      v: EHDSDataSet.country
    short:
      v: Country
    definition:
      v: Country of the data exchange initiator.
    min:
      v: 0
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.country
      min:
        v: 0
      max:
        v: 1
    type:
      code:
        v: CodeableConcept
        l: CodeableConcept
    binding:
      strength:
        v: preferred
      description:
        v: ISO 3166
  element:
    id:
      v: EHDSDataSet.relatedPerson
    path:
      v: EHDSDataSet.relatedPerson
    code:
      code:
        v: A.1.2
    short:
      v: Related person
    definition:
      v: Patient/subject guardian and related person information
    requirements:
      v: 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.
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.relatedPerson
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: BackboneElement
        l: BackboneElement
    constraint:
      key:
        v: ele-1
      severity:
        v: error
      human:
        v: All FHIR elements must have a @value or children

v: hasValue() or (children().count() > id.count())

id:
  v: EHDSDataSet.relatedPerson.id
path:
  v: EHDSDataSet.relatedPerson.id
representation:
  v: xmlAttr
short:
  v: Unique id for inter-element referencing
definition:
  v: Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: Element.id
  min:
    v: 0
  max:
    v: 1
type:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type
      l: structuredefinition-fhir-type
    value: Url
      v: id
      l: id
  code:
    v: http://hl7.org/fhirpath/System.String
    l: System.String
condition:
  v: ele-1
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: EHDSDataSet.relatedPerson.extension
path:
  v: EHDSDataSet.relatedPerson.extension
slicing:
  discriminator:
    type:
      v: value
    path:
      v: url
  description:
    v: Extensions are always sliced by (at least) url
  rules:
    v: open
short:
  v: Additional content defined by implementations
definition:
  v: 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.
comment:
  v: 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.
alias:
  v: extensions
alias:
  v: user content
min:
  v: 0
max:
  v: *
base:
  path:
    v: Element.extension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: false
is summary:
  v: false
mapping:
  identity:
    v: rim
  map:
    v: n/a

id:
  v: EHDSDataSet.relatedPerson.modifierExtension
path:
  v: EHDSDataSet.relatedPerson.modifierExtension
short:
  v: Extensions that cannot be ignored even if unrecognized
definition:
  v: 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).
comment:
  v: 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.
requirements:
  v: 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](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).
alias:
  v: extensions
alias:
  v: user content
alias:
  v: modifiers
min:
  v: 0
max:
  v: *
base:
  path:
    v: BackboneElement.modifierExtension
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Extension
    l: Extension
constraint:
  key:
    v: ele-1
  severity:
    v: error
  human:
    v: All FHIR elements must have a @value or children
  expression:
    v: hasValue() or (children().count() > id.count())
  source:
    v: http://hl7.org/fhir/StructureDefinition/Element
    l: Element
constraint:
  key:
    v: ext-1
  severity:
    v: error
  human:
    v: Must have either extensions or value[x], not both
  expression:
    v: extension.exists() != value.exists()
  source:
    v: http://hl7.org/fhir/StructureDefinition/Extension
    l: Extension
is modifier:
  v: true
is modifier reason:
  v: Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
is summary:
  v: true
mapping:
  identity:
    v: rim
  map:
    v: N/A

id:
  v: EHDSDataSet.relatedPerson.person
path:
  v: EHDSDataSet.relatedPerson.person
short:
  v: Identification and description of the person
definition:
  v: Identification and description of the contact person for that patient. This includes relatives, guardians, caring persons etc.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.relatedPerson.person
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
    l: EHDSPerson

id:
  v: EHDSDataSet.relatedPerson.relationship
path:
  v: EHDSDataSet.relatedPerson.relationship
code:
  code:
    v: C.13.3
short:
  v: Relationship
definition:
  v: The nature of the relationship between the patient and the related person.
requirements:
  v: 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.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.relatedPerson.relationship
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 RoleCode

id:
  v: EHDSDataSet.authorship
path:
  v: EHDSDataSet.authorship
short:
  v: Authorship
definition:
  v: Document/resource authoring details
min:
  v: 1
max:
  v: *
base:
  path:
    v: EHDSDataSet.authorship
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSDataSet.authorship.author
path:
  v: EHDSDataSet.authorship.author
code:
  code:
    v: A.1.6.1
short:
  v: Author
definition:
  v: Author by whom the resource was/were authored. Multiple authors could be provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.authorship.author
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional

id:
  v: EHDSDataSet.authorship.datetime
path:
  v: EHDSDataSet.authorship.datetime
code:
  code:
    v: A.1.6.2
short:
  v: Date and time of authoring/issuing
definition:
  v: Date and time of the issuing the document/resource by its author.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.authorship.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSDataSet.lastUpdate
path:
  v: EHDSDataSet.lastUpdate
short:
  v: Date and time of the last update to the data object
definition:
  v: Date and time of the last update to the document/information
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.lastUpdate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSDataSet.status
path:
  v: EHDSDataSet.status
short:
  v: Status of the information
definition:
  v: Status of the information
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSDataSet.version
path:
  v: EHDSDataSet.version
short:
  v: Version
definition:
  v: Business version of the data object.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSDataSet.language
path:
  v: EHDSDataSet.language
code:
  code:
    v: A.1.9.12
short:
  v: Language
definition:
  v: Language in which the information is written. Language is expressed by the IETF language tag.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSDataSet.presentation
path:
  v: EHDSDataSet.presentation
short:
  v: Presentation form
definition:
  v: 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.
min:
  v: 1
max:
  v: *
base:
  path:
    v: EHDSDataSet.presentation
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSDataSet.presentation.author
path:
  v: EHDSDataSet.presentation.author
code:
  code:
    v: A.1.6.1
short:
  v: Author
definition:
  v: Author by whom the resource was/were authored. Multiple authors could be provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.presentation.author
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional

id:
  v: EHDSDataSet.presentation.datetime
path:
  v: EHDSDataSet.presentation.datetime
code:
  code:
    v: A.1.6.2
short:
  v: Date and time of authoring/issuing
definition:
  v: Date and time of the issuing the document/resource by its author.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.presentation.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

element:
  id:
    v: EHDSDataSet
  path:
    v: EHDSDataSet
  short:
    v: EHDS data exchange
  definition:
    v: Common elements for all EHDS data exchange.
element:
  id:
    v: EHDSDataSet.identifier
  path:
    v: EHDSDataSet.identifier
  short:
    v: Document ID
  definition:
    v: Unique identifier of the data object
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Identifier
      l: Identifier
element:
  id:
    v: EHDSDataSet.subject
  path:
    v: EHDSDataSet.subject
  short:
    v: Subject
  definition:
    v: Patient/subject information
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
      l: EHDSPerson
element:
  id:
    v: EHDSDataSet.country
  path:
    v: EHDSDataSet.country
  short:
    v: Country
  definition:
    v: Country of the data exchange initiator.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  binding:
    strength:
      v: preferred
    description:
      v: ISO 3166
element:
  id:
    v: EHDSDataSet.relatedPerson
  path:
    v: EHDSDataSet.relatedPerson
  code:
    code:
      v: A.1.2
  short:
    v: Related person
  definition:
    v: Patient/subject guardian and related person information
  requirements:
    v: 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.
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: BackboneElement
      l: BackboneElement
element:
  id:
    v: EHDSDataSet.relatedPerson.person
  path:
    v: EHDSDataSet.relatedPerson.person
  short:
    v: Identification and description of the person
  definition:
    v: Identification and description of the contact person for that patient. This includes relatives, guardians, caring persons etc.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPerson
      l: EHDSPerson
element:
  id:
    v: EHDSDataSet.relatedPerson.relationship
  path:
    v: EHDSDataSet.relatedPerson.relationship
  code:
    code:
      v: C.13.3
  short:
    v: Relationship
  definition:
    v: The nature of the relationship between the patient and the related person.
  requirements:
    v: 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.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
      l: CodeableConcept
  binding:
    strength:
      v: preferred
    description:
      v: HL7 RoleCode
element:
  id:
    v: EHDSDataSet.authorship
  path:
    v: EHDSDataSet.authorship
  short:
    v: Authorship
  definition:
    v: Document/resource authoring details
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Base
      l: Base
element:
  id:
    v: EHDSDataSet.authorship.author
  path:
    v: EHDSDataSet.authorship.author
  code:
    code:
      v: A.1.6.1
  short:
    v: Author
  definition:
    v: Author by whom the resource was/were authored. Multiple authors could be provided.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
      l: EHDSHealthProfessional
element:
  id:
    v: EHDSDataSet.authorship.datetime
  path:
    v: EHDSDataSet.authorship.datetime
  code:
    code:
      v: A.1.6.2
  short:
    v: Date and time of authoring/issuing
  definition:
    v: Date and time of the issuing the document/resource by its author.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
      l: dateTime
element:
  id:
    v: EHDSDataSet.lastUpdate
  path:
    v: EHDSDataSet.lastUpdate
  short:
    v: Date and time of the last update to the data object
  definition:
    v: Date and time of the last update to the document/information
  min:
    v: 0
  max:
    v: 1

code:
  v: dateTime
  l: dateTime

id:
  v: EHDSDataSet.status
path:
  v: EHDSDataSet.status
short:
  v: Status of the information
definition:
  v: Status of the information
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSDataSet.version
path:
  v: EHDSDataSet.version
short:
  v: Version
definition:
  v: Business version of the data object.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSDataSet.language
path:
  v: EHDSDataSet.language
code:
  code:
    v: A.1.9.12
short:
  v: Language
definition:
  v: Language in which the information is written. Language is expressed by the IETF language tag.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSDataSet.presentation
path:
  v: EHDSDataSet.presentation
short:
  v: Presentation form
definition:
  v: 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.
min:
  v: 1
max:
  v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSDataSet.presentation.author
path:
  v: EHDSDataSet.presentation.author
code:
  code:
    v: A.1.6.1
short:
  v: Author
definition:
  v: Author by whom the resource was/were authored. Multiple authors could be provided.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional

id:
  v: EHDSDataSet.presentation.datetime
path:
  v: EHDSDataSet.presentation.datetime
code:
  code:
    v: A.1.6.2
short:
  v: Date and time of authoring/issuing
definition:
  v: Date and time of the issuing the document/resource by its author.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime