Hi, Latika,
I think we discussed some ideas for this workflow a month or so back, but
it is confusing and I thought I would describe the idea here and see if
anyone else has a better way to do this:
The workflow is:
1- Register a household. In that form there is a question, how many
children are there in the household? (household_children_quantity). This
form is completed one time and in the form configuration,
household_children_quantity is used to update the case.
2- There is a follow up form to collect weight and height of all family
members including children. The idea is that rather than creating lots of
subcases from the registration form, there will be one form that will show
relevant groups of questions on each child until all the data has been
submitted. For example, the user goes the first time to a house with 7
children and is able to find 5 of them. She collects data from those 5 and
submits it. The next month she comes and finds one more child. She opens
the follow up form and only the relevant childrens'
Concept for the Follow up Form:
There would be ~6 questions about each child's anthroprometry all entered
into a group. Assuming a maximum of 15 children in one household, these
questions would be copied 15 times such that there are not 15 groups
(child1_anthro, child2_anthro, etc.)
Simple-to-build but less-user-friendly solution:
On the form configuration page, save everything to the case and then load
all of the values into the case. This will have the effect of when you fill
out the form and submit it, next time you open it the values from the last
visit will already be populated. The user can just skip forward through
them.
Complicated-to-build but more-user-friendly solution:
Each of these groups would have a display condition that references the
data node household_children_quantity. This data node would be loaded on
the form configuration with the value from the registration form. So, for
example, the group child2_anthro would have the display condition:
household_children_quantity >= 2
To keep things simpler, you could have a question at the end of each
"group" of questions:
Is this child's data complete? Yes or No
If yes this would set the value of that question (child1_data_complete)
to yes (1):
child1_data_complete = 1
Then you create a data node called child1_data_complete_prev
On the form settings you would select child1_data_complete_prev from
"loads data" and you would type child1_data_complete into the field. It
would look like this:
Loads data from the case:
child1_data_complete_prev loads data from child1_data_complete
This means that the data node *child1_data_complete_prev *will contain the
value from the previous time the form was filled out
Then for the group of questions related to child1 you set the display
condition to:
child1_data_complete_prev != 1
You would do the same thing for each of the children groups.
*NOTE: *You will need to be very careful with the updates the case/loads
the case settings.
I know that is pretty confusing so if anyone else has another suggestion or
wants to try to explain this more clearly, please feel free!
Jeremy
···
On Wed, Mar 20, 2013 at 1:29 PM, Sheel Shah wrote:
Hi Latika,
What is the workflow you have for each family member? Do you register
family members and do their anthoin the same visit? Do you have other
workflow you do for each family member after taking their antho?
If you do not have any other workflow after taking each family member's
antho, you can close the case representing them.
Case Management - CommCare Public - CommCare Public
Thanks,
Sheel
Are you registering each family member as a case in the system? Once
you've done the measurements for a particular family member, you can close
the case
On Wed, Mar 20, 2013 at 10:23 AM, Latika Sb latikasb007@gmail.com wrote:
Hi Cory,
We are doing study for Nutritionin community! In that we are
taking Anthropometry of Family member for eg. height & weight , date of
birth etc..
we create module for that, but we want data as in row and once we done
antho for one member next time that member will not shown in mobile it must
be hide from mobile and who is pending that will be shown only pl help us
how to do this?
sincerely,
latika
--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Sheel Shah
Project Manager | Dimagi India
t: +91 1146704670 | m: +91 9560187282
--
You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
Jeremy Wacksman
Dimagi http://www.dimagi.com, Inc.
(+001) 434.962.4098 | EST