N-UB92 FL 82 PROVIDER (291)    IB DATA ELEMENT DEFINITION (364.5)

Name Value
NAME N-UB92 FL 82 PROVIDER
SECURITY LEVEL NATIONAL,NO EDIT
TYPE OF ELEMENT EXTRACTED VIA CODE
ELEMENT CATEGORY INDIVIDUAL ELEMENT
BASE FILE BILL/CLAIMS
EXTRACT CODE N Z,Z0,IBZ S Z=$$INPAT^IBCEF(IBXIEN,1),Z0=$S(Z:4,1:1) D GETPRV^IBCEU(IBXIEN,Z0,.IBZ) S IBXDATA=$P($G(IBZ(Z0,1)),U,1,2),$P(IBXDATA,U,3)=Z0
DESCRIPTION
Box 82 on the UB92 holds the attending physician for inpatient claims,
but holds the referring or ordering provider for outpatient.  This data
element determines the correct ien of the correct provider type to use.
Data returned is name of provider ^ ien of provider (file 200) ^ 1 for
referring or 4 for attending.