The Geneva convention basically states that whomever the injured is in the care of is charged with giving them adequate care. If that care requires medevac it's going to happen.
The protections accorded the wounded and sick apply to friend and foe alike without distinction