Use the IBXSAVE("OSQ",n) record to determine which 'OTHER PAYER' ids exist for the first 'other' id qualifier.