摘 要
本课题的主要研究的内容是运用Java语言、MySQL数据库。本系统的功能主要包括两块,前台用户操作及后台管理。各个功能的具体描述如下:
1.专家查询:通过这个功能可以预览到每一个专家的简介及所属科室,从而方便患者了解专家方便具体预约。患者可以从主页选择科室预览界面,点开后会有医院所有的科室信息,点开单一科室会出现科室内各个专家信息。
2.用户注册与信息修改:用户可以在系统上进行注册,并自主修改基本个人休息,如:姓名、性别、出生年月、身份证号、E-mail地址、电话号码等。患者从主页可以选择登陆或者注册,选择注册时,进入注册界面需要设置自己的用户名密码,每个患者注册时身份证号和手机号是必须输入的,不然无法完成注册。当患者想预约挂号时必须要先注册登录自己的帐号,不然无法预约挂号。
3.留言:提供互动留言平台供用户进行交流与互动。患者登录帐号之后可以在主页选择留言咨询,进入可以留下你的问题,患者可以选择平台答复或者短信答复。
4.系统后台管理:系统管理员通过后台主要进行科室管理专家信息发布删除管理,公告回复管理,用户信息管理,专家寻诊号发布更新记录管理。
预约专家与挂号:用户登录系统之后,可以让患者查看最近5个工作日,每天每个科室专家的剩余挂号数,当患者预约一个专家的寻诊号,从而这个专家当日可预约号数会有所减少。单个身份证号同一天只能预约一次同科室同专家,不同科室可以预约最多5个寻诊号,以防黄牛倒卖医院寻诊号。患者登录之后可以进入预约挂号借面,点开后有类似专家咨询页面一样的各各科室,不同的是进入科室借面之后是每个专家的近5个工作日的出诊时间,患者可以选择具体某天上午或者下午然后点击预约。
关 键 词: 医院系统的实现,SQL数据库系统,JSP
Abstract
The main research of this topic is the use of Java language, MySQL database. The system functions mainly include two, front user operation and background management. The specific description of each function is as follows:
1. Expert inquiries: Through this feature can be previewed to each expert's profile and their respective departments, so as to facilitate the patient to understand the experts to facilitate specific reservations. Patients can choose from the home page preview interface, after opening the hospital will have all the department information, point to open a single department will appear in the department of various expert information.
2. User registration and information modification: the user can register on the system, and independently modify the basic personal rest, such as: name, gender, date of birth, ID number, E-mail address, telephone number. Patients from the home page can choose to log or register, select the registration, enter the registration interface need to set their own user name password, each patient registration ID number and mobile phone number must be entered, or can not complete the registration. When the patient wants to make an appointment registration must first register to log their account, or can not make appointments.
3. Message: Provide interactive message platform for users to communicate and interact. After the patient login account can choose from the home page message consultation, enter can leave your question, the patient can choose the platform reply or SMS reply.
4. System background management: the system administrator through the background of the main department management expert information release delete management, bulletin reply management, user information management, expert search number release update record management.
Appointment experts and registration: After the user logs in to the system, the patient can be viewed for the last 5 working days, and the remaining number of the experts in each section of the day, when the patient subscribes to an expert's search number, so that the expert can book the number Reduced. Single ID number the same day can only make an appointment with the same department with the experts, different departments can make up to 5 search number, to prevent the cattle reselling hospital search number. After the patient can log in to enter the appointment registration by the face, after the opening of a similar expert consultation page of the various departments, the difference is to enter the department by the face after each expert is nearly 5 working days of the visiting time, the patient can choose specific One morning or afternoon and then click on the appointment.
Keywords: hospital system implementation, SQL database system, JSP
目 录
1 绪论....................................................4
1.1 研究背景与意义......................................4
1.2 研究动机与目的......................................4
1.3 数据库系统简介......................................4
1.4 ASP.NE简述................. ........................5
2 可行性研究与应用需求分析................................5
2.1 可行性研究..........................................5
2.2 需求分析............................................6
3 系统分析................................................7
3.1 工作流程图..........................................7
3.2 系统功能图..........................................8
3.3 系统简介............................................8
4 数据库设计..............................................9
4.1 E-R 图..............................................9
4.2 主要数据库表设计...................................10
5.2 医生资料操作模块..................................23
5.3 预约管理模块......................................24
5.4 用户管理界面管理..................................31
5.5 病人管理模块......................................33
5.6 病人登录模块的实现................................33
5.7 病人预约模块......................................35
5.8 查询模块..........................................38
6 系统测试...............................................43
总 结....................................................44
参 考 文 献..............................................45
致 谢....................................................46