removed unnecessary javascript functions
Restored the branch to an earlier version
Removed javascript alerts
cleaned up code
MOB-16 created error-patient link
MOB-16 Fixes for patient-error linking