N-DIAGNOSIS CODE 5 (HCFA 1500) (161)    IB DATA ELEMENT DEFINITION (364.5)

Name Value
NAME N-DIAGNOSIS CODE 5 (HCFA 1500)
SECURITY LEVEL NATIONAL,NO EDIT
TYPE OF ELEMENT EXTRACTED VIA CODE
ELEMENT CATEGORY INDIVIDUAL ELEMENT
BASE FILE BILL/CLAIMS
EXTRACT CODE D:'$D(IBXSAVE("DX")) F^IBCEF("N-DIAGNOSES") S IBXDATA=$G(IBXSAVE("DX",5))
DESCRIPTION
Data element relies on previously extracted data in array IBXSAVE("DX") 
from the HCFA DIAGNOSES.  If IBXSAVE(""DX"") does not exist, extract the 
field that sets it.  The second in the sequence of diagnoses for bill 
IBXIEN for the HCFA 1500. This is the internal diagnosis code (ICD9).