Medical Registration Djumanto Asianto CS 491B SPRING 2005
Medical Registration VS Paper Privacy Simple No Repeating Answers Technology Information Accurate No Not Simple Repeating Answers No Issue of Technology Less Accurate
Consideration of Choosing the Project: Time limitation. Implement the CS320 Class by Prof. Chengyu Sun. Relatively easy to implement it.
Technical Supporting: JSP Scriptlets CS Server Mysql JDB HTML
Database Scheme: Clients NurseDoctor have
Project Design Step by Step: Create databases Use cs320stu16 Create table
Tables: Table_in_cs320stu16 Clients_Info Doctor_Info Fees Insurance Nurse_Command Nurse_Info
Table Description: “Clients_Info” Field Type Null KeyDefaultExtra SSNint(11)PRI0 LastName varchar(45) FirstName varchar(45) DateOfBirth varchar(12)YESNULL Addressvarchar(45) YESNULL Countyvarchar(25) YESNULL Cityvarchar(25) YESNULL ZIP int(5) YESNULL Telephoneint(11) YESNULL varchar(25) YESNULL
Table Description : “Doctor_Info” Field TypeNull Key DefaultExtra Doc_ID int(11) PRI NULLauto_increment LastNamevarchar(20) FirstNamevarchar(20) Specialty varchar(20) Gender char(1) YES NULL Emergency_Phonevarchar(10) YES NULL D_Passwordvarchar(6) YES NULL
Table Description : “Fees” FieldType Null Key DefaultExtra Doc_IDchar(3) PRI SSN varchar(9) Doctor_feesdecimal(12,2) YES NULL Paid_feesdecimal(12,2) YES NULL Description_fee varchar(100) YES NULL DueDate varchar(10) YES NULL RecivePayDate varchar(10) YES NULL Balance decimal(12,2) YES NULL
Table Description : “Insurance” Field Type Null Key Default Extra SSN varchar(9) PRI SubNumber varchar(30) InsNamevarchar(30) TypeOfInsvarchar(10)YES NULL IssueDate dateYES NULL
Table Description : “Nurse_Command” Field Type Null KeyDefaultExtra Order1 int(11) PRI NULLauto_increment Contexts text Nurse_ID varchar(4) SSN varchar(9)
Table Description : “Nurse_Info FieldType NullKey Default Extra Emp_ID int(11) PRI NULL auto_increment LastNamevarchar(20) YES NULL FirstName varchar(20) YES NULL Position varchar(20) YES NULL Gender char(1) YES NULL Telephone varchar(10) YES NULL N_Passwordvarchar(6) YES NULL
Design the Interface: Frame HTML format: New Clients Nurses Doctors Fees Chatting Room(future development)
Interface Interactive: New Clients Clients_Info View Data input data Store Data JDBC
Interface Interactive: Doctor Nurse Password Data Store in Doctor_Info and Nurse_Info SSN Clients required Adding Message Up Date Price Log out input
Interface Interactive: Fees Views the Fees Information
Obstacle During Finishing the Project: Up load the Scriplets to Tomcat Server Up load the Scriplets to CS Server Encounter The CS Server Problem – Tuesday, June 3, 2005 Debug the JSP Scriplets source code Command Error ( Syntax )
Conclusion: Security Point Of View: No body will able to access the data in Databases System without assigning them. Relatively easy to implement the JDBC using the JSP Scriplets because no Java code necessary needed, but It is hard to debug.
Sources: Lecture Note CS320, Chengyu Sun Professional JSP MySQL Reference Manual: jdbc/examples.html jdbc/examples.html