Table of Contents

Purpose

This WS gives the opportunity to update external identifier and other fields of unidentified person in eHealth, except note field.

...

  1. Extract client_id from token

  2. Check legal entity status (status = ACTIVE, SUSPENDED)

    1. In case of error - return 409 (Legal entity must be ACTIVE or SUSPENDED)

  3. Check legal entity has at least one healthcare service with status = ACTIVE and providing_condition = INPATIENT and speciality_type in <some global variable>

    1. if no such healthcare services - return 409 (Legal entity does not have appropriate healthcare services)

Validate ID

Check ID exists and belongs to preperson

...