The nanobots will be very small, no matter what you are going to do, it's inevitable that some of them will end up in the human body.
It would be close to impossible to track where they went, and what they are doing there.
An "obstacle course" only would be useful in the first third of the bathtub curve.
Some sort of semiconductor material and metal would be required for building the nanobots.
While Silicium doesn't seem to be toxic, and
Aluminium and
Copper don't look too toxic,
I'm not sure about the long term effects of
Silicides within the body.
If you are encapsulating the nanobots, it would be an interesting question what material to use.
Another interesting question would be, what the nanobots would be using as "batteries".
A possible solution would be injecting a new batch of nanobots into the patient once within a week for getting rid of any old nanobots.
Microsoft Nanohealth (TM) sure would keep you more healthy than average, but if you fail to pay for the weekly updates in time...
well...
I'm not intentionally trying to spoil the party here, it's just that some points need to be put into consideration _before_ unleashing a new technology.
To run a useful discussion here, we would need to get academic degrees in semiconductor physics, chip design, nanomaterials, biochemistry etc. first.