I would be grateful if you could help me structuring an app.
I was assigned a task to build a tb app and I have started it.
I want to try to describe the workflow. There are three cases that I have to register:
- Tb index case and its contacts
- Presumptive tb case (a patient who presents with symptoms or signs suggestive of TB)
In module I, I have a registration form where I register the three cases. In this form there are many questions. One of them is a single select question: ‘select the case types’ with two options – index case and presumptive. If the selected answer is index case, I register all the contacts living with the index in a repeat group. If the selected answer is presumptive case, there is another group of questions
In module II, Both contacts of index case and presumptive cases are screened for tb. If any contact or presumptive case tests positive, they must follow a treatment.
The biggest problem is if the presumptive tests positive, he/she becomes an index case and I must ask the same questions and register all their contacts as I did with tb index case in the registration form. (How to register the contacts of new tb index case? Copy the questions from the registration form into another form in a different module?)
Things are wired up in the flow and as someone new to commcare, Iam rather puzzled.
I got help from folks in my previous posts but Iam still stuck. The flow is complex