The easy fix here is for the AI to take the closest weapon of the designated type by default.
Another (less desirable) option is to be able to instruct the AI to take the closest weapon, "Take closest Katiba" or "Take closest Alumet RPG" or whatever.
Medics should automatically treat themselves if wounded. They should automatically treat others when not under fire.