N-BILLING SITE (230)    IB DATA ELEMENT DEFINITION (364.5)

Name Value
NAME N-BILLING SITE
SECURITY LEVEL NATIONAL,NO EDIT
TYPE OF ELEMENT EXTRACTED VIA CODE
ELEMENT CATEGORY INDIVIDUAL ELEMENT
BASE FILE BILL/CLAIMS
EXTRACT CODE N Z,Z0 S Z=$P($G(^DGCR(399,IBXIEN,0)),U,22),Z0=+$$SITE^VASITE(),IBXDATA=$$SITE^VASITE(DT,$S(Z:Z,1:+$$PRIM^VASITE(DT))) S $P(IBXDATA,U,4)=$S(+IBXDATA=Z0:"",1:1)
DESCRIPTION
If the bill has a division associated with it, retrieve the data associated
with the division, otherwise, the facility's data is retrieved.
The data format is:
    IBXDATA=institution file ien^name^site number (including suffix)
            ^ 1 if not main facility