108
Hospital Management System Software Requirement Specification “Hospital Management System” Submitted By: Guided By: 1. Mansi Chitkara. Mrs. Kapila Pareek 2. Namita Khandelwal. Assistant Professor 3. Avinash Chaporkar. IIIM, Jaipur. Team Number: - 09

HMS Sample Doc

Embed Size (px)

Citation preview

Page 1: HMS Sample Doc

Hospital Management System

Software Requirement Specification

“Hospital Management System”

Submitted By: Guided By:

1. Mansi Chitkara. Mrs. Kapila Pareek

2. Namita Khandelwal. Assistant Professor

3. Avinash Chaporkar. IIIM, Jaipur.

Team Number: - 09

International School of Informatics & ManagementFormerly India International Institute of Management

1

Page 2: HMS Sample Doc

Hospital Management System

C E R T I F I CA T E

This is to certify that Hospital Management System embodies the original work done by Mansi Chitkara, Namita Khandelwal, and Avinash Chaporkar during this project submission as a partial fulfillment of the requirement for the System Design Project of Masters of Computer Application IV Semester, of the Rajasthan Technical University, Kota.

Swati V. Chande

Principal

(MCA Department)

International School of

Informatics and Management

Mrs. Kapila Pareek

Assistant Professor

International School of

Informatics and Management

2

Page 3: HMS Sample Doc

Hospital Management System

AC KNO WL E D G EME N T

The satisfaction that accompanies that the successful completion of any task would be incomplete without the mention of people whose ceaseless cooperation made it possible, whose constant guidance and encouragement crown all efforts with success.

We are grateful to our project guide Mrs. Kapila Pareek for the guidance, inspiration and constructive suggestions that helpful us in the preparation of this project.

We also thank our colleagues who have helped in successful completion of the project.

Mansi Chitkara

Namita Khandelwal

Avinash Chaporkar

3

Page 4: HMS Sample Doc

Hospital Management System

C O N TE N T S 1. Introduction

1.1 Purpose

1.2 Scope

1.3 Technologies used

1.4 Overview

2. Overall Description

2.1 Goals of Proposed System

2.2 Background

2.3 Project Requirements

2.4 User Characteristics

2.5 Constraints

2.6 Definition of Problems

2.7 Alternative Solutions

3. Feasibility Study

3.1 Technical Feasibility

3.2 Economical Feasibility

3.3 Operational Feasibility

3.4 Schedule Feasibility

4. Data Flow Diagrams

5. UML Diagrams

6. Entity Relationship Diagram

7. Data Tables

8. Snapshots

9. Conclusion

10. Bibliography

4

Page 5: HMS Sample Doc

Hospital Management System

1. I nt ro du c t ion

1.1) Purp o s e

• The Software is for the automation of Hospital Management.

• It maintains two levels of users:-

> Administrator Level

> User Level

• The Software includes:-

> Maintaining Patient details.

> Providing Prescription, Precautions and Diet advice.

> Providing and maintaining all kinds of tests for a patient.

> Billing and Report generation.

1.2) Sc o pe

It can be used in any Hospital, Clinic, Dispensary or Pathology labs for maintaining patient details and their test results.

1.3) T echn o l og ies to b e u s ed

This project will be a desktop application to be developed in VB 6.0 having MsAccess as backend.

• Database Design (Ms Access)

• Form Design (VB 6.0)

• Coding (VB 6.0)

• Testing (VB 6.0)

• Reporting Tool (Data Report)

5

Page 6: HMS Sample Doc

Hospital Management System

1.4) O v er v iew

> Project is related to Hospital Management System.

> The project maintains two levels of users:-

• Administrator Level-Doctor

• User Level-Data Entry Operator

> Main facilities available in this project are:-• Maintaining records of indoor/outdoor patients.• Maintaining patients diagnosis details, advised tests to be done.• Providing different test facilities to a doctor for diagnosis of patients.

+ X-Ray+ Urine Test+ Stool Test+ Sonography Test+ Gastroscopy Test+ Colonoscopy Test+ Blood Test+ Biochemistry Test

• Maintaining patient’s injection entry records.• Maintaining patient’s prescription, medicine and diet

advice details.• Providing billing details for indoor/outdoor patients.• Maintaining backup of data as per user requirements (between mentioned dates).• If user forgets his/her password then it can be retrieved by hint question.

> In this project collection of data is from different pathology labs.

> Results of tests, prescription, precautions and diet advice will be automatically updated in the database.

> Related test reports, patient details report, prescription and billing reports can be generated as per user requirements.

> User or Administrator can search a patient’s record by his/her name or their registration date.

> Patient’s diet advice can be provided in Hindi.

6

Page 7: HMS Sample Doc

Hospital Management System

2. O verall De s cri pt ion

2.1) G oa ls o f p r o p o s ed s y s t e m

1. Planned approach towards working: - The working in the organization will be well planned and organized. The data will be stored properly in data stores, which will help in retrieval of information as well as its storage.

2. Accuracy: - The level of accuracy in the proposed system will be higher. All operation would be done correctly and it ensures that whatever information is coming from the center is accurate.

3. Reliability: - The reliability of the proposed system will be high due to the above stated reasons. The reason for the increased reliability of the system is that now there would be proper storage of information.

4. No Redundancy: - In the proposed system utmost care would be that no information is repeated anywhere, in storage or otherwise. This would assure economic use of storage space and consistency in the data stored.

5. Immediate retrieval of information: - The main objective of proposed system is to provide for a quick and efficient retrieval of information. Any type of information would be available whenever the user requires.

6. Immediate storage of information: - In manual system there are many problems to store the largest amount of information.

7. Easy to Operate: - The system should be easy to operate and should be such that it can be developed within a short period of time and fit in the limited budget of the user.

7

Page 8: HMS Sample Doc

2 . 2 ) B a c k g r o und

Hospital Management System

A Hospital is a place where Patients come up for general diseases. Hospitals provide facilities like:-

