Skip to content

Instantly share code, notes, and snippets.

@TNgidi
Created July 24, 2018 07:46
Show Gist options
  • Save TNgidi/862e9ec15591f7f70e68deef02985b77 to your computer and use it in GitHub Desktop.
Save TNgidi/862e9ec15591f7f70e68deef02985b77 to your computer and use it in GitHub Desktop.
[
{
"name": "sprayed more than total structures",
"expression": "numbersprayed_ddt + numbersprayed_delta + numbersprayed_actellic <= number_sprayable",
"message": "Total sprayed (ddt + deltamethrin + Actellic) is more than the total number of sprayable structures",
"type": "error"
},
{
"name": "high_number_of_sprayed",
"precondition": "sprayable == 'yes'",
"expression": "number_sprayable < 20",
"message": "Number of sprayable structures seems high. Please check the value",
"type": "warning"
},
{
"name": "population",
"expression": " total_population_sprayedrooms <= house_population",
"message": "Number of people sleeping in spraying rooms is greater than the total household population",
"type": "warning"
},
{
"name": "hhid",
"expression": "health_number == confirm",
"message": "Household health numbers must match",
"type": "error"
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment