public ims.clinical.vo.TTAMedicationDetailVoCollection getTTAMedicationsDetails(ims.edischarge.vo.TTAMedicationDetailRefVoCollection meds) { if (meds == null || meds.size() == 0) return null; String hql = "select ttamd from TTAMedicationDetail as ttamd where (ttamd.id in ("+getIds(meds)+"))"; List<?> dol = getDomainFactory().find(hql); return TTAMedicationDetailVoAssembler.createTTAMedicationDetailVoCollectionFromTTAMedicationDetail(dol); }