// } else {
// return STT_ICON;
@Override
public Icon getIcon() {
MultiIcon icon = null;
try {
if (isProfcheckup()) {
if (getClosed() == null) {
icon = new MultiIcon(profcheckupIconOpened);
} else {
icon = new MultiIcon(profcheckupIcon);
}
} else if (isFollowupEvent()){
if (getClosed() == null) {
icon = new MultiIcon(followupEventIconOpened);
} else {
icon = new MultiIcon(followupEventIcon);
}
} else if (isMedexam()){
if (getClosed() == null) {
icon = new MultiIcon(medexamIconOpened);
} else {
icon = new MultiIcon(medexamIcon);
}
} else {
if (getClosed() == null) {
icon = new MultiIcon(diseaseIconOpened);
} else {
icon = new MultiIcon(diseaseIcon);
}
}
if ((serrenCache.inCache() && getSpecificDiagnosis() == null)) {
icon.addIcon(haveNotSpecificDiagnosesIcon);
}else if (mKB10Item == null){
icon.addIcon(haveNotSpecificDiagnosesIcon);
}
return icon;
} catch (ClipsException ex) {
ex.printStackTrace();
if (icon == null) {
return new MultiIcon(diseaseIcon);
} else {
return icon;
}
}
}