> Consultation by Doctors on Diseases.> Diagnosis for diseases.> Providing treatment facility.> Facility for admitting Patients (providing beds, nursing, medicines etc.)> Immunization for Patients/Children.

Various operational works that are done in a Hospital are:-

> Recording information about the Patients that come.> Generating bills.> Recording information related to diagnosis given to Patients.> Keeping record of the Immunization provided to children/patients.> Keeping information about various diseases and medicines available to cure

them.

These are the various jobs that need to be done in a Hospital by the operational staff andDoctors. All these works are done on papers.

The work is done as follows:-

> Information about Patients is done by just writing the Patients name, age and gender. Whenever the Patient comes up his information is stored freshly.

> Bills are generated by recording price for each facility provided to Patient on a separate sheet and at last they all are summed up.

> Diagnosis information to patients is generally recorded on the document, which contains Patient information. It is destroyed after some time period to decrease the paper load in the office.

> Immunization records of children are maintained in pre-formatted sheets, which are kept in a file.

> Information about various diseases is not kept as any document. Doctorsthemselves do this job by remembering various medicines.

All this work is done manually by the receptionist and other operational staff and lot of papers are needed to be handled and taken care of. Doctors have to remember various medicines available for diagnosis and sometimes miss better alternatives as they can’tremember them at that time.

8

Page 9: HMS Sample Doc

Hospital Management System

2.3) Pr o j e ct Req u ir e m ents

Hardware Requirements

Processor RAM Disk Space

Pentium II, Pentium III,Pentium IV or higher

64 Mb or Higher 130 Mb

Software Requirements

Operating System Database

Win-98, Win-XP, Linux or any otherhigher version

Ms Access

2.4) U s er Ch a r a c t eri s tics

Every user should be:

• Comfortable of working with computer.

• He must have knowledge in medical field.

• He must also have basic knowledge of English too.

2 . 5 ) C o n s tr a ints

• GUI is only in English.

• Login and password is used for identification of user and there is no facility for guest.

9

Page 10: HMS Sample Doc

Hospital Management System

2 . 6 ) Def i niti o ns o f pr o bl e m s

Problems with conventional system

1. Lack of immediate retrievals: -The information is very difficult to retrieve and to find particular information like- E.g. - To find out about the patient’s history, the user has to go through various registers. This results in inconvenience and wastage of time.

2. Lack of immediate information storage: - The information generated by various transactions takes time and efforts to be stored at right place.

3. Lack of prompt updating: - Various changes to information like patient details or immunization details of child are difficult to make as paper work is involved.

4. Error prone manual calculation: - Manual calculations are error prone and take a lot of time this may result in incorrect information. For example calculation of patient’s bill based on various treatments.

5. Preparation of accurate and prompt reports: - This becomes a difficult task as information is difficult to collect from various registers.

10

Page 11: HMS Sample Doc

Hospital Management System

2 . 7 ) Alt e rn a ti v e S o luti o ns

1. Improved Manual System:-

One of the alternative solutions is the improvement of the manual system. Anything, which can be done by using automated methods, can be done manually. But the question arises how to perform thing manually in a sound manner. Following are some suggestions, which can be useful in the manual system.

A more sophisticate register maintenance for various Patient Information, Doctor diary, Immunization Details and a good system for writing bill amountemployees and stock availed for the customers can be maintained at central place.

Adequate staff may be maintained so that updations are made at the very moment at the same time. Proper person for proper work should be made responsible so that a better efficiency could be achieved. This needs a lot of work force.

2. Batch System:-

Another alternative solution can be used of computer based batch system for maintaining the information regarding purchase details, customers and employees. A batch system refers to a system in which data is processed in a periodical basis.

The batch system is able to achieve most of the goals and sub goals. But a batch system data is processed in sequential basis. Therefore batch system is not suggested.

3. Online System:-

This system (HMS) provides online storage/ updations and retrieval facility. This system promises very less or no paper work and also provides help to Doctor and operational staff.

In this system everything is stored electronically so very less amount of paper work is required and information can be retrieved very easily without searching here and there into registers. This system is been discussed here.

11

Page 12: HMS Sample Doc

Hospital Management System

3. F ea s i b ili t y Stud y

Depending on the results of the initial investigation the survey is now expanded to a more detailed feasibility study. “FEASIBILITY STUDY” is a test of system proposal according to its workability, impact of the organization, ability to meet needs and effective use of the resources. It focuses on these major questions:

1. What are the user’s demonstrable needs and how does a candidate system meet them?

2. What resources are available for given candidate system?3. What are the likely impacts of the candidate system on the organization?4. Whether it is worth to solve the problem?

During feasibility analysis for this project, following primary areas of interest are to be considered. Investigation and generating ideas about a new system does this.

Steps in feasibility analysis

Eight steps involved in the feasibility analysis are:

1 Form a project team and appoint a project leader.

1 Prepare system flowcharts.

1 Enumerate potential proposed system.

1 Define and identify characteristics of proposed system.

1 Determine and evaluate performance and cost effective of each proposed system.

1 Weight system performance and cost data.

1 Select the best-proposed system.

1 Prepare and report final project directive to management.

12

Page 13: HMS Sample Doc

Hospital Management System

3.1) T echnic a l fe a s ibility

A study of resource availability that may affect the ability to achieve an acceptable system. This evaluation determines whether the technology needed for the proposed system is available or not.

• Can the work for the project be done with current equipment existing software technology & available personal?

• Can the system be upgraded if developed?• If new technology is needed then what can be developed?

This is concerned with specifying equipment and software that will successfully satisfy the user requirement. The technical needs of the system may include:

F r o nt-end a nd b a c k -end s e l ec t i o n

An important issue for the development of a project is the selection of suitable front-end and back-end. When we decided to develop the project we went through an extensive study to determine the most suitable platform that suits the needs of the organization as well as helps in development of the project.

The aspects of our study included the following factors.

Front-end selection:

1. It must have a graphical user interface that assists employees that are not from ITbackground.

2. Scalability and extensibility.

3. Flexibility.

4. Robustness.

