private void setAlertDateDetails(
     ANCSmartRegisterClient client, AlertDTO alert, TextView dateView) {
   ServiceProvidedDTO servicesProvided = client.getServiceProvidedDTO(alert.name());
   if (isAlertStatusCompleteOrInProcess(alert) && servicesProvided != null) {
     setAlertDate(dateView, alert, servicesProvided.ancServicedOn());
   } else setAlertDate(dateView, alert, null);
 }
 @Override
 public boolean filter(ServiceProvidedDTO service) {
   return PNC_IDENTIFIER.equalsIgnoreCase(service.name())
       && service.localDate().isBefore(visitEndDate);
 }