itsmohit097 / medi-hub

MERN STACK HOSPITAL MANAGEMENT SYSTEM
https://medi--hub.vercel.app/
MIT License
49 stars 100 forks source link

Add appointment type , method and duration in the backend #80

Closed Mohitgit22 closed 3 months ago

Mohitgit22 commented 4 months ago

Description

I'm adding new fields to the backend schema of the appointment management system using Mongoose and MongoDB .

Actual Behavior

The backend schema currently lacks fields for Appointment Type, Appointment Duration, and Booking Method.

Expected Behavior

I expect to add these new fields to enhance the functionality of the appointment management system.

Changes in backend

Appointment Type: Appointments can now be categorized as regular check-up, emergency, consultation, etc. Appointment Duration: Appointment duration can now be scheduled according to the preference of the user. Booking Method: A field indicating the booking source (online, phone, in-person) has been added for appointments.

Mohitgit22 commented 4 months ago

@itsmohit097 please assign this task for me under the GSSOC'24 tag.

itsmohit097 commented 3 months ago

@Mohitgit22 we have written backend for appointment . Pls do check. In appointment form there is only data showing from the patient and doctor's model. We will not taking any input from the user. If any functionality u want to add on this existed functionality. Kindly suggest here