}else if (delegate instanceof PrescriptionLocal){
newNode = new PrescriptionNode(current,(PrescriptionLocal) delegate);
}else if (delegate instanceof PrescriptionDloLocal){
newNode = new PrescriptionDloNode(current,(PrescriptionDloLocal) delegate);
}else if (delegate instanceof RecommendationLocal){
newNode = new RecommendationNode(current,(RecommendationLocal) delegate);
}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){