<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="NHSEngland-FamilyMemberHistory-Genomics" />
  <url value="https://fhir.nhs.uk/StructureDefinition/NHSEngland-FamilyMemberHistory-Genomics" />
  <version value="0.3.0" />
  <name value="NHSEngland_FamilyMemberHistory_Genomics" />
  <title value="NHSEngland FamilyMemberHistory 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 [FamilyMemberHistory](https://fhir.hl7.org.uk/StructureDefinition/UKCore-FamilyMemberHistory)." />
  <purpose value="For collecting relevant Family Member History to aid interpretation of Genomic results. This is limited to collection of Pedigree information. The FamilyMemberHistory resource is not to be used to record participants involved in testing, e.g. in the case of Duo/Trio scenarios (in this case the RelatedPerson resource SHOULD be used instead)." />
  <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="FamilyMemberHistory" />
  <baseDefinition value="https://fhir.hl7.org.uk/StructureDefinition/UKCore-FamilyMemberHistory" />
  <derivation value="constraint" />
  <differential>
    <element id="FamilyMemberHistory.extension:fMHObservation">
      <path value="FamilyMemberHistory.extension" />
      <sliceName value="fMHObservation" />
      <definition value="An extension on the FamilyMemberHistory resource to include Observations relevant to Genomic testing/interpretation." />
      <type>
        <code value="Extension" />
        <profile value="http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation" />
      </type>
    </element>
    <element id="FamilyMemberHistory.identifier">
      <path value="FamilyMemberHistory.identifier" />
      <definition value="This SHOULD be NHS number or local identifier (if NHS number is unavailable e.g. for non UK residents), though this MAY be omitted if no identifier for the family member is known. If a local identifier is used, an assigner SHALL be provided. The FamilyMemberHistory.identifier field SHALL match the identifier used for a RelatedPerson resource if the same person is being referenced." />
      <max value="1" />
    </element>
    <element id="FamilyMemberHistory.status">
      <path value="FamilyMemberHistory.status" />
      <definition value="Used to mark the completeness of a given family member's clinical history. If the history of a family member is expected but no history could be obtained, this element SHOULD be filled with 'health-unknown'.&#xD;&#xA;Assertions regarding absence of relevant history SHOULD follow guidance within the HL7 FHIR R4 FamilyMemberHistory resource" />
    </element>
    <element id="FamilyMemberHistory.patient">
      <path value="FamilyMemberHistory.patient" />
      <definition value="SHALL be present. Reference to the associated proband Patient for which this family history is being obtained. 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" />
        <aggregation value="referenced" />
        <aggregation value="bundled" />
      </type>
    </element>
    <element id="FamilyMemberHistory.relationship">
      <path value="FamilyMemberHistory.relationship" />
      <definition value="SHALL be present. Relationship between the person the FamilyMemberHistory references and the proband Patient. Clinical histories for each family member are expected to be recorded in separate FamilyMemberHistory resources. If multiple resources are required, both FamilyMemberHistory and related clinical artifacts such as Condition/Observation resources, these MAY be contained within a List resource to improve readability." />
    </element>
  </differential>
</StructureDefinition>