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