5. According to the organization requirement and the culture.

6. Must provide excellent reporting features with good printing support.

7. Platform independent.

8. Easy to debug and maintain.

9. Event driven programming facility.

10.Front end must support some popular back end like Ms Access.

According to the above stated features we selected VB6.0 as the front-end fordeveloping our project.

13

Page 14: HMS Sample Doc

Hospital Management System

Back-end Selection:

1. Multiple user support.

2. Efficient data handling.

3. Provide inherent features for security.

4. Efficient data retrieval and maintenance.

5. Stored procedures.

6. Popularity.

7. Operating System compatible.

8. Easy to install.

9. Various drivers must be available.

10. Easy to implant with the Front-end.

According to above stated features we selected Ms-Access as the backend.

The technical feasibility is frequently the most difficult area encountered at this stage. It is essential that the process of analysis and definition be conducted in parallel with an assessment to technical feasibility. It centers on the existing computer system(hardware, software etc.) and to what extent it can support the proposed system.

3.2) E c o n o m ic a l f e a s ibility

Economic justification is generally the “Bottom Line” consideration for most systems. Economic justification includes a broad range of concerns that includes cost benefit analysis. In this we weight the cost and the benefits associated with the candidatesystem and if it suits the basic purpose of the organization i.e. profit making, the project is making to the analysis and design phase.

The financial and the economic questions during the preliminary investigation are verified to estimate the following:

• The cost to conduct a full system investigation.

14

Page 15: HMS Sample Doc

Hospital Management System

• The cost of hardware and software for the class of application being considered.

• The benefits in the form of reduced cost.

• The proposed system will give the minute information, as a result the performance is improved which in turn may be expected to provide increased profits.

• This feasibility checks whether the system can be developed with the available funds. The Hospital Management System does not require enormous amount of money to be developed. This can be done economically if planned judicially, so it is economically feasible. The cost of project depends upon the number of man- hours required.

3.3) O per a ti o n a l Fe a s ibility

It is mainly related to human organizations and political aspects. The points to be considered are:

• What changes will be brought with the system?

• What organization structures are disturbed?

• What new skills will be required? Do the existing staff members have these skills? If not, can they be trained in due course of time?

The system is operationally feasible as it very easy for the End users to operate it. It only needs basic information about Windows platform.

3.4) Schedule fe a s ibility

Time evaluation is the most important consideration in the development of project. The time schedule required for the developed of this project is very important since more development time effect machine time, cost and cause delay in the development of other systems.

A reliable Hospital Management System can be developed in the considerable amount of time.

15

Page 16: HMS Sample Doc

Hospital Management System

4. Da t a F low Diagra m s

DFD: Level 0

16

Page 17: HMS Sample Doc

Hospital Management System

DFD: Level 1

17

Page 18: HMS Sample Doc

Hospital Management System

DFD: Level 2

18

Page 19: HMS Sample Doc

Hospital Management System

DFD: Level 3

19

Page 20: HMS Sample Doc

Hospital Management System

5. UML Diagrams

Usecases: 1. Admissions2. Doctor Appointments3. Tests Appointments4. Bed Allotment5. Undergo Operation6. Login7. Draw Salary8. Add Doctor/Staff9. Delete Doctor/Staff10. Edit Doctor/Staff11. Prescribe Tests12. Ward Wise Bed Status13. Admission/Discharge Reports14. Patient Information

Actors: 1. Receptionist2. Doctors3. Staff/Nurses4. Income5. Expenditure6. Records System7. Information System

Page 21: HMS Sample Doc

ADMISSIONS:

This Module helps in registering information about patients and handles patient’s query. A unique ID is generated for each patient after registration. This helps in implementing customer relationship management and also maintains medical history of the patient.

DOCTOR APPOINTMENTS:

This Module Deals with, when the ID is generated the patient receives theAppointment time & number from the Receptionist and accordingly visit the doctor.

TESTS APPOINTMENTS:

This Module Deals with, when the ID is generated the patient receives the Appointment time & number from the Receptionist and accordingly undergoes the tests.

BED ALLOTMENT:

This Module handles with allotting the Bed to various patients by checking their ID.

UNDERGO OPERATION:

This Module handling with undergoes the various operations by diagnosing the patients.

LOGIN:

This Module checks whether the person is a Doctor/Staff and handles various activities such as draw Salary and give Salary.

DRAW SALARY:

This Module checks whether the person is a Doctor/Staff and draws salary based on the information.

ADD DOCTOR/STAFF:

This Module handles the activities such as adding Doctor/Staff information into the database.

Page 22: HMS Sample Doc

DELETE DOCTOR/STAFF:

This Module handles the activities such as deleting Doctor/Staff information into the database.

EDIT DOCTOR/STAFF:

This Module handles the activities such as editing Doctor/Staff information into the database.

PRESCRIBE TESTS:

This Module handles various activities such as Doctor Diagnoses the patient, gives treatment & gives suggestions to the patients, & prescribes laboratory tests& medicines.

WARDWISE BED STATUS;

This Module takes care of medical equipment, doctor visit, vitals recording, patient case sheet, diet ordering, blood requisition, transfer intimation and discharge intimation etc. It also deals with the maintenance of the wards, inter- and intra- ward transfers.

ADMISSION/DISCHARGE REPORTS:

This Module helps in generating patient’s discharge summary, which includes patient’s health at the time of discharge, medical history, various diagnosis and drug prescriptions, history of present illness and course in hospital.

PATIENT INFORMATION:

This Module helps in generating the patient information which is provided by doctor.

Page 23: HMS Sample Doc

USECASE DIAGRAM

System

admissions<<extend>>

bed allotment

I ncome

doctor appointments

<<extend>>

undergo operation

Receptionist

Finance Management System

tests appointments

login

Expenditure

Draw Salary

Staff/ Nurses Add Doctor/ Staff

Delete Doctor/ Staff

I nhouse Edit Doctor/ Staff I

nfo

Records System

Prescribe Tests

DoctorsWardWise Bed Status

