The things mentioned in the question do not have any effect on the validity of the fast, rather they are forgiven, but he should be careful to avoid swallowing any medicine or blood. Similarly the injection mentioned does not have any effect on the validity of the fast, because it is not like food or drink, and the basic principle is that the fast remains valid. End quote.
Shaykh âAbd al-âAzeez ibn Baaz (may Allaah have mercy on him)
Majmooâ Fataawa wa Maqaalaat Mutanawwiâiah (15/259).