} else if (delegate instanceof FollowupLocal){
newNode = new FollowupNode(current,(FollowupLocal) delegate);
}else if (delegate instanceof SerRenLocal){
newNode = new SerrenNode(current,(SerRenLocal) delegate);
}else if (delegate instanceof DiagnosisLocal){
newNode = new DiagnosisNode(current, (DiagnosisLocal)delegate);
}else if (delegate instanceof CheckupLocal){
newNode = new CheckupNode(current,(CheckupLocal) delegate);
}else if (delegate instanceof ContraindicationLocal){
newNode = new ContraindicationNode(current,(ContraindicationLocal) delegate);
}else if (delegate instanceof DirectionLocal){