PackagesCanonicalsLogsProblems
    Packages
    ch.fhir.ig.ch-lab-report@0.1.1
    http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-diagnosticreport
description: This profile constrains the DiagnosticReport resource for the purpose of laboratory test reports in Switzerland.
package_name: ch.fhir.ig.ch-lab-report
derivation: constraint
name: ChLabDiagnosticReport
type: DiagnosticReport
elements:
  extension:
    index: 0
    slicing:
      rules: open
      ordered: false
      discriminator:
      - {path: url, type: value}
      min: 1
      slices:
        DiagnosticReportCompositionR5:
          match: {url: null}
          schema:
            type: Extension
            short: Associated Lab Report Composition
            url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition
            index: 1
            elements:
              value:
                choices: [valueReference]
                index: 3
              valueReference:
                type: Reference
                choiceOf: value
                refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-composition']
                index: 4
            required: [valueReference, value]
  basedOn:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-servicerequest']
    index: 5
  category:
    type: CodeableConcept
    short: Report Category
    index: 6
    slicing:
      rules: open
      discriminator:
      - {path: $this, type: pattern}
      min: null
      slices:
        studyType:
          match: {}
          schema:
            short: The clinical domain of the laboratory performing the observation (e.g. microbiology, toxicology, chemistry)
            binding: {strength: required, valueSet: 'http://fhir.ch/ig/ch-lab-report/ValueSet/ch-lab-report-lab-study-types'}
            array: true
            index: 7
          min: 0
        specialty:
          match: {}
          schema:
            short: The way of grouping of the test results into clinically meaningful groups (e.g. liver test; minerals; glucose profiles)
            binding: {strength: required, valueSet: 'http://hl7.eu/fhir/laboratory/ValueSet/lab-specialty-eu-lab'}
            array: true
            index: 8
          min: 0
  code:
    short: Laboratory report
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: 11502-2, system: 'http://loinc.org'}
    index: 9
    elements:
      coding:
        index: 10
        slicing:
          rules: open
          ordered: false
          discriminator:
          - {path: code, type: value}
          - {path: system, type: value}
          min: 1
          slices:
            CodeCode:
              match: {code: 11502-2, system: 'http://loinc.org'}
              schema:
                _required: true
                index: 11
                elements:
                  system:
                    pattern: {type: Uri, value: 'http://loinc.org'}
                    index: 12
                  code:
                    pattern: {type: Code, value: 11502-2}
                    index: 13
                required: [system, code]
    required: [coding]
  subject:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-patient']
    index: 14
  performer:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-organization', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitioner', 'http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-practitionerrole']
    index: 15
  result:
    type: Reference
    refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-observation-results-laboratory']
    index: 16
package_version: 0.1.1
extensions:
  DiagnosticReportCompositionR5:
    url: http://hl7.org/fhir/5.0/StructureDefinition/extension-DiagnosticReport.composition
    type: Extension
    short: Associated Lab Report Composition
    index: 1
    elements:
      value:
        choices: [valueReference]
        index: 3
      valueReference:
        type: Reference
        choiceOf: value
        refers: ['http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-report-composition']
        index: 4
    required: [valueReference, value]
class: profile
kind: resource
url: http://fhir.ch/ig/ch-lab-report/StructureDefinition/ch-lab-diagnosticreport
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 0.1.1
required: [extension, subject, result, performer]