The first high yield green route to a pharmaceutical in a room temperature ionic liquid