Using VistA electronic medical record data extracts to calculate the waiting time for total knee arthroplasty.