PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-heartrate
description: Finnish PHR profile for heart rate measurement
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDHeartRate
type: Observation
elements:
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-heartrate'}
        index: 0
  extension:
    index: 1
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        HeartRateRhytm:
          match: {url: null}
          schema: {short: Flag about rhytm regularity., type: Extension, mustSupport: false, label: HeartRateRhytm, url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-boolean', index: 2}
          max: 1
  code:
    elements:
      coding:
        index: 3
        slicing:
          rules: closed
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            heartRate:
              match: {code: 8867-4}
              schema:
                _required: true
                index: 4
                elements:
                  code:
                    pattern: {type: Code, value: 8867-4}
                    index: 5
            heartRateAverage24h:
              match: {code: 41924-2}
              schema:
                index: 6
                elements:
                  code:
                    pattern: {type: Code, value: 41924-2}
                    index: 7
            heartRateMinimum24h:
              match: {code: 8883-1}
              schema:
                index: 8
                elements:
                  code:
                    pattern: {type: Code, value: 8883-1}
                    index: 9
            heartRateMaximum24h:
              match: {code: 8873-2}
              schema:
                index: 10
                elements:
                  code:
                    pattern: {type: Code, value: 8873-2}
                    index: 11
  value:
    choices: [valueQuantity]
    index: 13
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            _required: true
            index: 13
          min: 1
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 14
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, _required: true, index: 14}
          min: 1
  value[x]:
    elements:
      value: {index: 15}
      comparator: {index: 16}
      unit:
        short: 'Finnish PHR: The unit presentation of the measured heart rate in beats/min'
        pattern: {type: String, value: /min}
        index: 17
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 18
      code:
        pattern: {type: Code, value: /min}
        index: 19
    required: [value, unit, system, code]
  dataAbsentReason: {index: 20}
  component: {index: 21}
package_version: 3.0.0
extensions:
  HeartRateRhytm: {url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-boolean', max: 1, short: Flag about rhytm regularity., type: Extension, mustSupport: false, label: HeartRateRhytm, index: 2}
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-heartrate
base: http://phr.kanta.fi/StructureDefinition/fiphr-sd-vitalsigns
version: '0.1'
required: [value, valueQuantity]