Open lulanovl opened 5 months ago
Description: Implement a function to add a new doctor to the database.
Fields:
Acceptance Criteria: A new doctor can be added with all required fields. Optional fields can be empty.
Description: Implement a function to retrieve a doctor’s details from the database.
Fields: All fields of the doctor entity.
Acceptance Criteria: Able to retrieve details of a doctor by their name or email.
Description: Implement a function to update an existing doctor’s details.
Fields: All fields of the doctor entity.
Acceptance Criteria: Able to update details of a doctor. Only the fields provided in the request will be updated.
Description: Implement a function to delete a doctor from the database.
Acceptance Criteria: A doctor can be deleted by their ID.
Create Doctor
As a Branch Administrator, I want to add a new doctor to the system so that our medical team can expand and new doctors can start seeing patients.
Read Doctor
As a Branch Administrator, I want to view detailed information about a doctor so that I can verify their credentials and ensure they are qualified to work at our branch.
Update Doctor
As a Branch Administrator, I want to update a doctor's information, such as their contact details or specialty, to ensure that our records are accurate and up-to-date.
Delete Doctor
As a Branch Administrator, I want to remove a doctor from the system if they are no longer working at our branch so that our records remain current and uncluttered.