EHDSDocument
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSDocument
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition EHDSDocument Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSDocument 0..* EHDSDataSet Elements defined in Ancestors:header Document model Instances of this logical model can be the target of a Reference #xD; header 1..1 Base Document header elements #xD; identifier 1..* Identifier Unique identifier of the document #xD; documentType 1..1 CodeableConcept Type of document at hand, e.g. 60591-5 Patient summary document. Binding Description: (preferred): LOINC #xD; documentTitle 1..1 string Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Laboratory Result Report', 'Patient Summary of Jane Green 10.12.2024' #xD; period 0..1 Period Time of service that is being documented #xD; version 0..1 string Business version of the document. #xD; attestation 0..* Base Document attestation details #xD; attester 1..1 EHDSHealthProfessional Attester who validated the document. Mulitple attesters could be provided. #xD; datetime 1..1 dateTime Date and time of the approval of the document by Attester. #xD; legalAuthentication 0..1 Base Document legal authentication details #xD; legalAuthenticator 1..1 EHDSHealthProfessional The person taking responsibility for the medical content of the document #xD; datetime 1..1 dateTime Date and time when the document was authorised. #xD; <a href="StructureDefinition-EHDSDocument-definitions.html#EHDSDocument.header.eventType" title="Categorisation 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 between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.">eventType 0..* CodeableConcept Categorisation of the event covered by the document …
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
  value: code
    v: can-be-target
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/structuredefinition-type-characteristics
  value: code
    v: can-be-target
url:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDocument
version:
  v: 0.1.0
name:
  v: EHDSDocument
title:
  v: Document model
status:
  v: draft
date:
  v: 2025-09-22T14:06:17+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://Xt-EHR.eu
description:
  v: 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.
fhir version:
  v: 5.0.0
mapping:
  identity:
    v: rim
  uri:
    v: http://hl7.org/v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDocument
base definition:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDataSet
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 0.1.0
  element:
    id:
      v: EHDSDocument
    path:
      v: EHDSDocument
    short:
      v: Document model
    definition:
      v: 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:
      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: EHDSDocument.header
    path:
      v: EHDSDocument.header
    short:
      v: Document header elements
    definition:
      v: Common header for all patient-related data
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Base
  element:
    id:
      v: EHDSDocument.header.subject
    path:
      v: EHDSDocument.header.subject
    short:
      v: Patient/subject information
    definition:
      v: Patient/subject information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
  element:
    id:
      v: EHDSDocument.header.identifier
    path:
      v: EHDSDocument.header.identifier
    short:
      v: Unique identifier of the document
    definition:
      v: Business identifier for the object
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
  element:
    id:
      v: EHDSDocument.header.authorship
    path:
      v: EHDSDocument.header.authorship
    short:
      v: Resource authoring details
    definition:
      v: Resource authoring details
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.authorship
      min:
        v: 1
      max:
        v: *
    type:
      code:
        v: Base
  element:
    id:
      v: EHDSDocument.header.authorship.author[x]
    path:
      v: EHDSDocument.header.authorship.author[x]
    short:
      v: Author(s) by whom the resource was/were authored. Multiple authors could be provided.
    definition:
      v: Author(s) by whom the resource was/were authored. Multiple authors could be provided.
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header.authorship.author[x]

v: 1

v: 1

id:
  v: EHDSDocument.header.authorship.datetime
path:
  v: EHDSDocument.header.authorship.datetime
short:
  v: Date and time of authoring/issuing
definition:
  v: Date and time of authoring/issuing
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.authorship.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSDocument.header.lastUpdate
path:
  v: EHDSDocument.header.lastUpdate
short:
  v: Date and time of the last update to the resource (may be used for technical corrections).
definition:
  v: Date and time of the last update to the resource (may be used for technical corrections).
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.lastUpdate
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSDocument.header.status
path:
  v: EHDSDocument.header.status
short:
  v: Status of the resource or document
definition:
  v: Status of the resource or document
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.status
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept

id:
  v: EHDSDocument.header.statusReason[x]
path:
  v: EHDSDocument.header.statusReason[x]
short:
  v: Reason for the current status of the resource.
