ЕСОЗ - публічна документація

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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)

  • No labels