EHDSHospitalDischargeReportHeader
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSHospitalDischargeReportHeader
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition EHDSHospitalDischargeReportHeader Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSHospitalDischargeReportHeader 0..* Base Hospital Discharge Report header model Instances of this logical model can be the target of a Reference subject 1..1 EHDSPatient A.1.1 - Subject relatedPerson 0..* EHDSRelatedPerson A.1.2 - Related person <a href="StructureDefinition-EHDSHospitalDischargeReportHeader-definitions.html#EHDSHospitalDischargeReportHeader.preferredHealthProfessional[x]" title="Preferred health professional (HP) - This section can be repeated and linked to any specific information in the document, for example a link between a rare disease problem and the rare disease specialist responsible for the care of the individual patient (this section).">preferredHealthProfessional[x] 0..* A.1.3 - Preferred Health Professional preferredHealthProfessionalEHDSHealthProfessional EHDSHealthProfessional preferredHealthProfessionalEHDSOrganization EHDSOrganization <a href="StructureDefinition-EHDSHospitalDischargeReportHeader-definitions.html#EHDSHospitalDischargeReportHeader.healthInsuranceAndPaymentInformation" title="Health insurance information (Health insurance information is not always required, however, in some jurisdictions, the insurance number is also used as the patient identifier. It is necessary not just for identification but also forms access to funding for care.)">healthInsuranceAndPaymentInformation 0..* EHDSCoverage A.1.4 - Health insurance and payment information intendedRecipient 0..* Reference(Patient model | Related person model | Health professional model | Organization model | Device model) A.1.5 - Intended recipient authorship 1..* Base A.1.6 - Authorship author 1..1 EHDSHealthProfessional A.1.6.1 - Author datetime 1..1 dateTime A.1.6.2 - DateTime attestation 0..* Base A.1.7 - Attestation attester 1..1 EHDSHealthProfessional A.1.7.1 - Attester datetim…
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/EHDSHospitalDischargeReportHeader
version:
  v: 0.1.0
name:
  v: EHDSHospitalDischargeReportHeader
title:
  v: Hospital Discharge Report header model
status:
  v: draft
date:
  v: 2025-05-26T10:09:34+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://Xt-EHR.eu
description:
  v: A.1 - EHDS refined base model for Hospital Discharge Report header data elements
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/EHDSHospitalDischargeReportHeader
base definition:
  v: http://hl7.org/fhir/StructureDefinition/Base
  link: http://hl7.org/fhir/StructureDefinition/Base
derivation:
  v: specialization
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
    value: string
      v: 5.0.0
  element:
    id:
      v: EHDSHospitalDischargeReportHeader
    path:
      v: EHDSHospitalDischargeReportHeader
    short:
      v: Hospital Discharge Report header model
    definition:
      v: A.1 - EHDS refined base model for Hospital Discharge Report header data elements
    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: EHDSHospitalDischargeReportHeader.subject
    path:
      v: EHDSHospitalDischargeReportHeader.subject
    short:
      v: A.1.1 - Subject
    definition:
      v: Patient/subject information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSHospitalDischargeReportHeader.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
  element:
    id:
      v: EHDSHospitalDischargeReportHeader.relatedPerson
    path:
      v: EHDSHospitalDischargeReportHeader.relatedPerson
    short:
      v: A.1.2 - Related person
    definition:
      v: Patient/subject guardian and related person information
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSHospitalDischargeReportHeader.relatedPerson
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSRelatedPerson
  element:
    id:
      v: EHDSHospitalDischargeReportHeader.preferredHealthProfessional[x]
    path:
      v: EHDSHospitalDischargeReportHeader.preferredHealthProfessional[x]
    short:
      v: A.1.3 - Preferred Health Professional
    definition:
      v: Preferred health professional (HP) - This section can be repeated and linked to any specific information in the document, for example a link between a rare disease problem and the rare disease specialist responsible for the care of the individual patient (this section).
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSHospitalDischargeReportHeader.preferredHealthProfessional[x]
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
  element:
    id:
      v: EHDSHospitalDischargeReportHeader.healthInsuranceAndPaymentInformation
    path:
      v: EHDSHospitalDischargeReportHeader.healthInsuranceAndPaymentInformation
    short:
      v: A.1.4 - Health insurance and payment information
    definition:
      v: Health insurance information (Health insurance information is not always required, however, in some jurisdictions, the insurance number is also used as the patient identifier. It is necessary not just for identification but also forms access to funding for care.)
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSHospitalDischargeReportHeader.healthInsuranceAndPaymentInformation
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCoverage
  element:
    id:
      v: EHDSHospitalDischargeReportHeader.intendedRecipient
    path:
      v: EHDSHospitalDischargeReportHeader.intendedRecipient
    short:
      v: A.1.5 - Intended recipient
    definition:
      v: Information recipient (intended recipient or recipients of the report, additional recipients might be identified by the ordering party, e.g. GP, other specialist), if applicable
    min:
      v: 0
    max:
      v: *
    base:
      path:
        v: EHDSHospitalDischargeReportHeader.intendedRecipient
      min:
        v: 0

