Task shifting an inpatient triage, assessment and treatment programme improves the quality of care for hospitalised Malawian children.