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

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 3 Next »

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

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

  • No labels