PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-etoc@2.0.1
    http://fhir.ch/ig/ch-etoc/StructureDefinition/ch-etoc-bodyweight-observation
description: Definition for the Body Weight Observation resource in the context of CH eTOC.
package_name: ch.fhir.ig.ch-etoc
derivation: constraint
name: ChEtocBodyWeightObservation
type: Observation
elements:
  code:
    elements:
      coding: {index: 0}
    required: [coding]
  subject:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient']
    index: 1
  value:
    choices: [valueQuantity]
    index: 3
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 3
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 4
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 4}
  value[x]:
    elements:
      unit:
        pattern: {type: String, value: kg}
        index: 5
      code:
        pattern: {type: Code, value: kg}
        index: 6
package_version: 2.0.1
class: profile
kind: resource
url: http://fhir.ch/ig/ch-etoc/StructureDefinition/ch-etoc-bodyweight-observation
base: http://hl7.org/fhir/StructureDefinition/bodyweight
version: 2.0.1