# Enquiry about whether the response of patient end point also return middle name for a patient

**URL:** <https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593>\
**Category:** Personal Demographics Service (PDS)\
**Tags:** pds, spine\
**Created:** [9 August 2024 10:02 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593 "2024-08-09T10:02:17Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ma.chandershekhar.gu](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@ma.chandershekhar.gu](https://developer.community.nhs.uk/u/ma.chandershekhar.gu)\
**Post date:** [9 August 2024 10:02 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/1 "2024-08-09T10:02:17Z")

</div>

Team, Do we have any insight if the PDS response can return patient’s middle name as well? If yes then will it be available for every record. From where we can get these details

---

<div class="post-metadata">

**Author:** ![jonathan.eagle1](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jonathan.eagle1](https://developer.community.nhs.uk/u/jonathan.eagle1)\
**Post date:** [12 August 2024 07:58 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/2 "2024-08-12T07:58:06Z")

</div>

Hi, Are you talking about this API? [Personal Demographics Service MESH - NHS England Digital](https://digital.nhs.uk/developer/api-catalogue/personal-demographic-service-mesh) ?  
The data dictionary indicates you can get middle name.  
I would recommend contact Stewart ([stewart.fishman@nhs.net](mailto:stewart.fishman@nhs.net)) Product Manager, for confirmation. Thanks

---

<div class="post-metadata">

**Author:** ![ma.chandershekhar.gu](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@ma.chandershekhar.gu](https://developer.community.nhs.uk/u/ma.chandershekhar.gu)\
**Post date:** [12 August 2024 08:25 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/3 "2024-08-12T08:25:09Z")

</div>

Hi Jonathan, Thanks for your reply, We were enquiring about the PDS FHIR API…

---

<div class="post-metadata">

**Author:** ![jonathan.eagle1](https://avatars.discourse-cdn.com/v4/letter/j/4491bb/32.png) [@jonathan.eagle1](https://developer.community.nhs.uk/u/jonathan.eagle1)\
**Post date:** [12 August 2024 08:43 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/4 "2024-08-12T08:43:14Z")

</div>

Hi, I believe Stewart is till the correct contact and should be able to help you. Thanks

---

<div class="post-metadata">

**Author:** ![ma.chandershekhar.gu](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@ma.chandershekhar.gu](https://developer.community.nhs.uk/u/ma.chandershekhar.gu)\
**Post date:** [12 August 2024 08:44 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/5 "2024-08-12T08:44:29Z")

</div>

Thanks Jonathan, Let me try reaching out to Stewart

---

<div class="post-metadata">

**Author:** ![claudiu.dumitrascu1](https://avatars.discourse-cdn.com/v4/letter/c/ad7895/32.png) [@claudiu.dumitrascu1](https://developer.community.nhs.uk/u/claudiu.dumitrascu1)\
**Post date:** [15 August 2024 15:09 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/6 "2024-08-15T15:09:28Z")

</div>

Hi. Middle names are returned within the list of given names (see the schema for the “Get patient details” operation - [Personal Demographics Service - FHIR API - NHS England Digital](https://digital.nhs.uk/developer/api-catalogue/personal-demographics-service-fhir#get-/Patient/-id-) ):

 ![image](https://europe1.discourse-cdn.com/nhsdigitaldeveloper/original/1X/f26db0cf1f968e22a3b027480071c9aa0844e6cb.png)

---

<div class="post-metadata">

**Author:** ![ma.chandershekhar.gu](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@ma.chandershekhar.gu](https://developer.community.nhs.uk/u/ma.chandershekhar.gu)\
**Post date:** [16 August 2024 07:40 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/7 "2024-08-16T07:40:26Z")

</div>

Hi . Thanks for your response. I am still confused on how to figure out the middle name from the above example. Also will this always be returned??

---

<div class="post-metadata">

**Author:** ![ali.musa](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@ali.musa](https://developer.community.nhs.uk/u/ali.musa)\
**Post date:** [16 August 2024 10:02 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/8 "2024-08-16T10:02:34Z")

</div>

@ma.chandershekhar.gu

In the PDS FHIR response, it will return the first name under the ‘given name’ key. If the user has a middle name, it will also be included under the same ‘given name’ key but separated by a new line. Here’s an example for reference.  
Example1:  
“given”: [  
“Milo”,  
“Karl”  
]

Example2  
“given”: [  
“Garth”  
]

Still, you need more help you can DM me 🙂

---

<div class="post-metadata">

**Author:** ![ma.chandershekhar.gu](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@ma.chandershekhar.gu](https://developer.community.nhs.uk/u/ma.chandershekhar.gu)\
**Post date:** [16 August 2024 11:31 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/9 "2024-08-16T11:31:40Z")

</div>

Thanks Ali for your inputs.

---

<div class="post-metadata">

**Author:** ![ma.chandershekhar.gu](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@ma.chandershekhar.gu](https://developer.community.nhs.uk/u/ma.chandershekhar.gu)\
**Post date:** [20 August 2024 12:16 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/10 "2024-08-20T12:16:05Z")

</div>

Hi Ali,  
What if, if we get this kind of response as part of name

{  
family: ‘DANIELS’,  
given: [‘RICKY’, ‘BOBBY’, ‘JACK’],  
id: ‘coEYK’,  
period: { start: ‘2023-08-22’ },  
prefix: [‘Mr’],  
use: ‘usual’  
}

Can we infer middle name from here or since there is nothing coming as part of new line, we assume that there is no middle name.

---

<div class="post-metadata">

**Author:** ![ali.musa](https://avatars.discourse-cdn.com/v4/letter/a/fbc32d/32.png) [@ali.musa](https://developer.community.nhs.uk/u/ali.musa)\
**Post date:** [29 August 2024 09:27 UTC](https://developer.community.nhs.uk/t/enquiry-about-whether-the-response-of-patient-end-point-also-return-middle-name-for-a-patient/1593/11 "2024-08-29T09:27:18Z")

</div>

@ma.chandershekhar.gu If the given name has multiple values it always comes in new lines.

I never faced this kind of response “given: [‘RICKY’, ‘BOBBY’, ‘JACK’]”
