Users have to go through a medical questionnaire to complete the registration, but also a second time during the onboarding process, after they sign in for the first time.
Our biggest challenge was to develop a dynamic questionnaire where question_2 is dependent on question_1’s answer.
The problem with this was that every time an user updated an answer, we had to reset the questionnaire (and make the request for the list of results) from that point on; if the user decided to go back, we had to reset the questionnaire back with the previous answers (and again, making the request for the list of results).