}else if (delegate instanceof EmcLocal){
newNode = new EmcNode(current,(EmcLocal) delegate);
}else if (delegate instanceof CertificateCollector){
newNode = new CertificateCollectorNode(current,(CertificateCollector) delegate);
}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){