PackagesCanonicalsLogsProblems
    Packages
    SUPPORT.R4@3.0.0
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-fitness
description: Finnish PHR base profile for Fitness Observation resource
package_name: SUPPORT.R4
derivation: constraint
name: FIPHRSDFitness
abstract: true
type: Observation
elements:
  category:
    short: 'Classification of type of observation:'
    binding: {strength: required, valueSet: 'http://phr.kanta.fi/ValueSet/fitness-category'}
    index: 15
    elements:
      coding:
        index: 16
        elements:
          system:
            pattern: {type: Uri, value: 'http://phr.kanta.fi/fiphr-cs-fitnesscategory'}
            index: 17
          version: {index: 18}
          code:
            short: Fitness observation category
            pattern: {type: Code, value: fitness}
            index: 19
          display: {index: 20}
          userSelected: {index: 21}
        required: [display, system, code]
      text: {index: 22}
    required: [coding]
  referenceRange:
    elements:
      type: {index: 62}
  hasMember: {index: 63}
  meta:
    elements:
      profile: {index: 0}
    required: [profile]
  derivedFrom: {index: 64}
  interpretation:
    index: 49
    elements:
      coding:
        index: 50
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation'}
            index: 51
          version: {index: 52}
          code: {index: 53}
          display: {index: 54}
          userSelected: {index: 55}
        required: [display, system, code]
  encounter: {index: 37}
  method: {index: 59}
  specimen: {index: 60}
  component:
    index: 65
    elements:
      code:
        binding: {strength: required, valueSet: 'http://phr.kanta.fi/ValueSet/fiphr-vs-fitnessresult'}
        index: 66
        elements:
          coding:
            index: 67
            elements:
              system: {index: 68}
              version: {index: 69}
              code: {index: 70}
              display: {index: 71}
              userSelected: {index: 72}
            required: [display, system, code]
          text: {index: 73}
        required: [coding]
      dataAbsentReason: {index: 74}
      interpretation:
        index: 75
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation'}
                index: 76
              version: {index: 77}
              code: {index: 78}
              display: {index: 79}
              userSelected: {index: 80}
            required: [display, system, code]
  note:
    elements:
      author:
        choices: []
        index: 57
  extension:
    index: 3
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: null
      slices:
        creatingApplication:
          match: {url: null}
          schema: {type: Extension, url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', index: 4}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 40}
  status:
    short: 'Finnish PHR: Status final'
    pattern: {type: Code, value: final}
    index: 14
  language: {index: 1}
  effective:
    choices: [effectiveDateTime, effectivePeriod]
    index: 39
  code:
    short: Type of observation (type / code)
    binding: {strength: required, valueSet: 'http://phr.kanta.fi/ValueSet/fiphr-vs-fitnessresult'}
    index: 23
    elements:
      coding:
        array: true
        min: 1
        max: 2
        index: 24
        elements:
          system: {index: 25}
          version: {index: 26}
          code: {index: 27}
          display: {index: 28}
          userSelected: {index: 29}
        required: [display, system, code]
      text: {index: 30}
    required: [coding]
  identifier:
    index: 5
    elements:
      use: {index: 6}
      type: {index: 7}
      system: {index: 8}
      value: {index: 9}
      period: {index: 10}
      assigner: {index: 11}
    required: [value, system, use]
  bodySite: {index: 58}
  focus: {index: 36}
  issued: {short: 'Finnish PHR: The date and time this observation is stored.', index: 42}
  device: {index: 61}
  basedOn: {index: 12}
  partOf: {index: 13}
  subject:
    type: Reference
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    index: 31
    elements:
      reference: {index: 32}
      type: {index: 33}
      identifier: {index: 34}
      display: {index: 35}
    required: [reference]
  performer:
    short: 'Finnish PHR: Application user who is responsible for the observation'
    refers: ['http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient']
    type: Reference
    index: 43
    elements:
      reference: {index: 44}
      type: {index: 45}
      identifier: {index: 46}
      display: {index: 47}
    required: [reference]
  dataAbsentReason: {index: 48}
  effectivePeriod: {type: Period, choiceOf: effective, index: 41}
  text: {index: 2}
package_version: 3.0.0
extensions:
  creatingApplication: {url: 'http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication', type: Extension, index: 4}
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-fitness
base: http://hl7.org/fhir/StructureDefinition/Observation
version: '0.1'
required: [effectiveDateTime, issued, effectivePeriod, text, identifier, subject, category, language, effective, performer]