# Nutrition grid ODK?

Hello ODK Community,

We will be carrying out an impact evaluation on Nutrition and I am trying to see if it is possible to do the following on ODK

We have coded our questionnaires already but there is a malnutrition grid that we are trying to code onto ODK. So basically what we want to do is the following:

1. After the surveyor measures the height and weight of the child, he then enters the sex, we would like if possible that the system returns info on whether that child is acutely malnourished or not based on possible constraints built on the question for example

After entering that the child is a boy, 45 cms tall and weights less than 1.9 kg the system would ideally say "child extremely malnourished"
After entering that the child is a boy, 45 cms tall and weights between 1.9 and 2 kg the system would say "child malnourished"
After entering that the child is, 45 cms tall and weights more than 2, the system would say "child OK"

Is this possible?

Many thanks in advance

Ulises

Yes. Use a calculate expression to compute whether or not they are
malnourished.

Then use a note or acknowledge prompt to display the outcome (or hide it
with a relevant condition if you don't need to message non-malnourishment
to the user).

··· On Tue, May 13, 2014 at 6:24 AM, wrote:

Hello ODK Community,

We will be carrying out an impact evaluation on Nutrition and I am trying
to see if it is possible to do the following on ODK

We have coded our questionnaires already but there is a malnutrition grid
that we are trying to code onto ODK. So basically what we want to do is the
following:

1. After the surveyor measures the height and weight of the child, he then
enters the sex, we would like if possible that the system returns info on
whether that child is acutely malnourished or not based on possible
constraints built on the question for example

After entering that the child is a boy, 45 cms tall and weights less than
1.9 kg the system would ideally say "child extremely malnourished"
After entering that the child is a boy, 45 cms tall and weights between
1.9 and 2 kg the system would say "child malnourished"
After entering that the child is, 45 cms tall and weights more than 2, the
system would say "child OK"

Is this possible?

Many thanks in advance

Ulises

## --

You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Mitch Sundt
Software Engineer
University of Washington
mitchellsundt@gmail.com

Thank you Mitch for your reply.

I have been trying without success to build the calculation on my excel sheet.

Is it possible for you to just give me some code to build upon?

Thank you

Best,
uh

Ulises,

It's going to be hard for the community to suggest an approach without
seeing the grid. If you want guidance, I'd recommend you put it on
Dropbox and send out a link.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Tue, May 20, 2014 at 5:32 AM, ulises.huerta.munoz@gmail.com wrote:

Thank you Mitch for your reply.

I have been trying without success to build the calculation on my excel sheet.

Is it possible for you to just give me some code to build upon?

Thank you

Best,
uh

## --

You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello,

Thank you Yaw and Mitch.

Please find attached an excel sheet with the table

Your help is greatly appreciated.

Best,
uh

Sample_ODK_Nutrition.xlsx (8.8 KB)

Here's an approach I would suggest.

You need to have all the lengths and weights listed first in a CSV.
Then use preloading to load them into your form (see
http://opendatakit.org/help/form-design/data-preloading).

For your form, you can then have the enumerator manually enter height
and weight. Use the pulldata command with height as a key to get the
correct weights (sd2/sd3) you will compare against.

Then as Mitch suggested, do the comparison with calculates to figure
out malnourished status and show a note as appropriate.

Yaw

··· -- Need ODK services? http://nafundi.com provides form design, server setup, professional support, and software development for ODK.

On Mon, May 26, 2014 at 1:43 AM, ulises.huerta.munoz@gmail.com wrote:

Hello,

Thank you Yaw and Mitch.

Please find attached an excel sheet with the table

Your help is greatly appreciated.

Best,
uh

## --

You received this message because you are subscribed to the Google Groups "ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.