This paper proposes a secure cloud-based centralized health system that stores patients' medical histories and allows doctors to access them. It uses homomorphic encryption to encrypt health data stored in the cloud database, allowing operations on the encrypted data without decrypting it first. This ensures privacy and security of patients' medical information while enabling doctors to properly treat patients based on their medical histories.