...
The external system should then follow the standardAuthorization Code Grant workflow, to obtain an access token and refresh token from PKB, which will be associated with the user who just authenticated.
...
pnidcc. This must be set to thecountry code for the corresponding national identifier. For example, GB-ENG will allow you to provide an NHS number.
pnid. This is the actual value of the national identifier.
...