PackagesCanonicalsLogsProblems
    Packages
    medatixx.healthhub@1.5.0
    https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Observation
description: Laboratory values and vital signs from the patient record. Laboratory results are coded against Mxx_HealthHub_CS_LabCodes (locally defined identifiers, no LOINC mapping). Includes reference ranges and abnormal flags. Supports both laboratory results and vital signs (height, weight).
package_name: medatixx.healthhub
derivation: constraint
name: Mxx_HealthHub_Observation
type: Observation
elements:
  category:
    short: laboratory | vital-signs
    index: 4
    elements:
      coding:
        index: 5
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
            index: 6
          code:
            binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_ObservationCategory'}
            index: 7
        required: [system, code]
    required: [coding]
  referenceRange: {short: Reference range for the lab value, index: 41}
  hasMember: {index: 42}
  derivedFrom: {index: 43}
  interpretation:
    short: Abnormal flag (N/H/HH/L/LL)
    index: 33
    elements:
      coding:
        index: 34
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation'}
            index: 35
          code:
            binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_AbnormalFlag'}
            index: 36
        required: [system, code]
    required: [coding]
  encounter: {index: 21}
  method: {short: Measurement method (when available), index: 38}
  specimen: {index: 39}
  valueQuantity: {type: Quantity, short: Observation result value, choiceOf: value, index: 29}
  value:
    short: Observation result value
    choices: [valueQuantity, valueCodeableConcept, valueString]
    index: 28
  valueString: {type: string, short: Observation result value, choiceOf: value, index: 31}
  component: {index: 44}
  effectiveDateTime: {type: dateTime, short: Clinically relevant time of the observation, choiceOf: effective, index: 24}
  status:
    short: final | preliminary | amended
    binding: {strength: required, valueSet: 'https://fhir.medatixx.de/HealthHub/ValueSet/Mxx_HealthHub_VS_ObservationStatus'}
    index: 3
  effective:
    short: Clinically relevant time of the observation
    choices: [effectiveDateTime]
    index: 23
  code:
    short: Lab test code
    index: 8
    elements:
      coding:
        array: true
        min: 1
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            labCode:
              match: {system: 'https://fhir.medatixx.de/HealthHub/CodeSystem/Mxx_HealthHub_CS_LabCodes'}
              schema:
                short: Practice-internal lab test code
                index: 10
                elements:
                  system:
                    pattern: {type: Uri, value: 'https://fhir.medatixx.de/HealthHub/CodeSystem/Mxx_HealthHub_CS_LabCodes'}
                    index: 11
                  code: {short: Lab test code, index: 12}
                  display: {short: Lab test name, index: 13}
                required: [system, code]
            loinc:
              match: {system: 'http://loinc.org'}
              schema:
                short: LOINC code (vital signs)
                index: 14
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 15
                  code: {short: LOINC code, index: 16}
                  display: {short: LOINC display name, index: 17}
                required: [system, code]
      text: {short: Human-readable lab test name, index: 18}
    required: [coding]
  identifier: {index: 0}
  valueCodeableConcept: {type: CodeableConcept, short: Observation result value, choiceOf: value, index: 30}
  bodySite: {index: 37}
  focus: {index: 20}
  issued: {short: When the result was released by the lab, index: 25}
  device: {index: 40}
  basedOn: {index: 1}
  partOf: {index: 2}
  subject:
    type: Reference
    refers: ['https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Patient']
    index: 19
  performer: {index: 26}
  dataAbsentReason: {index: 32}
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.medatixx.de/HealthHub/StructureDefinition/Mxx_HealthHub_Observation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 1.5.0
required: [subject, category]