FORMAT CODE |
N Z,Q,R F Z=1:1 Q:'$D(^TMP($J,"IBC-RC",Z)) S R=^(Z),Q=$S(+R=1:$$FO^IBCNEUT1($P(R,U,2),4,"R",0),+R=2:$E($P(R,U,2),1,5),1:"") S:Z'>22 IBXDATA(Z)=Q D:Z>22 CKREV^IBCEF3(Z,Q) |
FORMAT CODE DESCRIPTION |
This data element is a group data element where more than one occurrence
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 second '^'
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 1-5.
For text line where the first piece = 3, the text is assumed to start in
column 6, so there is no data extracted for this field. Since only 22
|