PackagesCanonicalsLogsProblems
    Packages
    il.tasmc.fhir.r4@0.4.1
    http://fhir.tasmc.org.il/StructureDefinition/tasmc-observation-lab
description: tasmc Observation Lab profile, based on ILcoreObservationLab
package_name: il.tasmc.fhir.r4
derivation: constraint
name: TasmcObservationLab
type: Observation
elements:
  id: {index: 0}
  identifier:
    elements:
      system:
        pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/labos-request'}
        type: uri
        index: 1
    required: [system]
  basedOn:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/labos-request'}
            type: uri
            index: 2
        required: [system]
  category:
    index: 3
    slicing:
      slices:
        il-core:
          match: {}
          schema:
            index: 3
            elements:
              coding:
                elements:
                  display:
                    pattern: {type: string, value: Laboratory procedure}
                    type: string
                    index: 4
  code:
    elements:
      coding:
        array: true
        min: 2
        max: 2
        index: 5
        slicing:
          rules: open
          description: Must have one ILCore Code and one of tasmc
          discriminator:
          - {path: system, type: value}
          min: 2
          max: 2
          slices:
            tasmcSingleResult:
              match: {system: 'http://fhir.tasmc.org.il/CodeSystem/labos-request-code'}
              schema:
                _required: true
                index: 6
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.tasmc.org.il/CodeSystem/labos-request-code'}
                    type: uri
                    index: 7
                  code: {index: 8}
                  display: {index: 9}
                required: [code, display, system]
  subject:
    elements:
      identifier:
        index: 10
        elements:
          system:
            pattern: {type: uri, value: 'http://fhir.tasmc.health.gov.il/identifier/nmr-pat-int-num'}
            type: uri
            index: 11
        required: [system]
    required: [identifier]
  performer:
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: system, type: value}
      min: null
      slices:
        practitioner:
          match: {system: null}
          schema:
            array: true
            index: 13
            elements:
              identifier:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/tasmc-practitioners'}
                    type: uri
                    index: 14
                  value: {index: 15}
                required: [system, value]
        lab-unit:
          match: {system: null}
          schema:
            array: true
            index: 16
            elements:
              identifier:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/tasmc-lab-unit'}
                    type: uri
                    index: 17
                  value: {index: 18}
                required: [system, value]
package_version: 0.4.1
class: profile
kind: resource
url: http://fhir.tasmc.org.il/StructureDefinition/tasmc-observation-lab
base: http://fhir.health.gov.il/StructureDefinition/il-core-observation-lab
version: null
required: [id]