CD4 and tuberculosis: • A warning can be implemented for continuous variables falling outside plausible ranges (e.g., age outside 0–99 y). • Drop-down lists can be created to reduce/remove need for free form data entry (e.g., including the most common extrapulmonary TB sites within the dropdown or limiting responses for HIV-coinfection status to positive, negative, or not tested). • Safeguards can be logical, which prevent certain data from being entered without a specific response in another section (e.g., CD4 and viral load cannot be filled in unless HIV-coinfection status is positive).