Could you possibly quote any specific examples of 'as or with' restrictions?
I would be very interested to know what medical conditions are permitted on the flight deck, provided that the other pilot is in 'good working order', so to speak. I am assuming that this is what the 'as or with' restriction means.
As a matter of interest, whose job is it to manage which pilots fly together, in terms of medical restrictions? I would presume it is the duty of the airline.