Search and detect missing values

Verify collected data and raise a query any time a data field is found incomplete.

if ( (ae.search(“Yes”) >0) && (seriousnessCriteria === null)) {
  return false;
} else {
  return true;
}

If the adverse event is serious, then the seriousness criteria must be filled.