In this study, the Intelligent Infectious Diseases Algorithm (IIDA) has been developed to locate the sources of infection and survival rate of coronavirus disease 2019 (COVID-19), in order to propose health care routes for population affected by COVID-19. The main goal of this computational algorithm is to reduce the spread of the virus and decrease the number of infected people. To do so, health care routes are generated according to the priority of certain population groups. The algorithm was applied to New York state data. Based on infection rates and reported deaths, hot spots were determined by applying the kernel density estimation (KDE) to the groups that have been previously obtained using a clustering algorithm together with the elbow method. For each cluster, the survival rate-the key information to prioritize medical care-was determined using the proportional hazards model. Finally, ant colony optimization (ACO) and the traveling salesman problem (TSP) optimization algorithms were applied to identify the optimal route to the closest hospital. The results obtained efficiently covered the points with the highest concentration of COVID-19 cases. In this way, its spread can be prevented and health resources optimized. INDEX TERMS Clustering, computational intelligence, coronavirus disease 2019 (COVID-19), kernel density estimation (KDE), medical care routing, optimization.