if (entityCount>0){
throwNeedAdminSecurityException("Недостаточно прав для удаления медосмотра, имеющего результаты");
}
List<MedSerrenResult> msrList = findEntityList(MedSerrenResult.class, "serren.disease", entity.getDisease());
for (int i = 0; i < msrList.size(); i++) {
MedSerrenResult msr = msrList.get(i);
ServiceRender serren = msr.getSerren();
List<ServiceRender> findEntityList = findEntityList(ServiceRender.class, "referenced", serren);
if (findEntityList.size() != 0) {
for (ServiceRender referenced : findEntityList) {
srbl.initByID(referenced.getId(), getSessionId());
ServiceRenderBean.breakPacket(manager, referenced, getCollaborator(), auditDocLsit);