K IBXDATA N Z,Z0 S Z=0 F S Z=$O(IBXSAVE("OUTPT",Z)) Q:'Z S Z0=$P($G(IBXSAVE("PROCMODS",Z)),",",2) I Z0'="" S IBXDATA(Z)=Z0
FORMAT CODE DESCRIPTION
This is a group data element so more than 1 occurrence of a value is
possible for the data element in the previously extract IBXSAVE array. If
any service line data is found, the data is output.