PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-stepstaken
description: Finnish PHR profile for fitness device measurement or patient-reported steps taken over a time period. The profile is based on the Finnish PHR Fitness profile.
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDStepsTaken
type: Observation
elements:
  meta:
    elements:
      profile:
        pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-stepstaken'}
        index: 0
  code:
    elements:
      coding:
        index: 1
        slicing:
          rules: closed
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            steps:
              match: {code: 66334-4}
              schema:
                short: Observation of steps taken over an arbitrary period
                _required: true
                index: 2
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 3
                  code:
                    pattern: {type: Code, value: 66334-4}
                    index: 4
            dailySteps:
              match: {code: 41950-7}
              schema:
                short: Observation of steps taken in 24h
                index: 5
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 6
                  code:
                    pattern: {type: Code, value: 41950-7}
                    index: 7
            weeklySteps:
              match: {code: 41952-3}
              schema:
                short: Observation of steps taken in a week
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 9
                  code:
                    pattern: {type: Code, value: 41952-3}
                    index: 10
  value:
    choices: [valueInteger]
    index: 12
    slicing:
      slices:
        valueInteger:
          match: {}
          schema:
            choices: [valueInteger]
            _required: true
            index: 12
          min: 1
  valueInteger:
    type: integer
    choiceOf: value
    index: 13
    slicing:
      slices:
        valueInteger:
          match: {}
          schema: {type: integer, choiceOf: value, _required: true, index: 13}
          min: 1
  component: {index: 14}
package_version: 3.0.0
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-stepstaken
base: http://phr.kanta.fi/StructureDefinition/fiphr-sd-fitness
version: '0.1'
required: [value, valueInteger]