protected void initBeanRights() throws ClipsServerException {
int [] r = new int[4];
r[COMMAND_READ] = RightPresence(UserRightsSet.READ_MEDICAL_DATA.id);
r[COMMAND_MODIFY] = RightPresence(UserRightsSet.WRITE_MEDEXAM_RESULT.id);
r[COMMAND_REMOVE] = RightPresence(UserRightsSet.WRITE_MEDEXAM_RESULT.id);
rights = new BeanRights(r);
}