public async Task <IActionResult> OnPostAddAsync()
        {
            if (ModelState.IsValid)
            {
                ClinicalData.DateTime = DateTime.Now;
                await repository.AddClinicalDataAsync(ClinicalData);

                return(RedirectToPage("Patient", new { Id = ClinicalData.PatientId }));
            }
            return(Page());
        }