Automated medication tracking (RSD)