If I understand your data, I don't think you need to do anything other than to include the interaction of the two variables in your model.
proc logistic;
CLASS ruca_category (Ref='1') HealthSystem (Ref='1')/param=ref;
MODEL exam (Event='1')= ruca_category HealthSystem ruca_category*HealthSystem;
run;
... View more