The Allahabad High Court has ordered an inquiry into whether state doctors are engaging in private practice, following a complaint against a medical college head.