Algorithmic Selection and Interpretation of Diagnostic Tests