PackagesCanonicalsLogsProblems
    Packages
    fhir.r4.ukcore.stu3.currentbuild@0.0.7-sprint-7-review
    https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport-Lab
description: Defines the constraints and extensions on the UK Core Profile DiagnosticReport
package_name: fhir.r4.ukcore.stu3.currentbuild
derivation: constraint
name: UKCoreDiagnosticReportLab
type: DiagnosticReport
elements:
  category:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: coding.code, type: value}
      min: 1
      slices:
        sliceLaboratory:
          match:
            coding: {code: LAB}
          schema:
            index: 1
            elements:
              coding:
                elements:
                  system:
                    pattern: {type: uri, value: 'http://terminology.hl7.org/CodeSystem/v2-0074'}
                    type: uri
                    index: 2
                  code:
                    pattern: {type: code, value: LAB}
                    type: code
                    index: 3
  code:
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: '721981007', system: 'http://snomed.info/sct', display: Diagnostic studies report}
    type: CodeableConcept
    index: 4
  subject:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Patient']
    index: 5
  result:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-Lab', 'https://fhir.hl7.org.uk/StructureDefinition/UKCore-Observation-LabGroup']
    index: 6
package_version: 0.0.7-sprint-7-review
class: profile
kind: resource
url: https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport-Lab
base: https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport
version: 1.0.0
required: [category, subject]