Page 24: HMS Sample Doc

Admission/ Discharge Reports

Page 25: HMS Sample Doc

Consultants

Patient I nformation

I nformation System

Page 26: HMS Sample Doc

CLASS DIAGRAM:

Patient

+Private int id+Private Varchar name+private int age

Edit

+public int addDoctor()+public int addstaff()+public void delDoctor(int id)+public void delStaff(int id)+public void editDoc(int id)+public void editStaff(int id)

1..*

Expenditure

+float amt+int billno

+public void giveSalary(int id)

1

+private varchar address+private char sex+private date appdate

1+public int create()+public is Inpatient(int id)+public int ispatient(int id)

1 1

patient registers

1..* doctor information editing

Appointment

+date dt+time tm

Test Operations1

+private int patientid+private int id+private int flag

1

1..*

draw salary

1

DoctorStaff

+private int id+private varchar name+private int age+private varchar address+private char sex+private float Salary

+public void drawSalary()

1

Registration

+public int register()+public void allot Bed(int id)

Issue Bill

takes appointments +public void opappt()

1 +public void testappt()+public void docappt()+public int getTests(int id)+public int getOper(int id)

1

allocates Bed+float amt+int billno

1

Income

1

generates discharge report

1..*

Ward

+private int wardno+private int nobeds+private varchar *name

1+public int bedStatus()+public varchargetName(int bedno)

+public float addTestCharges(int id)+public float addOprCharges(int id)+public float addApptCharges(int id)+public float addWardCharges(int id)

generates ward report 1

1

Reports

+public void dispWardStatus()+public void dispAddisReport(int id)+public void disppatInfo(int id)

1

displays patient info

Page 27: HMS Sample Doc

SEQUENCE DIAGRAMS

ADMISSIONS:

P a t i e n t

R e g i s t r a t i o n

I n c o m e

A pp o i n t m e n t

1 : create()

2 : inpatient()

3 : register()

4 : addApptCharges()

5 : date()

6 : time()

Page 28: HMS Sample Doc

DOCTOR APPOINTMENTS:

P a t i e n t

I n c o m e

A pp o i n t m e n t T e s t s O p e r a t i o n s

1 : ispatient()

2 : addApptCharges()

3 : date()

4 : time()

5 : docappt()

Page 29: HMS Sample Doc

TESTS APPOINTMENTS:

P a t i e n t

I n c o m e

A p p o i n t m e n t s T e s t s O p e r a t i o n s

1 : inpatient()

2 : addTestCharges()

3 : date()

4 : time()

5 : testappt()

Page 30: HMS Sample Doc

BED ALLOTMENT:

R e g i s t r a t i o n

I n c o m e

W a r d R e p o r t s

1 : addWardCharges()

2 : allotBed()

3 : getname()

4 : dispWardStatus()

Page 31: HMS Sample Doc

UNDERGO O PERATION :

P a t i e n t

I n c o m e

T e s t s O p e r a t i o n s

1 : ispatient()

2 : addoprcharges()

3 : getOpr()

Page 32: HMS Sample Doc

LOGIN:

E d i t D o c t o r S t a f f

E x p e nd i t u r e

1 : isDoctor()

2 : isStaff()

3 : drawSalary()

4 : giveSalary()

Page 33: HMS Sample Doc

DRAW SALARY:

E d i t D o c t o r S a t f f

E x p e n d i t u r e

I n c o m e

1 : isDoctor()

2 : isStaff()

3 : drawSalary()

4 : giveSalary()

Page 34: HMS Sample Doc

ADD DOCTOR/S TAFF:

E d i t D o c t o r S t a f f

1 : isDoctor()

2 : isStaff()

3 : addDoctor()

4 : addStaff()

Page 35: HMS Sample Doc

DELE TE DOCTOR/STAFF:

E d i t D o c t o r S t a f f

1 : isDoctor()

2 : isStaff()

3 : delDoctor()

4 : delStaff()

Page 36: HMS Sample Doc

EDIT DOCTOR/S TAFF:

E d i t D o c t o r S t a f f

1 : isDoctor()

2 : isStaff()

3 : editDoc()

4 : editStaff()

Page 37: HMS Sample Doc

PRESCRIBE TESTS:

DoctorStaf f TestsOperations Reports

1 : addTestsCharges()

2 : getTests()

3 : AddisReport()

Page 38: HMS Sample Doc

WARDWISE BED STATUS:

P a t i e n t

W a r d R e p o r t s

1 : isPatient()

2 : allotBed()

3 : bedStatus()

4 : dispWardStatus()

Page 39: HMS Sample Doc

ADMISSION/DISCH ARGE REPORTS:

P a t i e n t

T e s t s O p e r a t i o n s R e p o r t s

1 : isPatient()

2 : getTests()

3 : getOper()

4 : dispWardStatus()

5 : dispAddisReport()

Page 40: HMS Sample Doc

PATIENT INFORMATION:

P a t i e n t R e g i s t r a t i o n R e p o r t s

1 : isPatient()

2 : dispWardStatus()

3 : dispAddisReport()

4 : dispPattinfo()

Page 41: HMS Sample Doc

COLLOBORATION DIAGRAMS

ADMISSIONS:

1 : create()

P a t i e n t

Registration

3 : register()

2 : inpatient()

4 : addApptCharges()

5 : date()

A pp o i n t m e n t I n c o m e

6 : time()

DOCTOR APPOINTMENTS:

1 : ispatient() 2 : addApptCharges() 3 : date()

P a t i e n t

I n c o m e

Appointment

4 : time()

5 : docappt()

T e s t s O p e r a t i o n s

Page 42: HMS Sample Doc

P a t i e n t I n c o m e Appointments

TESTS APPOINTMENTS:

1 : inpatient() 2 : addTestCharges()

3 : date()

4 : time()

5 : testappt()

T e s t s O p e r a t i o n s

BED ALLOTMENT:

I n c o m e

2 : allotBed() 3 :

getname() Ward

1 : addWardCharges()

4 : dispWardStatus()

