Diagnosis of infectious disease sometimes involves identifying an infectious agent either directly or indirectly.
What does diagnosis of an infectious sometimes involve identifying? 
an infectious agent either directly or indirectly