}else if (delegate instanceof InvalidityList){
newNode = new InvalidityListNode(current,(InvalidityList) delegate);
}else if (delegate instanceof PrescriptionList){
newNode = new PrescriptionListNode(current,(PrescriptionList) delegate);
}else if (delegate instanceof PrescriptionDloList){
newNode = new PrescriptionDloListNode(current,(PrescriptionDloList) delegate);
}else if (delegate instanceof CheckupDICOMLocal){
newNode = new DicomNode(current,(CheckupDICOMLocal) delegate);
}else{
Log.printlnAnsPos("NEED NODE FOR " + delegate + " (class: " + delegate.getClass() + ")");
}