Many people don't realize that their states have a prescription drug monitoring program. All controlled substance prescriptions filled at pharmacy are reported to the controlled substance database. Any doctor can get access to the database and see what you have been prescribed.
We've busted several trying to use the ER to get pills.