public ims.core.vo.PatientProcedureProcsComponentVo getProcedure(PatientProcedureRefVo procedure) { DomainFactory factory = getDomainFactory(); IMSCriteria imsc = new IMSCriteria(PatientProcedure.class, factory); imsc.equal("id", procedure.getID_PatientProcedure()); List procedures = imsc.find(); if (procedures.size() > 0) return PatientProcedureProcsComponentVoAssembler.create((PatientProcedure) procedures.get(0)); else return null; }