Algorithm used to analyse the quality of malaria diagnosis and treatment, as it was applied in outpatient health facilities, Huambo Province, Angola. a Defined as either fever (history of fever or axillary temperature > 37.5°C), or at least 3 of the following: headache, joint pain, chills, sweating, anaemia (palmor pallor), cough (applies to children only), anorexia, fatigue, vomiting, or diarrhoea. b Error (health worker's decision did not follow policy documents and training materials). c Result not available on the day of the consultation, patient asked to return the next day (this only occurred for 2 patients). d This part of the algorithm was not explicitly included in policy documents or training materials; however, the decision could be logically inferred from policy documents or training materials. e Defined as cerebral dysfunction, cerebral malaria, disseminated intravascular coagulopathy, haemoglobinuria, hepatic dysfunction, hyperthermia, pulmonary oedema, renal insufficiency, severe anaemia, or shock. For details, see Figure 2. f Do not treat for malaria now; wait until result is ready and treat only if test is positive. g Defined as dysentery, hepatitis, influenza-like illness, measles, otitis, pneumonia, or urinary tract infection. For details, see Figure 2.