definition:
  v: Reason for the current status of the resource.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.statusReason[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
type:
  code:
    v: string

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

id:
  v: EHDSDocument.header.documentType
path:
  v: EHDSDocument.header.documentType
short:
  v: Type of document at hand, e.g. 60591-5 Patient summary document.
definition:
  v: Type of document at hand, e.g. 60591-5 Patient summary document.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.documentType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC

id:
  v: EHDSDocument.header.documentTitle
path:
  v: EHDSDocument.header.documentTitle
short:
  v: Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Laboratory Result Report', 'Patient Summary of Jane Green 10.12.2024'
definition:
  v: Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Laboratory Result Report', 'Patient Summary of Jane Green 10.12.2024'
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.documentTitle
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSDocument.header.period
path:
  v: EHDSDocument.header.period
short:
  v: Time of service that is being documented
definition:
  v: Time of service that is being documented
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period

id:
  v: EHDSDocument.header.version
path:
  v: EHDSDocument.header.version
short:
  v: Business version of the document.
definition:
  v: Business version of the document.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSDocument.header.attestation
path:
  v: EHDSDocument.header.attestation
short:
  v: Document attestation details
definition:
  v: Document attestation details
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSDocument.header.attestation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base

id:
  v: EHDSDocument.header.attestation.attester
path:
  v: EHDSDocument.header.attestation.attester
short:
  v: Attester who validated the document. Mulitple attesters could be provided.
definition:
  v: Attester who validated the document. Mulitple attesters could be provided.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.attestation.attester
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSDocument.header.attestation.datetime
path:
  v: EHDSDocument.header.attestation.datetime
short:
  v: Date and time of the approval of the document by Attester.
definition:
  v: Date and time of the approval of the document by Attester.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.attestation.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSDocument.header.legalAuthentication
path:
  v: EHDSDocument.header.legalAuthentication
short:
  v: Document legal authentication details
definition:
  v: Document legal authentication details
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.legalAuthentication
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base

id:
  v: EHDSDocument.header.legalAuthentication.legalAuthenticator
path:
  v: EHDSDocument.header.legalAuthentication.legalAuthenticator
short:
  v: The person taking responsibility for the medical content of the document
definition:
  v: The person taking responsibility for the medical content of the document
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.legalAuthentication.legalAuthenticator
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSDocument.header.legalAuthentication.datetime
path:
  v: EHDSDocument.header.legalAuthentication.datetime
short:
  v: Date and time when the document was authorised.
definition:
  v: Date and time when the document was authorised.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.legalAuthentication.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSDocument.header.eventType
path:
  v: EHDSDocument.header.eventType
short:
  v: Categorisation 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 between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.
definition:
  v: Categorisation 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 between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSDocument.header.eventType
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC, SNOMED CT, dicom-cid-33-Modality

id:
  v: EHDSDocument.header.serviceSpecialty
path:
  v: EHDSDocument.header.serviceSpecialty
short:
  v: Additional details about where the content was created (e.g. clinical specialty)
definition:
  v: Additional details about where the content was created (e.g. clinical specialty)
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSDocument.header.serviceSpecialty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSDocument.header.custodian
path:
  v: EHDSDocument.header.custodian
short:
  v: Organisation that is in charge of maintaining the document/report.
definition:
  v: Organisation that is in charge of maintaining the document/report.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.custodian
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation

id:
  v: EHDSDocument.header.confidentiality
path:
  v: EHDSDocument.header.confidentiality
short:
  v: Level of confidentiality of the document. Implicit value is normal.
definition:
  v: Level of confidentiality of the document. Implicit value is normal.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.confidentiality
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:Confidentiality

id:
  v: EHDSDocument.presentedForm
path:
  v: EHDSDocument.presentedForm
short:
  v: A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document
definition:
  v: A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSDocument.presentedForm
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment

element:
  id:
    v: EHDSDocument
  path:
    v: EHDSDocument
  short:
    v: Document model
  definition:
    v: 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:
  id:
    v: EHDSDocument.header
  path:
    v: EHDSDocument.header
  short:
    v: Document header elements
element:
  id:
    v: EHDSDocument.header.identifier
  path:
    v: EHDSDocument.header.identifier
  short:
    v: Unique identifier of the document
  min:
    v: 1
element:
  id:
    v: EHDSDocument.header.documentType
  path:
    v: EHDSDocument.header.documentType
  short:
    v: Type of document at hand, e.g. 60591-5 Patient summary document.
  definition:
    v: Type of document at hand, e.g. 60591-5 Patient summary document.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: CodeableConcept
  binding:
    strength:
      v: preferred
    description:
      v: LOINC
element:
  id:
    v: EHDSDocument.header.documentTitle
  path:
    v: EHDSDocument.header.documentTitle
  short:
    v: Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Laboratory Result Report', 'Patient Summary of Jane Green 10.12.2024'
  definition:
    v: Human readable document title that can be displayed in search results, etc. This can be documentType's display name, or it can be assembled from multiple elements. Examples: 'Laboratory Result Report', 'Patient Summary of Jane Green 10.12.2024'
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: EHDSDocument.header.period
  path:
    v: EHDSDocument.header.period
  short:
    v: Time of service that is being documented
  definition:
    v: Time of service that is being documented
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Period
element:
  id:
    v: EHDSDocument.header.version
  path:
    v: EHDSDocument.header.version
  short:
    v: Business version of the document.
  definition:
    v: Business version of the document.
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
element:
  id:
    v: EHDSDocument.header.attestation
  path:
    v: EHDSDocument.header.attestation
  short:
    v: Document attestation details
  definition:
    v: Document attestation details
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Base
element:
  id:
    v: EHDSDocument.header.attestation.attester
  path:
    v: EHDSDocument.header.attestation.attester
  short:
    v: Attester who validated the document. Mulitple attesters could be provided.
  definition:
    v: Attester who validated the document. Mulitple attesters could be provided.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
element:
  id:
    v: EHDSDocument.header.attestation.datetime
  path:
    v: EHDSDocument.header.attestation.datetime
  short:
    v: Date and time of the approval of the document by Attester.
  definition:
    v: Date and time of the approval of the document by Attester.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
element:
  id:
    v: EHDSDocument.header.legalAuthentication
  path:
    v: EHDSDocument.header.legalAuthentication
  short:
    v: Document legal authentication details
  definition:
    v: Document legal authentication details
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Base
element:
  id:
    v: EHDSDocument.header.legalAuthentication.legalAuthenticator
  path:
    v: EHDSDocument.header.legalAuthentication.legalAuthenticator
  short:
    v: The person taking responsibility for the medical content of the document
  definition:
    v: The person taking responsibility for the medical content of the document
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
element:
  id:
    v: EHDSDocument.header.legalAuthentication.datetime
  path:
    v: EHDSDocument.header.legalAuthentication.datetime
  short:
    v: Date and time when the document was authorised.
  definition:
    v: Date and time when the document was authorised.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
element:
  id:
    v: EHDSDocument.header.eventType
  path:
    v: EHDSDocument.header.eventType
  short:
    v: Categorisation 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 between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.
  definition:
    v: Categorisation 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 between data sharing parties. This meta-data element serves primarily for searching and filtering purposes.
  min:
    v: 0

v: *

code:
  v: CodeableConcept

strength:
  v: preferred
description:
  v: LOINC, SNOMED CT, dicom-cid-33-Modality

id:
  v: EHDSDocument.header.serviceSpecialty
path:
  v: EHDSDocument.header.serviceSpecialty
short:
  v: Additional details about where the content was created (e.g. clinical specialty)
definition:
  v: Additional details about where the content was created (e.g. clinical specialty)
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSDocument.header.custodian
path:
  v: EHDSDocument.header.custodian
short:
  v: Organisation that is in charge of maintaining the document/report.
definition:
  v: Organisation that is in charge of maintaining the document/report.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation

id:
  v: EHDSDocument.header.confidentiality
path:
  v: EHDSDocument.header.confidentiality
short:
  v: Level of confidentiality of the document. Implicit value is normal.
definition:
  v: Level of confidentiality of the document. Implicit value is normal.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:Confidentiality

id:
  v: EHDSDocument.presentedForm
path:
  v: EHDSDocument.presentedForm
short:
  v: A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document
definition:
  v: A narrative easy-to-read representation of the full data set, e.g. PDF-version of a document
min:
  v: 0
max:
  v: *
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSAttachment