Human- Versus Machine Learning–Based Triage Using Digitalized Patient Histories in Primary Care: Comparative Study