}else if (delegate instanceof DirectionLocal){
newNode = new DirectionNode(current,(DirectionLocal) delegate);
}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){