Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 72

PROJECT SYNOPSIS ON

HEALTH HORIZON
SUBMITTED IN PARTIAL FULFILLMENT OF REQUIRMENT FOR THE AWARD OF DEGREE BATCHLOR OF TECHNOLOGY IN INFORMATION TECHNOLOGY BY U. P. TECHNICAL UNIVERSITY, LUCKNOW ACADEMIC YEAR 2010-2011

Under guidance of: Mr. Ashish Baiswar Mr.Vinayak Dept. of IT SRMCEM,LKO

Submitted By: Vivek Sinha (0812213121) Swati Pant (0812213112)

CERTIFICATE
This is to certify that Miss SWATI PANT of B.Tech.3rd year Has completed his project on HEALTH HORIZON A part of his course curriculum has/have been submitted successfully

Project Guide: Mr. Ashish Baiswar Mr. Vinayak Deptt. of IT SRMCEM, Lucknow

Head of Department Prof. Ajay k. Srivastav Deptt. Of IT SRMCEM, Lucknow

CERTIFICATE
This is to certify that Mr. VIVEK SINHA of B.Tech.3rd year Has completed his project on HEALTH HORIZON A part of his course curriculum has/have been submitted successfully

Project Guide: Mr. Ashish Baiswar Mr. Vinayak Deptt. of IT SRMCEM, Lucknow

Head of Department Prof. Ajay k. Srivastav Deptt. of IT SRMCEM, Lucknow

TITLE OF THE PROJECT

HEALTH HORIZON

ACKNOWLEDGEMENT

Health Horizon is a website which shows and helps you to collect most of the information about Hospitality and Medical Services. We would like to thanks our faculty in charge Mr. Ashish Baiswar for his Invaluable guidance and support in making this project. I would also like to thank Mr. Vinayak for their sincere help and advice during the projects lab sessions in college. Last but not the least I would like to thanks GBTU for including this project in our curriculum to enhance our skills.

Made by:
Swati pant Sign Vivek Sinha Sign

ABSTRACT
It is a website which shows and helps you to collect most of the information about Hospitality and Medical Services. This site will be done using PHP 5 and MySQL 5. It can use by the public to view the list of doctors available in their cities and take appointments of doctors with the help of this site. This site will help you to find the blood donators and eye donators. This site also helps to post ads. There will be online help for child care and counseling etc. through e-mail facility. The site will include different articles from famous doctors. The site will help you to find home nurses. It also includes a 24hrs Accidental Care Transport Service (ACTS). It makes possible to post our testimonials. Registered users will be eligible for getting bonus cards and patient referral bonus.

It is maintained by an administrator. User accounts for doctors. User accounts for Hospitals. User accounts for dental clinics and Eye clinics etc Place to post ads. Blood donators Bank. Eye donators Bank. Registration for donators. ACTS (Accidental Care Transport Service). Discounts for registered users. Referral bonus.

TABLE OF CONTENT
Contents 1. Introduction 2. Aims and Objectives 3. System Analysis -Feasibility Study -Software and Hardware Requirements 4. Module Description 5. Data Flow Diagram 6. ER Diagram 7. Design and Coding 8. Testing And Maintenance 10. Future Scope 11. Bibliography Page Number
8 9 10-13 11-12 13 14-17 18-20 21 22-62 63-70 71-72

INTRODUCTION
It is a website which shows and helps you to collect most of the information about Hospitality and Medical Services .It can use by the public to view the list of doctors available in their cities and take appointments of doctors with the help of this site. This site will help you to find the blood donators and eye donators. This site also helps to post ads. There will be online help for child care and counseling etc through e-mail facility. The site will include different articles from famous doctors. The site will help you to find home nurses. It makes possible to post our testimonials. Registered users will be eligible for getting bonus cards and patient referral bonus.

AIMS AND OBJECTIVES

The aim of proposed system is to develop a system of improved facilities. The proposed system can overcome all the limitations of the existing system. The system provides data accuracy and save disc space. The existing system has several disadvantages and many more difficulties to work well. The proposed system tries to eliminate or reduce these difficulties up to some extent. The proposed system will help the user to consume time. The system requires very low system resources and the system will work only in internet connection. The system is very simple in design and to implement. The system requires very low system resources and the system will work in almost all configurations. It has got following objectives: This website provide online help for child care and counseling This website helps all the users to view the list of doctors available in their cities This website helps to find the blood donators and eye donators Registered users will be eligible for getting bonus cards and patient referral bonus by this website. This website take appointments of doctors for the users

SYSTEM ANALYSIS
System analysis is a process of gathering and interpreting facts, diagnosing problems and the information to recommend improvements on the system. It is a problem solving activity that requires intensive communication between the system users and system developers. System analysis or study is an important phase of any system development process. The system is studied to the minutest detail and analyzed. The system analyst plays the role of the interrogator and dwells deep into the working of the present system. The system is viewed as a whole and the input to the system are identified. The outputs from the organizations are traced to the various processes. System analysis is concerned with becoming aware of the problem, identifying the relevant and decisional variables, analyzing and synthesizing the various factors and determining an optimal or at least a satisfactory solution or program of action. A detailed study of the process must be made by various techniques like interviews, questionnaires etc. The data collected by these sources must be scrutinized to arrive to a conclusion. The conclusion is an understanding of how the system functions. This system is called the existing system. Now the existing system is subjected to close study and problem areas are identified. The designer now functions as a problem solver and tries to sort out the difficulties that the enterprise faces. The solutions are given as proposals. The proposal is then weighed with the existing system analytically and the best one is selected. The proposal is presented to the user for an endorsement by the user. The proposal is reviewed on user request and suitable changes are made. This is loop that ends as soon as the user is satisfied with proposal. Preliminary study is the process of gathering and interpreting facts, using the information for further studies on the system. Preliminary study is problem solving activity that requires intensive communication between the system users and system developers. It does various feasibility studies. In these studies a rough figure of the system activities can be obtained, from which the decision about the strategies to be followed for effective system study and analysis can be taken. Here in the project SunZip, a detailed study of existing system is carried along with all the steps in system analysis. An idea for creating a better project was carried and the next steps were followed. 10

FEASIBILITY STUDY

An important outcome of the preliminary investigation is the determination that the system requested is feasible. Feasibility study is carried out to select the best system that meets the performance requirements.

Feasibility study is both necessary and prudent to evaluate the feasibility of the project at the earliest possible time. It involves preliminary investigation of the project and examines whether the designed system will be useful to the organization. Months or years of effort, thousand for millions of money and untold professional embarrassment can be averted if an in-conceived system is recognized early in the definition phase.

The different types of feasibility are: Technical feasibility, Operational feasibility, Economical feasibility.

1) Technical feasibility

Technical Feasibility deals with the hardware as well as software requirements. Technology is not a constraint to type system development. We have to find out whether the necessary technology, the proposed equipments have the capacity to hold the data, which is used in the project, should be checked to carryout this technical feasibility.

The technical feasibility issues usually raised during the feasibility stage of investigation includes these This software is running in windows 2000 Operating System, which can be easily installed. The hardware required is Pentium based server. The system can be expanded.

2) Operational feasibility

This feasibility test asks if the system will work when it is developed and installed. 11

Operational feasibility in this project:

The proposed system offers greater level of user-friendliness. The proposed system produces best results and gives high performance. It can be implemented easily .So this project is operationally feasible.

3) Economical feasibility

Economical Feasibility deals about the economical impact faced by the organization to implement a new system. Financial benefits must equal or exceed the costs. The cost of conducting a full system, including software and hardware cost for the class of application being considered should be evaluated.

