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

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 »


ERD

See detailed data model here

Data structures

CONTRACT_REQUESTS

NameTypeM/OCapitation vs Reimbursment
iduuidM+
contractor_legal_entity_iduuidM+
contractor_owner_iduuidM+
contractor_basevarcharM+
contractor_payment_detailsjsonbM+
contractor_rmsp_amountnumberM-
external_contractor_flagbooleanO-
external_contractorsjsonb[]O-
contractor_employee_divisionsjsonb[]O-
contractor_divisionsarrayM+
start_datedateM+
end_datedateM+
nhs_legal_entity_iduuidO+
nhs_signer_iduuidO+
nhs_signer_basevarcharO+
assignee_iduuidO?
issue_cityvarcharO+
statusNEW, in_PROCESS, DECLINED, APPROVED, PENDING_NHS_SIGN, NHS_SIGNED, SIGNED, TERMINATEDM+
status_reasonvarcharO+
nhs_contract_pricenumberO-
nhs_payment_methodDICTIONARYO+
nhs_signed_datedateO+
miscvarcharO+
contract_numbervarcharO+
contract_iduuidO+
parent_contract_iduuidO

+

printout_contentvarcharO+
datajsonbO+
id_formDICTIONARYM+
inserted_byuuidM+
inserted_attimestampM+
updated_byuuidM+
updated_attimestampM+
medical_program_iduuidОnew
contract_typereimbursement/ capitationMnew

CONTRACTS

NameTypeM/OCapitation vs Reimbursment
iduuidM+
start_datedateM+
end_datedateM+
statusenum('TERMINATED', 'VERIFIED')M+
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_methodDICTIONARYM+
miscvarcharO+
nhs_signer_basevarcharM+
issue_cityvarcharM+
nhs_contract_pricenumberM-
contract_numbervarcharM+
contract_request_iduuidM+
is_suspendedbooleanM+
is_activebooleanM+
id_formDICTIONARYM+
inserted_byuuidM+
inserted_attimestampM+
updated_byuuidM+
updated_attimestampM+
program_iduuidОnew
contract_type reimbursement/ capitationMnew

CONTRACT_EMPLOYEES

NameTypeM/ODescription 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

NameTypeM/ODescription and constraints
iduuidM
division_idnumberM
contract_iduuidM
inserted_byuuidM
inserted_attimestampM
updated_byuuidM
updated_attimestampM

JSON Structures

CONTRACTOR_PAYMENT_DETAILS

NameTypeM/ODescription
payer_accountvarcharM
MFOvarcharM
bank_namevarcharM

EXTERNAL_CONTRACTORS

Namesub_fieldsTypeM/ODescription
legal_entity_id
uuidMexternal_contractor_id
contract{}
objectM

numbervarcharM

issued_attimestampM

expires_attimestampM
divisions[{}]
arrayM

iduuidM

medical_serviceDICTIONARYM

CONTRACTOR_EMPLOYEE_DIVISIONS

NameTypeM/ODescription and constraints
employee_iduuidM
staff_unitsnumberM
declaration_limitnumberM
division_iduuidM
  • No labels