<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NHSEngland-BodyStructure-GenomicsmCODE" />
  <url value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-BodyStructure-GenomicsmCODE" />
  <version value="0.3.0" />
  <name value="NHSEngland_BodyStructure_GenomicsmCODE" />
  <title value="NHSEngland BodyStructure GenomicsmCODE" />
  <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 mCODE FHIR resource [Tumour BodyStructure](http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor)." />
  <purpose value="Only required where additional elements regarding the body site need to be captured, e.g. histology/morphology. If a simple SNOMED CT anatomical location code is sufficient, this SHOULD be captured in Specimen.bodySite.&#xD;&#xA;&#xD;&#xA;For metastatic sites vs. primary, the Condition resource SHOULD be used instead, following guidance from the mCode FHIR IG" />
  <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="BodyStructure" />
  <baseDefinition value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-tumor" />
  <derivation value="constraint" />
  <differential>
    <element id="BodyStructure.morphology">
      <path value="BodyStructure.morphology" />
      <definition value="SHALL be provided where relevant. SHOULD use SNOMED CT encoding. SHOULD use a code under the `14799000 | Neoplasm, metastatic (morphologic abnormality)` concept if the sample has been collected from a metastatic site, as opposed to primary." />
    </element>
    <element id="BodyStructure.location">
      <path value="BodyStructure.location" />
      <definition value="SHALL be provided where relevant. SHOULD use SNOMED CT encoding. Equivalent to Topography when used in conjunction with locationQualifier." />
    </element>
    <element id="BodyStructure.locationQualifier">
      <path value="BodyStructure.locationQualifier" />
      <definition value="SHALL be provided where relevant. SHOULD use SNOMED CT encoding." />
    </element>
    <element id="BodyStructure.patient">
      <path value="BodyStructure.patient" />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-Patient-Genomics" />
        <targetProfile value="http://hl7.org/fhir/us/mcode/StructureDefinition/mcode-cancer-patient" />
        <aggregation value="referenced" />
        <aggregation value="bundled" />
      </type>
    </element>
  </differential>
</StructureDefinition>