Diagnosis typically involves culturing the bacterium from a sample taken from the infected site, such as blood, sputum, or tissue. Advanced molecular techniques like PCR (Polymerase Chain Reaction) and mass spectrometry can also be used for rapid and accurate identification. Early diagnosis is crucial for effective management, particularly in immunocompromised patients.