Referral systems as tools for clinical justification