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

Reporting Data model

Objects structure

CONTRACTS

Name
Type
M/O
Description and constraints
iduuidM
start_datedateM
end_datedateM
statusvarcharM
status_reasonstringO
contractor_legal_entity_iduuidM
contractor_owner_iduuidM
contractor_basevarcharM
contractor_payment_detailsjsonbM
contractor_rmsp_amountnumberM
external_contractor_flagbooleanO
external_contractorsjsonb[]O
nhs_legal_entity_iduuidM
nhs_signer_iduuidM
nhs_payment_methodvarcharM
nhs_payment_detailsjsonbM
nhs_signer_basevarcharM
issue_cityvarcharM
nhs_contract_pricedouble precisionM
contract_numbervarcharM
contract_request_iduuidM
is_suspendedbooleanM
is_activebooleanM
inserted_byuuidM
inserted_attimestampM
updated_byuuidM
updated_attimestampM

CONTRACT_EMPLOYEES

Name
Type
M/O
Description and constraints
iduuidM
employee_iduuidM
staff_unitsnumberM
declaration_limitnumberM
division_idnumberM
contract_iduuidM
start_datedateM
end_datedateO
inserted_byuuidM
inserted_attimestampM
updated_byuuidM
updated_attimestampM

CONTRACT_DIVISIONS

Name
Type
M/O
Description and constraints
iduuidM
division_idnumberM
contract_iduuidM
inserted_byuuidM
inserted_attimestampM
updated_byuuidM
updated_attimestampM

SERVICE_REQUESTS

NameTypeM/ODescription and constraints
iduuidMService request unique identifier
age_unitsvarcharMOne of - years, months, days
age_valuenumberMAge in years, months or days
gendervarcharMGender
inserted_attimestampMDate and time when the entity was created
timestamptimestampMDate and time when information of the entity was added to the report

PROCEDURES

NameTypeM/ODescription and constraints
iduuidMProcedure unique identifier
age_unitsvarcharMOne of - years, months, days
age_valuenumberMAge in years, months or days
gendervarcharMGender
inserted_attimestampMDate and time when the entity was created
timestamptimestampMDate and time when information of the entity was added to the report

DIAGNOSTIC_REPORTS

NameTypeM/ODescription and constraints
iduuidMDiagnostic report unique identifier
age_unitsvarcharMOne of - years, months, days
age_valuenumberMAge in years, months or days
gendervarcharMGender
inserted_attimestampMDate and time when the entity was created
timestamptimestampMDate and time when information of the entity was added to the report

ENCOUNTERS

NameTypeM/ODescription and constraints
iduuidMEncounter unique identifier
age_unitsvarcharMOne of - years, months, days
age_valuenumberMAge in years, months or days
gendervarcharMGender
inserted_attimestampMDate and time when the entity was created
timestamptimestampMDate and time when information of the entity was added to the report

ENCOUNTERS_REPORT

NameTypeM/ODescription and constraints
legal_entity_idvarchar(255)OLegal entity identifier (string format)
encounters_countintegerOEncounters count of legal entity
inserted_attimestampMDate and time when the entity was created

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