laitimes

Design and implementation of JSP-based health management platform

author:320 Tech Studio

With the continuous development of network technology, the development and application of websites have become more extensive. This time, the Java language SSH framework (Spring, Struts, Hibernate) was used to design and implement a health management platform for specific groups. The website mainly has functional modules such as teacher diet management, teacher health log, teacher physical examination management, and disease prediction and evaluation. Through this website, teachers can better pay attention to their physical examination and recent physical condition, adjust diet, sleep and other living habits according to their own conditions, and predict the possibility of hypertension and diabetes in time so as to take effective preventive measures.

Highcharts is a charting library written in pure JavaScript that makes it easy to add interactive charts to web sites or web applications, and is free for personal learning, personal websites, and non-commercial use. At present, the chart types supported by Highcharts include curve charts, area charts, bar charts, pie charts, scatter plot charts, and comprehensive charts. Highcharts has a beautiful interface, because it is written in JavaScript, it does not need plugins to run like Flash and Java, and it runs quickly. Highcharts also has good compatibility and supports most current browsers perfectly.[12] The specific interface of the physical examination management function is shown in Figure 5.5:

Design and implementation of JSP-based health management platform

Figure 5.5 Teacher physical examination management function interface

5.2.5 Design of disease prediction assessment function

Mainly for diabetes and hypertension two diseases, according to the user's physical examination related items and the database in the past ten years of similar people's disease, analyze the risk factors for disease, use the mathematical linear regression method, establish a prediction model, future physical examiners can input relevant physical examination items to simulate and calculate the probability of teacher disease, the prediction model is shown in Figure 5.6:

Design and implementation of JSP-based health management platform

Figure 5.6 Disease prediction model

The disease prediction assessment interface is shown in Figure 5.7:

Design and implementation of JSP-based health management platform

Figure 5.7 Interface of disease prediction function

5.2.6 Registration Function Design

New users can register as prompted, and each item is validated by a specific regular expression to ensure that the information is valid and available, and the registration interface is shown in Figure 5.8:

Design and implementation of JSP-based health management platform

Figure 5.8 Registration function interface

5.3 Background function design

5.3.1 Administrator Login Function

The administrator uses the username and password to log in to the system background, and the login interface is shown in Figure 5.9:

Design and implementation of JSP-based health management platform

Figure 5.9 Administrator background login interface

After the administrator logs in to the background, he enters the welcome interface, which displays the main function menu of the background and the login time, as shown in Figure 5.10 of the welcome interface:

Design and implementation of JSP-based health management platform

Figure 5.10 Background welcome screen

5.3.2 Manage Administrator Functions

The administrator management mainly includes query, delete and add operations, in which the administrator who queried out uses pagination display, calls the excutefind method in the Hibernate Template, the parameter in this method is a callback function, and the specific interface of the query and delete administrator is shown in Figure 5.11:

Design and implementation of JSP-based health management platform

Figure 5.11 Administrator query and deletion interface

In Add Administrator, verify the username and password separately, and the administrator addition interface is shown in Figure 5.12:

Design and implementation of JSP-based health management platform

Figure 5.12 Administrator addition interface

5.3.3 The administrator manages the results of the physical examination

Teacher physical examination result management can display all teacher physical examination results and can delete unwanted records, physical examination results are displayed in pagination, each page displays 10 records by default, and the specific interface of physical examination results display and deletion is shown in Figure 5.13:

Design and implementation of JSP-based health management platform

Figure 5.13 The administrator manages the physical examination results interface

The addition of teacher physical examination results reads Excel tables using POI, a subproject of apache with the goal of working with ole2 objects. At present, the more mature is the HSSF interface, which handles Excel objects. It's not just something generated in csv that doesn't have a format that can be converted by Excel, but a real Excel object that can control properties such as sheet, cell, etc. [13]. The specific interface for adding physical examination results is shown in Figure 5.14:

Design and implementation of JSP-based health management platform

Figure 5.14 The interface for adding physical examination results

5.3.4 Administrators manage health news

The specific interface of adding, modifying, and deleting news, modifying and deleting in Health News Management is shown in Figure 5.15:

Design and implementation of JSP-based health management platform

Figure 5.15 Health news modification and deletion interface

In the health news addition function, the image upload uses struts to handle file upload, and the specific interface is shown in Figure 5.16:

Design and implementation of JSP-based health management platform

Figure 5.16 Health news addition interface

5.3.5 Administrators manage teacher functions

There are functions to view and delete teacher information in the management of teachers' personal information, and the specific interface is shown in Figure 5.17:

Design and implementation of JSP-based health management platform

Figure 5.17 Teacher management interface

Finally, if necessary, please contact us through the public number "320 Technology Studio"