Making some fixes as per Adam's documents

Changing duplicate row message to be more understandable, altering
jQuery in patient listing to prevent SQL error and changing AcutePain
preference to Outreach preference