PackagesCanonicalsLogsProblems
    Packages
    rs/hl7.fhir.uv.phd@1.0.0
    http://hl7.org/fhir/uv/phd/StructureDefinition/PhdRtsaObservation
description: StructureDefinition for Observation Resources representing measurement data coming from a medical device where the measurement is a waveform.
package_name: rs/hl7.fhir.uv.phd
derivation: constraint
name: PhdRtsaObservation
type: Observation
elements:
  meta:
    index: 0
    elements:
      profile:
        index: 1
        slicing:
          rules: open
          discriminator:
          - {path: value, type: value}
          min: 1
          slices:
            phdProfile:
              match: {value: null}
              schema:
                pattern: {type: canonical, value: 'http://hl7.org/fhir/uv/phd/StructureDefinition/PhdRtsaObservation'}
                _required: true
                type: canonical
                index: 2
              min: 1
              max: 1
    required: [profile]
  category:
    short: Required by the FHIR specification if the measurement value is a vital sign
    index: 3
    slicing:
      slices:
        vitalSignsCategory:
          match: {}
          schema:
            short: Required by the FHIR specification if the measurement value is a vital sign
            index: 3
            elements:
              coding:
                index: 4
                slicing:
                  rules: open
                  discriminator:
                  - {path: system, type: value}
                  min: 1
                  slices:
                    vitalSigns:
                      match: {system: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                      schema:
                        short: Required Vital Signs category code system entry
                        _required: true
                        index: 5
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                            type: uri
                            index: 6
                          code:
                            pattern: {type: code, value: vital-signs}
                            type: code
                            index: 7
                        required: [code, system]
            required: [coding]
  valueSampledData:
    type: SampledData
    index: 8
    elements:
      origin:
        short: Scaling intecept value and units
        index: 9
        elements:
          value: {short: Intercept value (with implicit precision), index: 10}
          system:
            short: The UCUM coding system
            pattern: {type: uri, value: 'http://unitsofmeasure.org'}
            type: uri
            index: 11
          code: {index: 12}
        required: [code, system, value]
      factor: {short: The scale factor, index: 13}
      dimensions: {short: Number of rtsa sample points at each time point, index: 14}
      data: {index: 15}
    required: [factor, origin]
  dataAbsentReason:
    short: Populated when the Measurement-Status indicates invalid, not unavailable, or msmt ongoing
    index: 16
    elements:
      coding:
        index: 17
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            FhirDefault:
              match: {system: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
              schema:
                _required: true
                index: 18
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/data-absent-reason'}
                    type: uri
                    index: 19
                  code: {index: 20}
                required: [code, system]
    required: [coding]
  referenceRange:
    index: 21
    slicing:
      rules: open
      discriminator:
      - {path: low.system, type: value}
      min: null
      slices:
        scaleAndReferenceRange:
          match:
            low: {system: 'http://unitsofmeasure.org'}
          schema:
            short: Provides the scale factors as sent by the 20601 device
            index: 22
            elements:
              low:
                index: 23
                elements:
                  value: {index: 24}
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 25
                  code: {index: 26}
                required: [code, system, value]
              high:
                index: 27
                elements:
                  value: {index: 28}
                  system:
                    pattern: {type: uri, value: 'http://unitsofmeasure.org'}
                    type: uri
                    index: 29
                  code: {index: 30}
                required: [code, system, value]
            required: [high, low]
package_version: 1.0.0
class: profile
kind: resource
url: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdRtsaObservation
base: http://hl7.org/fhir/uv/phd/StructureDefinition/PhdBaseObservation
version: 1.0.0
required: [meta]