Analytical subroutine
An analytical subroutine was part of the Emergency Medical Holographic program which helped the EMH to diagnose patients.

In 2374, Harry Kim programmed the Emergency Medical Hologram Replacement Program and had to add the analytical subroutines, the tactile protocols, and a personality profile. ()

Subroutines