COVID-19 is a very dangerous pandemic attacking the respiratory organs of humans. It is characterized by its contagious speed, especially with its last versions. Effectiveness of confrontation resides in a strategy based on the speed of intervention, early detection, and appropriate and quick treatment. However, this strategy requires more effort and enormous human, material, and financial resources. The latter situation requires a much more efficient solution based on using new technologies. Through the integration of the internet of things in healthcare, the quality of the latter will be improved. This integration requires suitable architecture represent the foundation for the system that handles the data generated by this technology. To concretize this strategy, we propose an approach based on IoT architecture inspired by the organization of the Algerian health structure for fighting COVID-19. The architecture allows the organization to manage resources and ensure adequate resources. The approach also consists of a semantic web-based system to handle the heterogeneity of data sources and exchange it with different applications. The system is based on a proposed fuzzy ontology that helps to treat vague and imprecise data that characterize the medical domain. The fuzzy ontology is developed by reusing a standard IoT ontology for allowing the sharing and reuse of IoT data. It also uses the NEWS2 score system for defining membership functions. We conducted an experimental study, and the results of the proposed approach were compared with those obtained by physician assessment. The results show that the approach is effective, and even if COVID-19 disappears soon according to the World Health Organization indications, the proposed approach will still be valid for any other epidemic that may occur in the future or for any other disease.