Economic Feasibility in this project: The cost to conduct a full system investigation is possible. There is no additional manpower requirement. There is no additional cost involved in maintaining the proposed system.

12

REQUIREMENT ANALYSIS

1. Hardware Requirements
CPU Speed Coprocessor Total ram Diskette a Hard disk Keyboard Mouse Display Printer : : : : : : : : : : Pentium IV 2 GHz built in 128 mb 1.44mb floppy 3.5 40 GB 105 keys Logitech mouse sgva color hp desk jet

2. Software Requirements
Front end Back end Operating system : : : php 5 mysql 5 windows xp

13

MODULE DESCRIPTION

Our website consists of six modules which are as follows: Clinic registration Appointment form Doctor registration Hospital registration User account Blood/eye donator form

Clinical registration
Input\Output Clinic Name Specialization Address Consulting time Online appointment Login information Terms and condition

Functions - This module is for the clinics to register themselves who want to get involved with our site to facilitate their medical services. This module is also for patients who want to get attached with some particular clinics as per there convenience and need.

14

Appointment form
Input\Output Name DOB Age Address Marital Status Sex E-mail Consulting Date Specialization

Functions This module is used by patients to get appointment online and they can also select their consulting date and time as per their convenience. This appointment form can also be used by people who want to join the association as employees.

Doctor Registration
Input\output Doctor name Qualification Specialization Age Dob Address 15

Consulting time Login information Terms and conditions

Functions This module is designed to register information about the doctors who are interested in joining our association. Their specialization and consulting time is stored to allot them patients accordingly.

Hospital registration
Input\output Hospital name Address Login information Terms and condition

Functions To register the hospitals and clinics through which our association would provide medical services to our site visitors.

User account
Input\output User type User name Password

Functions- This module is for users who want to become a prominent member of our association and for those patients who want to register for regular or yearly check ups.

16

Blood\eye donator form


Input\output Blood group Name Address Phone number City Location

Functions- This module is to register people who want to donate their and blood and eyes.

17

DATA FLOW DIAGRAM


Data flow oriented techniques advocate that the major data items handled by a system must be first identified and then the processing required on these data items to produce the desired outputs should be determined. The DFD (also called as bubble chart) is a simple graphical formalism that can be used to represent a system in terms of input data to the system, various processing carried out on these data, and the output generated by the system. The symbols used for constructing DFDs are: Symbols used in DFD

A circle represents a process.

A rectangle represents external entity

A square defines a source or destination of the system data.

An arrow identifies dataflow.

Double line with one end closed indicates data store

18

Level 0 DFD:

User Details User View Details Health Horizon

Administrator

Visitor View Details

19

Level 1 DFD-

Administrator Login Details Verify Login Ads Details Blood donors Donors Details Eye donors Health Horizon Login Reg: Details Registration

Advertisement

Add Details Doctor Details

Child Care

Doctors Bonus Details Visitor


Discount Details

Bonus

Discounts User

20

DATABASE DESIGN

21

DESIGN
Home Page

22

User Registration

23

APPOINTMENT FORM

24

CLINIC REGISTRATION

25

DOCTOR REGISTRATION

26

HOSPITAL REGISTRATION

27

EYE DONATION

28

BLOOD DONATION

29

CODING
INDEX.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"> <form action="check7.php" method="post"> <img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <form> <font face="comic sans ms" size="30" color="blue"> <center><b> Health Horizon</center></font> <hr> <marquee bgcolor="purple"><font color="white"> we exist for our patients</font> </marquee> <br> <table cell padding="5" cellspacing="10" border="1" bordercolor="green"> <tr ><td ><table> <tr><td colspan="2"> <font face="arial" size="3" color="red"><b> <center> login here: </center></td> <tr><td><font color="purple" size="3"><b>user name</td> <td><input type="text" name="n"></td></tr> <tr ><td><font color="purple" size="3"><b>password</td> <td><input type="password" name="a"></td></tr> <tr><td><font color="purple" size="3">user type</td> <td><select name="u"> <option>patient</option>doctor<option>clinic</option> <option>hospital</option> <option>doctor</option><option>eye donor</option> <option>blood donor</option><option>staff</option> <option>general</option></select> <br><br> <tr><td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" value="login"></td></tr></form> <tr><td colspan="2"><center><font color="red"><a href="acct7.php">to sign in click here</font></center></td></tr> </table></td> <td ><img src="c:\documents and settings\pritma\desktop\miniprj\pics\pictures.jpg" width=500 height=400></td> </tr></table></body></html>

30

CHECK.PHP <html> <?php require_once "confi.php"; require_once "profile.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; $this->hconn=odbc_connect($connstring,"",""); } public function check($table,$u1,$p,$ut) { $flag=0; $u2="'".$u1."'"; $p1="'".$p."'"; $ut1="'".$ut."'"; $sql="select * from $table where usrname=$u2 and psswrd=$p1"; $hres=odbc_exec($this->hconn,$sql); if(odbc_fetch_row($hres)) { $name=odbc_result($hres,"name"); $flag=1; } if($flag==1) { $o=new profile($u1,$p,$ut); ?> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"> <img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200><html> <h1> <center><?=$name?>,welcome to health horizon <table> <tr><td colspan="2">login details:</td></tr> <tr><td>username:</td><td><?=$u1?></td></tr> <tr><td>password:</td><td><?=$p?></td></tr> <tr><td>usertype:</td><td><?=$ut?></td></tr> </table><br><br><br><br> | <a href="abt.php">About us</a> | <a href="home7.php">Home</a> | Contact us |<a href="frst.php"> Logout</a> |<a href="profile.php">view profile <?php } } } ?> 31

<?php $u1=$_POST['n']; $p=$_POST['a']; $ut=$_POST['u']; $table="useraccount"; $o=new insert(); $o->check($table,$u1,$p,$ut); ?></html>

ACCOUNT.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"> <img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> User Account </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee> <form action="unique7.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> <table width="100%" bgcolor="pink"> <tr><td><b>User Type:</td><td><select name="ut"><option>patient</option> <option>staff</option><option>doctor</option><option>clinic</option> <option>hospital</option><option>eye donor</option><option>blood donor</option> <option>general</option></select><br><br></td></tr> <tr><td><B>Name:</td><td><input type="text" name="n"><br><br></td></tr> <tr><td><B>User Name:</td><td><input type="text" name="u"><br><br></td></tr> <tr><td><B>Password:</td><td><input type="password" name="p"><br><br></td></tr> </table><hr> <input type="submit" value="submit"> </form> </body> </html>

32

APPOINTMENT.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> Appointment Form </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee> <table border="2" cell spacing="1000" cell padding="center" bgcolor="orange" width="100%" align="center"> <tr> <td><a href="home7.php">Home</td> <td><a href="app7.php">Appointment form</td> <td><a href="clinic7.php">clinic registration</td> <td><a href="doc7.php">doctor registration</td> <td><a href="hosp.php">hospital registration</td> <td><a href="eye.php">eye donation</td> <td><a href="blood7.php">blood donation</td> </tr></table> <form action="inser.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> <table width="100%" bgcolor="pink"> <tr><td><b>Name:</td><td><input type="text" name="n"><br><br></td></tr> <tr><td><B>DOB:</td><td>Date<select name="d1"><option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option> 33

