FORMAT CODE |
N Z,Z0,Z1 K IBXDATA S Z0=0 F Z=2:4 Q:$G(IBXSAVE("OCC",Z))="" S Z0=Z0+1,Z1=$$DATE^IBCF2($P(IBXSAVE("OCC",Z),U,2),,1) S:Z'>6 IBXDATA(Z0)=Z1 D:Z>6 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 2nd and 6th
occurrences of occurrence code 'from date' formatted as MMDDYY found in the
second '^' piece of the IBXSAVE("OCC",n) array data element.
Overflow codes (10,14,...) are printed on a separate page.
|