PackagesCanonicalsLogsProblems
    Packages
    rs/il.core.fhir.r4.2023@0.1.0
    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.2023
derivation: constraint
name: ILCoreObservationLab
type: Observation
elements:
  category:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: value}
      min: 1
      slices:
        il-core:
          match: {}
          schema:
            _required: true
            index: 1
            elements:
              coding:
                pattern:
                  type: Coding
                  value: {code: '108252007', system: 'http://snomed.info/sct', display: Laboratory procedure (procedure)}
                type: Coding
                index: 2
  value[x]:
    elements:
      system:
        pattern: {type: uri, value: 'http://unitsofmeasure.org'}
        type: uri
        index: 19
  specimen: {mustSupport: true, index: 27}
  valueQuantity:
    type: Quantity
    mustSupport: true
    choiceOf: value
    index: 18
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, mustSupport: true, choiceOf: value, index: 18}
  value:
    mustSupport: true
    choices: [valueString]
    index: 24
    slicing:
      slices:
        valueString:
          match: {}
          schema:
            mustSupport: true
            choices: [valueString]
            index: 24
          min: 0
          max: 1
  valueString:
    type: string
    mustSupport: true
    choiceOf: value
    index: 25
    slicing:
      slices:
        valueString:
          match: {}
          schema: {type: string, mustSupport: true, choiceOf: value, index: 25}
          min: 0
          max: 1
  component:
    elements:
      value:
        choices: [valueCodeableConcept]
        index: 29
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema:
                choices: [valueCodeableConcept]
                index: 29
      valueCodeableConcept:
        type: CodeableConcept
        choiceOf: value
        index: 30
        slicing:
          slices:
            valueCodeableConcept:
              match: {}
              schema: {type: CodeableConcept, choiceOf: value, index: 30}
  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:
    binding: {strength: extensible, valueSet: 'http://fhir.health.gov.il/ValueSet/il-core-observation-lab-code'}
    index: 3
    elements:
      coding: {index: 4}
    required: [coding]
  valueCodeableConcept:
    type: CodeableConcept
    mustSupport: true
    choiceOf: value
    index: 22
    slicing:
      slices:
        valueCodeableConcept:
          match: {}
          schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 22}
  subject: {index: 5}
  performer:
    index: 11
    slicing:
      rules: open
      ordered: false
      description: Type of performer - organization or practitioner
      discriminator:
      - {path: type, type: type}
      min: 1
      slices:
        prac:
          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]
        org:
          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: 26}
package_version: 0.1.0
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.12.1
required: [category, performer, subject]