PackagesCanonicalsLogsProblems
    Packages
    fi.tietohiisi.r4@0.1.0
    https://tietohiisi.fi/fhir/StructureDefinition/MyObservation
description: null
package_name: fi.tietohiisi.r4
derivation: constraint
name: MyObservation
type: Observation
elements:
  category: {index: 6}
  referenceRange: {index: 34}
  hasMember: {index: 35}
  value[x]:
    elements:
      value: {index: 23}
      comparator: {index: 24}
      unit:
        pattern: {type: String, value: Cel}
        index: 25
      system:
        pattern: {type: Uri, value: 'http://unitsofmeasure.org'}
        index: 26
      code:
        pattern: {type: Code, value: Cel}
        index: 27
    required: [value, unit, system, code]
  meta:
    index: 0
    elements:
      profile:
        pattern: {type: Canonical, value: 'https://tietohiisi.fi/fhir/StructureDefinition/MyObservation'}
        index: 1
    required: [profile]
  derivedFrom: {index: 36}
  interpretation: {index: 29}
  encounter: {index: 14}
  method: {index: 31}
  specimen: {index: 32}
  valueQuantity: {type: Quantity, choiceOf: value, index: 22}
  value:
    choices: [valueQuantity]
    index: 21
  component: {index: 37}
  extension:
    type: Extension
    isModifier: false
    url: https://tietohiisi.fi/fhir/StructureDefinition/MyExtensionSovelluksenNimi
    index: 2
    slicing:
      slices:
        extensionSovelluksenNimi:
          match: {}
          schema: {type: Extension, isModifier: false, url: 'https://tietohiisi.fi/fhir/StructureDefinition/MyExtensionSovelluksenNimi', index: 2}
  effectiveDateTime: {type: dateTime, choiceOf: effective, index: 17}
  status:
    binding: {strength: required, valueSet: 'https://tietohiisi.fi/fhir/ValueSet/th-obs-status'}
    index: 5
  effective:
    choices: [effectiveDateTime]
    index: 16
  code:
    elements:
      coding:
        index: 7
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            loinc-koodi:
              match: {system: 'http://loinc.org'}
              schema:
                _required: true
                index: 8
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 9
                  code:
                    pattern: {type: Code, value: 8310-5}
                    index: 10
                  display: {index: 11}
                required: [display, system, code]
  bodySite: {index: 30}
  focus: {index: 13}
  issued: {index: 18}
  device: {index: 33}
  basedOn: {index: 3}
  partOf: {index: 4}
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Patient']
    index: 12
  performer: {index: 19}
  dataAbsentReason: {index: 28}
package_version: 0.1.0
extensions:
  extensionSovelluksenNimi: {url: 'https://tietohiisi.fi/fhir/StructureDefinition/MyExtensionSovelluksenNimi', type: Extension, isModifier: false, index: 2}
class: profile
kind: resource
url: https://tietohiisi.fi/fhir/StructureDefinition/MyObservation
base: http://hl7.org/fhir/StructureDefinition/Observation
version: 0.1.0
required: [effectiveDateTime, value, subject, meta, valueQuantity, effective]