Expert API for early detection of TB disease with forward chaining and certainty factor algorithms