# URPID for PDS - what is it?

**URL:** <https://developer.community.nhs.uk/t/urpid-for-pds-what-is-it/9874>\
**Category:** Personal Demographics Service FHIR API\
**Tags:** pds, fhir, spine\
**Created:** [6 January 2026 12:15 UTC](https://developer.community.nhs.uk/t/urpid-for-pds-what-is-it/9874 "2026-01-06T12:15:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![helloworld](https://avatars.discourse-cdn.com/v4/letter/h/b782af/32.png) [@helloworld](https://developer.community.nhs.uk/u/helloworld)\
**Post date:** [6 January 2026 12:15 UTC](https://developer.community.nhs.uk/t/urpid-for-pds-what-is-it/9874/1 "2026-01-06T12:15:47Z")

</div>

hello

i’m working on integrating CIS2 and PDS (healthcare worker access) into our web application

the PDS docs at [https://digital.nhs.uk/developer/api-catalogue/personal-demographics-service-fhir/pds-fhir-technical-conformance---healthcare-worker-access-mode](https://digital.nhs.uk/developer/api-catalogue/personal-demographics-service-fhir/pds-fhir-technical-conformance---healthcare-worker-access-mode) mentions passing the URPID. however, i cannot find any other reference to this in the docs

the CIS2 docs at [https://digital.nhs.uk/services/care-identity-service/applications-and-services/cis2-authentication/guidance-for-developers/detailed-guidance/scopes-and-claims](https://digital.nhs.uk/services/care-identity-service/applications-and-services/cis2-authentication/guidance-for-developers/detailed-guidance/scopes-and-claims) mentions 2 possibly relevant scopes: selectedperson and nationalrbacaccess

do i need to be getting the person\_roleid claim from nationalrbacaccess scope and passing this as the URPID, or something else? if so, is this value always available for NHS users?

thanks in advance for any guidance

---

<div class="post-metadata">

**Author:** ![Adrian\_Hall](https://dub1.discourse-cdn.com/nhsdigitaldeveloper/user_avatar/developer.community.nhs.uk/adrian_hall/32/587_2.png) [@Adrian\_Hall](https://developer.community.nhs.uk/u/Adrian_Hall)\
**Post date:** [7 January 2026 11:18 UTC](https://developer.community.nhs.uk/t/urpid-for-pds-what-is-it/9874/2 "2026-01-07T11:18:11Z")

</div>

User Role Profile ID.  
From the National RBAC

If you are integrated with CIS2 Auth, you can force role selection using selected\_role or changed\_role scopes.

When you use HCW Access Mode, the user id and role id will be available to you

The userinfo from CIS2 Auth will list you _all_ their roles. The selected\_roleid from teh CIS2 Auth ID token is the role id.

See the “standards approach” on [User-restricted RESTful APIs - CIS2 separate authentication and authorisation - NHS England Digital](https://digital.nhs.uk/developer/guides-and-documentation/security-and-authorisation/user-restricted-restful-apis-cis2-separate-authentication-and-authorisation#phase-3-interact-with-our-user-restricted-apis)