R e g i s t r a t i o n R e p o r t s

Page 43: HMS Sample Doc

UNDERGO O PERATION:

2 : addoprcharges()

I ncome

1 : ispatient()

3 : getOpr()

P a t i e n t T e s t s O p e r a t i o n s

LOGIN:

DoctorStaff

3 : drawSalary()

2 : isStaff() 4 : giveSalary()

1 : isDoctor()

E d i t E x p e nd i t u r e

Page 44: HMS Sample Doc

DRAW SALARY:

3 : drawSalary()

D o c t o r S a t f f

E x p e nd i t u r e

I n c o m e

4 : giveSalary()

2 : isStaff()

1 : isDoctor()

E d i t

ADD DOCTOR/S TAFF:

D o c t o r S t a ff

4 : addStaff()

3 : addDoctor()

2 : isStaff()

1 : isDoctor()

E d i t

Page 45: HMS Sample Doc

DELE TE DOCTOR/STAFF:

DoctorStaff

4 : delStaff()

3 : delDoctor()

2 : isStaff()

1 : isDoctor()

E d i t

EDIT DOC T OR/ S T A F F:

Page 46: HMS Sample Doc

D o c t o r S t a f f

4 : editStaff()

3 : editDoc()

2 : isStaff()

1 : isDoctor()

E d i t

PRESCRIBE TESTS:

3 : AddisReport()

R e p o r t s

T e s t s O p e r a t i o n s

2 : getTests() 1 : addTestsCharges()

D o c t o r S t a f f

W A R DWISE BED S T A TUS:

Page 47: HMS Sample Doc

R e p o r t s

4 : dispWardStatus()

3 : bedStatus()

Ward

1 : isPatient() 2 : allotBed()

P a t i e n t

ADMISSION/DISCH ARGE REPORTS:

3 : getOper()

TestsOperations

Reports

5 : dispAddisReport()

4 : dispWardStatus()

2 : getTests()

1 : isPatient()

P a t i e n t

Page 48: HMS Sample Doc

PATIENT INFORAMTION:

1 : isPatient()

P a t i e n t

R e g i s t r a t i o n

2 : dispWardStatus()

3 : dispAddisReport()

Reports4 : dispPattinfo()

STATECHART DIAGRAMS

P A TIEN T :

Page 49: HMS Sample Doc

Enter Hospital

Takes Appointment

Undergo Diagnosis

Takes Treatmentnot cured

Undergo lab Tests& Buy Medicines

gets cured

RECPTIONIS T :

Page 50: HMS Sample Doc

Takes Details os patient

Checks availabilty of doctor

gives appointment

gives bill

takes bill amount

DOC T OR:

Page 51: HMS Sample Doc

Diagonise patient

Gives Treatment

Prescribes Medicines & tests

Cures the patient

C O MPONENT DIAGRAM

Page 52: HMS Sample Doc

HEALTH CARE DOMAI N

GUI

DE P LOYME N T D IAGR A M

Page 53: HMS Sample Doc

DI SEASE UNI T SERVER

<<artifact>>contains information about

Receptionist PC

<<artifact>>user friendly screens

Page 54: HMS Sample Doc

6. E nt i t y Rela t io n s h ip Dia g r a m

loginpassword HMS

Login password

userhave

Admin

do

do

Loginwrite

do take give

write

Patient

Reg.

TestBackup

Login

do Prescription

Test

give prescriptionPatient

20

Page 55: HMS Sample Doc

Hospital Management System

7. Da t a Ta b les

1. Login Table:-

Field Name Data Type Description

User_Name Text

Password Text

Hint_Question Text

Hint_Answer Text

User_Type Text

2. Patient Detail Table:-

Field Name Data Type Description

Registration_No Text

Registration_Date Date/Time

Name Text

Address Text

City Text

TelePhone_Mobile_No Text

Marital_Status Text

Religion Text

Gender Text

Father_Husband_Name Text

21

Page 56: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

Status Text Indoor / Outdoor

Age Number

3. Patient Diagnosis Table:-

Field Name Data Type Description

Dignosis_No Text

Registration_No Text

Dignosis_Date Date/Time

Provisional_Dignosis Text

Remark Text

BioChemistry Yes/No

Stool Yes/No

Blood Yes/No

Colonoscopy Yes/No

Gastroscopy Yes/No

Urine Yes/No

XRay Yes/No

SONOGRAPHY Yes/No

Others Text

Reconsultation_Advice_Week Text Week Wise

Reconsultation_Advice_Date Date/Time

FINAL_Diagnosis Text

ECG Yes/No

22

Page 57: HMS Sample Doc

Hospital Management System

4. Patient Diet Advice Table:-

Field Name Data Type Description

Dignosis_No Text

Diet_Advice Text

5. Patient Medicine Table:-

Field Name Data Type Description

Dignosis_No Text

Medicine_No Number

Medicine_Name Text

Precaution Text Medicine Related HindiWords

No_of_Doses Number

6. Patient Injection Dates Table:-

Field Name Data Type Description

Dignosis_No Text

Injection_Date Date/Time

Status Text Injection Taken or Not

23

Page 58: HMS Sample Doc

Hospital Management System

7. Biochemistry Test Table:-

Field Name Data Type Description

Registration_No Text

Test_Date Date/Time

Glucose_Fasting_R Text 70-110 mg %

Two_Hr_Pg_Pp Text < 100 mg %

Blood_Urea Text 10-40 mg %

Creatinine Text 0.6-1.5 mg %

S_Cholesterol Text 130-250 mg %

Total_Protein Text 6.0-8.0 gm %

Albumin Text 3.5-5.0 gm %

Globwlin Text 2.3-3.6 gm %

A_G_Ratio Text ? 1.5 :,-2.3:1

Game_Gt Text 11-50 UL

Alkaline_Ptase Text 10-90 U/L Adult

Bilirubin_Direct Text 0.0-0.8 mg %

Bilirubin_Indirect Text 0.0-0.6 mg %

Bilirubin_Total Text 0.2-1.0 mg %

