The healthcare business generates a tremendous quantity of data, and the goal is to collect it and use it effectively for analysis, prediction, and treatment. The best approach to disease management is disease prevention through early intervention. There are a number of methods that can advise you on how to treat a specific sickness, but much fewer that can tell you with any degree of certainty if you will actually get sick in the first place. Preprocessing, feature selection, feature extraction, and model training are all parts of the proposed method. The suggested layout includes a preprocessing stage that takes care of things like moving average, missing values, and normalization. Feature selection describes the process of selecting the most relevant features from a dataset. After gathering features, the models are trained using PSO-ELM. The proposed strategy is superior to the widely used PSO and ELM.