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 |
|
Data flow
EDR synchronization starts according to the schedule specified in the EDR_SYNCHRONIZATION_SCHEDULE variable.
It prepares the list of legal entities to sync by selecting records from
legal_entities
table with an emptyedr_data_id
field.
Interacting with prm.legal_entities
References
Search for Legal Entity by edrpou in EDR