The application of prognostic criteria in outpatient quality assessment