The batch coding Machine in India tracks medicines from the factory floor to distribution centers and ultimately, the patient. The law requires all companies to put these codes on their containers; this includes a batch number and shelf time left before expiration.