# PDS FHIR API - Related Person Relationship Types

**URL:** <https://developer.community.nhs.uk/t/pds-fhir-api-related-person-relationship-types/507>\
**Category:** Personal Demographics Service FHIR API\
**Tags:** pds, fhir, spine\
**Created:** [27 September 2023 14:37 UTC](https://developer.community.nhs.uk/t/pds-fhir-api-related-person-relationship-types/507 "2023-09-27T14:37:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jake.hall3](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jake.hall3](https://developer.community.nhs.uk/u/jake.hall3)\
**Post date:** [27 September 2023 14:37 UTC](https://developer.community.nhs.uk/t/pds-fhir-api-related-person-relationship-types/507/1 "2023-09-27T14:37:41Z")

</div>

We are working on the automated validation of relationships using PDS data, the first goal is to look at the birth mother and child, from there expand into other relationship types.

Currently, we are running the [Related Person endpoint](https://digital.nhs.uk/developer/api-catalogue/personal-demographics-service-fhir#get-/Patient/-id-/RelatedPerson) of the PDS FHIR API to fetch the birth-mother child relationship for selected mother and child validation. When we run the related person endpoint for the mother, we get a list of children utilised from CHILD code, and there is a lack of NCHILD (Natural Child) support in the existing FHR API response, which means we cannot differentiate between what child relationship type this is.

We would like to understand the raw data relationship types that feed into the FHIR API relationship types for Mother and Child.

---

<div class="post-metadata">

**Author:** ![david.hamill1](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@david.hamill1](https://developer.community.nhs.uk/u/david.hamill1)\
**Post date:** [13 November 2024 12:06 UTC](https://developer.community.nhs.uk/t/pds-fhir-api-related-person-relationship-types/507/2 "2024-11-13T12:06:20Z")

</div>

Hi Jake,

Apologies for the (very) late reply.

There is a one-to-one mapping of “raw” PDS record relationship types to the PDS FHIR relationship types.

Due to this, as it currently stands, you will not be able to differentiate a child’s “natural” relationship with their linked parent.
