public async Task <IActionResult> GetPatientInfoByPapmiNo(string papmiNo, string status)
        {
            var result = new PatientInfoViewModel();

            if (status.ToLower() == "active")
            {
                result = await _patientInfoService.GetPatientInfoByPapmiNoAsync(papmiNo, DoctorPanelEnum.Active);
            }
            else
            {
                result = await _patientInfoService.GetPatientInfoByPapmiNoAsync(papmiNo, DoctorPanelEnum.InActice);
            }

            if (result == null)
            {
                return(NotFound());
            }

            return(Ok(result));
        }