UB-04 (1406)    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,A,B,C F Z=1:1 Q:'$D(^TMP($J,"IBC-RC",Z)) S B=^(Z),C=$$B43^IBCEF77(B),A=$S(+B=1:$S(C]"":C,1:$E($P(B,U,3),1,24)),+B=2:$S(C]"":C,1:$E($P(B,U,2),6,30)),1:$S(C]"":C,1:$E($P(B,U,2),1,25))) S:Z'>22 IBXDATA(Z)=A D:Z>22 CKREV^IBCEF3(Z,A)
FORMAT CODE DESCRIPTION
This data element is a group data element where more than one occurrence
1-25. Since only 22 lines of service line can appear on one form, if there
are more than 22 lines, subsequent pages are forced for the remaining data
lines after 22.
might be expected.  It relies on the presence of data in array
IBXSAVE("REV",n) extracted previously.  The first '^' piece of the array
indicates whether this is a 'normal' service data line (=1) or a text line
(=2 or =3).  For a normal service line, the data is found in the third '^'
piece of the array.  For text line where the first piece = 2, the text is
assumed TO start in column 1, so the data is extracted from positions 
6-30. For text line where the first piece = 3, the text is assumed to
start in column 6, so the data for this field is extracted from positions