Improvising Prescription: Evidence from the emergency room