<option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> </select>Month<selectname="m1"> <option>jan</option> <option>feb</option> <option>mar</option> <option>april</option> <option>may</option> <option>june</option><option>july</option><option>aug</option><option>sept</option>< option>oct</option> <option>nov</option> <option>dec</option></select> Year<selectname="y1"> <option>1981</option> <option>1982</option> <option>1983</option> <option>1984</option> <option>1985</option> <option>1986</option> <option>1987</option> <option>1988</option> <option>1989</option> <option>1990</option> <option>1991</option> <option>1992</option> <option>1993</option> <option>1994</option> <option>1995</option> <option>1996</option> <option>1997</option> <option>1998</option> <option>1999</option> <option>2000</option> <option>2001</option> <option>2002</option> <option>2003</option> <option>2004</option> <option>2005</option> <option>2006</option> <option>2007</option> <option>2008</option> <option>2009</option> 34

<option>2010</option></select> <br><br></td></tr> <tr><td><B>Marital status:</td><td>married<input type="radio" value="married" name="ms">unmarried<input type="radio" value="unmarried" name="ms"><br><br></td></tr> <tr><td><B>Age:</td> <td><input type="text" name="a1"><br><br></td></tr> <tr><td><B>Gender:</td><td>male<input type="radio" value="male" name="g1">female<input type="radio" value="female" name="g1"><br><br></td></tr><tr><td colspan="2"><hr></td></tr> <tr><td><B>Address:</td><td><input type="text" name="ad1"><br><br></td></tr> <tr><td><B>City:</td><td><input type="text" name="c1"><br><br></td></tr> <tr><td><B>State:</td><td><input type="text" name="s1"><br><br></td></tr> <tr><td><B>Country:</td><td><input type="text" name="co1"><br><br></td></tr> <tr><td><B>Phone no:</td><td><input type="text" name="ph1"><br><br></td></tr> <tr><td><B>Mobile no:</td><td><input type="text" name="mo1"><br><br></td></tr> <tr><td><B>PIN:</td><td><input type="text" name="p1"><br><br></td></tr><tr><td colspan="2"><hr></td></tr> <tr><td><B>E-mail:</td><td><input type="text" name="e1"><br><br></td></tr> <tr><td><B>Specialization:</td><td><input type="text" name="sp"><br><br></td></tr> <tr><td><B>Consulting Time:</td><td>from<select name="h1"><option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option></select> <select name="min1"> <option>1</option ><option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> 35

<option>19</option> <option>20</option> <option>21</option> <option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> <option>32</option> <option>33</option> <option>34</option> <option>35</option> <option>36</option> <option>37</option> <option>38</option> <option>39</option> <option>40</option> <option>41</option> <option>42</option> <option>43</option> <option>44</option> <option>45</option> <option>46</option> <option>47</option> <option>48</option> <option>49</option> <option>50</option> <option>51</option> <option>52</option> <option>53</option> <option>54</option> <option>55</option> <option>56</option> <option>57</option> <option>58</option> <option>59</option></select> <select name="i1"><option>am</option> <option>pm</option></select>to<select name="h2"><option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> 36

<option>9</option> <option>10</option> <option>11</option> <option>12</option></select>:<select name="min2"><option>1</option> <option>2</option> <option>3</option> <option>4</option> <option>5</option> <option>6</option> <option>7</option> <option>8</option> <option>9</option> <option>10</option> <option>11</option> <option>12</option> <option>13</option> <option>14</option> <option>15</option> <option>16</option> <option>17</option> <option>18</option> <option>19</option> <option>20</option> <option>21</option> <option>22</option> <option>23</option> <option>24</option> <option>25</option> <option>26</option> <option>27</option> <option>28</option> <option>29</option> <option>30</option> <option>31</option> <option>32</option> <option>33</option> <option>34</option> <option>35</option> <option>36</option> <option>37</option> <option>38</option> <option>39</option> <option>40</option> <option>41</option> <option>42</option> <option>43</option> <option>44</option> <option>45</option> <option>46</option> <option>47</option> 37

<option>48</option> <option>49</option> <option>50</option> <option>51</option> <option>52</option> <option>53</option> <option>54</option> <option>55</option> <option>56</option> <option>57</option> <option>58</option> <option>59</option></select><select name="i2"><option>am</option><option>pm</option></select><br><br></td></tr></table > <br><input type="submit" value="submit"> </form> </body> </html>

BLOODDONATION.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue">Blood Donation Form </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee> <table border="2" cell spacing="1000" cell padding="center" bgcolor="orange" width="100%" align="center"> <tr> <td><a href="home7.php">Home</td> <td><a href="app7.php">Appointment form</td> <td><a href="clinic7.php">clinic registration</td> <td><a href="doc7.php">doctor registration</td> <td><a href="hosp.php">hospital registration</td> <td><a href="eye.php">eye donation</td> <td><a href="blood7.php">blood donation</td> </tr></table> <form action="inserblood.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> <table width="100%" bgcolor="pink"> <tr><td><b>Name:</td><td><input type="text" name="n"><br><br></td></tr> 38

<tr><td><B>Address:</td><td><input type="text" name="ad"><br><br></td></tr> <tr><td><B>Phone no.:</td><td><input type="text" name="ph"><br><br></td></tr> <tr><td><B>City:</td><td><input type="text" name="c"><br><br></td></tr> <tr><td><B>Location:</td><td><input type="text" name="l"><br><br></td></tr> <tr><td><B>Blood Group:</td><td><select name="bg"><option>A+</option><option>A</option><option>B+</option><option>B</option><option>AB</option><option>O+</option><option>O</option></select><br><br></td></tr></table><hr> <input type="submit" value="submit"> </form> </body> </html>

CLINICREGISTRATION.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> Clinic Registeration Form </font> </center> <hr><marquee bgcolor="purple"> <font color="white"> we exist for our patients </marquee> <table border="2" cell spacing="1000" cell padding="center" bgcolor="orange" width="100%" align="center"> <tr> <td><a href="home7.php">Home</td> <td><a href="app7.php">Appointment form</td> <td><a href="clinic7.php">clinic registration</td> <td><a href="doc7.php">doctor registration</td> <td><a href="hosp.php">hospital registration</td> <td><a href="eye.php">eye donation</td> <td><a href="blood7.php">blood donation</td> </tr></table> <form action="insclinic.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> <table width="100%" bgcolor="pink"> <tr><td><b>Clinic Name:</td><td><input type="text" name="n"><br><br></td></tr> <tr><td><B>Address:</td><td><input type="text" name="ad"><br><br></td></tr><tr><td colspan="2"><hr></td></tr> <tr><td><B>Specialization:</td><td><input type="text" name="sp"><br><br></td></tr> <tr><td><B>User name:</td><td><input type="text" name="u"><br><br></td></tr> 39

<tr><td><B>Password:</td><td><input type="password" name="p"><br><br></td></tr> <tr><td colspan="2"><hr></td></tr> <tr><td><B>Online Appointment:</td><td>yes<input type="radio" value="app">no<input type="radio" name="app"><br><br></td></tr> <tr><td><B>Consulting Time:</td><td>from<select name="hr1"><option>1</option><option>2</option> <option>3</option><option>4</option> <option>5</option><option>6</option> <option>7</option><option>8</option> <option>9</option><option>10</option> <option>11</option><option>12</option> </select>:<select name="mi1"><option>1</option> <option>2</option><option>3</option> <option>4</option><option>5</option> <option>6</option><option>7</option> <option>8</option><option>9</option> <option>10</option><option>11</option> <option>12</option><option>13</option> <option>14</option><option>15</option> <option>16</option><option>17</option> <option>18</option><option>19</option><option>20</option><option>21</option><optio n>22</option><option>23</option> <option>24</option><option>25</option> <option>26</option><option>27</option> <option>28</option><option>29</option><option>30</option><option>31</option><optio n>32</option><option>33</option> <option>34</option><option>35</option> <option>36</option><option>37</option> <option>38</option><option>39</option> <option>40</option><option>41</option> <option>42</option><option>43</option> <option>44</option><option>45</option> <option>46</option><option>47</option> <option>48</option><option>49</option> <option>50</option><option>51</option> <option>52</option><option>53</option> <option>54</option><option>55</option> <option>56</option><option>57</option> <option>58</option><option>59</option></select><select name="in1"><option>am</option> <option>pm</option></select>to<select name="hr2"><option>1</option> <option>2</option><option>3</option> <option>4</option><option>5</option> <option>6</option><option>7</option> <option>8</option><option>9</option> <option>10</option><option>11</option> <option>12</option></select>:<select name="mi2"><option>1</option> <option>2</option><option>3</option> <option>4</option><option>5</option> <option>6</option><option>7</option> 40

