<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NHSEngland-Procedure-Genomics" />
  <url value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-Procedure-Genomics" />
  <version value="0.3.0" />
  <name value="NHSEngland_Procedure_Genomics" />
  <title value="NHSEngland Procedure Genomics" />
  <status value="active" />
  <date value="2026-04-16" />
  <publisher value="NHS England" />
  <contact>
    <name value="NHS England" />
    <telecom>
      <system value="email" />
      <value value="interoperabilityteam@nhs.net" />
      <use value="work" />
      <rank value="1" />
    </telecom>
  </contact>
  <description value="This profile defines the Genomics constraints and extensions on the UK Core FHIR resource [Procedure](https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure)." />
  <purpose value="Used for detailing information on procedures the patient has had performed, to aid interpretation of Genomic test results.&#xD;&#xA;&#xD;&#xA;Assertion of an absence of a procedure being performed SHOULD be recorded using an Observation resource, as described in the UKCore-Observation&#xD;&#xA;&#xD;&#xA;At a minimum, Procedure resources are expected to contain the status, code, subject and performedDateTime, though additional information conforming to the FHIR profile below MAY be included if relevant.&#xD;&#xA;&#xD;&#xA;Genomic Study and Genomic Study Analysis profiles on Procedure MAY also be used as part of structured reporting." />
  <copyright value="Copyright © 2026+ NHS England 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="Procedure" />
  <baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-Procedure" />
  <derivation value="constraint" />
  <differential>
    <element id="Procedure.extension:genomicStudyAnalysisExt">
      <path value="Procedure.extension" />
      <sliceName value="genomicStudyAnalysisExt" />
      <definition value="From the Genomic Reporting IG Genomic Study profile. Reference to the Genomic Study Analysis resource, detailing the analyses performed as part of genomic test." />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genomic-study-analysis-ext" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Procedure.extension:genomicStudyAnalysisDevice">
      <path value="Procedure.extension" />
      <sliceName value="genomicStudyAnalysisDevice" />
      <definition value="From the Genomic Reporting IG Genomic Study Analysis profile. Various extensions covering the metadata related to a genomic test, e.g. regions studied, change types tested for etc. For the full list of extensions, please see the linked profile page.&#xD;&#xA;&#xD;&#xA;Specifically the extension:device element SHOULD be used to record the software/device that generated an observation, where applicable.&#xD;&#xA;&#xD;&#xA;Use of the profile and its extensions is pending further discovery of the data standards required for Genomic Reporting in the UK." />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/uv/genomics-reporting/StructureDefinition/genomic-study-analysis-device" />
      </type>
      <isModifier value="false" />
    </element>
    <element id="Procedure.status">
      <path value="Procedure.status" />
      <definition value="Status SHALL use the codes recommended in the base Procedure resource, appropriately tagging procedures as having been completed or in-progress etc. depending on the actual status of the procedure." />
    </element>
    <element id="Procedure.code">
      <path value="Procedure.code" />
      <definition value="SHALL be present. SNOMED CT coding is preferred, though alternative codings MAY be provided subject to review of the Coding system by the NHS England Genomics Unit.&#xD;&#xA;&#xD;&#xA;For the Genomic Study profile, expected to be from the Genomic Study Type ValueSet" />
      <min value="1" />
    </element>
    <element id="Procedure.code.coding">
      <path value="Procedure.code.coding" />
      <slicing>
        <discriminator>
          <type value="pattern" />
          <path value="$this" />
        </discriminator>
        <rules value="open" />
      </slicing>
    </element>
    <element id="Procedure.code.coding:codingSnomedCT">
      <path value="Procedure.code.coding" />
      <sliceName value="codingSnomedCT" />
      <binding>
        <strength value="preferred" />
        <valueSet value="https://fhir.hl7.org.uk/ValueSet/UKCore-ProcedureCode" />
      </binding>
    </element>
    <element id="Procedure.code.coding:codingGenomicStudyType">
      <path value="Procedure.code.coding" />
      <sliceName value="codingGenomicStudyType" />
      <binding>
        <strength value="preferred" />
        <valueSet value="http://hl7.org/fhir/uv/genomics-reporting/ValueSet/genomic-study-type-vs" />
      </binding>
    </element>
    <element id="Procedure.subject">
      <path value="Procedure.subject" />
      <definition value="SHALL be present. Reference to the associated Patient. This MAY be through a resource reference if the ID on the central service is known (or provided within the transaction bundle) or through NHS number where this is known and has been traced through PDS." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-Patient-Genomics" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Group" />
        <aggregation value="referenced" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="Procedure.performed[x]">
      <path value="Procedure.performed[x]" />
      <definition value="performed SHOULD be provided wherever possible, using the appropriate data type, to aid in interpretation of Genomic test results." />
    </element>
    <element id="Procedure.recorder">
      <path value="Procedure.recorder" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-PractitionerRole-Genomics" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/RelatedPerson" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Practitioner" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/PractitionerRole" />
        <aggregation value="referenced" />
        <aggregation value="bundled" />
      </type>
    </element>
  </differential>
</StructureDefinition>