Skip to content
This repository has been archived by the owner on May 2, 2022. It is now read-only.

[USER STORY]: Patients should be automatically assigned to a Medical Staff (if they ask for help) #56

Closed
3 tasks done
martinsenecal opened this issue Jan 28, 2022 · 0 comments
Assignees
Labels
story User Story
Milestone

Comments

@martinsenecal
Copy link
Collaborator

martinsenecal commented Jan 28, 2022

About this story

Priority: Medium
Story Points: Fibonacci Sequence: (8)
Risk: [Medium]

Description:
For this story, the system should automatically assign patients to a medical staff according to the medical staff slots and appointment slots. This will be part of the triage system:

  • Patients will automatically be assigned to available medical staff based on their defined slots
  • If no slots are available patients will be automatically be assigned to the next available slot (through the creation of another medical staff or expansion of slots or a patient case is closed).

Exit Criteria
-Patient should be assigned to medical staff or be put on the waitlist.

Sub-Tasks/Steps

  • Backend Logic (Assign Patient to Medical Staff)
  • Add Redirection from Ask For Help to the right page (waitlisted or doctor)
  • Write Tests (Unit/Integration)

Additional context
Ask-For-Help is already done. We need to link this logic to the ask-for-help component and then redirect to the right page in the dashboard.

Linked to Issue: #27

@martinsenecal martinsenecal added this to the Sprint 3 milestone Feb 19, 2022
@martinsenecal martinsenecal changed the title [USER STORY]: Patients should be automatically assigned to a medical Staff (if they ask for help) [USER STORY]: Patients should be automatically assigned to a Medical Staff (if they ask for help) Feb 22, 2022
@martinsenecal martinsenecal added the story User Story label Feb 22, 2022
gkillick added a commit that referenced this issue Mar 12, 2022
gkillick added a commit that referenced this issue Mar 12, 2022
gkillick added a commit that referenced this issue Mar 13, 2022
gkillick added a commit that referenced this issue Mar 13, 2022
gkillick added a commit that referenced this issue Mar 14, 2022
martinsenecal added a commit that referenced this issue Mar 16, 2022
KrisTheCanadian pushed a commit that referenced this issue Mar 16, 2022
KrisTheCanadian pushed a commit that referenced this issue Mar 16, 2022
KrisTheCanadian pushed a commit that referenced this issue Mar 16, 2022
KrisTheCanadian pushed a commit that referenced this issue Mar 16, 2022
KrisTheCanadian pushed a commit that referenced this issue Mar 16, 2022
martinsenecal added a commit that referenced this issue Mar 16, 2022
gkillick added a commit that referenced this issue Mar 16, 2022
gkillick added a commit that referenced this issue Mar 16, 2022
martinsenecal added a commit that referenced this issue Mar 16, 2022
…ff + Backup Assignment for Admin) (#117)

* #56 added function to save score

* #56 adding cloud function for assignment of doctor

* #56 adding uid to admin table

* #56 table displays available patient slots

* #56 adjusted table, added modal for edit

* #56 updating of patient slots, refactoring of various components

* #56 adjustments to admin table

* #56 adjusted update patient slots function

* #56 fixed responsiveness in admin dashboard

* #56 updated cloud function to decrement available slots of doctor who is assigned patient

* #39 functions for triage after admin auto adjusting timeslots

* #39 temporarily displaying assigned doctor for patient

* #39 fixed subscribe to database

* #56 Fixed tests

* #56 Added User Answers Array + Priority Points

* #56 - Added Users Help Data to DB + Score Logic

* #56 Fixed bug in point system + user Answer array

* #56 - fixed pr comments

* #56 - Refactor Dashboard

* #56 - Fix Issue with Firebase Package Import

* #56 fixed infinite loop

* Added a constant file for medical

* removed unused firestore user reference

* #56 temp fix for test

Co-authored-by: Graeme <gkillick@gmail.com>
Co-authored-by: Mimi <m_bogdev@live.concordia.ca>
Co-authored-by: Kris <kristhecanadian101@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
story User Story
Projects
None yet
Development

No branches or pull requests

3 participants