diff --git a/iTrust/WebRoot/auth/hcp-uap/activatePatient.jsp b/iTrust/WebRoot/auth/hcp-uap/activatePatient.jsp index 65f3aa583b4c3b833cf276a65941267f545a140f..f6bcd32398ab272937790d4d874f681ea209347e 100644 --- a/iTrust/WebRoot/auth/hcp-uap/activatePatient.jsp +++ b/iTrust/WebRoot/auth/hcp-uap/activatePatient.jsp @@ -40,11 +40,10 @@ request.getParameter("understand") != null && request.getParameter("understand").equals("I UNDERSTAND")) { try { action.activate(); + long patientMID = action.getPatient().getMID(); ActivateAndDeactivatePreRegi activate = new ActivateAndDeactivatePreRegi(prodDAO, loggedInMID.longValue(), pidString); - - long patientMID = action.getPatient().getMID(); - + activate.activate(); loggingAction.logEvent(TransactionType.PATIENT_ACTIVATE, loggedInMID.longValue(), Long.valueOf((String)session.getAttribute("pid")).longValue(), ""); %> @@ -57,7 +56,9 @@ <div align=center> <span class="iTrustMessage">Patient Successfully Activated! You can </span> - <a href="editPHR.jsp">Edit Patient</a> + <a href="editPHR.jsp" style="text-decoration: none;"> + <input type=button value="Edit Patient" onClick="location='editPHR.jsp';"> + </a> </div> <br /><br /><br /><br /><br /> <%