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

EDR verification results

General

All the data received from EDR must be stored locally as an evidence. It could be used for investigations, monitoring approaches and as a source for FE comparison

Storage data model

EDR_VERIFICATIONS

DB: prm

Table name: edr_verifications

ParameterTypeM/ODescription
iduuidMUnique record identifier
legal_entity_iduuidM
status_codevarchar(3)OHTTP Response code received from EDR API
edr_statusvarchar(30)O

Verification result based on predefined rules

IL.Create/Update Legal Entity

Enum:

  • VERIFIED
  • VERIFICATION_ERROR
edr_stateintegerOState of Legal Entity in EDR
edr_datajsonbO

Data received from EDR

EDR data validation

legal_entity_datajsonbO
inserted_attimestampMInserted datetime
error_messagetextO

Error message

Error raised on ehealth side

MV_EDR_VERIFICATIONS

DB: prm

Type: materialized view

View name: mv_edr_verifications

ParameterTypeM/ODescription
legal_entity_iduuidM
edr_datajsonbO

EDR response converted to required structure

See. EDR_DATA_STRUCTURE

legal_entity_datajsonbO

Legal entity data converted to required structure

See. LEGAL_ENTITY_DATA_STRUCTURE

last_verified_datetimestampMLast verified date
verification_resultvarchar(30)M

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