public static HttpServletRequest listPatients(HttpServletRequest request) {
        Models.DatabaseModel.Patient patient = new Models.DatabaseModel.Patient();

        ArrayList<Models.DatabaseModel.Patient> patients = patient.listAllPatients();

        for (Models.DatabaseModel.Patient thisPatient : patients) {
            thisPatient.setRemovable(canRemove(thisPatient.getID()));
        }

        request.setAttribute("patients", patients);
        request.setAttribute("view", "patientslist.jsp");

        return request;
    }