Skip to content

Code the logic for patient onboarding/assessment flow and connect to UI #55

@mdmohsin7

Description

@mdmohsin7

We currently do not have the auth logic complete yet. So mock it for now. Once the user is authenticated. If the user is registering (that is we did not had any data about them before), then they'll be presented with patient details screen wherein they'll have to fill in all their details (this data should get saved in the patient table). Once that is done, , next they'll be provided with a list of assessments to pick from based on whether they are taking it for themselves or for their child (this is already captured on the previous screen, so use that to decide whether to fetch adult assessments or child assessments). The user will select an assessment and in the next screen they'll be presented with all the questions of that assessment. This data as well comes from the assessments table in supabase, once the patient fills in the data, the next step would be to call the supabase function that analyses the data. Also the assessment taken by the patient will have to be stored in supabase in a separate table. This table isn't there but you can create it. The table should also store the outcome of the assessment alongside the details like when it was taken etc etc.

Edit: The images that are visible in the assessments screen for each assessment should come from the backend itself. Store the image url in the assessment table

This is a bit big issue so feel free to reach out if any doubts arise

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions