A diagnostic algorithm is a step-by-step procedure used by healthcare professionals to identify diseases or conditions based on patient data and symptoms. It systematically narrows down possibilities through a series of logical steps, ensuring a more accurate and efficient diagnosis.