Flowchart of testing process for the predictions of our NLP algorithm*.
ED notes in panel A, and outpatient notes in panel B. As in S1 Fig in S1 File, “Confirmed Negative” refers to a note that, on review by investigators, did not suffer an e-scooter injury, while “Predicted Negative” refers to a note that our NLP algorithm did not predict as an e-scooter injury. Any cases of possible but not necessarily probable e-scooter injury are not included in our injury tallies, and are treated as non-injuries (negatives) in metrics of diagnostic performance in S2 Table in S1 File (as a secondary analysis, we computed and present diagnostic performance under the alternate assumption that possible cases were e-scooter injuries in S4 Table in S1 File). Counts refer to numbers of notes, rather than injuries or patients.