Purpose
This WS gives the opportunity to update external identifier of unidentified person in eHealth.
Specification
TBD
Service logic
Only authenticated and authorized OWNER, SPECIALIST, ASSISTANT, RECEPTIONIST employees can update external_id of prepersons.
Prepersons can be registered in OUTPATIENT and EMERGENCY legal entities.
Any legal entity can update preperson if it know person_id (returns after Create preperson).
Only external_id field can be updated.
Authentication
Verify the validity of access token
Return 401 in case validation fails
Check user scopes in order to perform this action (scope = 'preperson:update')
Return 403 in case invalid scope(s)