EHDSLaboratoryOrderHeader
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSLaboratoryOrderHeader
text:
  status:
    v: extensions
  div: Generated Narrative: StructureDefinition EHDSLaboratoryOrderHeader Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSLaboratoryOrderHeader 0..* Base Laboratory order header model Instances of this logical model can be the target of a Reference #xD; subject 1..1 EHDSPatient A.1.1 - Subject #xD; <a href="StructureDefinition-EHDSLaboratoryOrderHeader-definitions.html#EHDSLaboratoryOrderHeader.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 #xD; intendedRecipient 0..* Reference(Patient model | Related person model | Health professional model | Organisation model | Device model) A.1.5 - Intended recipient #xD; authorship 1..* Base A.1.6 - Authorship #xD; author 1..1 EHDSHealthProfessional A.1.6.1 - Author #xD; datetime 1..1 dateTime A.1.6.2 - DateTime #xD; attestation 0..* Base A.1.7 - Attestation #xD; attester 1..1 EHDSHealthProfessional A.1.7.1 - Attester #xD; datetime 1..1 dateTime A.1.7.2 - DateTime #xD; legalAuthentication 0..1 Base A.1.8 - Legal authentication #xD; legalAuthenticator 1..1 EHDSHealthProfessional A.1.8.1 - Legal authenticator #xD; datetime 1..1 dateTime A.1.8.2 - DateTime #xD; documentMetadata 1..1 Base A.1.9 - Document metadata #xD; documentId 1..1 Identifier A.1.9.1 - Document ID #xD; documentType 1..1 CodeableConcept A.1.9.2 - Document type Binding Description: (preferred): LOINC #xD; documentStatus 1..1 CodeableConcept A.1.9.3 - Document status Binding Description: (preferred): hl7:DiagnosticReportStatus #xD; period 0..1 Period A.1.9.4 - Period #xD; reportDateAndTime 1..1 dateTime A.1.9.5 - Report date and time #xD; docu…
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/EHDSLaboratoryOrderHeader
version:
  v: 0.1.0
name:
  v: EHDSLaboratoryOrderHeader
title:
  v: Laboratory order header model
status:
  v: draft
date:
  v: 2025-08-05T08:51:00+00:00
publisher:
  v: HL7 Europe
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://Xt-EHR.eu
description:
  v: A.1 - EHDS refined base model for Laboratory order header data elements
jurisdiction:
  coding:
    system:
      v: http://unstats.un.org/unsd/methods/m49/m49.htm
    code:
      v: 150
    display:
      v: Europe
copyright:
  v: Copyright HL7 Europe. Licensed under Creative Commons public domain (CC0 1.0).
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/EHDSLaboratoryOrderHeader
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: EHDSLaboratoryOrderHeader
    path:
      v: EHDSLaboratoryOrderHeader
    short:
      v: Laboratory order header model
    definition:
      v: A.1 - EHDS refined base model for Laboratory order 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: EHDSLaboratoryOrderHeader.subject
    path:
      v: EHDSLaboratoryOrderHeader.subject
    short:
      v: A.1.1 - Subject
    definition:
      v: Patient/subject information
    min:
      v: 1
    max:
      v: 1
    base:
      path:
        v: EHDSLaboratoryOrderHeader.subject
      min:
        v: 1
      max:
        v: 1
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSPatient
  element:
    id:
      v: EHDSLaboratoryOrderHeader.healthInsuranceAndPaymentInformation
    path:
      v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.healthInsuranceAndPaymentInformation
      min:
        v: 0
      max:
        v: *
    type:
      code:
        v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSCoverage
  element:
    id:
      v: EHDSLaboratoryOrderHeader.intendedRecipient
    path:
      v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.intendedRecipient
      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/EHDSOrganisation
        link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
      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: EHDSLaboratoryOrderHeader.authorship
    path:
      v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.authorship
      min:
        v: 1
      max:
        v: *

