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

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

Hi, Are you talking about this API? Personal Demographics Service MESH - NHS England Digital ?
The data dictionary indicates you can get middle name.
I would recommend contact Stewart (stewart.fishman@nhs.net) Product Manager, for confirmation. Thanks

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

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

Thanks Jonathan, Let me try reaching out to Stewart

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 ):

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??

@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 :slight_smile:

Thanks Ali for your inputs.

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.

@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’ ]”