PackagesCanonicalsLogsProblems
    Packages
    fhir.outburn.co.il@0.2.0
    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: {}
                      schema:
                        _required: true
                        index: 8
                        elements:
                          system:
                            pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/observation-category'}
                            type: uri
                            index: 9
                          code:
                            pattern: {type: code, value: laboratory}
                            type: code
                            index: 10
                          display:
                            pattern: {type: string, value: Laboratory}
                            type: string
                            index: 11
            required: [coding]
  value[x]:
    elements:
      system:
        pattern: {type: uri, value: 'http://unitsofmeasure.org'}
        type: uri
        index: 24
  valueQuantity:
    type: Quantity
    choiceOf: value
    index: 23
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema: {type: Quantity, choiceOf: value, index: 23}
  value:
    choices: [valueQuantity]
    index: 22
    slicing:
      slices:
        valueQuantity:
          match: {}
          schema:
            choices: [valueQuantity]
            index: 22
  code:
    elements:
      coding:
        index: 12
        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: 13
                elements:
                  system: {index: 14}
                  code: {index: 15}
                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: 16
  performer: {index: 17}
package_version: 0.2.0
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]