kshitijyelpale / blockchain-hyperledger-fabric-electronic-patient-records

GNU General Public License v3.0
49 stars 42 forks source link

Cu auzwdv screen for doctor #41

Closed kshitijyelpale closed 3 years ago

kshitijyelpale commented 3 years ago

addition of doctor pages

(+) new components patient-list-for-doctor.component to list patients for a doctor (+) new route 'doctor/:doctorId/patients' for new component (+) new class PatientDoctorViewRecord to display patient's data on doctor screen (+) addition of usernames besides toolbar title for all type of users (+) two fields in doctor form - username and password, for now will create credentials for doctor by admin. Will improve further just like patient (*) improved condition while fetching patient details for a doctor

solved the problem of updating medical details and adapted temp password renewal (+) added relevant class properties to handle tmp password renewal (*) used patient contract object to fetch readPatient() while updating medical details in doctor contract (+) on grant-revoke, changedBy field will be updated by patient id.

improvement on navigation bar, User type name with tooltip and redirection to required page

handling of grant-revoke buttons (+) added interface and class for doctor record in doctor.ts (+) added grant-revoke buttons (+) added backend rest calls in service file for grant,revoke and all doctors (+) condition to choose right admin user to connect to network while fetching doctors' info

image

kshitijyelpale commented 3 years ago

Task linked: CU-auzwdv Screen for doctor