Enviar por SMS: Structured additive regression modeling of pulmonary tuberculosis infection