Diagnostic accuracy of a SARS-CoV-2 rapid test and optimal time for seropositivity according to the onset of symptoms.