} else {
d.stage = 0;
}
d.complicationID = dc.complicationID;
d.traumaTypeID = dc.trawmaTypeID;
ModificationInfo info = bean.update(d);
int id = info.getId();
auditDetailsList.addAll(info.getAudit());
manager.flush();
if (dc.diagTypeID != 0) {
if (mainDiagId != 0) {