Real-time prescription monitoring