PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-lab-report@1.0.0-ballot
    http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-specimen
description: This profile constrains the Specimen resource for the purpose of laboratory test reports in Switzerland.
package_name: ch.fhir.ig.ch-lab-report
derivation: constraint
name: ChLabSpecimen
type: Specimen
elements:
  type:
    binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specimenType-eu-lab'}
    index: 0
  subject:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient', 'http://hl7.eu/fhir/laboratory/StructureDefinition/Patient-animal-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'http://hl7.org/fhir/StructureDefinition/Location', 'http://hl7.org/fhir/StructureDefinition/Substance']
    index: 1
  parent:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-specimen']
    index: 2
  request: {short: Why the specimen was collected., index: 3}
  collection:
    extensions:
      bodySite:
        url: http://hl7.org/fhir/StructureDefinition/bodySite
        type: Extension
        index: 5
        elements:
          value:
            choices: [valueReference]
            index: 7
          valueReference:
            type: Reference
            choiceOf: value
            refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/BodyStructure-eu-lab']
            index: 8
    elements:
      extension:
        index: 4
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            bodySite:
              match: {url: null}
              schema:
                type: Extension
                url: http://hl7.org/fhir/StructureDefinition/bodySite
                index: 5
                elements:
                  value:
                    choices: [valueReference]
                    index: 7
                  valueReference:
                    type: Reference
                    choiceOf: value
                    refers: ['http://hl7.eu/fhir/laboratory/StructureDefinition/BodyStructure-eu-lab']
                    index: 8
      bodySite:
        binding: {strength: preferred, valueSet: 'http://hl7.org/fhir/ValueSet/body-site'}
        index: 9
  processing:
    elements:
      additive:
        type: Reference
        refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/specimen-additive-substance-eu-lab', 'http://hl7.org/fhir/StructureDefinition/Substance']
        index: 10
  container:
    extensions:
      device: {url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device', min: 0, max: 1, type: Extension, index: 12}
    elements:
      extension:
        index: 11
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: url, type: value}
          min: null
          slices:
            device:
              match: {url: null}
              schema: {type: Extension, url: 'http://hl7.org/fhir/5.0/StructureDefinition/extension-Specimen.container.device', index: 12}
              min: 0
              max: 1
      type:
        binding: {strength: preferred, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specimenContainer-eu-lab'}
        index: 13
      additive:
        choices: []
        index: 15
package_version: 1.0.0-ballot
class: profile
kind: resource
url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-specimen
base: http://hl7.org/fhir/StructureDefinition/Specimen
version: 1.0.0-ballot
required: [type]