FHIR healthcare worker API assurance

Hi @sgroom here is some info in response to Q1 which might inform how you approach this:

  1. Name fields are always populated for active accounts
  2. SDS user IDs exist for anyone with an active Care ID. For inactive accounts the endpoint currently returns a 410 (Gone) response
  3. However, note that this will change in the next release of the API (we’re planning to deploy this to our path to live environments next week)
  4. More information on this change is here: Minor breaking change - 200 response if no matches - Healthcare Worker API - NHS England Developer Community

On Q2:

  1. Name fields are always populated for active accounts but for inactive - an empty fhir bundle will be returned - so a single user or an empty FHIR bundle
  2. There is guidance here: Minor breaking change - 200 response if no matches - Healthcare Worker API - NHS England Developer Community on how you might cater for this scenario
  3. I would check with the eRS A+G team on the standards that apply here - but I believe that display of the full name would be advisable to support identification and accountability. Note that currently the name is returned as a single string - in the “given” array. We are changing this - as specified here: Minor breaking change - separate given names - Healthcare Worker API - NHS England Developer Community

Thanks, Sarah