PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-bodytemperature
description: Finnish PHR profile for body temperature measurement.
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDBodyTemperature
type: Observation
elements:
  value[x]:
    elements:
      value: {index: 19}
      comparator: {index: 20}
      unit:
        short: 'Finnish PHR: The unit presentation of the measured temperature in celsius'
        pattern: {type: String, value: Cel}
        index: 21
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 22
      code:
        pattern: {type: Code, value: Cel}
        index: 23
    required: [value, unit, system, code]
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-bodytemperature'}
        index: 0
  valueQuantity:
    type: Quantity
    short: 'Finnish PHR: Temperature in celsius'
    choiceOf: value
    index: 18
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, short: 'Finnish PHR: Temperature in celsius', choiceOf: value, _required: true, index: 18}
          min: 1
  value:
    short: 'Finnish PHR: Temperature in celsius'
    choices: [valueQuantity]
    index: 17
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            short: 'Finnish PHR: Temperature in celsius'
            choices: [valueQuantity]
            _required: true
            index: 17
          min: 1
  component: {index: 25}
  effectiveDateTime:
    type: dateTime
    choiceOf: effective
    index: 15
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, choiceOf: effective, index: 15}
  effective:
    choices: [effectiveDateTime]
    index: 14
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema:
            choices: [effectiveDateTime]
            index: 14
  code:
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: closed
          ordered: false
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            generalCode:
              match: {code: 8310-5}
              schema:
                short: General Code of body temperature measurement
                _required: true
                index: 3
                elements:
                  code:
                    pattern: {type: Code, value: 8310-5}
                    index: 4
            OralCode:
              match: {code: 8331-1}
              schema:
                short: Detail Code of body temperature measurement telling measured body site.
                index: 5
                elements:
                  code:
                    pattern: {type: Code, value: 8331-1}
                    index: 6
            RectalCode:
              match: {code: 8332-9}
              schema:
                short: Detail Code of body temperature measurement telling measured body site.
                index: 7
                elements:
                  code:
                    pattern: {type: Code, value: 8332-9}
                    index: 8
            EarCode:
              match: {code: 76011-6}
              schema:
                short: Detail Code of body temperature measurement telling measured body site.
                index: 9
                elements:
                  code:
                    pattern: {type: Code, value: 76011-6}
                    index: 10
            AxillaryCode:
              match: {code: 8328-7}
              schema:
                short: Detail Code of body temperature measurement telling measured body site.
                index: 11
                elements:
                  code:
                    pattern: {type: Code, value: 8328-7}
                    index: 12
  dataAbsentReason: {index: 24}
package_version: 3.0.0
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-bodytemperature
base: http://phr.kanta.fi/StructureDefinition/fiphr-sd-vitalsigns
version: '0.1'
required: [value, valueQuantity]