PackagesCanonicalsLogsProblems
    Packages
    fhir.outburn.co.il@0.5.4
    http://outburn.co.il/fhir/oncology/StructureDefinition/lrc-onco-result
description: תוצאת בדיקת מעבדה בודדת.
package_name: fhir.outburn.co.il
derivation: constraint
name: LrcResult
type: Observation
elements:
  category:
    index: 4
    slicing:
      rules: open
      description: Slice for hl7 category codes
      discriminator:
      - {path: coding, type: pattern}
      min: 1
      slices:
        hl7-lab:
          match: {coding: null}
          schema:
            _required: true
            index: 5
            elements:
              coding:
                index: 6
                slicing:
                  rules: open
                  description: Slice for hl7 code for laboratory result
                  discriminator:
                  - {path: $this, type: pattern}
                  min: 1
                  slices:
                    hl7:
                      match: {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category', display: Laboratory}
                      schema:
                        pattern:
                          type: Coding
                          value: {code: laboratory, system: 'http://terminology.hl7.org/CodeSystem/observation-category', display: Laboratory}
                        _required: true
                        type: Coding
                        index: 7
                        elements:
                          system: {index: 8}
                          code: {index: 9}
                        required: [code, system]
            required: [coding]
  referenceRange:
    elements:
      low:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-common'}
        index: 22
        elements:
          system:
            pattern: {type: uri, value: 'http://unitsofmeasure.org'}
            type: uri
            index: 23
      high:
        binding: {strength: required, valueSet: 'http://hl7.org/fhir/ValueSet/ucum-common'}
        index: 24
        elements:
          system:
            pattern: {type: uri, value: 'http://unitsofmeasure.org'}
            type: uri
            index: 25
    required: [high, low]
  value[x]:
    elements:
      system: {index: 21}
    required: [system]
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 20
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 20}
  value:
    choices: [valueQuantity]
    index: 19
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 19
  component:
    index: 26
    slicing:
      rules: open
      ordered: false
      description: Textual or Nominal
      discriminator:
      - {path: code, type: value}
      min: null
      slices:
        textual:
          match: {code: null}
          schema:
            index: 27
            elements:
              code:
                elements:
                  coding:
                    index: 28
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 29
                      code:
                        pattern: {type: code, value: '117444000'}
                        type: code
                        index: 30
                      display:
                        pattern: {type: string, value: Text value}
                        type: string
                        index: 31
                required: [coding]
              value:
                choices: [valueString]
                index: 36
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema:
                        choices: [valueString]
                        _required: true
                        index: 36
                      min: 1
                      max: 1
              valueString:
                type: string
                choiceOf: value
                index: 37
                slicing:
                  slices:
                    valueString:
                      match: {}
                      schema: {type: string, choiceOf: value, _required: true, index: 37}
                      min: 1
                      max: 1
            required: [value, valueString]
        nominal:
          match: {code: null}
          schema:
            index: 38
            elements:
              code:
                elements:
                  coding:
                    index: 39
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://snomed.info/sct'}
                        type: uri
                        index: 40
                      code:
                        pattern: {type: code, value: '117362005'}
                        type: code
                        index: 41
                      display:
                        pattern: {type: string, value: Nominal value}
                        type: string
                        index: 42
                required: [coding]
              value:
                choices: [valueCodeableConcept]
                index: 47
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema:
                        choices: [valueCodeableConcept]
                        index: 47
              valueCodeableConcept:
                type: CodeableConcept
                choiceOf: value
                index: 48
                slicing:
                  slices:
                    valueCodeableConcept:
                      match: {}
                      schema: {type: CodeableConcept, choiceOf: value, index: 48}
              value[x]:
                elements:
                  coding: {index: 49}
                required: [coding]
  code:
    binding: {strength: extensible, valueSet: 'http://outburn.co.il/fhir/oncology/ValueSet/lrc-result-codes'}
    index: 10
    elements:
      coding:
        index: 11
        slicing:
          rules: open
          ordered: false
          description: Loinc Lab report
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            loinc-lab:
              match: {}
              schema:
                _required: true
                index: 12
                elements:
                  system:
                    pattern: {type: uri, value: 'http://loinc.org'}
                    type: uri
                    index: 13
                  code: {index: 14}
                required: [code, system]
    required: [coding]
  identifier:
    index: 0
    elements:
      system: {index: 1}
      value: {index: 2}
    required: [system, value]
  basedOn:
    type: Reference
    refers: ['http://outburn.co.il/fhir/oncology/StructureDefinition/lrc-referral']
    index: 3
  subject:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-patient']
    index: 15
    elements:
      reference: {index: 16}
    required: [reference]
  performer: {index: 17}
package_version: 0.5.4
class: profile
kind: resource
url: http://outburn.co.il/fhir/oncology/StructureDefinition/lrc-onco-result
base: http://fhir.health.gov.il/StructureDefinition/il-core-observation
version: null
required: [category, identifier, performer]