PackagesCanonicalsLogsProblems
    Packages
    NHSD.Assets.STU3@1.5.0
    https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-DiagnosticReport-1
description: A test report for National Pathology that contains data on the pathology tests performed on patients specimens populated by the performing orgnaisation.
package_name: NHSD.Assets.STU3
derivation: constraint
name: CareConnect-DiagnosticReport-1
type: DiagnosticReport
elements:
  category:
    index: 1
    elements:
      coding:
        index: 2
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 3
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 5}
                elements:
                  extension:
                    index: 4
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 5}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 6
                  code: {index: 7}
                  display: {index: 8}
                required: [display, system, code]
  specimen:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Specimen-1']
    index: 19
  result:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Observation-1']
    index: 20
  code:
    elements:
      coding:
        index: 9
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 10
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 12}
                elements:
                  extension:
                    index: 11
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 12}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 13
                  code: {index: 14}
                  display: {index: 15}
                required: [display, system, code]
  context:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1']
    index: 17
  basedOn:
    type: Reference
    refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-ProcedureRequest-1']
    index: 0
  codedDiagnosis:
    index: 21
    elements:
      coding:
        index: 22
        slicing:
          rules: open
          discriminator:
          - {path: system, type: value}
          min: null
          slices:
            snomedCT:
              match: {system: 'http://snomed.info/sct'}
              schema:
                index: 23
                extensions:
                  snomedCTDescriptionID: {url: h, type: Extension, index: 25}
                elements:
                  extension:
                    index: 24
                    slicing:
                      rules: open
                      discriminator:
                      - {path: url, type: value}
                      min: null
                      slices:
                        snomedCTDescriptionID:
                          match: {url: null}
                          schema: {type: Extension, url: h, index: 25}
                  system:
                    pattern: {type: Uri, value: 'http://snomed.info/sct'}
                    index: 26
                  code: {index: 27}
                  display: {index: 28}
                required: [display, system, code]
  subject:
    type: Reference
    refers: ['http://hl7.org/fhir/StructureDefinition/Device', 'http://hl7.org/fhir/StructureDefinition/Group', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Location-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Patient-1']
    index: 16
  performer:
    elements:
      actor:
        type: Reference
        refers: ['https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Organization-1', 'https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Practitioner-1']
        index: 18
package_version: 1.5.0
class: profile
kind: resource
url: https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-DiagnosticReport-1
base: http://hl7.org/fhir/StructureDefinition/DiagnosticReport
version: 1.0.0
required: [subject]