Gravar-mail: Structured additive regression modeling of pulmonary tuberculosis infection