;EP - Find the value
; Find visits for a request item
; Input
; TMFRAME - Time frame to search data for
; BQDFN - Patient internal entry number
; FREF - File to search in
; RREF - Search file table file
; TIEN - Item to search on
; TAX - Taxonomy
; TREF - Reference array