you will have to make a medical check up in the comission of health to geta residency.

visa less than 30 days no need, but you take 15 and extend another 15, as far as i know is the easiest way.

As for TB, am not sure it is a big issue as long as it is not active.
ie. old none infective, ppl even work with that!!!
PM if you need more info.