NPR_ED indicates the total number of ICD-9-CM procedures (valid and invalid) coded on the ED record. In assigning NPR_ED, the first listed procedure is included in the count, even if it is blank, so long as there is an additional procedure present (see table below).
||No procedures are coded on the record.
||Only the first listed procedure (PR_ED1) is coded. All secondary procedures are blank.
||One secondary procedure (PR_ED2) is coded. The first listed procedure (PR_ED1) may be coded or blank.
||The second and third procedures (PR_ED2 and PR_ED3) are coded. The first listed procedure (PR_ED1) may be coded or blank.
A maximum of nine procedures have been retained on the NEDS. States that provide fewer than nine procedures have had the procedure vector padded with blank values. For example, if a state supplied 5 procedures, PR_ED6 through PR_ED9 are blank (" ") on all records from that state. States that provide more than nine procedures may have information truncated. If the number of procedures coded on the ED record (NPR_ED) is greater than 9, secondary procedures have been truncated from the record.
Since on the NEDS the number of procedures coded on the ED record (NPR_ED) can be greater than the number of procedures available on the NEDS, caution needs to be taken when using NPR_ED to loop through the procedures. A counter for the loop should not extend past 9. Programming code such as the following example SAS statement is needed to take this into account:
DO I = 1 to MIN(9,NPR_ED);
Followed by code to process all procedures.