<option>8</option><option>9</option> <option>10</option><option>11</option> <option>12</option><option>13</option> <option>14</option><option>15</option> <option>16</option><option>17</option> <option>18</option><option>19</option> <option>20</option><option>21</option> <option>22</option><option>23</option> <option>24</option><option>25</option> <option>26</option><option>27</option> <option>28</option><option>29</option> <option>30</option><option>31</option> <option>32</option><option>33</option> <option>34</option><option>35</option> <option>36</option><option>37</option> <option>38</option><option>39</option> <option>40</option><option>41</option> <option>42</option><option>43</option> <option>44</option><option>45</option> <option>46</option><option>47</option> <option>48</option><option>49</option> <option>50</option><option>51</option> <option>52</option><option>53</option> <option>54</option><option>55</option> <option>56</option><option>57</option> <option>58</option><option>59</option></select><select name="in2"><option>am</option><option>pm</option></select> <br><br></td></tr></table> <br><input type="submit" value="submit"> </form> </body> </html>

CONFI.PHP <html> <?php $cfg['db']['host']='localhost'; $cfg['db']['password']=''; $cfg['db']['name']='swat'; ?> </html> 41

DOCTREGISTRATION.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> Doctor Registeration Form </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee> <table border="2" cell spacing="1000" cell padding="center" bgcolor="orange" width="100%" align="center"> <tr> <td><a href="home7.php">Home</td> <td><a href="app7.php">Appointment form</td> <td><a href="clinic7.php">clinic registration</td> <td><a href="doc7.php">doctor registration</td> <td><a href="hosp.php">hospital registration</td> <td><a href="eye.php">eye donation</td> <td><a href="blood7.php">blood donation</td> </tr></table> <form action="docinser.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> <table width="100%" bgcolor="pink"> <tr><td><b>Doctor Name:</td><td><input type="text" name="n"><br><br></td></tr> <tr><td><B>DOB:</td><td>Date<select name="d1"><option>1</option> <option>2</option> <option>3</option><option>4</option> <option>5</option><option>6</option> <option>7</option><option>8</option> <option>9</option><option>10</option> <option>11</option><option>12</option> <option>13</option><option>14</option> <option>15</option><option>16</option> <option>17</option><option>18</option> <option>19</option><option>20</option> <option>21</option><option>22</option> <option>23</option><option>24</option> <option>25</option><option>26</option> <option>27</option><option>28</option> <option>29</option><option>30</option> <option>31</option></select>Month<select name="m1"><option>jan</option> <option>feb</option><option>mar</option> <option>april</option><option>may</option> 42

<option>june</option><option>july</option> <option>aug</option><option>sept</option> <option>oct</option><option>nov</option> <option>dec</option></select> Year<select name="y1"><option>1981</option> <option>1982</option><option>1983</option> <option>1984</option><option>1985</option> <option>1986</option><option>1987</option> <option>1988</option><option>1989</option> <option>1990</option><option>1991</option> <option>1992</option><option>1993</option> <option>1994</option><option>1995</option> <option>1996</option><option>1997</option> <option>1998</option><option>1999</option> <option>2000</option><option>2001</option> <option>2002</option><option>2003</option> <option>2004</option><option>2005</option> <option>2006</option><option>2007</option> <option>2008</option><option>2009</option> <option>2010</option></select><br><br></td></tr> <tr><td><B>Age:</td><td><input type="text" name="a1"><br><br></td></tr> <tr><td><B>Address:</td><td><input type="text" name="ad1"><br><br></td></tr><tr><td colspan="2"><hr></td></tr> <tr><td><B>Qualification:</td><td><input type="text" name="q"><br><br></td></tr> <tr><td><B>Specialization:</td><td><input type="text" name="sp"><br><br></td></tr> <tr><td><B>User name:</td><td><input type="text" name="u1"><br><br></td></tr> <tr><td><B>Password:</td><td><input type="password" name="p1"><br><br></td></tr> <tr><td colspan="2"><hr></td></tr> <tr><td><B>Online Appointment:</td><td>yes<input type="radio" name="o">no<input type="radio" name="o"><br><br></td></tr> <tr><td><B>Consulting Time:</td><td>from<select name="h1"><option>1</option><option>2</option> <option>3</option><option>4</option> <option>5</option><option>6</option> <option>7</option><option>8</option> <option>9</option><option>10</option> <option>11</option><option>12</option></select>:<select name="min1"><option>1</option><option>2</option> <option>3</option><option>4</option> <option>5</option><option>6</option> <option>7</option><option>8</option> <option>9</option><option>10</option> <option>11</option><option>12</option> <option>13</option><option>14</option> <option>15</option><option>16</option> <option>17</option><option>18</option> <option>19</option><option>20</option> <option>21</option><option>22</option> <option>23</option><option>24</option> <option>25</option><option>26</option> 43

<option>27</option><option>28</option> <option>29</option><option>30</option> <option>31</option><option>32</option> <option>33</option><option>34</option> <option>35</option><option>36</option> <option>37</option><option>38</option> <option>39</option><option>40</option> <option>41</option><option>42</option> <option>43</option><option>44</option> <option>45</option><option>46</option> <option>47</option><option>48</option> <option>49</option><option>50</option> <option>51</option><option>52</option> <option>53</option><option>54</option> <option>55</option><option>56</option> <option>57</option><option>58</option> <option>59</option></select><select name="i1"><option>am</option><option>pm</option></select>to<select name="h2"><option>1</option><option>2</option> <option>3</option><option>4</option> <option>5</option><option>6</option> <option>7</option><option>8</option> <option>9</option><option>10</option> <option>11</option><option>12</option></select>:<select name="min2"><option>1</option><option>2</option> <option>3</option><option>4</option> <option>5</option><option>6</option> <option>7</option><option>8</option> <option>9</option><option>10</option> <option>11</option><option>12</option> <option>13</option><option>14</option> <option>15</option><option>16</option> <option>17</option><option>18</option> <option>19</option><option>20</option> <option>21</option><option>22</option> <option>23</option><option>24</option> <option>25</option><option>26</option> <option>27</option><option>28</option> <option>29</option><option>30</option> <option>31</option><option>32</option> <option>33</option><option>34</option> <option>35</option><option>36</option> <option>37</option><option>38</option> <option>39</option><option>40</option> <option>41</option><option>42</option> <option>43</option><option>44</option> <option>45</option><option>46</option> <option>47</option><option>48</option> <option>49</option><option>50</option> <option>51</option><option>52</option> 44

