PackagesCanonicalsLogsProblems
    Packages
    il.tasmc.fhir.r4@0.4.1
    http://fhir.tasmc.org.il/StructureDefinition/tasmc-specimen-lab
description: tasmc Specimen Lab profile, based on sctSpecimen
package_name: il.tasmc.fhir.r4
derivation: constraint
name: TasmcSpecimenLab
type: Specimen
elements:
  id: {index: 0}
  identifier:
    elements:
      system:
        pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/labos-specimen-id'}
        type: uri
        index: 1
      value: {index: 2}
    required: [system, value]
  accessionIdentifier:
    elements:
      system:
        pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/labos-specimen-id'}
        type: uri
        index: 3
      value: {index: 4}
    required: [system, value]
  type:
    elements:
      coding:
        index: 5
        slicing:
          rules: open
          description: Type MUST contain at least one code
          discriminator:
          - {path: system, type: value}
          min: 1
          slices:
            tasmc:
              match: {system: 'http://fhir.tasmc.org.il/CodeSystem/labos-specimen-type'}
              schema:
                binding: {strength: required, valueSet: 'http://fhir.tasmc.org.il/ValueSet/tasmc-specimen-type'}
                index: 6
                elements:
                  system:
                    pattern: {type: uri, value: 'http://fhir.tasmc.org.il/CodeSystem/labos-specimen-type'}
                    type: uri
                    index: 7
                  code: {index: 8}
                  display: {index: 9}
                required: [code, display, system]
    required: [coding]
  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
          value: {index: 12}
        required: [system, value]
    required: [identifier]
  request:
    elements:
      identifier:
        elements:
          system:
            pattern: {type: uri, value: 'http://fhir.tasmc.org.il/identifier/labos-request'}
            type: uri
            index: 13
          value: {index: 14}
        required: [system, value]
  collection:
    elements:
      bodySite:
        elements:
          coding:
            index: 15
            slicing:
              rules: open
              discriminator:
              - {path: system, type: value}
              min: null
              slices:
                tasmc:
                  match: {system: 'http://fhir.tasmc.org.il/CodeSystem/labos-body-sites'}
                  schema:
                    index: 16
                    elements:
                      system:
                        pattern: {type: uri, value: 'http://fhir.tasmc.org.il/CodeSystem/labos-body-sites'}
                        type: uri
                        index: 17
                    required: [system]
  container:
    elements:
      type:
        elements:
          coding:
            elements:
              system:
                pattern: {type: uri, value: 'http://fhir.tasmc.org.il/CodeSystem/labos-container-type'}
                type: uri
                index: 18
            required: [system]
package_version: 0.4.1
class: profile
kind: resource
url: http://fhir.tasmc.org.il/StructureDefinition/tasmc-specimen-lab
base: http://fhir.health.gov.il/StructureDefinition/il-core-specimen
version: null
required: [id]