Triage

Triage is the process of prioritizing patient treatment based on the severity of their injuries.

Generally triage involved dividing patients into three categories: (a) those who were injured but who did not need immediate assistance; (b) those who could be saved with immediate assistance; and (c) those so severely injured that no amount of medical assistance could help them. 

Starfleet Lieutenant Commander Philippa Georgiou assisted with triaging patients at the New Anchorage Hospital following the Tarsus IV crisis and subsequent massacre. 

After the USS Denver crashed on a planet in the Mericor system, Doctor Beverly Crusher converted the USS Enterprise (NCC-1701-D) shuttlebays into triage centers to classify and deal with the large number of wounded from that disaster.