if (logicCriteria != null) {
if ("testing-html-form-entry".equals(session.getPatient().getUuid()))
return false;
else {
try {
return ls.eval(session.getPatient(), logicCriteria).toBoolean();
} catch (Exception ex) {
throw new BadFormDesignException(ex.getMessage());
}
}
} else {