} else if (aClass.equals(PrescriptionLocal.class)) {
leaf = new PrescriptionLocal(selectedService);
} else if (aClass.equals(DirectionLocal.class)) {
leaf = new DirectionLocal(selectedService);
} else if (aClass.equals(RecommendationLocal.class)) {
leaf = new RecommendationLocal(selectedService);
} else if (aClass.equals(DiagnosisLocal.class)) {
leaf = new DiagnosisLocal(selectedService);
} else if (aClass.equals(PrescriptionDloLocal.class)) {
leaf = new PrescriptionDloLocal(selectedService);
} else {