}else if (delegate instanceof CertificateLocal){
newNode = new CertificateNode(current,(CertificateLocal) delegate);
}else if (delegate instanceof SicklistCollector){
newNode = new SicklistCollectorNode(current,(SicklistCollector) delegate);
}else if (delegate instanceof SicklistLocal){
newNode = new SicklistNode(current,(SicklistLocal) delegate);
}else if (delegate instanceof ContraindicationList){
newNode = new ContraindicationListNode(current,(ContraindicationList) delegate);
}else if (delegate instanceof DirectionList){
newNode = new DirectionListNode(current,(DirectionList) delegate);
}else if (delegate instanceof CheckupList){