Sgot Text 0-40 U/L

Sgpt Text 0-40 U/L

Half_Hr_Pg_Pp Text < 110 mg %

One_Hr_Pg_Pp Text < 160 mg %

One_And_Half_Hr_Pg_Pp Text < 140 mg %

24

Page 59: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

Bun Text 8-20 mg %

Hdl_Cholesterol Text 30-55 mg %

Ldl_Cholesterol Text 60-165 mg %

Vldl_Cholesterol Text 0-60 mg %

Triglycerides Text 0-60 mg %

S_Total_Lipids Text 400-700 mg %

S_Amylase Text 25-125 U/L

S_Lipase Text 8-54 Ug/L

Sodium Text 136_146 mEq/L

Potassium Text 3.5-5.0 mEq/L

Chloride Text 94-111 mmo I/L

Calcium Text 8.5-11.0 mg/dl

Ldh_Total Text 230-461 U/L

Ck_Nac_Activated Text 0-190 U/L

Ck_Mb_Nac_Activated Text < 12 U/L

Uric_Acid Text 4-6 mgdl

Urine_Sugar1 Text

Urine_Sugar2 Text

Urine_Sugar3 Text

Urine_Sugar4 Text

Acid_Ptase Text

Glucose_R_PP Text

T3 Text 0.3-2.5 uI U/L

25

Page 60: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

T4 Text 4.5-12 uI U/L

TSH Text 0.4-4.0 uI U/L

8. Blood Test Table:-

Field Name Data Type Description

REGISTRATION_NO Text

TEST_DATE Date/Time

HAEMOGLOBIN Text 13-15 GMS%

TLC Text 4500-10500CELLS/CU MM

NEUTROPHILS Text DLC , 45-68%

LYMPHOCYTES Text DLC , 25-45%

EOSINOPHIL Text DLC , 2-6%

MONOCYTES Text DLC , 1-4%

BASOPHILS Text DLC , 1-2%

OTHERS Text DLC

ESR Text 0-10 MM IST Hr

PERIPHERAL_BLOOD_FILM_1 Text

PERIPHERAL_BLOOD_FILM_2 Text

HAEMATOCRIT_PCV Text

TOTAL_RBC Text MIL/C.MM

PLATELETS Text CU.MM

COLOUR_INDEX Text

26

Page 61: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

MCHC Text

MCV Text FI

MCH Text PG

TEC Text CU.MM

VEC Text

PARACYTES Text

BLOOD_GROUPING Text

RH_FACTOR Text

RH_ANTIBODY_TILER Text

DIRECT Text

INDIRECT Text

PLASMA_FIBRINOGEN Text 150-400 mg%

HIV Text

HBSAG Text

WIDAL Text

FOETAL_HAEMOGLOBIN Text

RETICULOCYTES Text

BLEEDING_TIME_MIN Text

BLEEDING_TIME_SEC Text

CLOTING_TIME_MIN Text

CLOTING_TIME_SEC Text

PROTHROMBIN_TIME_CONTROL

Text

SECS_PATIENT_1 Text

27

Page 62: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

SECS_PATIENT_2 Text

PTTK_CONTROL Text

HAEMOLYSIS_START_FROM Text

SALINE_COMPLETE_AT Text

CLOT_RETRACTION_TIME_CRT Text

LE_CELLS Text

ESR_PLATELETS Text

9. Colonoscopy Test Table:-

Field Name Data Type Description

REGISTRATION_NO Text

TEST_DATE Date/Time

ANAL_CANAL Text

RECTUM Text

SIGMOID_COLON Text

DESCENDING_COLON Text

SPLENIC_FLEXURE Text

TRANSVERSE_COLON Text

HEPATIC_FLEXURE Text

ASCENDING_COLON Text

CAECUM Text

TERMINAL_ILEUM Text

28

Page 63: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

BIOPSY Text

OPINION_1 Text

OPINION_2 Text

10. Gastroscopy Test Table:-

Field Name Data Type Description

Registration_No Text

Test_Date Date/Time

Esophgus Text Esophgus

Fundus Text Stomach

Corpus Text Stomach

Antrum Text Stomach

Blub Text Deuodenum

First_Part Text Deuodenum

Second_Part Text Deuodenum

Biopsy Text

Opinion_First Text

Pylorospasm Text

Biliary_Reflux Text

Gut_Hypomotility Text

Opinion_second Text

29

Page 64: HMS Sample Doc

Hospital Management System

11. Sonography Test Table:-

Field Name Data Type Description

Registration_No Text

Test_Date Date/Time

L_Size Text Liver

L_Echotexture Text Liver

Focal_Pathology Text Liver

Ihbr Text Liver

Pv Text Liver

Cbd Text Liver

G_Size Text Gall Bladder

Wall_Thickness Text Gall Bladder

Lumen Text Gall Bladder

P_Size Text Pancreas

P_Shape Text Pancreas

P_Echotexture Text Pancreas

S_Size Text Spleen

S_Shape Text Spleen

S_Echotexture Text Spleen

K_Size_Rt Text Kidneys

K_Size_Lt Text Kidneys

K_Shape_Rt Text Kidneys

K_Shape_Lt Text Kidneys

30

Page 65: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

K_Cortex_Rt Text Kidneys

K_Cortex_Lt Text Kidneys

K_Corticomedullary_Differentiation_Rt Text Kidneys

K_Corticomedullary_Differentiation_Lt Text Kidneys

K_Pcs_Rt Text Kidneys

K_Pcs_Lt Text Kidneys

K_Calculus_Rt Text Kidneys

K_Calculus_Lt Text Kidneys

Aorta Text PetroperitonealStructures

Ivc Text PetroperitonealStructures

Pre_Paraortic_Lymphadenopathy Text PetroperitonealStructures

Fluid_In_Peritoneal_Cavity Text PetroperitonealStructures

Visualised_Bowel Text PetroperitonealStructures

U_Status Text Urinary Bladder

U_Wall_Thickness Text Urinary Bladder

