public VitalSignsLiteVoCollection listVitalSignsLiteVo(CareContextRefVo refCareContext) { if(refCareContext == null || !refCareContext.getID_CareContextIsNotNull() ) return null; DomainFactory factory = getDomainFactory(); List vitalSignsLite = factory.find("select v1_1 from VitalSigns as v1_1 left join v1_1.careContext as c1_1 where c1_1.id = :idCareContext", new String[]{"idCareContext" }, new Object[]{ refCareContext.getID_CareContext()}); VitalSignsLiteVoCollection voCollVitalSignsLite = VitalSignsLiteVoAssembler.createVitalSignsLiteVoCollectionFromVitalSigns(vitalSignsLite); if(voCollVitalSignsLite.size()>0) { voCollVitalSignsLite.sort(SortOrder.DESCENDING); return voCollVitalSignsLite; } else return null; }