Versions Compared

Key

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

Table of Contents

ERD


View file
nameerd_example_v5.pdf
height250


Data structures

PERSONS


NameTypeM/ODescription and constraints
iduuidM
last_namevarcharM
first_namevarcharM
second_namevarcharO
birth_datedateM
birth_countryvarcharM
birth_settlementvarcharM
gender
M
email
O
tax_id
O
death_date
O
is_active
M
documents
M
addresses
M
phones
O
secret
O
emergency_contact
M
confidant_person
O
patient_signed
M
process_disclosure_data_consent
M
authentication_methods
M
preferred_way_communication
M


PARTIES


NameTypeM/ODescription and constraints
iduuidM
last_namevarcharM
first_namevarcharM
second_namevarcharO
person_iduuidO
emailvarcharM
birth_datedateM
gendervarcharM
tax_idvarcharM
no_tax_idbooleanO
documentsjsonb[]M
phonesjsonb[]M
educationsjsonb[]O
qualificationsjsonb[]O
specialitiesjsonb[]O
science_degreejsonbO
about_myselfdateO
working_experiencestringO


EMPLOYEES


NameTypeM/ODescription and constraints
iduuidM
person_iduuidO
positionvarcharM
statusvarcharM
status_reasonvarcharO
employeevarcharM
employee_typevarcharM
is_activebooleanM
start_datetimestampM
end_datetimestampO
legal_entity_iduuidM
division_iduuidO
specialityjsonbO


USERS

NameTypeM/ODescription and constraints
iduuidM
emailvarcharM
passwordvarcharM
settingsjsonbO
priv_settingsjsonbO
is_blockedbooleanO
block_reasonvarcharO
person_iduuidO
inserted_attimeatampM
updated_attimeatampM



NameTypeM/ODescription and constraints
iduuidM
namevarcharM
short_namevarcharM
public_namevarcharM
statusvarcharM
typevarcharM
owner_property_typevarcharM
legal_formvarcharM
edrpouvarcharM
kvedsvarcharM
addressesjsonbM
phonesjsonbM
emailjsonbM
is_activebooleanM
mis_verifiedbooleanO
nhs_verifiedbooleanO
websitevarcharO
beneficiaryvarcharO
receiver_funds_codevarcharO
archivejsonbO


DIVISIONS

NameTypeM/ODescription and constraints
iduuidM
external_id varcharO
namevarcharM
typevarcharO
mountaint_groupbooleanM
locationgeometryM
addressesjsonbM
phonesjsonbM
emailvarcharM
working_hoursjsonbO
is_activejsonbO
legal_entity_iduuidM
statusenum ('')M