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

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 6 Next »

Purpose

This WS allows to get details about unidentified person from eHealth.

Specification

Apiary

Service logic

  1. Only authenticated and authorized SPECIALIST, ASSISTANT, RECEPTIONIST employees can get preperson.

  2. Preperson could be got only in OUTPATIENT or EMERGENCY legal entity type, if identifier of preperson is being known (returns after Create preperson).

  3. Only preperson table fields can be recieved.

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:read')

    1. Return 403 in case invalid scope(s)

Validate preperson_id

  1. Check preperson_id exists

    1. In case error - return 404

Prepare response

Render response

  • No labels