-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Add doctor availability date and time #6968
Comments
|
Dropping a draft model schema here: UserAvailabilityModel:
# relations
user: ForeignKey(UserModel.id)
location: ForeignKey(AssetLocationModel.id, null=True) # Any one of location or facility or none in final
facility: ForeignKey(Facility.id, null=True) # Any one of location or facility or none in final
# fields
day_of_week: SmallIntegerField(choices=[sun, mon, tue, wed, thu, fri, sat], db_index=True)
start_time: TimeField(db_index=True)
end_time: TimeField(db_index=True)
# meta fields
removed_at: DateTimeField(auto_delete_now=True, null=True) Indexes on fields |
@rithviknishad I also want to work on this issue. |
Hey @shramanpaul Feel free to pickup other unassigned issues: https://github.com/coronasafe/care_fe/issues?q=is%3Aissue+is%3Aopen+no%3Aassignee |
Updates as per discussion, The availability record should be optionally linked to a location and not a facility. |
As discussed,
|
Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity. |
Resolved with scheduling |
Is your feature request related to a problem? Please describe.
Currently we are not recording doctors availability in a facility based on a date and time
Describe the solution you'd like
For example, if a user is available on Monday from 2:00 to 4:00 PM, and Tuesday from 3:00 to 4:00 PM, we should be able to mark it or specify day availability without a specific time. Alternatively, there can be an option to specify availability all day in case the user does not want to mention specific times or days of availability.
The text was updated successfully, but these errors were encountered: