Sie sind auf Seite 1von 22

Chapter-3

Systems Requirement Specification (SRS)

Page no:-26

3.1 Physical Specifications: 3.1.1 DFD A data-flow diagram (DFD) is a graphical representation of the "flow" of data through an information system. DFD can also be used for the visualization of data processing (structured design). On a DFD, data items flow from an external data source or an internal data store to an internal data store or an external data sink, via an internal process. A DFD provides no information about the timing or ordering of processes, or about whether processes will operate in sequence or in parallel. It is therefore quite different from a flowchart, which shows the flow of control through an algorithm, allowing a reader to determine what operations will be performed, in what order, and under what circumstances, but not what kinds of data will be input to and output from the system, nor where the data will come from and go to, nor where the data will be stored (all of which are shown on a DFD).

Page no:-27

CONTEXT LEVEL DIAGRAM FOR CLINIC MANAGEMENT SYSTEM

ADMINSTRATOR

User name Password

CLINIC MANAGEMENT SYSTEM

Treatment and test report

PATIENT

FIGURE 4: LEVEL-0 DATA FLOW DIAGRAM

Page no:-28

3.1.2 ER Diagram An Entity-Relationship Model (ERM) is an abstract and conceptual representation of data. Entity-relationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational database, and its requirements in a top-down fashion.

Page no:-29

Login details Access Granted

1 LOGIN

Verification Details Verified

Login Details

2 Patient Details Patient Id PATIENT REGISTRATION

Patient Details

Patient Details

ADMINISTRATOR Treatment Details

3
TEST LABORATORY

Update Details

Test report Details

4 Doctor Details DOCTOR

Update Details Consultation Charges

Doctor Details

PATIENT

Payment Details

6 PAYMENT Update Details Payment Details

Test charges,consultation charges

7 Receive Bill Receipt REPORT GENERATION Payment Details

Fig No 5: LEVEL-1 DATA FLOW DIAGRAM Page no:-30

ADDRESS PATIENT _NAME

PATIENT_ID GENDER MOBLIE_NO AGE TREATMEN T_CHARGES

PATIENT _NAME

TEST_C HARGES

TOTAL_A MOUNT

PATIE NT_ID PAYS PAYMENT

PATIENT

TAKES

CONSULTS

TEST _ID

TEST_ NAME

TEST

CHARGES

DOCTOR

RECOMMEND

TIMING DOCTOR _ID DOCTOR _NAME

Fig no:- 6 E-R DIAGRAM

Page no:-31

3.2 Output Specifications: 3.2.1 Detailed characteristics of contents (fields) to be included in each Output Screen and Print layouts.

Patient Registration Form: This message box will tell the administrator whether the patient registration is successfully done or not.

Message box 1

MESSAGE BOX

PATIENT REISTRATION SUCCESSFULLY DONE

OK

Page no:-32

Message box 2

MESSAGE BOX

PATIENT REISTRATION NOT SUCCESSFULLY DONE

OK

Page no:-33

Report Layout: The report that will be generated are as follows: Report 1 Patient Report

Patient ID Patient Name: Address: Age: Gender: Mobile No.: Date : Amount:

Fig. Report 2

Page no:-34

3.2.2 List of data elements (comprising Field Name, Field Type, Field Size & description) for each Output presented in the tabular form.

Field Name Patient_id Patient_name Address Age Gender Mobile_no Date Amount

Field Type Number Varchar Varchar Number Varchar Number date Number

Field Size 10 15 25 2 6 10

Constraint NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL

Description Unique id of patient Name of the patient Address of the patient Age of the patient Gender of the patient Contact number of the patient Date of treatment taking by patient Amount paid by patient

10

NOT NULL

Page no:-35

3.3 Input Specifications: 3.3.1Detailed characteristics of contents (fields) to be included in each Input screen or document.

Form 1:- Welcome form This is the first screen with which administrator will interact with.

WELCOME TO SAHARA NATURE CURE


LOGIN

Form 2:- Login form


Page no:-36

This form will help the administrator to login. Only after successful login the administrator will be able to work on the software.

LOGIN

WELCOME TO SAHARA NATURE CURE


ADMIN_ID

PASSWORD

OK

CHANGE PASSWORD

BACK

EXIT

Form 3:- Change password form


Page no:-37

