UltimateHealth icon indicating copy to clipboard operation
UltimateHealth copied to clipboard

💡[FEATURE]: Create API for Storing Doctor Specializations.

Open SB2318 opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe.

Create an API that can store a list of categories of specializations for various doctors. This API will allow users to access and update the list of specializations easily.

Describe the solution you'd like

Schema:{
    [
     {
      id: string,
      name: string,
      countOfExistingDoctors: number,
      doctor_ids:[ ],
      last_updated_at : date,
      created_at :  date,
      contributed_by: UserData
     }

  ]
}

example :[ "Cardiology", "Dermatology", "Pediatrics"]

SB2318 avatar May 23 '24 07:05 SB2318

Hey @SB2318, i would like to give a try please assign me this task!

rushiii3 avatar May 23 '24 16:05 rushiii3

Hey @SB2318, i would like to give a try please assign me this task!

I have not seen any PR yet.

SB2318 avatar May 23 '24 16:05 SB2318

Hey @SB2318, I have doubts:

  1. id: string is it a string like "Cardiology" or a MongoDB object like "664f8078c307087311e5259a"?
  2. contributed_by: UserData what does UserData refer to?

rushiii3 avatar May 23 '24 17:05 rushiii3

Hey @SB2318, I have doubts:

  1. id: string is it a string like "Cardiology" or a MongoDB object like "664f8078c307087311e5259a"?
  2. contributed_by: UserData what does UserData refer to?

I will explain

SB2318 avatar May 23 '24 18:05 SB2318

Hey @SB2318, kindly update me as soon as possible.

rushiii3 avatar May 27 '24 16:05 rushiii3

Hey @SB2318, kindly update me as soon as possible.

id : random id for mongodb object , it is a primary key UserData : UserModel object (./backend/models/UserModel.js)

SB2318 avatar May 27 '24 17:05 SB2318

Hey @SB2318, kindly check the PR #99

rushiii3 avatar May 31 '24 15:05 rushiii3

Hello @SB2318! Your issue #76 has been closed. Thank you for your contribution!

github-actions[bot] avatar Jun 03 '24 09:06 github-actions[bot]