U_Calculus Text Urinary Bladder

Prevoid_Urinary_Vol Text Urinary Bladder

Postvoid_Urinary_Vol Text Urinary Bladder

Pr_Size Text Prostate

Pr_Echotexture Text Prostate

31

Page 66: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

Pr_Capsule Text Prostate

U_Size Text Uterus

U_Position Text Uterus

U_Echotexture Text Uterus

U_E_Cavity Text Uterus

U_Endometrium Text Uterus

O_Size_Rt Text Ovaries

O_Size_Lt Text Ovaries

O_Shape_Rt Text Ovaries

O_Shape_Lt Text Ovaries

O_Echotexture_Rt Text Ovaries

O_Echotexture_Lt Text Ovaries

O_Adenexal_Mass_Rt Text Ovaries

O_Adenexal_Mass_Lt Text Ovaries

Free_Fluid_In_Pouch_Douglas Text Ovaries

Impression Text

12. Stool Test Table:-

Field Name Data Type Description

Registration_No Text

Test_Date Date/Time

Color Text Physical

Consistency Text Physical

32

Page 67: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

Mucus Text Physical

Blood Text Physical

Wbc_Hpf Text Micoscopic

Rbc_Hpf Text Micoscopic

Mecrophages Text Micoscopic

Trophozoite Text Parasites

P_Ova Text Parasites

P_Cyst Text Parasites

C_Ova Text Concentration Method

C_Cyst Text Concentration Method

Occult_Blood Text Special Test

Ph Text Special Test

Red_Sub Text Special Test

13. Urine Table

Field Name Data Type Description

REGISTRATION_NO Text

TEST_DATE Date/Time

APPEARANCE Text ROUTINE

SP_GRAVITY Text ROUTINE

REACTION Text ROUTINE

ALBUMIN Text ROUTINE ,mg%

SUGAR Text ROUTINE

33

Page 68: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

RBCS_HPE Text MICROSCOPIC

WBCS_HPF Text MICROSCOPIC

EPITH_CELLS_HPF Text MICROSCOPIC

CRYSTAILS_HPF Text MICROSCOPIC

CAST_HPF Text MICROSCOPIC

AMORPHOUS_SEDIMENTS Text MICROSCOPIC

SPERMATOZOA Text MICROSCOPIC

OTHERS Text MICROSCOPIC

BILE_SALT Text SPECIAL_TEST

BILE_PIGMENT Text SPECIAL_TEST

UROBILINOGEN_HPF Text SPECIAL_TEST

PORPHOBILINOGEN Text SPECIAL_TEST

ACETONE Text SPECIAL_TEST

OCCULT_BLOOD Text SPECIAL_TEST

PKU Text SPECIAL_TEST

BECE_JONES_PROTEINS Text SPECIAL_TEST

AMINO_ACID Text SPECIAL_TEST

24HRS_URINARY_PROTEIN Text SPECIAL_TEST

24HRS_URINARY_17_KETOSTERIOD

Text SPECIAL_TEST

24HRS_URINVARY_VMA Text SPECIAL_TEST

TOTAL_VALUE Text SPECIAL_TEST

PREGNANCY_TEST Text SPECIAL_TEST

34

Page 69: HMS Sample Doc

Hospital Management System

14. USG Table

Field Name Data Type Description

Registration_No Number

Test_Date Date/Time

LIV Text

LIV1 Text

LIV2 Text

GALL Text

GALL1 Text

COMM Text

COMM1 Text

PORT Text

PORT1 Text

PAN Text

PAN1 Text

SPLE Text

SPLE1 Text

KIDN Text

KIDN1 Text

KIDN2 Text

RK Text

LK Text

BOTH Text

BOTH1 Text

35

Page 70: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

URIN Text

URIN1 Text

N Text

N1 Text

UTER Text

LONG Text

ANTE Text

TRAN Text

N3 Text

ADNE Text

OTH Text

ECHO Text

15. X-Ray Table

Field Name Data Type Description

Registration_No Text

Test_Date Date/Time

X_Ray_Name Text

Remark_1 Text

Remark_2 Text

Remark_3 Text

Remark_4 Text

Remark_5 Text

36

Page 71: HMS Sample Doc

Hospital Management System

Field Name Data Type Description

Remark_6 Text

Remark_7 Text

Remark_8 Text

Remark_9 Text

Remark_10 Text

Remark_11 Text

Opinion Text

16. X-Ray Values Table

Field Name Data Type Description

X_Ray_Name Text

Remark_1 Text

Remark_2 Text

Remark_3 Text

Remark_4 Text

Remark_5 Text

Remark_6 Text

Remark_7 Text

Remark_8 Text

Remark_9 Text

Remark_10 Text

Remark_11 Text

Opinion Text

37

Page 72: HMS Sample Doc

Hospital Management System

17. Patient Fee Table

Field Name Data Type Description

Receipt_No Text

Registartion_No Text

Receipt_Date Date/Time

F_Total_Fees Number Total Fees in Figure

W_Total_Fees Text Total Fees in Words

Receipt_Name Text SELF / Cheque

Dignosios_Fees Number

XRay_Fees Number

ECG_Fees Number

Lab_Test_Fees Number

Gastroscopy_Fees Number

USG_Fees Number

Indoor_Injection_Fees Number

Colonoscopy_Fees Number

38

Page 73: HMS Sample Doc

Hospital Management System

8. Sn a p s h o t s

1. Login Form

2. Home Page

39

Page 74: HMS Sample Doc

Hospital Management System

3. Patient Entry Form

4. Prescription Entry Form

40

Page 75: HMS Sample Doc

Hospital Management System

5. Patient Diagnosis History Form

6. Patient Injection Entry Form

41

Page 76: HMS Sample Doc

Hospital Management System

7. Patient Receipt Entry Form

8. Accumulated Receipt Form

42

Page 77: HMS Sample Doc

Hospital Management System

9. Patient Receipt Query Form

10.Gastroscopy Test Form

43

Page 78: HMS Sample Doc

Hospital Management System