v: *

code:
  v: Reference
target profile:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
target profile:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSRelatedPerson
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSRelatedPerson
target profile:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
target profile:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
target profile:
  v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice
  link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice

id:
  v: EHDSHospitalDischargeReportHeader.authorship
path:
  v: EHDSHospitalDischargeReportHeader.authorship
short:
  v: A.1.6 - Authorship
definition:
  v: Information about author or authors of the document
min:
  v: 1
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.authorship
  min:
    v: 1
  max:
    v: *
type:
  code:
    v: Base

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

id:
  v: EHDSHospitalDischargeReportHeader.authorship.datetime
path:
  v: EHDSHospitalDischargeReportHeader.authorship.datetime
short:
  v: A.1.6.2 - DateTime
definition:
  v: Date and time of the last modification of the document by its Author.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.authorship.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.attestation
path:
  v: EHDSHospitalDischargeReportHeader.attestation
short:
  v: A.1.7 - Attestation
definition:
  v: Document attestation details
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.attestation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base

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

id:
  v: EHDSHospitalDischargeReportHeader.attestation.datetime
path:
  v: EHDSHospitalDischargeReportHeader.attestation.datetime
short:
  v: A.1.7.2 - DateTime
definition:
  v: Date and time of the approval of the document by Attester.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.attestation.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication
path:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication
short:
  v: A.1.8 - Legal authentication
definition:
  v: Document legal authentication
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.legalAuthentication
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base

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

id:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication.datetime
path:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication.datetime
short:
  v: A.1.8.2 - DateTime
definition:
  v: Date and time when the document was authorized.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.legalAuthentication.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata
short:
  v: A.1.9 - Document metadata
definition:
  v: Data relevant to document type and its content for administrative and searching purposes.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Base

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentId
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentId
short:
  v: A.1.9.1 - Document ID
definition:
  v: Unique identifier of the document
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.documentId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentType
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentType
short:
  v: A.1.9.2 - Document type
definition:
  v: Identifies the type of document at hand, e.g. Hospital discharge report.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.documentType
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentStatus
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentStatus
short:
  v: A.1.9.3 - Document status
definition:
  v: The status of the document/report. E.g., preliminary, final.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.documentStatus
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:CompositionStatus, hl7:DiagnosticReportStatus

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.period
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.period
short:
  v: A.1.9.4 - Period
definition:
  v: Documented period service. Typically used for searching purposes.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportDateAndTime
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportDateAndTime
short:
  v: A.1.9.5 - Report date and time
definition:
  v: Date and time of the report creation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.reportDateAndTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentTitle
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentTitle
short:
  v: A.1.9.6 - Document title
definition:
  v: Document title, such as "Hospital discharge report", "Laboratory Result Report" etc..
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.documentTitle
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.eventType
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.eventType
short:
  v: A.1.9.7 - Event type
definition:
  v: Categorization of an "event" covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of event types depends on the use case and agreement betwen data sharing parties. This meta-data element serves primarily for searching and filtering purpuses.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.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: EHDSHospitalDischargeReportHeader.documentMetadata.specialty
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.specialty
short:
  v: A.1.9.8 - Specialty
definition:
  v: Additional details about where the content was created (e.g. clinical specialty)
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.specialty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportCustodian
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportCustodian
short:
  v: A.1.9.9 - Report custodian
definition:
  v: Organisation that is in charge of maintaining the report [this element will include organisation ID, name, address etc., as other elements describing organisations].
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.reportCustodian
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentFormat
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentFormat
short:
  v: A.1.9.10 - Document format
definition:
  v: An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.documentFormat
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Document Format Codes

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

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.language
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.language
short:
  v: A.1.9.12 - Language
definition:
  v: Language in which the document is written. Language is expressed by the ISO language code.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.version
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.version
short:
  v: A.1.9.13 - Version
definition:
  v: Version of the document
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSHospitalDischargeReportHeader.documentMetadata.version
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string

id:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources
path:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources
short:
  v: A.1.10 - Knowledge resources
definition:
  v: To provide links between specified data elements and external knowledge resources
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.knowledgeResources
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base

id:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.externalReference
path:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.externalReference
short:
  v: A.1.10.1 - External reference
definition:
  v: A reference leading to Clinical Practice Guidelines (CPG), emergency and anesthesia guidelines or other clinical relevant guidelines. This should be used only for providing specific guidance which may not be readily available to the health professional caring for the patient.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.knowledgeResources.externalReference
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: uri

id:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.relatedWith
path:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.relatedWith
short:
  v: A.1.10.2 - Related with
definition:
  v: Identify the entry or entries of this document or document part for which this additional information relates with, for example a link between a rare disease problem and guidelines for that particular rare disease (this section).
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSHospitalDischargeReportHeader.knowledgeResources.relatedWith
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation

element:
  id:
    v: EHDSHospitalDischargeReportHeader
  path:
    v: EHDSHospitalDischargeReportHeader
  short:
    v: Hospital Discharge Report header model
  definition:
    v: A.1 - EHDS refined base model for Hospital Discharge Report header data elements
element:
  id:
    v: EHDSHospitalDischargeReportHeader.subject
  path:
    v: EHDSHospitalDischargeReportHeader.subject
  short:
    v: A.1.1 - Subject
  definition:
    v: Patient/subject information
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
element:
  id:
    v: EHDSHospitalDischargeReportHeader.relatedPerson
  path:
    v: EHDSHospitalDischargeReportHeader.relatedPerson
  short:
    v: A.1.2 - Related person
  definition:
    v: Patient/subject guardian and related person information
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSRelatedPerson
element:
  id:
    v: EHDSHospitalDischargeReportHeader.preferredHealthProfessional[x]
  path:
    v: EHDSHospitalDischargeReportHeader.preferredHealthProfessional[x]
  short:
    v: A.1.3 - Preferred Health Professional
  definition:
    v: Preferred health professional (HP) - This section can be repeated and linked to any specific information in the document, for example a link between a rare disease problem and the rare disease specialist responsible for the care of the individual patient (this section).
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
element:
  id:
    v: EHDSHospitalDischargeReportHeader.healthInsuranceAndPaymentInformation
  path:
    v: EHDSHospitalDischargeReportHeader.healthInsuranceAndPaymentInformation
  short:
    v: A.1.4 - Health insurance and payment information
  definition:
    v: Health insurance information (Health insurance information is not always required, however, in some jurisdictions, the insurance number is also used as the patient identifier. It is necessary not just for identification but also forms access to funding for care.)
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCoverage
element:
  id:
    v: EHDSHospitalDischargeReportHeader.intendedRecipient
  path:
    v: EHDSHospitalDischargeReportHeader.intendedRecipient
  short:
    v: A.1.5 - Intended recipient
  definition:
    v: Information recipient (intended recipient or recipients of the report, additional recipients might be identified by the ordering party, e.g. GP, other specialist), if applicable
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Reference
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSRelatedPerson
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSRelatedPerson
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization
    target profile:
      v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSDevice
element:
  id:
    v: EHDSHospitalDischargeReportHeader.authorship
  path:
    v: EHDSHospitalDischargeReportHeader.authorship
  short:
    v: A.1.6 - Authorship
  definition:
    v: Information about author or authors of the document
  min:
    v: 1
  max:
    v: *
  type:
    code:
      v: Base
element:
  id:
    v: EHDSHospitalDischargeReportHeader.authorship.author
  path:
    v: EHDSHospitalDischargeReportHeader.authorship.author
  short:
    v: A.1.6.1 - Author
  definition:
    v: Author by whom the document 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
element:
  id:
    v: EHDSHospitalDischargeReportHeader.authorship.datetime
  path:
    v: EHDSHospitalDischargeReportHeader.authorship.datetime
  short:
    v: A.1.6.2 - DateTime
  definition:
    v: Date and time of the last modification of the document by its Author.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime
element:
  id:
    v: EHDSHospitalDischargeReportHeader.attestation
  path:
    v: EHDSHospitalDischargeReportHeader.attestation
  short:
    v: A.1.7 - Attestation
  definition:
    v: Document attestation details
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Base
element:
  id:
    v: EHDSHospitalDischargeReportHeader.attestation.attester
  path:
    v: EHDSHospitalDischargeReportHeader.attestation.attester
  short:
    v: A.1.7.1 - Attester
  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: EHDSHospitalDischargeReportHeader.attestation.datetime
  path:
    v: EHDSHospitalDischargeReportHeader.attestation.datetime
  short:
    v: A.1.7.2 - DateTime
  definition:
    v: Date and time of the approval of the document by Attester.
  min:
    v: 1
  max:
    v: 1
  type:
    code:
      v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication
path:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication
short:
  v: A.1.8 - Legal authentication
definition:
  v: Document legal authentication
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Base

id:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication.legalAuthenticator
path:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication.legalAuthenticator
short:
  v: A.1.8.1 - Legal authenticator
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

id:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication.datetime
path:
  v: EHDSHospitalDischargeReportHeader.legalAuthentication.datetime
short:
  v: A.1.8.2 - DateTime
definition:
  v: Date and time when the document was authorized.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata
short:
  v: A.1.9 - Document metadata
definition:
  v: Data relevant to document type and its content for administrative and searching purposes.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Base

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentId
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentId
short:
  v: A.1.9.1 - Document ID
definition:
  v: Unique identifier of the document
min:
  v: 1
max:
  v: 1
type:
  code:
    v: Identifier

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentType
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentType
short:
  v: A.1.9.2 - Document type
definition:
  v: Identifies the type of document at hand, e.g. Hospital discharge report.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentStatus
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentStatus
short:
  v: A.1.9.3 - Document status
definition:
  v: The status of the document/report. E.g., preliminary, final.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:CompositionStatus, hl7:DiagnosticReportStatus

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.period
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.period
short:
  v: A.1.9.4 - Period
definition:
  v: Documented period service. Typically used for searching purposes.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportDateAndTime
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportDateAndTime
short:
  v: A.1.9.5 - Report date and time
definition:
  v: Date and time of the report creation.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentTitle
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentTitle
short:
  v: A.1.9.6 - Document title
definition:
  v: Document title, such as "Hospital discharge report", "Laboratory Result Report" etc..
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.eventType
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.eventType
short:
  v: A.1.9.7 - Event type
definition:
  v: Categorization of an "event" covered by the document (e.g. laboratory study types, imaging study types including modality, etc.). Selection of event types depends on the use case and agreement betwen data sharing parties. This meta-data element serves primarily for searching and filtering purpuses.
min:
  v: 0
max:
  v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC, SNOMED CT, dicom-cid-33-Modality

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.specialty
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.specialty
short:
  v: A.1.9.8 - 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: EHDSHospitalDischargeReportHeader.documentMetadata.reportCustodian
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.reportCustodian
short:
  v: A.1.9.9 - Report custodian
definition:
  v: Organisation that is in charge of maintaining the report [this element will include organisation ID, name, address etc., as other elements describing organisations].
min:
  v: 1
max:
  v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganization

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentFormat
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.documentFormat
short:
  v: A.1.9.10 - Document format
definition:
  v: An identifier of the document constraints, encoding, structure, and template that the document conforms to beyond the base format indicated in the mimeType.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Document Format Codes

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.confidentiality
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.confidentiality
short:
  v: A.1.9.11 - Confidentiality
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: EHDSHospitalDischargeReportHeader.documentMetadata.language
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.language
short:
  v: A.1.9.12 - Language
definition:
  v: Language in which the document is written. Language is expressed by the ISO language code.
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

id:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.version
path:
  v: EHDSHospitalDischargeReportHeader.documentMetadata.version
short:
  v: A.1.9.13 - Version
definition:
  v: Version of the document
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string

id:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources
path:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources
short:
  v: A.1.10 - Knowledge resources
definition:
  v: To provide links between specified data elements and external knowledge resources
min:
  v: 0
max:
  v: *
type:
  code:
    v: Base

id:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.externalReference
path:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.externalReference
short:
  v: A.1.10.1 - External reference
definition:
  v: A reference leading to Clinical Practice Guidelines (CPG), emergency and anesthesia guidelines or other clinical relevant guidelines. This should be used only for providing specific guidance which may not be readily available to the health professional caring for the patient.
min:
  v: 0
max:
  v: *
type:
  code:
    v: uri

id:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.relatedWith
path:
  v: EHDSHospitalDischargeReportHeader.knowledgeResources.relatedWith
short:
  v: A.1.10.2 - Related with
definition:
  v: Identify the entry or entries of this document or document part for which this additional information relates with, for example a link between a rare disease problem and guidelines for that particular rare disease (this section).
min:
  v: 0
max:
  v: *
type:
  code:
    v: Reference
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCondition
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSProcedure
  target profile:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation
    link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSObservation