The doctor will also take sputum and other samples for a pathologist to check. It is important to find out what type of tuberculosis bacteria a child has in order to prescribe the most effective medication.