Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

ERD

...

Data structures

CONTRACT_REQUESTS

NameTypeM/ODescription and constraints
iduuidM
contract_typecapitation, reimbursementM
contractor_legal_entity_iduuidM
contractor_owner_iduuidM
contractor_basevarchar (255)M
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

Reference to parent contract

Should be filled for update flow

printout_contentvarcharO
datajsonbO
id_formDICTIONARYM
inserted_byuuidM
inserted_attimestampM
updated_byuuidM
updated_attimestampM

CONTRACTS

NameTypeM/ODescription and constraints
iduuidM
contract_typecapitation, reimbursementM
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
nhs_signed_datedateO
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
parent_contract_iduuidO
typevarcharM
reasonstringO
signed_content_locationvarcharM
contractor_basevarcharO

...