EHDSDocument
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSDocument
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSDocument Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSDocument 0..* EHDSDataSet Document model Elements defined in Ancestors:header #xD; header 1..1 Base Document header #xD; identifier 1..* Identifier Unique identifier of the document #xD; author[x] 1..* EHDSHealthProfessional, EHDSOrganisation, EHDSDevice Author(s) of the document #xD; date 1..1 dateTime Date of finalising/issuing the document #xD; status 1..1 CodeableConcept Status of the document #xD; source 0..0 Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information. #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. The exact algorithm for versioning is decided by the producer/custodian #xD; attestation 0..* Base Document attestation details #xD; attester[x] 1..1 Attester who validated the document #xD; attesterEHDSHealthProfessional EHDSHealthProfessional #xD; attesterEHDSDevice EHDSDevice #xD; datetime 1..1 dateTime Date and time of the approval of the document by Attester #xD; legalAuthentication 0..* Base Document legal authentication details #xD; legalAuthenticator[x] 1..1 The person or organisation taking responsibility for the medical content of the document (typically the person who signs it) #xD; legalAuthenticatorEHDSHealthProfessional EHDSHealthProfessional #xD; legalAuthenticatorEHDSOrganisat…
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDocument
  l: EHDSDocument
version:
  v: 0.2.1
name:
  v: EHDSDocument
title:
  v: Document model
status:
  v: draft
date:
  v: 2026-02-09T09:32:05+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: 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
    l: v3
  name:
    v: RIM Mapping
kind:
  v: logical
abstract:
  v: false
type:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDocument
  l: EHDSDocument
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDataSet
  l: EHDSDataSet
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 0.2.1
  element:
    id:
      v: EHDSDocument
    path:
      v: EHDSDocument
    short:
      v: Document model
    definition:
      v: 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
    definition:
      v: Basic metadata for this information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSDataSet.header
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: Base
        l: 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: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
        l: 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, unique within its system. Supporting disambiguation between different contexts (systems/countries).
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.identifier
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: Identifier
        l: Identifier
  element:
    id:
      v: EHDSDocument.header.author[x]
    path:
      v: EHDSDocument.header.author[x]
    short:
      v: Author(s) of the document
    definition:
      v: Author(s) responsible for the provided information. The exact role of the responsible author varies across use cases and is specific to individual models.
    min:
      v: 1
    max:
      v: *
    base:
      path:
        v: EHDSDataSet.header.author[x]
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
        l: EHDSHealthProfessional
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
        l: EHDSOrganisation
    type:
      code:
        v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
        l: EHDSDevice
  element:
    id:
      v: EHDSDocument.header.date
    path:
      v: EHDSDocument.header.date
    short:
      v: Date of finalising/issuing the document
    definition:
      v: Date and optionally time of authoring/issuing

v: 1

v: 1

path:
  v: EHDSDataSet.header.date
min:
  v: 0
max:
  v: 1

code:
  v: dateTime
  l: dateTime

id:
  v: EHDSDocument.header.status
path:
  v: EHDSDocument.header.status
short:
  v: Status of the 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
    l: CodeableConcept

id:
  v: EHDSDocument.header.source
path:
  v: EHDSDocument.header.source
short:
  v: Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
definition:
  v: Source of information (e.g. patient, patient's proxy). Used in case the patient has authored the information or the author has submitted patient-stated information.
min:
  v: 0
max:
  v: 0
base:
  path:
    v: EHDSDataSet.header.source
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

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
    l: 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
    l: 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
    l: 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
    l: Period

id:
  v: EHDSDocument.header.version
path:
  v: EHDSDocument.header.version
short:
  v: Business version of the document. The exact algorithm for versioning is decided by the producer/custodian
definition:
  v: Business version of the document. The exact algorithm for versioning is decided by the producer/custodian
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: 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
    l: Base

id:
  v: EHDSDocument.header.attestation.attester[x]
path:
  v: EHDSDocument.header.attestation.attester[x]
short:
  v: Attester who validated the document
definition:
  v: Attester who validated the document
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.attestation.attester[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
    l: EHDSDevice

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
    l: 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: *
base:
  path:
    v: EHDSDocument.header.legalAuthentication
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSDocument.header.legalAuthentication.legalAuthenticator[x]
path:
  v: EHDSDocument.header.legalAuthentication.legalAuthenticator[x]
short:
  v: The person or organisation taking responsibility for the medical content of the document (typically the person who signs it)
definition:
  v: The person or organisation taking responsibility for the medical content of the document (typically the person who signs it)
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSDocument.header.legalAuthentication.legalAuthenticator[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation

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
    l: 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
    l: 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
    l: 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: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation

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: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment
    l: EHDSAttachment

element:
  id:
    v: EHDSDocument
  path:
    v: EHDSDocument
  short:
    v: Document model
  definition:
    v: 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
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.author[x]
  path:
    v: EHDSDocument.header.author[x]
  short:
    v: Author(s) of the document
  min:
    v: 1
element:
  id:
    v: EHDSDocument.header.date
  path:
    v: EHDSDocument.header.date
  short:
    v: Date of finalising/issuing the document
  min:
    v: 1
element:
  id:
    v: EHDSDocument.header.status
  path:
    v: EHDSDocument.header.status
  short:
    v: Status of the document
element:
  id:
    v: EHDSDocument.header.source
  path:
    v: EHDSDocument.header.source
  max:
    v: 0
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
      l: 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
      l: 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
      l: Period
element:
  id:
    v: EHDSDocument.header.version
  path:
    v: EHDSDocument.header.version
  short:
    v: Business version of the document. The exact algorithm for versioning is decided by the producer/custodian
  definition:
    v: Business version of the document. The exact algorithm for versioning is decided by the producer/custodian
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: string
      l: 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
      l: Base
element:
  id:
    v: EHDSDocument.header.attestation.attester[x]
  path:
    v: EHDSDocument.header.attestation.attester[x]
  short:
    v: Attester who validated the document
  definition:
    v: Attester who validated the document
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
      l: EHDSHealthProfessional
  type:
    code:
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
      l: EHDSDevice
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
      l: 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: *
  type:
    code:
      v: Base
      l: Base

id:
  v: EHDSDocument.header.legalAuthentication.legalAuthenticator[x]
path:
  v: EHDSDocument.header.legalAuthentication.legalAuthenticator[x]
short:
  v: The person or organisation taking responsibility for the medical content of the document (typically the person who signs it)
definition:
  v: The person or organisation taking responsibility for the medical content of the document (typically the person who signs it)
min:
  v: 1
max:
  v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSHealthProfessional
    l: EHDSHealthProfessional
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation

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
    l: 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: *
type:
  code:
    v: CodeableConcept
    l: 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: *
type:
  code:
    v: CodeableConcept
    l: 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: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSOrganisation
    l: EHDSOrganisation

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: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSAttachment
    l: EHDSAttachment