PackagesCanonicalsLogsProblems
    Packages
    rs/il.tasmc.fhir.r4@0.3.0
    http://fhir.tasmc.org.il/StructureDefinition/tasmc-specimen-lab
description: tasmc Specimen Lab profile, based on sctSpecimen
package_name: rs/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]
            sct:
              match: {system: 'http://snomed.info/sct'}
              schema:
                binding: {strength: extensible, valueSet: 'http://fhir.health.org.il/ValueSet/il-core-specimen-type'}
                _required: true
                index: 10
                elements:
                  system:
                    pattern: {type: uri, value: 'http://snomed.info/sct'}
                    type: uri
                    index: 11
                  code: {index: 12}
                  display: {index: 13}
                required: [code, display, system]
    required: [coding]
  subject:
    elements:
      identifier:
        index: 14
        elements:
          system:
            pattern: {type: uri, value: 'http://fhir.tasmc.health.gov.il/identifier/nmr-pat-int-num'}
            type: uri
            index: 15
          value: {index: 16}
        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: 17
          value: {index: 18}
        required: [system, value]
package_version: 0.3.0
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]