Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Purpose

This WS gives the opportunity to update external identifier of unidentified person in eHealth.

Specification

TBD

Service logic

  1. Only authenticated and authorized OWNER, SPECIALIST, ASSISTANT, RECEPTIONIST employees can update external_id of prepersons.

  2. Prepersons can be registered in OUTPATIENT and EMERGENCY legal entities.

  3. Any legal entity can update preperson if it know person_id (returns after Create preperson).

  4. Only external_id field can be updated.

Authentication

  1. Verify the validity of access token

    1. Return 401 in case validation fails

  2. Check user scopes in order to perform this action (scope = 'preperson:update')

    1. Return 403 in case invalid scope(s)