childcount.helpers¶
PLEASE DO NOT PUT INDICATOR LOGIC HERE!!! The helpers module is only for reusable logic that:
- Cannot be elegantly expressed in terms of a
childcount.indicator.Indicator. - 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.