diabetes-assistant / documentation

Diabetes Assistant related documentations
MIT License
0 stars 0 forks source link

Doctor and patient assignment #19

Closed meandor closed 3 years ago

meandor commented 3 years ago

As a patient or a doctor I want to be able to assign each other (patient + doctor, doctor + patient) so that we can make sure to have a secure and reliable way of sharing a treatment plan to use for the insulin dosage calculation.

Context

In order to properly assign doctors and patients, this process needs to be safe so we can make sure there are no mistakes. This means that the assignment needs to be done two ways so we can make sure two set of eyes have reviewed it. If there is an error in this process, it would mean that people could potentially get the wrong insulin dosage (fatal).

In scope

Out of scope

Tech notes

Acceptance Criteria

AC1

This can be used to test the feature out GIVEN ... WHEN ... THEN ...

Sketches

1. Patient Management dashboard

patient-management

2. Patient Management - Add patient

patient-management-add

3. App assign doctor - Click in menu

assign-menu

4. App assign doctor - Fragment without assignment

assign-fragment-inactive

5. App assign doctor - Invalid code

assign-fragment-invalid

6. App assign doctor - Valid code with preview of doctor

assign-fragment-preview

7. App assign doctor - Doctor assigned

assign-fragment-assigned

8. Patient Management - Doctor confirm assignment

patient-management-add-confirmed-patient

9. Patient Management - All done

patient-management-add-confirmed-done