Medicine prescribing system based on django+mysql (can be completed---source code+documentation+environment+deployment)

The data storage of the medication prescribing system is mainly through MySQL. The data generated by users when using the application is passed to the database through the Python language. In this way, the efficiency of drug prescribing information management and data transmission is promoted, and a platform with rich content, diverse functions and easy operation is provided.

As a medication prescribing system based on Django, this system is not very large and is very suitable for the characteristics of MySQL database. To sum up, this project uses MySQL as the database of this project and the design of the data table. The figure below shows the overall functional structure of the system software:

Due to space limitations, if you want to get the complete article or source code, or do it on your behalf, scroll to the bottom of the article to see your personal VX.

The administrator enters the main page, and its main functions include operating the homepage, personal center, announcement information management, doctor management, patient management, drug information management, drug prescribing record management, warehousing record management, drug dispensing record management, drug inventory management, etc. . The administrator's main page is as shown in the figure:

The administrator clicks Announcement Information Management. Enter the announcement information page, enter the announcement title and select the announcement type to query, add or delete announcement information, view details, modify or delete. as the picture shows:

User login scenario testing is a test for user login. The user selects the corresponding identity on the login interface and enters the correct username and password to enter the system. As shown in the table, the test results are normal.

serial number

username

password

expected outcome

Test Results

1

those

123456

System successfully entered

normal

2

those

111111

The system prompts that the username and password are incorrect, please check

normal

3

null

123456

The system prompts that the username cannot be empty.

normal

4

those

null

The system prompts that the password cannot be empty

normal

(1) User registration scenario test

User registration scenario testing is a test for user registration. The user selects the corresponding identity on the registration interface to register. The information filled in for registration includes username, password, name, gender, mobile phone, etc. If the user does not enter the corresponding information, the system will prompt the user to fill in the password and the confirmation password must be consistent. As shown in the table, the test results are normal.

serial number

username

password

Confirm Password

expected outcome

Test Results

1

111

123456

123456

System prompts that registration is successful

normal

2

111

222222

222222

Registration failed, the system prompts that the username has been registered 

normal

3

null

123456

123456

Registration failed, the system prompts that the username cannot be empty

normal

4

111

null

null

Registration failed, the system prompts that the password cannot be empty

normal

5

111

123456

null

Registration failed, the system prompts to confirm that the password cannot be empty

normal

 

 

Guess you like

Origin blog.csdn.net/xiejiachao/article/details/132555553