<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="UKCore-DiagnosticReport" />
  <url value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-DiagnosticReport" />
  <version value="3.0.0" />
  <name value="UKCoreDiagnosticReport" />
  <title value="UK Core Diagnostic Report" />
  <status value="active" />
  <date value="2026-02-25" />
  <publisher value="HL7 UK" />
  <contact>
    <name value="HL7 UK" />
    <telecom>
      <system value="email" />
      <value value="ukcore@hl7.org.uk" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="This profile defines the UK constraints and extensions on the International FHIR resource [DiagnosticReport](https://hl7.org/fhir/R4/DiagnosticReport.html)." />
  <purpose value="This profile allows exchange of the findings and interpretation of diagnostic tests performed on individuals, groups of individuals, devices and locations and/or specimens derived from these. The report includes clinical context such as requesting and provider information and some mix of atomic results, images, textual and coded interpretations and formatted representation of diagnostic reports.&#xD;&#xA;&#xD;&#xA;Note: this profile SHALL NOT be used where a more specific UK Core profile exists." />
  <copyright value="Copyright © 2021+ HL7 UK Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may not use this file except in compliance with the License. You may obtain a copy of the License at  http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. HL7® FHIR® standard Copyright © 2011+ HL7 The HL7® FHIR® standard is used under the FHIR license. You may obtain a copy of the FHIR license at  https://www.hl7.org/fhir/license.html." />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <short value="The status of the diagnostic report." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <short value="A code that classifies the clinical discipline, department or diagnostic service that created the report." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.code">
      <path value="DiagnosticReport.code" />
      <short value="A code or name that describes this diagnostic report." />
      <mustSupport value="true" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-ReportCode" />
      </binding>
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <short value="The subject of the report - usually, but not always, the patient." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <short value="Health care event when test ordered." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued" />
      <short value="Clinically relevant time / time-period for report." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.performer.extension:deviceReference">
      <path value="DiagnosticReport.performer.extension" />
      <sliceName value="deviceReference" />
      <short value="A reference to a Device which interprets / performs the results of the DiagnosticReport." />
      <max value="1" />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeviceReference" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.extension:deviceReference">
      <path value="DiagnosticReport.resultsInterpreter.extension" />
      <sliceName value="deviceReference" />
      <short value="A reference to a Device which interprets / performs the results of the DiagnosticReport." />
      <type>
        <code value="Extension" />
        <profile value="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DeviceReference" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <short value="Observations that are part of this diagnostic report." />
      <mustSupport value="true" />
    </element>
    <element id="DiagnosticReport.conclusionCode">
      <path value="DiagnosticReport.conclusionCode" />
      <binding>
        <strength value="preferred" />
      </binding>
    </element>
  </differential>
</StructureDefinition>