UB-04 (1283)    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=1:4 Q:$G(IBXSAVE("OCC",Z))="" S Z0=Z0+1,Z1=$$DATE^IBCF2($P(IBXSAVE("OCC",Z),U,2),,1) S:Z'>5 IBXDATA(Z0)=Z1 D:Z>5 XOCC^IBCEF3($P(IBXSAVE("OCC",Z),U)_U_Z1,Z0,31) 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 1st and 5th
occurrences of occurrence code 'from date' formatted as MMDDYY found in the
second '^' piece of the IBXSAVE("OCC",n) array data element.
Overflow codes (9,13,...) are printed on a separate page.