<option>53</option><option>54</option> <option>55</option><option>56</option> <option>57</option><option>58</option> <option>59</option></select><select name="i2"><option>am</option><option>pm</option></select><br><br></td></tr></table > <br><input type="submit" value="submit"> </form> </body> </html>

DOCINSERT.PHP <html> <?php require_once "confi.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function insert1($table,$p,$u1,$o,$cons,$ad,$dob,$a,$sp,$q,$n) { $u1="'".$u1."'"; $p="'".$p."'"; $o="'".$o."'"; $q="'".$q."'"; $dob="'".$dob."'"; $cons="'".$cons."'"; $a="'".$a."'"; $field="'".$n."'"; $ad="'".$ad."'"; $sp="'".$sp."'"; $sql="insert into $table (psswrd,usrname,onlineappt,cnsltingtym,address,dob,age,spclization,qlfication,docname)valu es($p,$u1,$o,$cons,$ad,$dob,$a,$sp,$q,$field)"; echo $sql; $hres=odbc_exec($this->hconn,$sql); echo "success"; } } ?> <?php $n=$_POST['n']; 45

$d=$_POST['d1']; $m=$_POST['m1']; $y=$_POST['y1']; $a=$_POST['a1']; $ad=$_POST['ad1']; $q=$_POST['q']; $sp=$_POST['sp']; $p=$_POST['p1']; $u1=$_POST['u1']; $o=$_POST['o']; $hr1=$_POST['h1']; $mi1=$_POST['min1']; $in1=$_POST['i1']; $hr2=$_POST['h2']; $mi2=$_POST['min2']; $in2=$_POST['i2']; $x="from"; $y1="to"; $cons=$x."\n"."".$hr1.""."\n"."".$mi1.""."\n"."".$in1.""."\n".$y1."\n"."".$hr2.""."\n"."".$mi2. ""."\n"."".$in2.""; $dob="".$d.""."\n"."".$m.""."\n"."".$y.""; $table="docreg"; $on=new insert(); $on->insert1($table,$p,$u1,$o,$cons,$ad,$dob,$a,$sp,$q,$n); ?> </html>

EYEDONATION.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> Eye Donation Form </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee> <table border="2" cell spacing="1000" cell padding="center" bgcolor="orange" width="100%" align="center"> <tr> <td><a href="home7.php">Home</td> <td><a href="app7.php">Appointment form</td> <td><a href="clinic7.php">clinic registration</td> <td><a href="doc7.php">doctor registration</td> 46

<td><a href="hosp.php">hospital registration</td> <td><a href="eye.php">eye donation</td> <td><a href="blood7.php">blood donation</td> </tr></table> <form action="insereye.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> <table width="100%" bgcolor="pink"> <tr><td><b>Name:</td><td><input type="text" name="n"><br><br></td></tr> <tr><td><B>Address:</td><td><input type="text" name="ad"><br><br></td></tr> <tr><td><B>Phone no.:</td><td><input type="text" name="ph"><br><br></td></tr> <tr><td><B>City:</td><td><input type="text" name="c"><br><br></td></tr> <tr><td><B>Location:</td><td><input type="text" name="l"><br><br></td></tr> <tr><td><B>Blood Group:</td><td><select name="bg"><option>A+</option><option>A</option><option>B+</option><option>B</option><option>AB</option><option>O+</option><option>O</option></select><br><br></td></tr></table><hr> <input type="submit" value="submit"> </form> </body> </html> HOSPITAL.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> Hospital Registration Form </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee> <table border="2" cell spacing="1000" cell padding="center" bgcolor="orange" width="100%" align="center"> <tr> <td><a href="home7.php">Home</td> <td><a href="app7.php">Appointment form</td> <td><a href="clinic7.php">clinic registration</td> <td><a href="doc7.php">doctor registration</td> <td><a href="hosp.php">hospital registration</td> <td><a href="eye.php">eye donation</td> <td><a href="blood7.php">blood donation</td> </tr></table> <form action="hospinser.php" method="post" bgcolor="pink"> <br><b><font face="arial" size="5" color="purple"><u> personal information</u></font> <br><br> 47

<table width="100%" bgcolor="pink"> <tr><td><b>Hospital:</td><td><input type="text" name="n"><br><br></td></tr> <tr><td><B>Address:</td><td><input type="text" name="ad1"><br><br></td></tr> <tr><td><B>User Name:</td><td><input type="text" name="u1"><br><br></td></tr> <tr><td><B>Password:</td><td><input type="password" name="p1"><br><br></td></tr> </table><hr> <input type="submit" value="submit"> </form> </body> </html>

HOSPINSERT.PHP <html> <?php require_once "confi.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function insert1($table,$p,$u1,$ad,$n) { $u1="'".$u1."'"; $p="'".$p."'"; $field="'".$n."'"; $ad="'".$ad."'"; $sql="insert into $table (psswrd,usrname,address,hospital)values($p,$u1,$ad,$field)"; echo $sql; $hres=odbc_exec($this->hconn,$sql); echo "success"; } } ?> <?php $n=$_POST['n']; $ad=$_POST['ad1']; $p=$_POST['p1']; $u1=$_POST['u1']; $table="hospitalreg"; $on=new insert(); $on->insert1($table,$p,$u1,$ad,$n); 48

?> </html>

CLINICINSERT.PHP <html> <?php require_once "confi.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function insert1($table,$n,$ad,$sp,$u,$p,$app,$cons) { $cons="'".$cons."'"; $field="'".$n."'"; $ad="'".$ad."'"; $u="'".$u."'"; $app="'".$app."'"; $p="'".$p."'"; $sp="'".$sp."'"; $sql="insert into $table(clinicname,address,spclization,username,passwrd,onlineapptmenttym,consltingtym)va lues($field,$ad,$sp,$u,$p,$app,$cons)"; echo $sql; $hres=odbc_exec($this->hconn,$sql); echo "success"; } } ?> <?php $n=$_POST['n']; $ad=$_POST['ad']; $sp=$_POST['sp']; $u=$_POST['u']; $p=$_POST['p']; $app=$_POST['app']; $hr1=$_POST['hr1']; $mi1=$_POST['mi1']; $in1=$_POST['in1']; $hr2=$_POST['hr2']; $mi2=$_POST['mi2']; 49

$in2=$_POST['in2']; $x="from"; $y1="to"; $cons=$x."\n"."".$hr1.""."\n"."".$mi1.""."\n"."".$in1.""."\n".$y1."\n"."".$hr2.""."\n"."".$mi2. ""."\n"."".$in2.""; $table="clinicreg"; $o=new insert(); $o->insert1($table,$n,$ad,$sp,$u,$p,$app,$cons); ?> </html>

