UB-04 (1410)    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 I $$INPAT^IBCEF(IBXIEN) S Z=+$P($G(^DGCR(399,IBXIEN,"U1")),U,15) I Z S IBXDATA=$$FO^IBCNEUT1(Z,4,"R",0)
FORMAT CODE DESCRIPTION
IB*2*400 - for Inpatient claims only.
Retrieve the PPS code from field# 170 in the claim.  If it exists, then 
format it as a 4 character numeric field, right justified, zero filled.