The sorting out and classification of patients or casualties to determine priority of need and proper place of treatment.