<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NHSEngland-RelatedPerson-Genomics" />
  <url value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-RelatedPerson-Genomics" />
  <version value="0.3.0" />
  <name value="NHSEngland_RelatedPerson_Genomics" />
  <title value="NHSEngland RelatedPerson 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 [RelatedPerson](https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson)." />
  <purpose value="Used for linking Patients with relatives, both for capturing pedigree and family history as well as in the case of proband and consultand within duo and trio testing, where relatives are active test participants.&#xD;&#xA;&#xD;&#xA;For instances where clinical/demographic information for the related person are required and they are not included within testing, a Patient resource for the related person SHOULD be included, with the Patient.link field referencing the RelatedPerson resource for the same individual. Elements duplicated across both the Patient and RelatedPerson for the same individual SHOULD in this case be captured within the Patient resource only. The RelatedPerson resource then references the proband Patient resource through the RelatedPerson.patient field.&#xD;&#xA;&#xD;&#xA;For instances where demographic information is not required, e.g. where details regarding clinical pedigree only are required, and the relative if not part of testing, the UKCore-FamilyMemberHistory resource SHOULD be used instead.&#xD;&#xA;&#xD;&#xA;For Duo/Trio scenarios, RelatedPerson resources should be added to the supportingInfo field for the Consultand request, with links from the related person following the same pattern as above." />
  <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="RelatedPerson" />
  <baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-RelatedPerson" />
  <derivation value="constraint" />
  <differential>
    <element id="RelatedPerson.identifier">
      <path value="RelatedPerson.identifier" />
      <definition value="SHALL be provided. This SHOULD be NHS number or local identifier (if NHS number is unavailable e.g. for non UK residents) for the source of the relationship. This can be visualised using the nomenclature:&#xD;&#xA;{Source (identifier)} is the {Relationship type (relationship)} of {Target (patient)}&#xD;&#xA;'Ryanne Boulder' is the 'natural mother' of 'Fetus of Ryanne Boulder'&#xD;&#xA;In this case the Ryanne Boulder's identifier should be used for the RelatedPerson.identifier.&#xD;&#xA;&#xD;&#xA;If a local identifier is used, an assigner SHALL be provided. The RelatedPerson.identifier field SHALL match the identifier used for a FamilyMemberHistory or Patient resource if these resources are about the same person.&#xD;&#xA;&#xD;&#xA;NOTE: As a single individual MAY be related to a number of Patients the identifier used will not be unique across RelatedPerson resources. As such, both the identifier and patient elements SHOULD be used in conjunction to uniquely identify a relationship" />
      <min value="1" />
    </element>
    <element id="RelatedPerson.patient">
      <path value="RelatedPerson.patient" />
      <definition value="SHALL be provided. This SHOULD be a reference to the Patient resource and/or the identifier, e.g. NHS number, for the patient constituting the target of the relationship. This can be visualised using the nomenclature:&#xD;&#xA;{Source (identifier)} is the {Relationship type (relationship)} of {Target (patient)}&#xD;&#xA;'Ryanne Boulder' is the 'natural mother' of 'Fetus of Ryanne Boulder'&#xD;&#xA;&#xD;&#xA;In this case the fetal identifier should be used in the patient element." />
      <type>
        <code value="Reference" />
        <targetProfile value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-Patient-Genomics" />
        <aggregation value="referenced" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="RelatedPerson.relationship">
      <path value="RelatedPerson.relationship" />
      <definition value="SHOULD use the UK Core bound ValueSet and SHOULD be present in all instances of RelatedPerson wherever possible." />
      <min value="1" />
    </element>
    <element id="RelatedPerson.photo">
      <path value="RelatedPerson.photo" />
      <max value="0" />
    </element>
    <element id="RelatedPerson.period">
      <path value="RelatedPerson.period" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>