PackagesCanonicalsLogsProblems
    Packages
    fhir.outburn.co.il@0.3.1
    http://outburn.co.il/fhir/oncology/StructureDefinition/lrc-panel-lab-test-result
description: פאנל תוצאות, עבור מקרים בהם ServiceRequest אחד כולל בתוכו קוד אשר מייצג קבוצת בדיקות (פאנל\\סוללה).\r\nפרופיל זה אינו כולל את התוצאות עצמן אלא מצביע עליהן.
package_name: fhir.outburn.co.il
derivation: constraint
name: LrcPanelResult
type: Observation
elements:
  category:
    index: 5
    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: 6
            elements:
              coding:
                index: 7
                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: 8
                      min: 1
                      max: 1
            required: [coding]
  value[x]:
    elements:
      system:
        pattern: {type: uri, value: 'http://unitsofmeasure.org'}
        type: uri
        index: 21
  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
  code:
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          ordered: false
          description: Loinc Lab report
          discriminator:
          - {path: $this, type: value}
          min: 1
          slices:
            loinc-lab:
              match: {}
              schema:
                binding: {strength: required, valueSet: 'http://outburn.co.il/fhir/oncology/ValueSet/lrc-onco-panel-result-codes'}
                _required: true
                index: 10
                elements:
                  system: {index: 11}
                  code: {index: 12}
                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
    elements:
      reference: {index: 4}
    required: [reference]
  subject:
    type: Reference
    refers: ['http://fhir.health.gov.il/StructureDefinition/il-core-patient']
    index: 13
  performer: {index: 14}
package_version: 0.3.1
class: profile
kind: resource
url: http://outburn.co.il/fhir/oncology/StructureDefinition/lrc-panel-lab-test-result
base: http://fhir.health.gov.il/StructureDefinition/il-core-observation
version: null
required: [category, identifier, performer, subject]