;Look for all of the regular cross references and other
REG
;Look for regular cross references
DEC(VISIT,VISUAL,EXPAND)
;Test looking through DD to find fields pointing to the visit entries.
; ENCOUNTER=ENCOUNTER ien to looked up and counted
; VISUAL= Set to 1 if you want and interactive display of what is found
; EXPAND= SET TO 1 TO EXPAND ENTRIES