Metrics for outpatient portal use based on log file analysis: algorithm development.