Diagnostic subroutine
A diagnostic subroutine was a type of subroutine which helped perform a diagnostic mode or cycle.

In 2372, while downloading data for a subspace tensor matrix into the main computer of the , a problem with the diagnostic subroutines caused a calibration drift in the backup navigation program. ()

In the 2378 holonovel set aboard the fictional , Kymble worried that deleting non-essential subroutines of the EMH could accidentally delete some of his diagnostic subroutines as well. ()
Subroutines