}//GEN-LAST:event_miDiagnosisActionPerformed
private void miAddReferedServiceActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_miAddReferedServiceActionPerformed
try {
if (selectedServiceNode != null){
DialogNewReferedSerRen dlg = new DialogNewReferedSerRen(MainWindow.mainWindow, selectedServiceNode.getDelegate(), getAuditManager());
dlg.setVisible(true);
if (dlg.getDlgResult() == ModalDialog.DLG_OK) {
DiseaseNode diseaseNode = (DiseaseNode) selectedServiceNode.getParent();
for (SerRenLocal serRenLocal : dlg.getNewSerrenList()) {
diseaseNode.getDelegate().addChild(serRenLocal);
}
}
}else{
MessageBox.showWarning(MessageBox.W_SERVICE_NOT_SELECT);