Set < Medicine > function ( ) { Set < Medicine > loc0 = new HashSet < > ( ) ; for ( Medicine loc1 : medicines ) { if ( loc1 . getEndDate ( ) != null ) { loc0 . add ( loc1 ) ; } } return loc0 ; }
returns medicines with non null end dates . concode_field_sep Set<Medicine> medicines concode_elem_sep LocalDate responseLastCapturedDate concode_elem_sep Long id concode_elem_sep Time dosageTime concode_field_sep Time getDosageTime concode_elem_sep LocalDate getStartDate concode_elem_sep Set<Medicine> getMedicines concode_elem_sep void updateResponseLastCapturedDate concode_elem_sep Long getId concode_elem_sep LocalDate getEndDate concode_elem_sep void setMedicines concode_elem_sep void setResponseLastCapturedDate concode_elem_sep DateTime todaysDosageTime concode_elem_sep boolean isTodaysDosageResponseCaptured concode_elem_sep void setDosageTime concode_elem_sep void setId concode_elem_sep LocalDate getResponseLastCapturedDate concode_elem_sep void validate