@Override public boolean execute() { CareWebShell shell = CareWebUtil.getShell(); CommandUtil.associateCommand("PATIENT_SELECT", shell, PATIENT_SELECT); // call the patient selection routine at login, if the user preference is set if (PatientContext.getActivePatient() == null && PatientSelection.forcePatientSelection()) { shell.addEventListener(FORCE_SELECT_EVENT, forceSelectionListener); EventUtil.post(FORCE_SELECT_EVENT, shell, null); } return true; }