Text this: Assessing the Accuracy of Diagnostic Capabilities of Large Language Models