List list = findEntityList(Prescription.class, fields);
List<PrescriptionDetails> res = new ArrayList<PrescriptionDetails>();
Iterator i = list.iterator();
while(i.hasNext()) {
Prescription j = (Prescription) i.next();
res.add(j.getDetails((RightChecker) this));
}
return res;
}