11.Biochemistry Test Form

12.Colonoscopy Test Form

44

Page 79: HMS Sample Doc

Hospital Management System

13.Blood Test Form

14.Stool Test Form

45

Page 80: HMS Sample Doc

Hospital Management System

15.Sonography Test Form

16.X-Ray Form

46

Page 81: HMS Sample Doc

Hospital Management System

17.Urine Test Form

18.Test Reports Form

47

Page 82: HMS Sample Doc

Hospital Management System

19.Search By Name Form

20.Search By Date Form

48

Page 83: HMS Sample Doc

Hospital Management System

9. Co n cl u s ion

The project Hospital Management System (HMS) is for computerizing the working in a hospital. The software takes care of all the requirements of an average hospital and is capable to provide easy and effective storage of information related to patients that come up to the hospital.

It generates test reports; provide prescription details including various tests, diet advice, and medicines prescribed to patient and doctor. It also provides injection details and billing facility on the basis of patient’s status whether it is an indoor or outdoor patient.

The system also provides the facility of backup as per the requirement.

49

Page 84: HMS Sample Doc

Hospital Management System

10. Bi b liogra p h y

1. Mastering VB 6.0

2. SMS hospital.

REVISIONS III

1 INTRODUCTION 11.1 DOCUMENT PURPOSE 11.2 PRODUCT SCOPE 11.3 INTENDED AUDIENCE AND DOCUMENT OVERVIEW 11.4 DEFINITIONS, ACRONYMS AND ABBREVIATIONS 11.5 DOCUMENT CONVENTIONS 11.6 REFERENCES AND ACKNOWLEDGMENTS 2

2 OVERALL DESCRIPTION 32.1 PRODUCT PERSPECTIVE 32.2 PRODUCT FUNCTIONALITY 32.3 USERS AND CHARACTERISTICS 32.4 OPERATING ENVIRONMENT 32.5 DESIGN AND IMPLEMENTATION CONSTRAINTS 42.6 USER DOCUMENTATION 42.7 ASSUMPTIONS AND DEPENDENCIES 4

3 SPECIFIC REQUIREMENTS 53.1 EXTERNAL INTERFACE REQUIREMENTS 53.2 FUNCTIONAL REQUIREMENTS63.3 BEHAVIOUR REQUIREMENTS 6

4 OTHER NON-FUNCTIONAL REQUIREMENTS 74.1 PERFORMANCE REQUIREMENTS 74.2 SAFETY AND SECURITY REQUIREMENTS 74.3 SOFTWARE QUALITY ATTRIBUTES 7

5 OTHER REQUIREMENTS 8

APPENDIX A – DATA DICTIONARY 9APPENDIX B - GROUP LOG 10

Page 85: HMS Sample Doc

1. I nt ro du c t ion 1.1) Purpose 1.2) Scope 1.3) Technologies to be used 1.4) Overview

2. Overall Description2.1) Goals of proposed system

1. Planned approach towards working: 2. Accuracy: - 3. Reliability: - 4. No Redundancy: 5. Immediate retrieval of information: 6. Immediate storage of information:7. Easy to Operate: -

2.2) Background

2.3) Project Requirements Hardware Requirements

Processor RAM Disk SpacePentium II, Pentium III,Pentium IV or higher 64 Mb or Higher 130 Mb

Software RequirementsOperating System Database

Win-98, Win-XP, Linux or any other higher version Ms Access

2.4) User Characteristics 2.5) Constraints 2.6) Definitions of problems

1. Lack of immediate retrievals:

2. Lack of immediate information storage:

3. Lack of prompt updating:

4. Error prone manual calculation: -

5. Preparation of accurate and prompt reports: -

2.7) Alternative Solutions

1. Improved Manual System:-2. Batch System:-3. Online System:-

Feasibility StudySteps in feasibility analysis

3.1) Technical feasibilityFront-end and back-end selectionFront-end selection:Back-end Selection:

3.2) Economical feasibility

3.3) Operational Feasibility

3.4) Schedule feasibility

ADMISSIONS:

Page 86: HMS Sample Doc

This Module helps in registering information about patients and handles patient’s query. A unique ID is generated for each patient after registration. This helps in implementing customer relationship management and also maintains medical history of the patient.

DOCTOR APPOINTMENTS:

This Module Deals with, when the ID is generated the patient receives the Appointment time & number from the Receptionist and accordingly visit the doctor.

TESTS APPOINTMENTS:

This Module Deals with, when the ID is generated the patient receives the Appointment time & number from the Receptionist and accordingly undergoes the tests.

BED ALLOTMENT:

This Module handles with allotting the Bed to various patients by checking their ID.

UNDERGO OPERATION:

This Module handling with undergoes the various operations by diagnosing the patients.

LOGIN:

This Module checks whether the person is a Doctor/Staff and handles various activities such as draw Salary and give Salary.

DRAW SALARY:

This Module checks whether the person is a Doctor/Staff and draws salary based on the information.

ADD DOCTOR/STAFF:

This Module handles the activities such as adding Doctor/Staff information into the database.

DELETE DOCTOR/STAFF:

This Module handles the activities such as deleting Doctor/Staff information into the database.

EDIT DOCTOR/STAFF:

This Module handles the activities such as editing Doctor/Staff information into the database.

PRESCRIBE TESTS:

This Module handles various activities such as Doctor Diagnoses the patient, gives treatment & gives suggestions to the patients, & prescribes laboratory tests & medicines.

WARDWISE BED STATUS;

This Module takes care of medical equipment, doctor visit, vitals recording, patient case sheet, diet ordering, blood requisition, transfer intimation and discharge intimation etc. It also deals with the maintenance of the wards, inter- and intra- ward transfers.

ADMISSION/DISCHARGE REPORTS:

This Module helps in generating patient’s discharge summary, which includes patient’s health at the time of discharge, medical history, various diagnosis and drug prescriptions, history of present illness and course in hospital.

PATIENT INFORMATION:

This Module helps in generating the patient information which is provided by doctor.