9 | | - User(**__ssn__**, firstName, lastName, email, password) |
10 | | - Patient(**__userId__***(User), patientId) |
11 | | - Doctor(**__userId__***(User), workingHours, licenseNumber, hospitalId) |
12 | | - Specialist(**__userId__***(User), licenseNumber, hospitalId) |
13 | | - Comment(**__commentId__**, comment, createdAt, **createdBy***(User)) |
14 | | - Report(**__reportId__**, isFinished, description) |
15 | | - MedicineRecepit(**__receiptId__**, **reportId***(Report), medicineName, quantity) |
16 | | - IsApprovedMedicineRecepit(**__receiptId__***(MedicineRecepit), **__approvedBy__***(User), comment, isApproved) |
17 | | - Examination(**__examinationId__**, **doctorId***(User), **specialistId***(User), **userId***(User), **reportId***(Report), dateTime) |
18 | | - Review(**__reviewId__**, **doctorId***(User), **userId***(User), rank) |
| 9 | - AppUser(**__ssn__**, email, password, firstName, lastName) |
| 10 | - Patient(**__userId__**(AppUser), patientId) |
| 11 | - Doctor(**__userId__**(AppUser), workingHours, licenseNumber, hospitalId) |
| 12 | - Specialist(**__userId__**(AppUser), licenseNumber, hospitalId) |
| 13 | - Comment(**__commentId__**, **createdBy**(AppUser), createdAt, comment) |
| 14 | - Report(**__reportId__**, description, isFinished) |
| 15 | - MedicineRecepit(**__medicineRecepitId__**, **reportId**(Report), medicineName, quantity) |
| 16 | - IsApprovedMedicineRecepit(**__approvalId__**, **receiptId**(MedicineRecepit), **approvedBy**(AppUser), IsApproved) |
| 17 | - Examination(**__examinationId__**, **patientId**(AppUser), **doctorId**(AppUser), **specialistId**(AppUser), dateTime) |
| 18 | - Review(**__reviewId__**, **patientId**(AppUser), **doctorId**(AppUser), rank) |