PackagesCanonicalsLogsProblems
    Packages
    fi.digious.kanta.test@0.0.1-preview-2
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-bodyweight
description: Finnish PHR profile for Bodyweight observation resource
package_name: fi.digious.kanta.test
derivation: constraint
name: FIPHRSDBodyWeight
type: Observation
elements:
  meta:
    index: 0
    elements:
      profile:
        index: 1
        slicing:
          slices:
            fiphrProfile:
              match: {}
              schema:
                pattern: {type: Canonical, value: 'http://phr.kanta.fi/StructureDefinition/fiphr-sd-bodyweight'}
                index: 2
  code:
    elements:
      coding:
        index: 3
        slicing:
          rules: open
          discriminator:
          - {path: code, type: value}
          min: null
          slices:
            fiphrCode:
              match: {code: 29463-7}
              schema:
                _required: true
                index: 4
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 5
                  code:
                    pattern: {type: Code, value: 29463-7}
                    index: 6
                  display: {index: 7}
                required: [display, system, code]
  value:
    choices: []
    index: 9
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: type}
      min: 1
      slices:
        valueQuantity:
          match: {}
          schema:
            short: 'FinnishPHR: Weight in kilograms'
            choices: [valueQuantity]
            _required: true
            index: 11
          min: 1
  valueQuantity:
    type: Quantity
    short: 'FinnishPHR: Weight in kilograms'
    choiceOf: value
    index: 12
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, short: 'FinnishPHR: Weight in kilograms', choiceOf: value, _required: true, index: 12}
          min: 1
  value[x]:
    elements:
      value: {short: 'Finnish PHR: The value of the measured weight', index: 13}
      unit:
        short: 'Finnish PHR: The unit presentation of the measured weight in kilograms'
        pattern: {type: String, value: kg}
        index: 14
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 15
      code:
        pattern: {type: Code, value: kg}
        index: 16
    required: [value, unit, system, code]
  dataAbsentReason:
    elements:
      id: {index: 17}
      coding: {index: 18}
      text: {index: 19}
  component: {index: 20}
package_version: 0.0.1-preview-2
class: profile
kind: resource
url: http://phr.kanta.fi/StructureDefinition/fiphr-sd-bodyweight
base: http://phr.kanta.fi/StructureDefinition/fiphr-sd-vitalsigns
version: 0.1.0
required: [value, valueQuantity]