APPOINTMENTINSERT.PHP <html> <?php require_once "confi.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function insert1($table,$n,$ms,$g,$ad,$c,$s,$co,$e,$sp,$cons,$dob,$ph,$p,$mo,$a) { $mo="'".$mo."'"; $p="'".$p."'"; $dob="'".$dob."'"; $cons="'".$cons."'"; $a="'".$a."'"; $ph="'".$ph."'"; $field="'".$n."'"; $ms="'".$ms."'"; $g="'".$g."'"; $ad="'".$ad."'"; $c="'".$c."'"; $s="'".$s."'"; $co="'".$co."'"; $e="'".$e."'"; $sp="'".$sp."'"; $sql="insert into $table (name,maritalstatus,gender,address,city,state,country,email,spclization,cnsltingdate,dob,phnn o,pin,mobileno,age)values($field,$ms,$g,$ad,$c,$s,$co,$e,$sp,$cons,$dob,$ph,$p,$mo,$a)"; echo $sql; $hres=odbc_exec($this->hconn,$sql); echo "success"; 50

} } ?> <?php $n=$_POST['n']; $d=$_POST['d1']; $m=$_POST['m1']; $y=$_POST['y1']; $ms=$_POST['ms']; $a=$_POST['a1']; $g=$_POST['g1']; $ad=$_POST['ad1']; $c=$_POST['c1']; $s=$_POST['s1']; $co=$_POST['co1']; $ph=$_POST['ph1']; $mo=$_POST['mo1']; $p=$_POST['p1']; $e=$_POST['e1']; $sp=$_POST['sp']; $hr1=$_POST['h1']; $mi1=$_POST['min1']; $in1=$_POST['i1']; $hr2=$_POST['h2']; $mi2=$_POST['min2']; $in2=$_POST['i2']; $x="from"; $y1="to"; $cons=$x."\n"."".$hr1.""."\n"."".$mi1.""."\n"."".$in1.""."\n".$y1."\n"."".$hr2.""."\n"."".$mi2. ""."\n"."".$in2.""; $dob="".$d.""."\n"."".$m.""."\n"."".$y.""; $table="appointmentform"; $o=new insert(); $o->insert1($table,$n,$ms,$g,$ad,$c,$s,$co,$e,$sp,$cons,$dob,$ph,$p,$mo,$a); ?> </html>

51

BLOODINSERT.PHP <html> <?php require_once "confi.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function insert1($table,$bg,$l,$c,$ph,$ad,$n) { $bg="'".$bg."'"; $ph="'".$ph."'"; $c="'".$c."'"; $l="'".$l."'"; $field="'".$n."'"; $ad="'".$ad."'"; $sql="insert into $table (bloodgrp,location,city,phn,address,name)values($bg,$l,$c,$ph,$ad,$field)"; echo $sql; $hres=odbc_exec($this->hconn,$sql); echo "success"; } } ?> <?php $n=$_POST['n']; $ad=$_POST['ad1']; $ph=$_POST['ph']; $c=$_POST['c']; $l=$_POST['l']; $bg=$_POST['bg']; $table="blooddonator"; $on=new insert(); $on->insert1($table,$bg,$l,$c,$ph,$ad,$n); ?> </html>

52

EYEINSERT.PHP <html> <?php require_once "confi.php"; class insert { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function insert1($table,$bg,$l,$c,$ph,$ad,$n) { $bg="'".$bg."'"; $ph="'".$ph."'"; $c="'".$c."'"; $l="'".$l."'"; $field="'".$n."'"; $ad="'".$ad."'"; $sql="insert into $table (bloodgrp,location,city,phnno,address,name)values($bg,$l,$c,$ph,$ad,$field)"; echo $sql; $hres=odbc_exec($this->hconn,$sql); echo "success"; } } ?> <?php $n=$_POST['n']; $ad=$_POST['ad1']; $ph=$_POST['ph']; $c=$_POST['c']; $l=$_POST['l']; $bg=$_POST['bg']; $table="eyedonator"; $on=new insert(); $on->insert1($table,$bg,$l,$c,$ph,$ad,$n); ?> </html>

53

