A random sample of 1000 hospitals from the American Hospital Association database , stratified into 9 categories by hospital volume tertile and teaching status ( major teaching , minor teaching , and nonteaching ) .