This form will enable the administrator to change the password simply by clicking on the CHANGE PASSWORD button in the login form.

CHANGE PASSWORD

ENTER THE CURRENT PASSWORD

ENTER THE NEW PASSWORD

RE-ENTER THE NEW PASSWORD

SAVE

BACK

OK

EXIT

Form 4:- Main menu


Page no:-38

This form will act as the main menu for the administrator. This form will make the administrator move easily from one process to another.

WELCOME TO MAIN MENU


New Patient Doctor Delete Patient

Patient Report

MAIN MENU

EXIT

3.3.2 List of data elements (comprising Field Name, Field Type, Field Size & description) for each Input presented in the tabular form.
Page no:-39

Patient table Field Name Patient_id Field Type Number Field Size 10 15 25 2 6 10 Constraint NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL Description Unique id of patient Name of the patient Address of the patient Age of the patient Gender of the patient Contact number of the patient

Patient_name Varchar Address Age Gender Mobile_no Varchar Number Varchar Number

Payment table Field Name Patient_id Patient_name Doctor_id Test_charges Doctor _charges Total_Amt Number 10 NOT NULL Total amount paid by Patient Field Type Number Varchar Varchar Number Number Field Size 10 15 10 10 10 Constraint NOT NULL NOT NULL NOT NULL NOT NULL NOT NULL Description Unique id of the Patient Name of the Patient Id of the doctor Charges of the test taken Charges of the doctor

Administrator table Field Name Admin_id Password Field Type Varchar Varchar Field Size 15 8 Constraint NOT NULL NOT NULL Description Unique id of the administrator Password of the unique id

Page no:-40

Test table Field Name Test id Test charges Test name Field Type Varchar Number Varchar Field Size 15 10 8 Constraint NOT NULL NOT NULL NOT NULL Description Unique id of the administrator Charges of the test Name of the test

Doctor table Field Name Doctor_id Doctor name Doctor timing Field Type Varchar varchar varchar Field Size 10 15 10 Constraint NOT NULL NOT NULL NOT NULL Description Unique id of the doctor Name of the doctor Timing of the doctor

3.4 Validation Specifications 3.4.1Description of the validation rules to be included for input/output, wherever required.

1. Patient ID will be automatically generated. 2. Patient Name should be in character format. 3. Address should be in varchar2 format. 4. The field of Mobile No should be maximum of 10 characters. 5. The password should not exceed 8 characters and should be changed only for security reasons. 6. No field should be left blank.

Page no:-41

3.5 Database Specifications 3.5.1Detailed characteristic of fields of each file/table included in the database are to be tabulated with Field Name, Type, and Size & Description.

Patient Table: create table patient_information ( Patient_id patient_Name address age gender mobile_no ); varchar char varchar2 number varchar2 number (10) (30) (50) (3) (6) (10) Primary key, Not null, Not null, Not null, Not null, Not null

Payment table create table payment_table ( Patient_id patient_Name test charges doctor charges doctor id total_amount ); varchar char number number number number (10) (30) (10) (10) (10) (10) references patient_information (patient_id), Not null, not null not null not null Not null

Page no:-42

Administrator table create table admin_table ( Admin_id password ); varchar(15) varchar(8) Not null, Not null

Doctor table Create table doctor_table { Doctor_id Doctor_name Doctor_timing } Test table Create table test { test_id Test_charges Test_name } varchar number varchar (15) (10) (10) Not null Not null Not null varchar(10) varchar(15) varchar(10) Not null Not null Not null

Page no:-43

3.6 Processing Logic:


Start

3.6.1 Program Flow Chart.

Enter admin_id password

If Correct

No

Yes

Display main Menu 1. 2. 3. Patient Registration Doctor Consult Payment

Enter Choice

If Choice =1 Yes A

No

If Choice =2

No

If Choice =3

No

If Choice Default

Yes B C

Yes

Display Wrong Entry K

Page no:-44
Stop

Enter Patient Id

If Valid

No

Yes

Enter Patient Details

Details Updated

Page no:-45

Enter Doctor Details

If Valid

No

Yes

Enter Patient Details

Details Updated

Page no:-46

Enter Payment Details

If Valid

No

Yes

Print Details

Payment Slip Generated

Page no:-47

Das könnte Ihnen auch gefallen