PROFILE.PHP <html> <?php require_once "confi.php"; require_once "disappt.php"; require_once "disblood.php"; require_once "disclinic.php"; require_once "disdoc.php"; require_once "diseye.php"; require_once "dishosp.php"; class profile { private $hconn; public function __construct($u,$p,$ut) { $u11=$u; $ut1=$ut; $p1=$p; global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display($u11,$ut1,$p1) { echo $ut1; if(strcmp($ut1,"doctor")==0) { $table="docreg"; $o=new disdoc(); $o->display2($table,$u11,$ut1,$p1); } if($ut1=="hospital") { $table="hospitalreg"; $o=new dishosp(); $o->display4($table,$u11,$ut1,$p1); } if($ut1=="clinic") { $table="clinicreg"; $o=new disclinic(); $o->display3($table,$u11,$ut1,$p1); } if($ut1=="eye donor") { $table="eyedonator"; $o=new diseye(); $o->display5($table,$u11,$ut1,$p1); } 54

if($ut1=="blood donor") { $table="blooddonator"; $o=new disblood(); $o->display6($table,$u11,$ut1,$p1); } if($ut1=="patient") { $table="appointmentform"; $o=new disappt(); $o->display1($table,$u11,$ut1,$p1); } if($ut1=="staff") { $table="appointmentform"; $o=new disappt(); $o->display1($table,$u11,$ut1,$p1); } } } ?> <?php $on=new profile($u,$p,$ut); $on->display($u,$p,$ut); ?> </html>

ABOUTUS.HTML <html> <body background="C:\Documents and Settings\pritma\My Documents\My Pictures\steth.bmp"><img src="C:\Documents and Settings\pritma\My Documents\User.gif" width=300 height=200> <center><font face="comic sans ms" size="10" color="blue"> ABOUT US... </font> </center> <hr><marquee bgcolor="purple"> <font color="white">we exist for our patients </marquee><br><br><br><br> <font color="green" face="comic sans ms" size="3" ><b> HEALTH HORIZON Website is an invaluable tool for physicians and staff, and a trusted resource for patients.Website helps you provide a safe, secure and trusted Internet environment for your patients. For physicians and staff, HEALTH HORIZON website helps you create a more efficient practice by allowing you to communicate relevant information to patients online. The burden 55

on administrative staff is reduced by not having to respond to repeated requests such as:<BR> 1. office hours, directions and emergency services <BR> 2. how to prepare for a visit <BR> 3. seasonal information and health alerts <BR>4. forms & questionnaires <BR>5. selected health information, relevant to your practice<BR> For patients,HEALTH HORIZON website can serve as an information portal where they can access relevant information about your practice. <BR> The physician/client relationship is enhanced through the ease of access to this information, so patients can: <BR> 1. arrive for a visit fully prepared, reducing visit time<BR> 2. be better informed about uninsured services <BR> 3. be directed to online health resources endorsed by you <BR> 4. be in control of their chronic diseases HEALTH HORIZON website is quick and easy to set up, and its free to all subscribers</font><br><br><br>| <a href="abt.php">About us</a> | Profile | <a href="home7.php">Home</a> | Contact us | <A HREF="frst.php">Logout</a> </body> </html>

DISPLAYAPPOINT.PHP <html> <?php require_once "confi.php"; class disappt { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display1($table,$u,$ut,$p) { $u="'".$u."'"; $p="'".$p."'"; $sql="select * from $table where usrname=$u AND psswrd=$p"; $rs=odbc_exec($this->hconn,$sql); $mo=odbc_result($rs,"mobileno"); $p=odbc_result($rs,"pin"); $dob=odbc_result($rs,"dob"); $cons=odbc_result($rs,"cnsltingdate"); $a=odbc_result($rs,"age"); $ph=odbc_result($rs,"phnno"); $field=odbc_result($rs,"name"); 56

$ms=odbc_result($rs,"maritalstatus"); $g=odbc_result($rs,"gender"); $ad=odbc_result($rs,"address"); $c=odbc_result($rs,"city"); $s=odbc_result($rs,"state"); $co=odbc_result($rs,"country"); $e=odbc_result($rs,"email"); $sp=odbc_result($rs,"spclization"); } } ?> <table> <tr><td>name</td><td><?=$field?></td></tr> <tr><td>dob</td><td><?=$dob?></td></tr> <tr><td>age</td><td><?=$a?></td></tr> <tr><td>gender</td><td><?=$g?></td></tr> <tr><td>maritalstatus</td><td><?=$ms?></td></tr> <tr><td>mobileno</td><td><?=$mo?></td></tr> <tr><td>phoneno</td><td><?=$ph?></td></tr> <tr><td>address</td><td><?=$ad?></td></tr> <tr><td>city</td><td><?=$c?></td></tr> <tr><td>state</td><td><?=$s?></td></tr> <tr><td>pin</td><td><?=$p?></td></tr> <tr><td>country</td><td><?=$co?></td></tr> <tr><td>email</td><td><?=$e?></td></tr> <tr><td>specialization</td><td><?=$sp?></td></tr> <tr><td>consulting time</td><td><?=$cons?></td></tr> </table></html>

DISPLAYBLOOD.PHP <html> <?php require_once "confi.php"; class disblood { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display6($table,$u,$ut,$p) { $u="'".$u."'"; $p="'".$p."'"; $sql="select*from $table where usrname=$u AND psswrd=$p"; $rs=odbc_exec($this->hconn,$sql); 57

$b=odbc_result($rs,"bloodgrp"); $ph=odbc_result($rs,"phnno"); $field=odbc_result($rs,"name"); $ad=odbc_result($rs,"address"); $c=odbc_result($rs,"city"); $l=odbc_result($rs,"location"); } } ?> <table> <tr><td>name</td><td><?=$field?></td></tr> <tr><td>blood group</td><td><?=$b?></td></tr> <tr><td>phoneno</td><td><?=$ph?></td></tr> <tr><td>address</td><td><?=$ad?></td></tr> <tr><td>location</td><td><?=$l?></td></tr> <tr><td>city</td><td><?=$c?></td></tr> </table></html>

DISPLAYCLINIC.PHP <html> <?php require_once "confi.php"; class disclinic { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display3($table,$u,$ut,$p) { $u="'".$u."'"; $p="'".$p."'"; $sql="select*from $table where usrname=$u AND psswrd=$p"; $rs=odbc_exec($this->hconn,$sql); $cons=odbc_result($rs,"cnsltingdate"); $field=odbc_result($rs,"name"); $ad=odbc_result($rs,"address"); $sp=odbc_result($rs,"spclization"); $on=odbc_result($rs,"onlineappt"); } } ?> <table colspan="2"> <tr><td>name</td><td><?=$field?></td></tr> 58

<tr><td>address</td><td><?=$ad?></td></tr> <tr><td>specialization</td><td><?=$sp?></td></tr> <tr><td>consulting time</td><td><?=$cons?></td></tr> <tr><td>online appointment</td><td><?=$on?></td></tr> </table></html> DISPLAYDOCTOR.PHP <html> <?php require_once "confi.php"; class disdoc { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display2($table,$u,$ut,$p) { $u="'".$u."'"; $p="'".$p."'"; $sql="select*from $table where usrname=$u AND psswrd=$p"; $rs=odbc_exec($this->hconn,$sql); $dob=odbc_result($rs,"dob"); $cons=odbc_result($rs,"cnsltingdate"); $a=odbc_result($rs,"age"); $field=odbc_result($rs,"name"); $ad=odbc_result($rs,"address"); $sp=odbc_result($rs,"spclization"); $q=odbc_result($rs,"qlfication"); $on=odbc_result($rs,"onlineappt"); } } ?> <table colspan="2"> <tr><td>name</td><td><?=$field?></td></tr> <tr><td>dob</td><td><?=$dob?></td></tr> <tr><td>age</td><td><?=$a?></td></tr> <tr><td>address</td><td><?=$ad?></td></tr> <tr><td>specialization</td><td><?=$sp?></td></tr> <tr><td>consulting time</td><td><?=$cons?></td></tr> <tr><td>qualification</td><td><?=$q?></td></tr> <tr><td>online appointment</td><td><?=$on?></td></tr> </table></html>

59

DISPLAYEYE.PHP <html> <?php require_once "confi.php"; class diseye { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display5($table,$u,$ut,$p) { $u="'".$u."'"; $p="'".$p."'"; $sql="select*from $table where usrname=$u AND psswrd=$p"; $rs=odbc_exec($this->hconn,$sql); $b=odbc_result($rs,"bloodgrp"); $ph=odbc_result($rs,"phnno"); $field=odbc_result($rs,"name"); $ad=odbc_result($rs,"address"); $c=odbc_result($rs,"city"); $l=odbc_result($rs,"location"); } } ?> <table> <tr><td>name</td><td><?=$field?></td></tr> <tr><td>blood group</td><td><?=$b?></td></tr> <tr><td>phoneno</td><td><?=$ph?></td></tr> <tr><td>address</td><td><?=$ad?></td></tr> <tr><td>location</td><td><?=$l?></td></tr> <tr><td>city</td><td><?=$c?></td></tr> </table></html>

DISPLAYHOSPITAL.PHP <html> <?php require_once "confi.php"; class dishosp { private $hconn; public function __construct() { 60

global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function display4($table,$u,$ut,$p) { $u="'".$u."'"; $p="'".$p."'"; $sql="select*from $table where usrname=$u AND psswrd=$p"; $rs=odbc_exec($this->hconn,$sql); $field=odbc_result($rs,"name"); $ad=odbc_result($rs,"address"); } } ?> <table colspan="2"> <tr><td>name</td><td><?=$field?></td></tr> <tr><td>address</td><td><?=$ad?></td></tr> </table></html>

UNIQUE7.PHP <html> <?php require_once "confi.php"; class check { private $hconn; public function __construct() { global $cfg; $connstring=$cfg['db']['name']; echo $connstring; $this->hconn=odbc_connect($connstring,"",""); } public function unique($table,$n,$u,$p,$ut) { $flag=0; $n="'".$n."'"; $p="'".$p."'"; $ut="'".$ut."'"; $sql="select * from $table"; $rs=odbc_exec($this->hconn,$sql); while(odbc_fetch_row($rs)) { $n1=odbc_result($rs,"name"); $u1=odbc_result($rs,"usrname"); $p1=odbc_result($rs,"psswrd"); 61

$ut1=odbc_result($rs,"usertyp"); if(strcmp($u,$u1)<0 || strcmp($u,$u1)>0) { $flag=0; } else if(strcmp($u,$u1)==0) { $flag=1;break; } } echo $flag; if($flag==1){ echo "username/password entered already exist enter another password."; } if($flag==0) { $u="'".$u."'"; $sq="insert into $table(name,psswrd,usrname,usertyp) values($n,$p,$u,$ut)"; $hres=odbc_exec($this->hconn,$sq); ?> <body bgcolor="cyan" text="red"> <font face="ariel"size="5"> you have been successfully registered... <br><br><br><font size="3"><a href="home7.php">click here to enjoy more services.</a></font> <br><br><br><br><br><br><img src="C:\Documents and Settings\pritma\Desktop\miniprj\pics\img1.jpg">WE BLESS YOU WITH GOOD HEALTH...</font></body> <?php }}} ?> <?php $n=$_POST['n']; $u=$_POST['u']; $p=$_POST['p']; $ut=$_POST['ut']; $table="useraccount"; $o=new check(); $o->unique($table,$n,$u,$p,$ut); ?>

62

TESTING AND MAINTENANCE


Testing is a process of executing a program with the interest of finding an error. A good test is one that has high probability of finding the yet undiscovered error. Testing should systematically uncover different classes of errors in a minimum amount of time with a minimum amount of efforts. Two classes of inputs are provided to test the process 1. A software configuration that includes a software requirement

specification, a design specification and source code. 2. A software configuration that includes a test plan and procedure, any testing tool and test cases and their expected results. Testing is divided into several distinct operations:

1. Unit Testing

Unit test comprises of a set tests performed by an individual program prior to the integration of the unit into large system. A program unit is usually the smallest free functioning part of the whole system. Module unit testing should be as exhaustive as possible to ensure that each representation handled by each module has been tested. All the units that makeup the system must be tested independently to ensure that they work as required. During unit testing some errors were raised and all of them were rectified and handled well. The result was quiet satisfactory and it worked well.

2. Integration Testing

Integration testing is a system technique for constructing the program structure while at the same time conducting tests to uncover errors associated with interfacing. The objective is to take unit tested modules and build a program structure that has been dictated by design. Bottom-up integration is the traditional strategy used to integrate the components of a software system into functioning whole. Bottom-up integration consists of unit test followed by testing of the entire system. A sub-system consists of several modules that communicated with other defined interface.

63

The system was done the integration testing. All the modules were tested for their compatibility with other modules .They test was almost successful. All the modules coexisted very well, with almost no bugs. All the modules were encapsulated very well so as to not hamper the execution of other modules.

3. Validation Testing

After validation testing, software is completely assembled as a package, interfacing errors that have been uncovered and corrected and the final series of software test; the validation test begins. Steps taken during software design and testing can greatly improve the probability of successful integration in the larger system. System testing is actually a series of different tests whose primary purpose is to fully exercise the compute based system.

4. Recovery Testing

It is a system that forces the software to fail in a variety of ways and verifies that the recovery is properly performed.

5. Security Testing

It attempts to verify that protection mechanisms built into a system will in fact protect it from improper penetration. The systems security must of course be tested from in vulnerability form frontal attack.

6. Stress Testing

Stress tools are designed to confront programs with abnormal situations. Stress testing executes a system in a manner that demands resources in abnormal quantity and volume.

7. Black Box Testing

Black box testing is done to find out the following information as shown in below: 1. Incorrect or missing functions. 64

2. Interface errors. 3. Errors or database access. 4. Performance error. 5. Termination error.

The mentioned testing is carried out successfully for this application according to the users requirement specification.

8. Test Data Output

After preparing test data, the system under study is tested using the test data. While testing the system using test data, errors are again uncovered and corrected by using above testing and corrections are also noted for future use.

65

IMPLEMENTATION
A crucial phase in then systems life cycle is the successful implementation of the new system design. Implementation means converting a new system design into operation. This creating computer-compatible files, training the operating staff before the system is up and running. A major factor in conversion is not disrupting the functioning of the organization. The implementation phase of software development is also concerned with translating design specification into source code. It is necessary to write source code and internal and documentation so that conformance of the code to its specification can be easily verified, and so that debugging, testing and modification are eased. This can be achieved by making the source code as clear and straight forward as possible. The implementation team should therefore be provided with-defined set of software requirements, an architectural design specification and a detailed design description. User training is another important area, which is responsible for minimizing resistance to change and giving the new system a chance to provide its worth. Training aids, such as userfriendly manuals, data dictionary, and jobs performance aids that communication information about the new system; help-screens provide the user with a good start on the new system. Following conversion, it is desirable to review the performance of the system and to evaluate it against established criteria. Software maintenance follows conversion, which includes minor enhancements or corrections to problems that surface late in the system's operating.

Conversion: The objective of conversion is to put the system into operation while holding costs, risks and personal problems to a minimum. It involves three major steps: Creating computer-compatible files. Training the operating staff (Administrator). Installing hardware/software.

Procedure and documents are unique to the conversion phase.

66

These are shown below: Conversion begins with a review of the project plan, the system test documentation, and the implementation plan. The parties involved are the user, the project team, programmers, and operators. The conversion portion of the implementation plan is finalized Files are converted. Parallel processing between the existing and the new systems is initiated. Results of computer runs and operators for the new system are logged on a special form. Assuming no problems, parallel processing is discounted. Implementation results are documented for reference. Conversion is completed. Plans for the post-implementation review are prepared. Following the review, the new subsystem is officially operational. and approved.

File Conversion: File conversion involves capturing data and creating a computer file from existing files. There can be problems like staff shortage for loading data. Also, specialized training necessary tom prepares records in accordance with the new system specifications. In most cases, an outside agency performs this function for a flat rate .If a computerized system already exists, then copying existing files for the new system is a concern area. If a computerized system already exists, then copying existing files for the new system is a concern area. Program can be written to copy files intact for the new system and test programs on both systems. A file comparison program can be used for this purpose. Many systems are prone to errors because of insufficient attention given to data entry control or protective features like audit control trails. These items must be part of the overall plan for conversion. Before a data entry operator starts working, a data entry validation program can be written to keep track of wrong data entered. At the time installation of the software it is required that SQL server must be installed on the server of the company and it must contain the data files related to the software before implementing the developed system on all machines machine connected to the server. For this the exported data is imported to the client machine and the database is checked that all tables are properly imported to the client machine or not as the software is developed in SQL

67

server data base and also going to be implemented in oracle there is no other conversion is required. A good audit control trail is the key to detecting fraud and errors in data entry.

68

MAINTENANCE

Software maintenance is used to describe the software engineering activities that occur following delivery of a software product to the customer.

Activities involved in maintenance of a software product include: Analysis activities Standards and guidelines Design activities Implementation activities Supporting documents

Configuration management is concerned with tracking and controlling of the work product that constitute a software product.

Configuration management tools include: Configuration management data bases Version control libraries

Automated tools to support software maintenance include technical support tools and managerial support tools.

Other automated tools include Text editor Debugging aids Linkage editor

Computer Maintenance covers a wide range of activities. Many activities performed during development of Airlines Reservation System for Global Airways to enhance the maintainability of it are as follows--69

o Analysis Activities: The analysis phase of software development is concerned with determining customer requirements and constraints, and establishing feasibility of the product. From maintenance view point, the most important activities that occur

during analysis are establishing standards and guidelines for the project and the work products to ensure uniformity of the products; setting of milestones to ensured that the work products are produce on schedule; specifying quality assurance procedures to ensure development of high quality documents; identifying product enhancements that will most likely occur following initial delivery of the system; and estimating the resources( personnel, equipment, floor space) required to perform the maintenance activities. o Standards and Guidelines: Various types of standards and guidelines we developed to enhance the maintainability of our software. o Design Activities: Design is concerned with developing the functional components, conceptual data structures and interconnection in a software system. important activity for enhancing maintainability during the design. The most

70

FUTURE SCOPE OF THE PROJECT

Existing system refers to the system that is being followed till now. Presently all the hospital functionalities are done manually. That is if a patient want to consult a doctor he can visit their till his chance called. This causes the person very inconvenience. Out_Patient and In_Patient tickets are distributed directly. The main disadvantage is that their will be lot of difficulty for the patient. So, all these procedures will be a time consuming one.

Draw backs of existing system. Difficult for patients Time consuming. To avoid all these limitations and make the working more accurately the system needs to be computerized. For physicians and staff, HEALTH HORIZON website helps you create a more efficient practice by allowing you to communicate relevant information to patients online. The burden on administrative staff is reduced by not having to respond to repeated requests such as:

office hours, directions and emergency services how to prepare for a visit seasonal information and health alerts forms & questionnaires selected health information, relevant to your practice

71

For patients, HEALTH HORIZON website can serve as an information portal where they can access relevant information about your practice. The physician/client relationship is enhanced through the ease of access to this information, so patients can: arrive for a visit fully prepared, reducing visit time be better informed about uninsured services be directed to online health resources endorsed by you be in control of their chronic diseases

72

You might also like