/
EDR data synchronization

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

EDR data synchronization

General

EDR synchronization job gets actual info from the EDR and update corresponding edr_data for each legal entity in eHealth. It is not a regular job and uses only in cases when:

  • edr_data table is empty because of first deployment of the eHealth environment.

  • edr_id's in the edr_data table does not correspond to the actual values due to changes on the EDR side.

Configuration

Add the following environment variables

Value

Description

Example

Value

Description

Example

EDR_SYNCHRONIZATION_SCHEDULE

Cron parameter, represents start time of the EDR synchronization

"49 12 24 12 *"

Data flow

  1. EDR synchronization starts according to the schedule specified in the EDR_SYNCHRONIZATION_SCHEDULE variable.

  2. It prepares the list of legal entities to sync by selecting records from legal_entities table with an empty edr_data_id field.

Interacting with prm.legal_entities

References

Search for Legal Entity by edrpou in EDR

Get details from EDR by edr_id

EDR API specification

 

Related content

EDR data validation
EDR data validation
Read with this
Update Person verification status
Update Person verification status
Read with this
Create employee request v2
Create employee request v2
Read with this
Create/Update Legal Entity V2
Create/Update Legal Entity V2
Read with this
Get Employee details
Get Employee details
Read with this
Автоматизований процес верифікації персональних даних із даними з реєстру ДРФО
Автоматизований процес верифікації персональних даних із даними з реєстру ДРФО
Read with this

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