refactored HealthStatus report

Pulled out from https://github.com/dimagi/commcare-hq/pull/3701