PackagesCanonicalsLogsProblems
    Packages
    hl7.fhir.uv.pocd@0.2.0
    http://hl7.org/fhir/uv/pocd/StructureDefinition/CompoundNumericObservation
description: StructureDefinition for Observation resources that represent numerical measurements, calculations, or settings with multiple components.
package_name: hl7.fhir.uv.pocd
derivation: constraint
name: CompoundNumericObservation
type: Observation
elements:
  code:
    binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/pocd/ValueSet/11073MDC-metric'}
    index: 0
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient', 'http://hl7.org/fhir/uv/pocd/StructureDefinition/MdsDevice']
    index: 1
  value:
    choices: []
    index: 3
  device:
    type: Reference
    refers: ['http://hl7.org/fhir/uv/pocd/StructureDefinition/NumericDeviceMetric']
    index: 4
  component:
    constraint:
      pocd-obs-1: {human: If there is no value a dataAbsentReason shall be present, severity: error, expression: value.exists() or dataAbsentReason.exists()}
    index: 5
    elements:
      code:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/pocd/ValueSet/11073MDC-metric'}
        index: 6
      value:
        choices: [valueQuantity]
        index: 8
      valueQuantity:
        type: Quantity
        choiceOf: value
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: $this, type: type}
          min: 0
          max: 1
          slices:
            valueQuantity:
              match: {}
              schema:
                type: Quantity
                index: 10
                elements:
                  value: {index: 11}
                  system:
                    pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
                    index: 12
                required: [value]
      dataAbsentReason: {index: 13}
      interpretation:
        binding: {strength: extensible, valueSet: 'http://hl7.org/fhir/uv/pocd/ValueSet/observation-interpretation'}
        index: 14
package_version: 0.2.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/pocd/StructureDefinition/CompoundNumericObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.2.0
required: [device, component, subject]