This paper presents a device that may be used in hospitals to validate prescriptions and preserve patient data while keeping patients’ identities confidential. This paper employs RFID tags to track patient databases via a web server. This system can not only capture accurate and up-to-date information about patients’ prescriptions, but it can also limit prescription drug abuse. Patients’ real-time data can help doctors reduce medication mistakes and provide the best services possible.