EHDSObservationObligations
type: StructureDefinition
node role: treeRoot
id:
  v: EHDSObservationObligations
language:
  v: en
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: StructureDefinition EHDSObservationObligations Language: en Name Flags Card. Type Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EHDSObservation 0..* EHDSObservation Observation model #xD; header #xD; subject O 1..1 EHDSPatient Patient who is receiving health care. This patient might be different from the direct subject of the observation. Obligations Actor SHALL:able-to-populate Producer SHALL:display Consumer SHALL:process Consumer #xD; identifier O 0..* Identifier Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries). Obligations Actor SHALL:able-to-populate Producer SHALL:process Consumer #xD; author[x] O 0..* EHDSHealthProfessional, EHDSOrganisation, EHDSDevice Author(s) responsible for the provided information. Obligations Actor SHOULD:able-to-populate Producer SHOULD:display Consumer #xD; status O 1..1 CodeableConcept Status of the resource or document Obligations Actor SHALL:able-to-populate Producer SHALL:display Consumer #xD; directSubject[x] O 0..1 EHDSPatient, EHDSLocation, EHDSDevice, EHDSHealthProfessional, EHDSOrganisation, EHDSProcedure The direct subject of the observation if different from the patient (subject of care), e.g. an observation of an implanted device. Additional types of subject may be allowed in implementations. Obligations Actor SHALL:able-to-populate Producer SHALL:display Consumer #xD; Slices for observationDate[x] O 1..1 dateTime, Period Clinically relevant time or time period for the observation Slice: Unordered, Open by type:$this Obligations Actor SHALL:able-to-populate Producer SHALL:display Consumer #xD; observationDate[x]:observationDateDateTime O 0..1 dateTime Clinically relevant time or time period for the observation Obligations Actor SHALL:able-to-populate Producer SHALL:display Consumer #xD; observationDate[x]:observationDatePeriod O 0..1 Period Clinically relevant time or tim…
url:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  l: EHDSObservationObligations
version:
  v: 1.0.0
name:
  v: EHDSObservationObligations
title:
  v: Observation Obligations
status:
  v: active
date:
  v: 2026-04-03T08:10:50+00:00
publisher:
  v: Xt-EHR
contact:
  name:
    v: Xt-EHR
  telecom:
    system:
      v: url
    value:
      v: http://www.xt-ehr.eu/
description:
  v: Obligations for the logical model of general observation
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/EHDSObservation
  l: EHDSObservation
base definition:
  v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation
  l: EHDSObservation
derivation:
  v: constraint
snapshot:
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version
      l: snapshot-base-version
    value: String
      v: 1.0.0
  element:
    id:
      v: EHDSObservation
    path:
      v: EHDSObservation
    short:
      v: Observation model
    definition:
      v: Model for information about an oservation and its results.
    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: EHDSObservation.header
    path:
      v: EHDSObservation.header
    short:
      v: Basic metadata for this information
    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: EHDSObservation.header.subject
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    path:
      v: EHDSObservation.header.subject
    short:
      v: Patient who is receiving health care. This patient might be different from the direct subject of the observation.
    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: EHDSObservation.header.identifier
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation
    extension:
      extension:
        value: Code
      extension:
        value: Canonical
      extension:
        value: Markdown
      extension:
        value: Canonical
      url:
        v: http://hl7.org/fhir/StructureDefinition/obligation
        l: obligation

v: code
l: code

Code
v: SHALL:able-to-populate

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: EHR systems SHALL provide information about the subject of care (patient).

v: code
l: code

Code
v: SHALL:display

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: EHR system SHALL render information about the subject of care in such a way that unambiguous assignment to the care subject is preserved.

v: code
l: code

Code
v: SHALL:process

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: Information about the subject of care SHALL be processed by the EHR system in such a way that the identity of the subject of care cannot be confused.

v: code
l: code

Code
v: SHALL:able-to-populate

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: A business identifier of the observation SHALL be populated if known.

v: code
l: code

Code
v: SHALL:process

v: actor
l: actor

v: documentation
l: documentation

Markdown
v: EHR systems SHALL be able to process identifiers accordingly. Processing means mainly storing identifiers as part of the resource if EHR system stores it.

v: EHDSObservation.header.identifier

v: Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).

v: Business identifier for the object, unique within its system. Supporting disambiguation between different contexts (systems/countries).

v: 0

v: *

path:
  v: EHDSDataSet.header.identifier
min:
  v: 0
max:
  v: *

code:
  v: Identifier
  l: Identifier

id:
  v: EHDSObservation.header.author[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate known information about authorhip of the observation. Multiple authors could be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If provided, EHR system SHOULD display information about authorship of the Observation.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.header.author[x]
short:
  v: Author(s) responsible for the provided information.
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: 0
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

id:
  v: EHDSObservation.header.date
path:
  v: EHDSObservation.header.date
short:
  v: Date and optionally time of authoring/issuing
definition:
  v: Date and optionally time of authoring/issuing
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSDataSet.header.date
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSObservation.header.status
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: HL7 Observation status (e.g., “final,” “preliminary”) SHALL be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Always show status of the Observation, esp. If different from "final", e.g., “Status: preliminary” in UI and printouts; accept any valid status code.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.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
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Observation status

id:
  v: EHDSObservation.header.source
path:
  v: EHDSObservation.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: 1
base:
  path:
    v: EHDSDataSet.header.source
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSObservation.header.language
path:
  v: EHDSObservation.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: EHDSObservation.header.directSubject[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL provide information about direct subject of the observation if diferent from the subject of care (another patient, animal or other allowed subject type).
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL always display information about subject of the observation if different from subject of care.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.header.directSubject[x]
short:
  v: The direct subject of the observation if different from the patient (subject of care), e.g. an observation of an implanted device. Additional types of subject may be allowed in implementations.
definition:
  v: The direct subject of the observation if different from the patient (subject of care), e.g. an observation of an implanted device. Additional types of subject may be allowed in implementations.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.header.directSubject[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
    l: EHDSPatient
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLocation
    l: EHDSLocation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSDevice
    l: EHDSDevice
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/EHDSProcedure
    l: EHDSProcedure

id:
  v: EHDSObservation.observationDate[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate date and time and/or period for when the test was performed.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation date or period SHALL be displayed if provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.observationDate[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: closed
short:
  v: Clinically relevant time or time period for the observation
definition:
  v: Clinically relevant time or time period for the observation
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.observationDate[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSObservation.observationDate[x]:observationDateDateTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate exact date and time when the test was performed.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Show Observation Date in UI and print; accept any valid ISO 8601 dateTime.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.observationDate[x]
slice name:
  v: observationDateDateTime
short:
  v: Clinically relevant time or time period for the observation
definition:
  v: Clinically relevant time or time period for the observation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.observationDate[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSObservation.observationDate[x]:observationDatePeriod
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate period for when the test was performed.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Show Observation Period; accept any valid Period (start ≤ end).
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.observationDate[x]
slice name:
  v: observationDatePeriod
short:
  v: Clinically relevant time or time period for the observation
definition:
  v: Clinically relevant time or time period for the observation
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.observationDate[x]
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSObservation.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Test code is mandatory element for identification of the kind of test performed from approved code system.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type is a mandatory element. EHR system SHALL display observation type. The type carries the correct semantic meaning of the observation. i.e. code and display name. Any valid CodeableConcept SHALL be accepted.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type SHALL be processed accordingly, this value should be taken into consideration especially when comparing result values.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.type
short:
  v: Observation type. Code and name representing the type of the observation using the agreed code systems.
definition:
  v: Observation type. Code and name representing the type of the observation using the agreed code systems.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC, SNOMED CT

id:
  v: EHDSObservation.originalName
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system supplies its own original test name, it SHALL be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Original (local) test name SHOULD be displayed, if provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.originalName
short:
  v: Original (conventional) name of the observation as used in the local laboratory or clinical system.
definition:
  v: Original (conventional) name of the observation as used in the local laboratory or clinical system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.originalName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.method
path:
  v: EHDSObservation.method
short:
  v: Observation method
definition:
  v: Observation method (measurement principle) to obtain the result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.method
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSObservation.specimen
path:
  v: EHDSObservation.specimen
short:
  v: Specimen used for this observation.
definition:
  v: Specimen used for this observation.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.specimen
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSSpecimen
    l: EHDSSpecimen

id:
  v: EHDSObservation.order
path:
  v: EHDSObservation.order
short:
  v: Identifies order and order placer this observation belongs to
definition:
  v: Identifies order and order placer this observation belongs to
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.order
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSServiceRequest
    l: EHDSServiceRequest

id:
  v: EHDSObservation.performer[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL provide information about performer of the test, if available. Test can be performed by professional, patient himself or by a care giver.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.performer[x]
short:
  v: Performer of the observation. Some test could be performed by the patient himself or by a care giver. Those are in the scope of this deliverable under specified conditions.
definition:
  v: Performer of the observation. Some test could be performed by the patient himself or by a care giver. Those are in the scope of this deliverable under specified conditions.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.performer[x]
  min:
    v: 0
  max:
    v: *
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/EHDSHealthProfessional
    l: EHDSHealthProfessional
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSPatient
    l: EHDSPatient
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSRelatedPerson
    l: EHDSRelatedPerson

id:
  v: EHDSObservation.bodySite
path:
  v: EHDSObservation.bodySite
short:
  v: Anatomic location and laterality where the observation was performed.
definition:
  v: Anatomic location and laterality where the observation was performed.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.bodySite
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSBodyStructure
    l: EHDSBodyStructure

id:
  v: EHDSObservation.result
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to provide test results.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL display results of the Observation.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result
short:
  v: Result of the observation including text, numeric, coded, and other types of results of the measurement and measurement uncertainty. Content of the observation result will vary according to the type of the observation.
definition:
  v: Result of the observation including text, numeric, coded, and other types of results of the measurement and measurement uncertainty. Content of the observation result will vary according to the type of the observation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.result
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.result.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to provide test result values in various forms: numeric, textual and coded.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL display results of the Observation.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: closed
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.result.value[x]:valueString
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If only purely textual results are expected, it MUST be provided. Coded results are preferred in most cases.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display textual Result Value in UI and printouts; accept any string.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueString
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.result.value[x]:valueQuantity
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueQuantity
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.result.value[x]:valueRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueRange
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Range
    l: Range
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.result.value[x]:valueRatio
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueRatio
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Ratio
    l: Ratio

id:
  v: EHDSObservation.result.value[x]:valueCodeableConcept
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system knows coded result value, it SHALL be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display coded Result Value in UI and printouts; accept any valid CodeableConcept.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueCodeableConcept
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.result.uncertainty
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the test reports uncertainty (e.g., “±0.1”), allow numeric entry of uncertainty. Store in Quantity or Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHOULD display uncertainty of measurement in UI and printouts. Show “Uncertainty: ±0.1”.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.uncertainty
short:
  v: Measurement uncertainty type and interval if needed.
definition:
  v: Measurement uncertainty information about the observation result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.uncertainty
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.result.uncertainty.value
path:
  v: EHDSObservation.result.uncertainty.value
short:
  v: The numerical value of the measurement uncertainty.
definition:
  v: The numerical value of the measurement uncertainty.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.uncertainty.value
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: EHDSObservation.result.uncertainty.type
path:
  v: EHDSObservation.result.uncertainty.type
short:
  v: Probability Distribution Type for uncertainty
definition:
  v: Probability Distribution Type for uncertainty
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.uncertainty.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: preferred
  description:
    v: HL7 ProbabilityDistributionType

id:
  v: EHDSObservation.result.dataAbsentReason
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If no result is available, EHR system SHALL be able to provide data absent reason. Data absent reason SHOULD NOT be expressed as a test result value.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If provided, display e.g. “No result: not‐performed” in UI and print; accept any valid dataAbsentReason without error.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.dataAbsentReason
short:
  v: Provides a reason why the expected value in the element Observation.value[x] is missing.
definition:
  v: Provides a reason why the expected value in the element Observation.value[x] is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.result.dataAbsentReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Data absent reason

id:
  v: EHDSObservation.referenceRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Allow zero or more referenceRange entries (e.g., normal range “12–16 g/dL”). Populate each as a structured Range or coded description.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, display each range clearly (e.g., “Reference: 12.0–16.0 g/dL”); accept any valid referenceRange structure.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.referenceRange
short:
  v: Reference range, multiple reference ranges of different types could be provided. Provides guide for interpretation of the result.
definition:
  v: Reference range, multiple reference ranges of different types could be provided. Provides guide for interpretation of the result.
comment:
  v: Reference ranges are usually implied only for a numeric scale type. Use of the same units for reference range and value is implied.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.referenceRange
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.referenceRange.low
path:
  v: EHDSObservation.referenceRange.low
short:
  v: Low limit of the reference range.
definition:
  v: Low limit of the reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.referenceRange.low
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units

id:
  v: EHDSObservation.referenceRange.high
path:
  v: EHDSObservation.referenceRange.high
short:
  v: High limit of the reference range.
definition:
  v: High limit of the reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.referenceRange.high
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units

id:
  v: EHDSObservation.referenceRange.normalValue
path:
  v: EHDSObservation.referenceRange.normalValue
short:
  v: Normal value, if relevant for the reference range.
definition:
  v: Normal value, if relevant for the reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.referenceRange.normalValue
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSObservation.referenceRange.type
path:
  v: EHDSObservation.referenceRange.type
short:
  v: Type of reference range.
definition:
  v: Type of reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.referenceRange.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Observation Reference Range Meaning Codes

id:
  v: EHDSObservation.referenceRange.appliesTo
path:
  v: EHDSObservation.referenceRange.appliesTo
short:
  v: Codes to indicate the target population this reference range applies to.
definition:
  v: Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple appliesTo are interpreted as an \"AND\" of the target populations.
comment:
  v: Multiple appliesTo are interpreted as an "AND" of the target populations.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.referenceRange.appliesTo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT, HL7 v3-Race

id:
  v: EHDSObservation.referenceRange.age
path:
  v: EHDSObservation.referenceRange.age
short:
  v: Age range to which this reference range applies if applicable.
definition:
  v: Age range to which this reference range applies if applicable.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.referenceRange.age
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Range
    l: Range
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units

id:
  v: EHDSObservation.referenceRange.text
path:
  v: EHDSObservation.referenceRange.text
short:
  v: Text based reference range in an observation.
definition:
  v: Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.referenceRange.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.interpretation
path:
  v: EHDSObservation.interpretation
short:
  v: Information about reference intervals and result interpretation.
definition:
  v: Information about reference intervals and result interpretation.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.interpretation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT, HL7 ObservationInterpretation

id:
  v: EHDSObservation.note
path:
  v: EHDSObservation.note
short:
  v: Comments and narrative representation of the observation result and findings.
definition:
  v: Comments and narrative representation of the observation result and findings.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.note
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.component
path:
  v: EHDSObservation.component
short:
  v: Component in case the observation consists of multiple sub-observations (e.g. blood pressure).
definition:
  v: Component in case the observation consists of multiple sub-observations (e.g. blood pressure).
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.component
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.component.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Component code is mandatory element for identification of the kind of test performed from approved code system.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type is a mandatory element. EHR system SHOULD display observation type and SHALL process it accordingly. The type carries the correct semantic meaning of the observation. i.e. code and display name. Any valid CodeableConcept SHALL be accepted.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type is a mandatory element. EHR system SHOULD display observation type and SHALL process it accordingly. The type carries the correct semantic meaning of the observation. i.e. code and display name. Any valid CodeableConcept SHALL be accepted.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.type
short:
  v: Code representing the observation using the agreed code systems.
definition:
  v: Code representing the observation using the agreed code systems.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.type
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: LOINC, SNOMED CT

id:
  v: EHDSObservation.component.originalName
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system supplies its own original test name, it SHALL be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Original (local) test name SHOULD be displayed, if provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.originalName
short:
  v: Original (user-friendly) name of the observation as used in the local laboratory or clinical system.
definition:
  v: Original (user-friendly) name of the observation as used in the local laboratory or clinical system.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.originalName
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.component.result
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to provide test results in various forms: numeric, textual and coded.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL display results of the Observation.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result
short:
  v: Result of the observation including text, numeric, coded, and other types of results of the measurement and measurement uncertainty. Content of the observation result will vary according to the type of the observation.
definition:
  v: Result of the observation including text, numeric, coded, and other types of results of the measurement and measurement uncertainty. Content of the observation result will vary according to the type of the observation.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.component.result.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: closed
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
type:
  code:
    v: Quantity
    l: Quantity
type:
  code:
    v: Range
    l: Range
type:
  code:
    v: Ratio
    l: Ratio
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.component.result.value[x]:valueString
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If only purely textual results are expected, it MUST be provided. Coded results are preferred in most cases.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display textual Result Value in UI and printouts; accept any string.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueString
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.component.result.value[x]:valueQuantity
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueQuantity
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.component.result.value[x]:valueRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueRange
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Range
    l: Range
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.component.result.value[x]:valueRatio
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueRatio
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Ratio
    l: Ratio

id:
  v: EHDSObservation.component.result.value[x]:valueCodeableConcept
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system knows coded result value, it SHALL be provided.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display coded Result Value in UI and printouts; accept any valid CodeableConcept.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueCodeableConcept
short:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
definition:
  v: Observation result value according to the type of observation. Model covers only most frequently used data types but other data types can be used as well. Text result value should be used only if coded result value is not expected otherwise use valueCodeableConcept.text. For Quantity, Range and Ratio, result units of the measurement should be provided.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.value[x]
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units, SNOMED CT for coded results

id:
  v: EHDSObservation.component.result.uncertainty
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the test reports uncertainty (e.g., “±0.1”), allow numeric entry of uncertainty. Store in Quantity or Range.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHOULD display uncertainty of measurement in UI and printouts. Show “Uncertainty: ±0.1”.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.uncertainty
short:
  v: Measurement uncertainty type and interval if needed.
definition:
  v: Measurement uncertainty information about the observation result.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.uncertainty
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.component.result.uncertainty.value
path:
  v: EHDSObservation.component.result.uncertainty.value
short:
  v: The numerical value of the measurement uncertainty.
definition:
  v: The numerical value of the measurement uncertainty.
min:
  v: 1
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.uncertainty.value
  min:
    v: 1
  max:
    v: 1
type:
  code:
    v: decimal
    l: decimal

id:
  v: EHDSObservation.component.result.uncertainty.type
path:
  v: EHDSObservation.component.result.uncertainty.type
short:
  v: Probability Distribution Type for uncertainty
definition:
  v: Probability Distribution Type for uncertainty
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.uncertainty.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Coding
    l: Coding
binding:
  strength:
    v: preferred
  description:
    v: HL7 ProbabilityDistributionType

id:
  v: EHDSObservation.component.result.dataAbsentReason
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If no result is available, EHR system SHALL be able to provide data absent reason. Data absent reason SHOULD NOT be expressed as a test result value.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If provided, display e.g. “No result: not‐performed” in UI and print; accept any valid dataAbsentReason without error.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.dataAbsentReason
short:
  v: Provides a reason why the expected value in the element component.value[x] is missing.
definition:
  v: Provides a reason why the expected value in the element component.value[x] is missing.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.result.dataAbsentReason
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Data absent reason

id:
  v: EHDSObservation.component.referenceRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Allow zero or more referenceRange entries (e.g., normal range “12–16 g/dL”). Populate each as a structured Range or coded description.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, display each range clearly (e.g., “Reference: 12.0–16.0 g/dL”); accept any valid referenceRange structure.
  extension:
    url:
      v: http://hl7.org/fhir/tools/StructureDefinition/snapshot-source
      l: snapshot-source
    value: Canonical
      v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations|1.0.0
      l: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservationObligations
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.referenceRange
short:
  v: Reference range, multiple reference ranges of different types could be provided. Provides guide for interpretation of the result.
definition:
  v: Reference range, multiple reference ranges of different types could be provided. Provides guide for interpretation of the result.
comment:
  v: Reference ranges are usually implied only for a numeric scale type. Use of the same units for reference range and value is implied.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.component.referenceRange
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: Base
    l: Base

id:
  v: EHDSObservation.component.referenceRange.low
path:
  v: EHDSObservation.component.referenceRange.low
short:
  v: Low limit of the reference range.
definition:
  v: Low limit of the reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.referenceRange.low
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units

id:
  v: EHDSObservation.component.referenceRange.high
path:
  v: EHDSObservation.component.referenceRange.high
short:
  v: High limit of the reference range.
definition:
  v: High limit of the reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.referenceRange.high
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Quantity
    l: Quantity
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units

id:
  v: EHDSObservation.component.referenceRange.normalValue
path:
  v: EHDSObservation.component.referenceRange.normalValue
short:
  v: Normal value, if relevant for the reference range.
definition:
  v: Normal value, if relevant for the reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.referenceRange.normalValue
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT

id:
  v: EHDSObservation.component.referenceRange.type
path:
  v: EHDSObservation.component.referenceRange.type
short:
  v: Type of reference range.
definition:
  v: Type of reference range.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.referenceRange.type
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: HL7 Observation Reference Range Meaning Codes

id:
  v: EHDSObservation.component.referenceRange.appliesTo
path:
  v: EHDSObservation.component.referenceRange.appliesTo
short:
  v: Codes to indicate the target population this reference range applies to.
definition:
  v: Codes to indicate the target population this reference range applies to. For example, a reference range may be based on the normal population or a particular sex or race. Multiple appliesTo are interpreted as an \"AND\" of the target populations.
comment:
  v: Multiple appliesTo are interpreted as an "AND" of the target populations.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.component.referenceRange.appliesTo
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT, HL7 v3-Race

id:
  v: EHDSObservation.component.referenceRange.age
path:
  v: EHDSObservation.component.referenceRange.age
short:
  v: Age range to which this reference range applies if applicable.
definition:
  v: Age range to which this reference range applies if applicable.
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.referenceRange.age
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: Range
    l: Range
binding:
  strength:
    v: preferred
  description:
    v: UCUM for units

id:
  v: EHDSObservation.component.referenceRange.text
path:
  v: EHDSObservation.component.referenceRange.text
short:
  v: Text based reference range in an observation.
definition:
  v: Text based reference range in an observation which may be used when a quantitative range is not appropriate for an observation. An example would be a reference value of \"Negative\" or a list or table of \"normals\".
min:
  v: 0
max:
  v: 1
base:
  path:
    v: EHDSObservation.component.referenceRange.text
  min:
    v: 0
  max:
    v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.component.interpretation
path:
  v: EHDSObservation.component.interpretation
short:
  v: Information about reference intervals and result interpretation.
definition:
  v: Information about reference intervals and result interpretation.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.component.interpretation
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: CodeableConcept
    l: CodeableConcept
binding:
  strength:
    v: preferred
  description:
    v: SNOMED CT, HL7 ObservationInterpretation

id:
  v: EHDSObservation.derivedFrom[x]
path:
  v: EHDSObservation.derivedFrom[x]
short:
  v: Reference to the related resource from which the observation has been made. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.
definition:
  v: Reference to the related resource from which the observation has been made. For example, a calculated anion gap or a fetal measurement based on an ultrasound image.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.derivedFrom[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation
    l: EHDSObservation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLaboratoryObservation
    l: EHDSLaboratoryObservation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSImagingStudy
    l: EHDSImagingStudy

id:
  v: EHDSObservation.hasMember[x]
path:
  v: EHDSObservation.hasMember[x]
short:
  v: This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.
definition:
  v: This observation is a group observation (e.g. a battery, a panel of tests, a set of vital sign measurements) that includes the target as a member of the group.
min:
  v: 0
max:
  v: *
base:
  path:
    v: EHDSObservation.hasMember[x]
  min:
    v: 0
  max:
    v: *
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSLaboratoryObservation
    l: EHDSLaboratoryObservation
type:
  code:
    v: http://www.xt-ehr.eu/fhir/models/StructureDefinition/EHDSObservation
    l: EHDSObservation

element:
  id:
    v: EHDSObservation
  path:
    v: EHDSObservation
element:
  id:
    v: EHDSObservation.header.subject
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: EHR systems SHALL provide information about the subject of care (patient).
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:display
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: EHR system SHALL render information about the subject of care in such a way that unambiguous assignment to the care subject is preserved.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: Information about the subject of care SHALL be processed by the EHR system in such a way that the identity of the subject of care cannot be confused.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSObservation.header.subject
element:
  id:
    v: EHDSObservation.header.identifier
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: A business identifier of the observation SHALL be populated if known.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:process
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: EHR systems SHALL be able to process identifiers accordingly. Processing means mainly storing identifiers as part of the resource if EHR system stores it.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSObservation.header.identifier
element:
  id:
    v: EHDSObservation.header.author[x]
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: EHR system SHALL be able to populate known information about authorhip of the observation. Multiple authors could be provided.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHOULD:display
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
        l: actor-consumer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: If provided, EHR system SHOULD display information about authorship of the Observation.
    url:
      v: http://hl7.org/fhir/StructureDefinition/obligation
      l: obligation
  path:
    v: EHDSObservation.header.author[x]
element:
  id:
    v: EHDSObservation.header.status
  extension:
    extension:
      url:
        v: code
        l: code
      value: Code
        v: SHALL:able-to-populate
    extension:
      url:
        v: actor
        l: actor
      value: Canonical
        v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
        l: actor-producer
    extension:
      url:
        v: documentation
        l: documentation
      value: Markdown
        v: HL7 Observation status (e.g., “final,” “preliminary”) SHALL be provided.

extension:
  url:
    v: code
    l: code
  value: Code
    v: SHALL:display
extension:
  url:
    v: actor
    l: actor
  value: Canonical
    v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
    l: actor-consumer
extension:
  url:
    v: documentation
    l: documentation
  value: Markdown
    v: Always show status of the Observation, esp. If different from "final", e.g., “Status: preliminary” in UI and printouts; accept any valid status code.
url:
  v: http://hl7.org/fhir/StructureDefinition/obligation
  l: obligation

v: EHDSObservation.header.status

id:
  v: EHDSObservation.header.directSubject[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL provide information about direct subject of the observation if diferent from the subject of care (another patient, animal or other allowed subject type).
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL always display information about subject of the observation if different from subject of care.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.header.directSubject[x]

id:
  v: EHDSObservation.observationDate[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate date and time and/or period for when the test was performed.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation date or period SHALL be displayed if provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.observationDate[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open

id:
  v: EHDSObservation.observationDate[x]:observationDateDateTime
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate exact date and time when the test was performed.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Show Observation Date in UI and print; accept any valid ISO 8601 dateTime.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.observationDate[x]
slice name:
  v: observationDateDateTime
min:
  v: 0
max:
  v: 1
type:
  code:
    v: dateTime
    l: dateTime

id:
  v: EHDSObservation.observationDate[x]:observationDatePeriod
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to populate period for when the test was performed.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Show Observation Period; accept any valid Period (start ≤ end).
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.observationDate[x]
slice name:
  v: observationDatePeriod
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Period
    l: Period

id:
  v: EHDSObservation.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Test code is mandatory element for identification of the kind of test performed from approved code system.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type is a mandatory element. EHR system SHALL display observation type. The type carries the correct semantic meaning of the observation. i.e. code and display name. Any valid CodeableConcept SHALL be accepted.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type SHALL be processed accordingly, this value should be taken into consideration especially when comparing result values.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.type

id:
  v: EHDSObservation.originalName
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system supplies its own original test name, it SHALL be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Original (local) test name SHOULD be displayed, if provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.originalName

id:
  v: EHDSObservation.performer[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL provide information about performer of the test, if available. Test can be performed by professional, patient himself or by a care giver.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.performer[x]

id:
  v: EHDSObservation.result
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to provide test results.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL display results of the Observation.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result

id:
  v: EHDSObservation.result.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to provide test result values in various forms: numeric, textual and coded.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL display results of the Observation.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open

id:
  v: EHDSObservation.result.value[x]:valueString
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If only purely textual results are expected, it MUST be provided. Coded results are preferred in most cases.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display textual Result Value in UI and printouts; accept any string.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueString
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.result.value[x]:valueQuantity
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueQuantity
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity
    l: Quantity

id:
  v: EHDSObservation.result.value[x]:valueRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueRange
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Range
    l: Range

id:
  v: EHDSObservation.result.value[x]:valueRatio
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueRatio
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Ratio
    l: Ratio

id:
  v: EHDSObservation.result.value[x]:valueCodeableConcept
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system knows coded result value, it SHALL be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display coded Result Value in UI and printouts; accept any valid CodeableConcept.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.value[x]
slice name:
  v: valueCodeableConcept
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSObservation.result.uncertainty
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the test reports uncertainty (e.g., “±0.1”), allow numeric entry of uncertainty. Store in Quantity or Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHOULD display uncertainty of measurement in UI and printouts. Show “Uncertainty: ±0.1”.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.uncertainty

id:
  v: EHDSObservation.result.dataAbsentReason
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If no result is available, EHR system SHALL be able to provide data absent reason. Data absent reason SHOULD NOT be expressed as a test result value.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If provided, display e.g. “No result: not‐performed” in UI and print; accept any valid dataAbsentReason without error.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.result.dataAbsentReason

id:
  v: EHDSObservation.referenceRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Allow zero or more referenceRange entries (e.g., normal range “12–16 g/dL”). Populate each as a structured Range or coded description.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, display each range clearly (e.g., “Reference: 12.0–16.0 g/dL”); accept any valid referenceRange structure.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.referenceRange

id:
  v: EHDSObservation.component.type
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Component code is mandatory element for identification of the kind of test performed from approved code system.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type is a mandatory element. EHR system SHOULD display observation type and SHALL process it accordingly. The type carries the correct semantic meaning of the observation. i.e. code and display name. Any valid CodeableConcept SHALL be accepted.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:process
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Observation type is a mandatory element. EHR system SHOULD display observation type and SHALL process it accordingly. The type carries the correct semantic meaning of the observation. i.e. code and display name. Any valid CodeableConcept SHALL be accepted.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.type

id:
  v: EHDSObservation.component.originalName
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system supplies its own original test name, it SHALL be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Original (local) test name SHOULD be displayed, if provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.originalName

id:
  v: EHDSObservation.component.result
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: EHR system SHALL be able to provide test results in various forms: numeric, textual and coded.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: SHALL display results of the Observation.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result

id:
  v: EHDSObservation.component.result.value[x]
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slicing:
  discriminator:
    type:
      v: type
    path:
      v: $this
  ordered:
    v: false
  rules:
    v: open

id:
  v: EHDSObservation.component.result.value[x]:valueString
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If only purely textual results are expected, it MUST be provided. Coded results are preferred in most cases.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display textual Result Value in UI and printouts; accept any string.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueString
min:
  v: 0
max:
  v: 1
type:
  code:
    v: string
    l: string

id:
  v: EHDSObservation.component.result.value[x]:valueQuantity
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueQuantity
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Quantity
    l: Quantity

id:
  v: EHDSObservation.component.result.value[x]:valueRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueRange
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Range
    l: Range

id:
  v: EHDSObservation.component.result.value[x]:valueRatio
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If EHR system knows numeric result value or numeric range, it MUST be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display numeric Result Value in UI and printouts; accept any valid Quantity/Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueRatio
min:
  v: 0
max:
  v: 1
type:
  code:
    v: Ratio
    l: Ratio

id:
  v: EHDSObservation.component.result.value[x]:valueCodeableConcept
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the EHR system knows coded result value, it SHALL be provided.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHALL display coded Result Value in UI and printouts; accept any valid CodeableConcept.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.value[x]
slice name:
  v: valueCodeableConcept
min:
  v: 0
max:
  v: 1
type:
  code:
    v: CodeableConcept
    l: CodeableConcept

id:
  v: EHDSObservation.component.result.uncertainty
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If the test reports uncertainty (e.g., “±0.1”), allow numeric entry of uncertainty. Store in Quantity or Range.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, SHOULD display uncertainty of measurement in UI and printouts. Show “Uncertainty: ±0.1”.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.uncertainty

id:
  v: EHDSObservation.component.result.dataAbsentReason
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If no result is available, EHR system SHALL be able to provide data absent reason. Data absent reason SHOULD NOT be expressed as a test result value.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If provided, display e.g. “No result: not‐performed” in UI and print; accept any valid dataAbsentReason without error.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.result.dataAbsentReason

id:
  v: EHDSObservation.component.referenceRange
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHOULD:able-to-populate
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-producer
      l: actor-producer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: Allow zero or more referenceRange entries (e.g., normal range “12–16 g/dL”). Populate each as a structured Range or coded description.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
extension:
  extension:
    url:
      v: code
      l: code
    value: Code
      v: SHALL:display
  extension:
    url:
      v: actor
      l: actor
    value: Canonical
      v: https://www.xt-ehr.eu/specifications/fhir/actor-consumer
      l: actor-consumer
  extension:
    url:
      v: documentation
      l: documentation
    value: Markdown
      v: If present, display each range clearly (e.g., “Reference: 12.0–16.0 g/dL”); accept any valid referenceRange structure.
  url:
    v: http://hl7.org/fhir/StructureDefinition/obligation
    l: obligation
path:
  v: EHDSObservation.component.referenceRange