childcount.helpers

PLEASE DO NOT PUT INDICATOR LOGIC HERE!!! The helpers module is only for reusable logic that:

  1. Cannot be elegantly expressed in terms of a childcount.indicator.Indicator.
  2. Are used in many different reports or forms.

Any function that operate on lists of childcount.models.Patient objects, or that involves DB heavy lifting should probably be written as a childcount.indicator.Indicator. That way you get the benefits of caching and the standardized childcount.indicator.Indicator interface.

childcount.helpers.chw

childcount.helpers.patient

childcount.helpers.site