UB-04 (1287)    IB FORM FIELD CONTENT (364.7)

Name Value
FORM FIELD REFERENCE UB-04
SECURITY LEVEL NATIONAL,NO EDIT
DATA ELEMENT N-GET FROM PREVIOUS EXTRACT
PAD CHARACTER NO PAD REQUIRED
FORMAT CODE N Z,Z0,Z1 K IBXDATA S Z0=0 F Z=3:4 Q:$G(IBXSAVE("OCC",Z))="" S Z0=Z0+1,Z1=$$DATE^IBCF2($P(IBXSAVE("OCC",Z),U,2),,1) S:Z'>7 IBXDATA(Z0)=Z1 D:Z>7 XOCC^IBCEF3($P(IBXSAVE("OCC",Z),U)_U_Z1,Z0,33) K IBXSAVE("OCC",Z)
FORMAT CODE DESCRIPTION
This data element is a group data element where more than one occurrence
might be expected.  It relies on the presence of data in array
IBXSAVE("OCC") extracted previously.  This field outputs the 3rd and 7th
occurrences of occurrence code 'from date' formatted as MMDDYY found in the
second '^' piece of the IBXSAVE("OCC",n) array data element.
Any overflow codes (11,15,...) are output on a separate page.