Create component for monitoring setup page #37hg3wd
I have restructured the issues concerning the monitoring setup. This issue stays here as a shell with sub issues; this issue can be considered done, when all of the sub issues are done.
I will use this issue, to describe the overall goal and give context to the sub issues.
What is the Monitoring setup meant to do?
The goal here is to have the HCP create a SymptomCheck
('Monitoring' is just another name for it) and hand it over to Patient.
The SymtomCheck creation comes with multiple steps (not all of them are part if this iteration):
- optionally selecting a template (set of curated questions)
- adding questions from predefined lists
- creating custom questions
- customizing questions
- setting schedules for all or some questions
- maybe more
Current State and how to progress from there
Most of the SymptomCheck creation is already covered at @rcc/features/symptom-check/edit
, but things over there are differently structured then in the new layouts, steps happen in a different order, some steps of the old setup split into multiple steps of the new layout, other steps get combined. Another rather big difference is that the current monitoring setup happens in a modal. The new layout (with with a header including logo and menu) seems to be a better fit for a page with it's own path.
Adapting the current way at @rcc/features/symptom-check/edit
to the new layout is probably more complicated that creating it from scratch. The current way is still a good source to check of how things can be done, with the resources the app already has.
That said, we're doing it from scratch, and any abstractions, generalizations and restructuring we can do some other time in the future (very much looking forward to that :P)
I recommend putting everything, concerning the monitoring setup, into a new folder: @rcc/features/monitoring
Sub Issues
Issues on the same level can (pretty much) be done in parallel:
- #247+.
Layouts
Here's what the the final screens should look like.
Screen layout normal and hovered/tapped: