Removes testing for the same condition twice
Adds a specific type and removes redundant naming
Renames retVal to dataFound which actually tell what it is
Fixes a bug introduced by the refactoring
Reduces fade time from 2500 to 250 ms
Operates on non empty sets, I misinterpreted
Extracts a method determining whether or not to write clinial data
Adds NOTE expressing concern over the validity of a conditional
Merges two if statements
Corrects implementation with "any"
Removes a ! in the if condition, restoring ordinary operation.