PackagesCanonicalsLogsProblems
    Packages
    rs/il.core.fhir.r4@0.16.2
    http://fhir.health.gov.il/StructureDefinition/il-core-observation-lab
description: Israel Core proposed constraints and extensions on the ILCoreObservation Resource for laboratory observations
package_name: rs/il.core.fhir.r4
derivation: constraint
name: ILCoreObservationLab
type: Observation
elements:
  category:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: coding, type: pattern}
      min: 1
      slices:
        il-core:
          match: {coding: null}
          schema:
            _required: true
            index: 1
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 2
                  code:
                    pattern: {type: code, value: '108252007'}
                    type: code
                    index: 3
  interpretation: {mustSupport: true, index: 35}
  specimen: {mustSupport: true, index: 36}
  valueQuantity:
    type: Quantity
    mustSupport: true
    choiceOf: value
    index: 27
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, mustSupport: true, choiceOf: value, index: 27}
  value:
    mustSupport: true
    choices: [valueString]
    index: 32
    slicing:
      slices:
        valueString:
          match: {}
          schema:
            mustSupport: true
            choices: [valueString]
            index: 32
          min: 0
          max: 1
  valueString:
    type: string
    mustSupport: true
    choiceOf: value
    index: 33
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, mustSupport: true, choiceOf: value, index: 33}
          min: 0
          max: 1
  valueRatio: {type: Ratio, choiceOf: value, index: 24}
  valueBoolean: {type: boolean, choiceOf: value, index: 21}
  component:
    elements:
      value:
        choices: [valueCodeableConcept]
        index: 38
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                choices: [valueCodeableConcept]
                index: 38
      valueCodeableConcept:
        type: CodeableConcept
        choiceOf: value
        index: 39
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: value, index: 39}
  effectiveDateTime:
    type: dateTime
    mustSupport: true
    choiceOf: effective
    index: 10
    slicing:
      slices:
        effectiveDateTime:
          match: {}
          schema: {type: dateTime, mustSupport: true, choiceOf: effective, index: 10}
          min: 0
          max: 1
  effective:
    choices: []
    index: 7
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: $this, type: type}
      min: null
      slices:
        effectiveDateTime:
          match: {}
          schema:
            mustSupport: true
            choices: [effectiveDateTime]
            index: 9
          min: 0
          max: 1
  code:
    elements:
      coding:
        binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-lab-code'}
        index: 4
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: value
    index: 30
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 30}
  valueRange: {type: Range, choiceOf: value, index: 23}
  valueInteger: {type: integer, choiceOf: value, index: 22}
  subject: {index: 5}
  performer:
    mustSupport: true
    index: 11
    slicing:
      rules: open
      ordered: false
      description: Type of performer - organization or practitioner
      discriminator:
      - {path: type, type: type}
      min: 1
      slices:
        practitioner:
          match: {}
          schema:
            type: Reference
            refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-practitioner']
            array: true
            index: 12
            elements:
              type:
                pattern: {type: uri, value: ILCorePractitioner}
                type: uri
                index: 13
            required: [type]
        organization:
          match: {}
          schema:
            type: Reference
            refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-organization']
            array: true
            index: 14
            elements:
              type:
                pattern: {type: uri, value: ILCoreOrganization}
                type: uri
                index: 15
            required: [type]
  dataAbsentReason: {mustSupport: true, index: 34}
package_version: 0.16.2
class: profile
kind: resource
url: http://fhir.health.gov.il/StructureDefinition/il-core-observation-lab
base: http://fhir.health.gov.il/StructureDefinition/il-core-observation
version: 0.16.0
required: [category, performer, subject]