In the context of population aging, to reduce the run on public medical resources, nursing homes need to predict the health risks of the elderly periodically. However, there is no professional medical testing equipment in nursing homes. In the current disease risk prediction research, many datasets are collected by professional medical equipment. In addition, the currently researched models cannot be run directly on mobile terminals. In order to predict the health risks of the elderly without relying on professional medical testing equipment in the application scenarios of nursing homes, we use the datasets collected by non-professional medical testing equipment. Based on transfer learning and lightweight neural networks, we propose a disease risk prediction model, Diplin (disease risk prediction model based on lightweight neural network), applied to nursing homes. This model achieved 98% accuracy, 97% precision, 96% recall, 95% specificity, 97% F1 score, and 1.0 AUC (area under ROC curve) value on the validation set. The experimental results show that in the application scenario of nursing homes, the Diplin model can provide practical support for predicting the health risks of the elderly, and this model can be run directly on the tablet.