Smart sensor for guiding safe delivery of anesthetic and pain drugs through epidurals