code:
  v: Base

id:
  v: EHDSLaboratoryOrderHeader.authorship.author
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.authorship.author
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSLaboratoryOrderHeader.authorship.datetime
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.authorship.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

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

id:
  v: EHDSLaboratoryOrderHeader.attestation.attester
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.attestation.attester
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSLaboratoryOrderHeader.attestation.datetime
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.attestation.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

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

id:
  v: EHDSLaboratoryOrderHeader.legalAuthentication.legalAuthenticator
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.legalAuthentication.legalAuthenticator
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSHealthProfessional

id:
  v: EHDSLaboratoryOrderHeader.legalAuthentication.datetime
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.legalAuthentication.datetime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Base

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentId
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.documentId
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Identifier

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

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentStatus
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.documentStatus
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:DiagnosticReportStatus

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.period
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.period
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Period

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.reportDateAndTime
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.reportDateAndTime
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime

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

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.eventType
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.specialty
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.specialty
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.reportCustodian
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.reportCustodian
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentFormat
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.documentFormat
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Document Format Codes

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.confidentiality
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.confidentiality
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: hl7:Confidentiality

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.language
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.language
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: BCP 47

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

element:
  id:
    v: EHDSLaboratoryOrderHeader
  path:
    v: EHDSLaboratoryOrderHeader
  short:
    v: Laboratory order header model
  definition:
    v: A.1 - EHDS refined base model for Laboratory order header data elements
element:
  id:
    v: EHDSLaboratoryOrderHeader.subject
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.healthInsuranceAndPaymentInformation
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.intendedRecipient
  path:
    v: EHDSLaboratoryOrderHeader.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/EHDSOrganisation
      link: https://www.xt-ehr.eu/specifications/fhir/StructureDefinition/EHDSOrganisation
    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: EHDSLaboratoryOrderHeader.authorship
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.authorship.author
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.authorship.datetime
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.attestation
  path:
    v: EHDSLaboratoryOrderHeader.attestation
  short:
    v: A.1.7 - Attestation
  definition:
    v: Document attestation details
  min:
    v: 0
  max:
    v: *
  type:
    code:
      v: Base
element:
  id:
    v: EHDSLaboratoryOrderHeader.attestation.attester
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.attestation.datetime
  path:
    v: EHDSLaboratoryOrderHeader.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
element:
  id:
    v: EHDSLaboratoryOrderHeader.legalAuthentication
  path:
    v: EHDSLaboratoryOrderHeader.legalAuthentication
  short:
    v: A.1.8 - Legal authentication
  definition:
    v: Document legal authentication
  min:
    v: 0
  max:
    v: 1
  type:
    code:
      v: Base
element:
  id:
    v: EHDSLaboratoryOrderHeader.legalAuthentication.legalAuthenticator
  path:
    v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.legalAuthentication.datetime
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.documentId
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.documentType
path:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentType
short:
  v: A.1.9.2 - Document type
definition:
  v: Identifies the type of document at hand, e.g. Discharge report.
min:
  v: 1
max:
  v: 1
type:
  code:
    v: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentStatus
path:
  v: EHDSLaboratoryOrderHeader.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:DiagnosticReportStatus

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.period
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.reportDateAndTime
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.documentTitle
path:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentTitle
short:
  v: A.1.9.6 - Document title
definition:
  v: Document title, such as "Discharge report", "Laboratory Result Report" etc..
min:
  v: 1
max:
  v: 1
type:
  code:
    v: string

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.eventType
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.specialty
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.reportCustodian
path:
  v: EHDSLaboratoryOrderHeader.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/EHDSOrganisation

id:
  v: EHDSLaboratoryOrderHeader.documentMetadata.documentFormat
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.confidentiality
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.language
path:
  v: EHDSLaboratoryOrderHeader.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: EHDSLaboratoryOrderHeader.documentMetadata.version
path:
  v: EHDSLaboratoryOrderHeader.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