/
RC_Search Person's merged persons (DMS)
Published Sep 9, 2024

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

RC_Search Person's merged persons (DMS)

Purpose

This method allows to find all persons, which were merged with this person. Also this endpoint shows all the persons who enter the whole chain of merges to this person.

Specification

https://uaehealthapi.docs.apiary.io/#reference/public.-medical-service-provider-integration-layer/persons/search-person%27s-merged-persons

Authorization

  • Verify the validity of access token

    • Return (401, 'Invalid access token') in case of validation fails

  • Verify that token is not expired

    • in case of error - return (401, 'Invalid access token')

  • Check user scopes in order to perform this action (scope = 'person:read')

    • Return (403, 'Your scope does not allow to access this resource. Missing allowances: person:read') in case of invalid scope(s)

Service logic

  1. Validate request

  2. Search existing records in MPI.merged_pairs table

    1. Render parameters:

      1. id

      2. inserted_at

      3. person_id (as merge_person_id in response)

      4. master_person_id (as person_id in response)

      5. updated_at

  3. Filter by status if “status” param present

  4. Return empty array if no data found.

Related content

Search Person's merged persons
Search Person's merged persons
More like this
Search for a person v3
Search for a person v3
More like this
Зв'язування неідентифікованої персони із ідентифікованою персоною
Зв'язування неідентифікованої персони із ідентифікованою персоною
Read with this
Get Merged persons
Get Merged persons
More like this
Preperson Data Model
Preperson Data Model
Read with this
RC_API. Sign merge request (DMS)
RC_API. Sign merge request (DMS)
More like this

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