Chapter 1 1 PDF
Chapter 1 1 PDF
Introduction
Nowadays, Many application system to interact with user .it is because many organization want
computerize record keeping rather than manual system .patient management system is an example
of computerize system that will be developed for administrator to managed the record of patient
several modules will be application to the lab management system
Numbers of patient record detail that are stored in system .searching for information with respect to
certain criteria could be difficult .we make use of database to provide the required details instead
manual system. The information regarding patients can be stored in database .it can update the table
,field (patient details, patient added , patient record delete searching ) enter the id no of patient and
found the detail of patient
According Jauntz the emergence of computer based information system has changed the world a
great deal, both large and small system have adopted the new methodology by use of personal
computer; to fulfil several roles in the production of information therefore computerizing the
documentation of patient record to enable easier manipulation of the input process and output will
bring us to this existing new world of information system.
According tang In examine the document system that in existence at the hospital that is mostly
manual much importance has been placed on creating a system that document the inpatient record
using a computerized database system with a secure procedure for accessing it.
Laboratory Management system Patient record (LMSPR) are extensive, coordinating information
system to mange patient data in hospital with the administrator process. Manual system has this
problem Maintain the customer’s record. Time consuming. Updating problems. Manage large
amount of data to insert. It was not offer a user friendly work envoirment Health care canters depend
on patient information for the efficient administrator process, for batter management the principle
objective of PMS is to streamline the stream of data from the hospital toward decision making for
patient planning and management in an enhanced and effective ways.
The absence of a well established information system to serve patient and staff has led to inconveniences.
This has tantamount to the loss of patient and staff records. This is basically because of the weakness of the
existing system which includes over reliance on paper based work. Paper files consume a lot of the office
space, slow recording, processing and retrieval of patient details. Accessing and sharing of information by
different departments is difficult due to poor information management.
Hard to manage the record of patient for example if record found anyone patient it is very difficult to search
their record in manual system. it is also very difficult to edits or delete record in manually system . The
record data easily lost if the administrator uses manual system. So this issue will create another bog system
to the administrator. Manual system has this problem Maintain the customer’s record. Time consuming.
Updating problems. Manage large amount of data to insert. It was not offer a user friendly work envoirment
1.3 Motivation:
Today, Many application system to interact with the user it is because many organization want computer
record keeping rather than manual system patient management system .In Pakistan other hospital keep
record of patient computerized system but zainab hospital used manual system now this hospital want keep
record in computerized system it is main motive of this project .
1.4 Objectives:
Main Objectives Our major objective is to develop an operational Patient Management System for zainab
hospital. A goal or objective is a project it is roughly similarly to purpose of aim, the anticipated result
which guides reaction or an end . It is the user friendly application which reduces the burden and helps to
manage all sections of laboratory like patient reports etc., which improve the processing efficiency.
Including safe data store about patient reports as well as fast searching, delete and update of report It deals
with the automating this project embarks specific objective as fellow
1. To developed the manual laboratory management system into computerize base laboratory
management system
2. To develop the computerized lab management system such as testing blood simple off different
diseases, keeping record of patient.
3. To developed the lab administrator easy to managed data ,troubleshooting keep record of patient
Laboratory Management system patient record Page 3
4. Admin can view patient record.
8. Admin can received report from physician and can view detail
This project is basically designed for zainab hospital. This hospital provides a lot of services to patients
which includes; Daily treatment of patients, Admission of patients, Keeps records about inpatients and
outpatients respectively, The following are the language confined within the system to enable
development and implementation. The database implementation was achieved using My SQL for the
database development, server side scripting was done in java embedded in html, and java web server
wills facilitate simultaneous processing. This system can be used by only team member and
administrator of a particular hospital .The database can be used by team members in order to search, edit
and add patient detail. The database can be accessed only after installing the software on local system
This software can be used by only a single user at any instant. The system usage is confined to usage by
single organization.
A framework is that describe the activities performed at each stage of a software development project.
SDLC is the process of the understanding how an information system (IS) can support business need,
designing the system built it and delivering it to user. The SDL composed have four phase (planning,
Analysing, Design implementation) .The SDLC traces the history (lifecycle) of a developing
information system .structure designed methodology is waterfall developing with waterfall developing
,analyst and user process is sequence from the next mapped out and evaluated planning analysing design
and implementation system.
Speed up or bypass one or more life cycle phases .usually less formal and reduced scope .used for time
.critical application. used in organization that employ descomplain methods. By breaking the product into
cycle ,the Agile model quickly deliver a working product and is considered a very realistic developing
approach .The model produced ongoing released ,each with small incremental changed from the previous
released .At each iteration ,the product is tested this model is emphasis ,interaction, as the customer
,developer and tester worked together throughout the project
A variant of the waterfall that emphasize the verification and validation of the product .Testing of the
product is planned in parallel with a corresponding phase of development. Also now as the verification and
validation model , the V-shaped model grew out the waterfall and is characterized by a corresponding
testing phase for each developed stage
RAD reduced cycle time and improved productivity with fewer people means lower costs .Time-box
approach mitigates cost schedule risk. Customer involved throughout the complete cycle minimizes risk of
not achieving customer satisfaction and business needs .
Risk finding ,schedule program complexity, or need for realization of banifites.Most of the requirements
now up-front but are expected to det basic functionality to the market early on projects which have lengthy
development schedules .On a project with new technology
1.6.2.5.Spiral Model:
Provide early indication insurmountable risk without much cost. Users see the system early because of rapid
prototyping tools .critical high-risk functions are developed first . the design does not have to be perfect
users can be closely tied to all life cycle steps . early and frequent feedback from user .
Waterfall model is easy to understand and easy to use .provide structure to inexperienced
staff milestones are well understood sets requirement stability. works well when quality is more important
than cost
waterfall Sdlc model is perfect for the system because this system required quick respond and satisfy the
user and required changing in this system patient management system is motive to advance technique .This
system required quick search result
1.8 Procedure:
The project procedure that used in development of the system is the System development Life Cycle
(SDLC). SDLC is the process of the understanding how an information system (IS) can support business
need, designing the system built it and delivering it to users. The SDLC composed have four phases.
Planning, Analysis, Design and Implementation. The SDLC traces the history(lifecycle) of a developing
information system. Structured designed methodology is waterfall development with waterfall
development, analyst and user proceed is sequence from the next can mapped out an evaluated Planning
analysis Design and implementation system
1.8.1 Planning:
In planning system, to develop a new system which is first step to identify a need for the laboratory
management system and also plane how to develop the functional requirements of a system. This will
include determining whether a business problem.
1.8.2Requirment Analysis:
In this phase, I have analyzed considers the current system and investigates any problem associated with it.
There are many problems with current system due to manual work. Other sources of information about
system and the new requirement would be investigated at this time.
After the requirements have been determined, the necessary specifications for the hardware software people
and data resources and the information products that will satisfy the functional requirement of the proposed
system can be determined. I will create the system design by review the work with the scope to ensure the
design meets the objective and requirement of the patient record keeping System.
User Interface Design is concerned with how admin search record of patient information to the
system and with how the system presents information back to them.
Data Design is concerned with how the data is represented and stored within the system. Finally,
Process Design is concerned with how data moves through the system, and with how and where it is
validated, secured and/or transformed as it flows into, through and out of the system.
System design phase, documentation describing the three sub-tasks is produced and made available
for use in the next phase.
1.8.4 Coding:
At this stage each unit is design through coding .for this process a specific language is required like html,php
and bootstrap. At this stage we designed all modules like Admin ,physician and patient separately by using
software tool
1.8.5 Testing:
At this stage unite is test to check if it is performing the same functionality for which it is design. Each and
every function is test and remove error. if the system is performing accurate functionality for which it is
designed than it is delivered to the requirement of customer
1.8.6 Implementation:
The implementation phase is described as those activities that begin when the system design has been
completed. These phases are producing software code according to plan, analysis and system design that
have been done. Coding and debugging is the act of creating the final system. The requirement
documentation should be referred to throughout the rest of the system development process to ensure the
developing project aligns with the needs and requirements or scope. The system also is tested to evaluate its
actual functionality in relation to expected or intended functionality
One of the most difficult tasks after system requirements are known is determining Whether particular
software is capable of meeting the system requirements or Not. For those that do so further scrutiny is
needed to determine the desirability in comparison With other conditions. The choice of software is a very
important factor to be considered during. The development phase of the new system because new system is
totally dependent on the software It’s using data to handle and the cost of programming.
These are following software:
1.9.2 SQL:
SQL Server is Microsoft's relational database management system (RDBMS). It is a full featured database
primarily designed to compete against competitors Oracle Database (DB) and MySQL. Like all major
RBDMS, SQL Server supports ANSISQL, the standard SQL language.
1.9.3 PHP:
PHP (recursive acronym for PHP: Hypertext Pre-processor) is a widely-used open source general-purpose
scripting language that is especially suited for web development and can be embedded into HTML.
Chapter 2
Literature and Analysis
The legal system sallies mainly on documentary evidence in a situations . where medical negligence this
is very often the most important evidence deciding on the sentencing or acquittal of the doctor ,With the
increasing use of medical insurance for the doctor for treatment ,the insurance companies also required
proper record keeping to prove the patient demand for medical expense improper record keeping can result
in declining medical claims .
it is dishearten to note that in spite of knowing the important of proper record keeping it is still in a absent
stage in Pakistan it is wise to remember that “poor record defence medical record means no defence ,medical
record include a variety of documentation of patient history , clinical finding diagnostic that test result ,
preoperative care, operation notes , post operative care, and daily notes of a patient progress and
medication .
this computerize system is very important for patient record management system .this system include see
issue of date and time .Administrator can easily search record of patient and delete record of patient .it is
wise to duplicate copy of the referral note with the patient signature .the fact of the patient did note go
immediately on reference as advised could proved by the duplicate copy of the referral note kept by doctor.
The hospital offers 24 hours services to its staff and the entire population. The records of patient in zainab
hospital have over time been run down due to large number of patient ,this led to poor record keeping since
it`s paper base system .the reason why the current system used is manual has led to a variety of problems
and these include ; un necessary duplication of the data especially for impatient and outpatient
A computerize patient management system will be important in light of fact that, there are a considerable
measure of challenges in keeping up a lot of data on paper ,particularly as there is usually no backup for the
data, access to data can be tedious in the event that require for the search of a file , and accuracy is required
in the recording of key data, and the administrator cannot all that is composed on the tremendous measure of
paper to be utilized ,Hence , it is very important for health organization like hospital and clinics to have a
computerized patient management system.
It is expensive due to high administrative costs incurred in terms of high stationary costs, printing patient’s
cards, data entry and capture, data analysis and cleaning for storage purposes.Emmanuel Medical Centre
was able to efficiently store and keeps track of their patient’s records; the system provides an easy
mechanism for doctors and nurses to retrieve the prescription they had earlier written so as to avoid making
wrong prescriptions. The management was able to budget and improve the service delivery of the hospital.
The project produces a Patients Records Management System that enabled Emmanuel Medical Centre keeps
track of their patient’s records.
Accessing patient’s files and records at Emmanuel Medical Centre is manually in all the departments,
making it very labour intensive and ineffective. This process involves very large amounts of data, thus
2.4Information Gathering :
Information gathering is a process of deeply analyzing the current or existing system . We used the
following methods during data collection: Observation, Interviewing and Questionnaires as our research
methods. Through this we were able to collect raw data on PMS at We went to the hospital and observed
their daily as regards their current system and they were manually recording the patients‟ records as
specified by the receptionists, doctors, pharmacist and cashier. A follow up was made to determine the time
it took to carry out the patient record management. We observed the system‟s weaknesses like it was
2.4.1Interviews:
An interview is a conversation between two or more people (the interviewer and the interviewee) in a
context where the questions are asked by the interviewer to obtain information from the interviewee. We
used the following methods during data collection: Observation, Interviewing and Questionnaires as our
research methods. In this method, there was interaction between us, the researchers and the Staff. Interviews
will be conducted with the medical supridendant and some potential employees to find out what difficulties
they encountered with the existing system.
2.4.2Quetionsenries :
Admin
Physician:
2.6Feasibility report:
2.7.1Operational Feasibility:
` Purpose system will be operationally feasibility to the users. It will response quickly
it will performs the operations efficiently for which it is developed .if user perform click operation it will
response according to the click.
2.7.2Economically Feasibility:
2.7.3Technical Feasibility:
Purpose systems will technical feasible. if any change will needed to implement in the
system then it will possible without changing or replacing
External entity It is outside the context of the system and can be any class
of people, organization or another system.
Figure 3.1
A context level data flow diagram (DFD) provides an at-a-glance look at the information
system and ways its changing data with outside entities. they are often use high level
planning The context level is explain the system .system provide different feature of system
.System provide admin access the add patient record ,search record ,update record, manage
physician and view report. Other side system given access of physician that physician can
view patient record and generate report of patient .patient can view report
Figure 3.2
3.2.3Level 0:
A level 1 data flow diagram (DFD) is more detailed than a context level DFD but not as detailed as
a level 1 DFD. It breaks down the main processes into subprocesses that can then be analyzed and improved
on a more intimate level.
3.2.4Level 1:
A level 1 data flow diagram (DFD) offers a more detailed look at the process that make up
the information system then a level 1(DFD) does, it can use to plan and record
Figure 3.3
Admin login the system and enter record of patient and submit the record this record stored
in the database and then physician and patient login their system and view record after this
remove the authentication
Figure 3.4
Figure 3.5
Figure 3.5 admin and user can search data of patient .they enter login their system and enter the required
data then search the required data
Figure 3.6
Figure 3.7
Figure 3.8
The system specification describe the functional or non-functional requirement posed system
use case scenario is a description that illustrate step by step ,how a user is intending to use
system essentially capturing the system behaviour from the user point of view .a use case
scenario in this system describe the working of entity
List of Actors:
Administrator.
Physician.
Patient.
Figure 3.9
3.3.1Admin:
Admin can inter data of patient ,update patient search ,delete record of patient saved the patient record
admin also upload report pattern and add physician record
Figure 3.10
Physician:
Physician take simple test of patient and according to simple test he generate report .
3.3.3Patient:
Figure 3.11
Patients will self enter record /information given blood simple and view report
Figure 3.12
3.4.1Admin:
Admin sequence diagram admin first login the system then he can work on other process after login the
system admin can add patient record manage, physician record, update patient record search record, delete
record and view report
Figure 3.13
Figure 3.14
3.5.1Project Design:
In order to design a website, the rational database must be designed first. Conceptual design can be divided
in to two parts.
Data Model
Process Model
The data model should be focuses on what data should be stored in the data model while the data process
deals with how the data will processed. To put this in the context of the rational database, the data model is
used to design the rational tables. The process model is used to design the quires that will access and
perform operations on those tables.
A data model is a conceptual representation of the data structures that are required by a database. The first
step in designing the database is to develop an Entity Rational Diagram (ERD). ERD serves as a blue print
from which a rational database maybe deduced.
3.5.3 ERD:
ERD is a graphical representation of an information system that shows the retaionalship between people
objects places concepts or events within that system. An ERD is a data modeling technique that can help
define business processes and can be used as the foundation for a rational database.
Entities:
Relationship:
Attributes:
3.5.4 Entities:
An entity is a thing. In business domain terms, it’s a concept or glossary level term. In rational database term
it is the table. Entity refers to anything about which data is collected. Entities that are involved in Laboratory
Management System patient record are as follows:
(2)Patient
(3)Physician
(4)Blood Test
(5)Blood Report
(6)Front desk
(7)Patient History
3.5.5 Attributes:
When each entity, there can be more than one attribute. Attributes provide detailed information about the
concept. In a rational database attributes are represented by the fields where the information inside a record
held.
Admin
Figure 3.15
Attribute
Admin_id:
(key,required,stored,single valued,simple)
Admin_Name:
(non-key,required,stored,single valued,composit)
Admin_password:
(non-key,required,stored,single valued,simple)
Figure 3.16
Attribute:
Patient_id:
(key,required,stored,single valued,simple)
Patient Name:
(non-key,required,stored,single valued,composit)
Patient Cell:
(non-key,required,stored,multi valued,simple)
Patient Age:
(non-key,required,drived,single valued,simple)
Patient Gender:
(non-key,required,stored,single valued,simple)
Patient Address:
(non-key,required,stored,multi valued,simple)
Patient Type:
(non-key,required,stored,single valued,simple)
1) A1 p1
A2 P2
A3 P3
Figure 3.17
Degree: Binary
Figure 3.18
Attribute:
Physician_id:
(key,required,stored,single valued,simple)
Physician Name:
(non-key,required,stored,single valued,composit)
Physician Cell:
(non-key,required,stored,multi valued,simple)
Physician Designation:
(non-key,required,stored,single valued,simple)
Physician Password:
(non-key,required,stored,single valued,simple)
2) A1 Phy1
A2 Phy2
A3 Phy3
Figure 3.19
Degree: Binary
Relationship: Manage
Figure 3.20
(key,required,stored,single valued,simple)
(non-key,required,stored,multi valued,simple)
(non-key,required,stored,multi valued,simple)
3) A1 Front1
A2 Front2
A3 Front3
Figure 3.21
Degree: Binary
Relationship: Manage
Figure 3.22
B_Test id:
(key,required,stored,single valued,simple)
B_Test Name:
(non-key,required,stored,single valued,composit)
B_Test Description:
(non-key,required,stored,single valued, single)
B_Test Cost;
(non-key,required,stored,single valued,simple)
4) phy1 B_test1
phy2 B_test2
phy3 B_test3
Figure 3.23
Degree: Binary
Relationship: Take
Figure 3.24
B_report id:
(key,required,stored,single valued,simple)
B_report date:
(non-key,required,stored,single valued,simple)
B_report status:
(non-key,required,stored,single valued,simple)
5) phy1 B_Report1
phy2 B_Report2
phy3 B_Report3
Degree: Binary
Relationship: Generate
Figure 3.26
6) p1 B_Report1
p2 B_Report2
p3 B_Report3
Degree: Binary
Relationship: View
Figure 3.27
7) p1 B_Test1
p2 B_Test2
p3 B_Test3
Degree: Binary
Relationship: Given
1- Primary Key
The primary key is one or more column in a table used to uniquely identify each row to the table. Primary
key values can’t be null and must be unique across the column. A multicolumn primary key is called
Composite Primary Key.These are following primary keys in my database
2- Foreign key
Foreign key represents relationships between the tables or relations. A foreign key is a column(or a group
of columns) whose values are derived from the primary/unique key of the same or some other tables
Figure 3.28
Figure 3.29
Ensuring the data dependencies make senses. I.e. Data is logically stored.
Suppose for a new customer, we have a customer id name address of a customer but if customer has not null
there, leading to insertion anomaly.
If any customer have purchase only one dress and temporarily he drops it back then we delete this row,
entire customer record will be deleted.
Admin Table:
Figure 3.30
Figure 3.32
Patient table:
First normal form (1NF) is a property of a relation in a relational database. A relation is in first normal
form if and only if the domain of each attribute contains only atomic (indivisible) values, and the value of
each attribute contains only a single value from that domain. Patient table are no multiple valued every field
its own value
Figure 3.34
Blood_Test :
Figure 3.36
Figure 3.38
Blood Report:
Figure 3.39
All non-key attributes are fully functional dependent on the primary key
Figure 3.40
Figure 3.41
Figure 3.42
Figure 3.43
Figure 3.44
First normal form (1NF) is a property of a relation in a relational database. A relation is in first normal
form if and only if the domain of each attribute contains only atomic (indivisible) values, and the value of
each attribute contains only a single value from that domain .
Figure 3.45
Figure 3.46
Figure 3.47
Figure 3.48
Figure 3.49
Figure 4.1
4.1Requirement phase:
In this phase we required requirement of system user tell we all requirement about
system. Laboratory management system patient record are requirement is
a) User friendly
b) Patient update
c) Admin alert
d) Weekly update
e) Quick report generate
f) Quick search operation
g) Quick edit operation
h) Time saving
i) Easily enter data
In this phase system designed according the user requirement waterfall model is rule that when developer
move from requirement phase to system designed phase in between the requirement change of user then
developer can move previous phase developer in this designed the structure of system
4.3 Implementation:
In the implementation plan developer implement the system according the system designed in laboratory
management system patient record verify the problem statement chose model according the system and
make class diagram . this system in the implement phase also worked on data flow diagram and sequence
diagram .Make entity relationship diagram
In the development phase developer develop the system laboratory management system patient record
developer create database of the system .designed form and front end make the system .create the table in
the database and make table normalization
In the maintenance phase developer everything the system laboratory management system patient
record the work in sequence .
4.7Development of program:
Tool selection:
1. Hardware
2. Software
Laboratory management System patient record is developed on the inlet core i3 computer this computer
RAM 64 GB supported
Software:
Laboratory management system patient record using software xamp server notepad++
First is to get experience in any tool and then develop the project in that particular tool. Second thing is to
select the tool according to the requirements of the project and get expertise in that tool.
And choice of the programming language is the important and definitely depends on upon the problem hand.
4.9.1 Languages:
Many choices are available but I select PHP because it is rapid tool for software development and because it fulfills
the necessities of my project.
4.9.2PHP:
PHP stands for Hypertext Preprocessor. It is an open source server-side scripting language used for the
development of web applications. By scripting language, a program that is script based (lines of code)
written for the automation of tasks.
PHP code may be embedded into HTML code, or it can be used in combination with various web template
systems, web content management system and web frameworks. PHP code is usually processed by a PHP
interpreter implemented as a module in the web server or as a Common Gateway Interface (CGI). It was
originally created by Rasmus Lerdorf in 1994.
Laboratory Management system patient record Page 57
PHP utilities:
Utilities of PHP are given below.
Simple:
It is very simple and easy to use, compare to other scripting language it is very simple and easy, this is
widely used all over the world.
Interpreted:
Faster:
Open Source:
Open source means you no need to pay for use php, you can free download and use.
Platform Independent:
PHP code will be run on every platform, Linux, Unix, Mac OS X, Windows.
Case Sensitive:
PHP is case sensitive scripting language at time of variable declaration. In PHP, all keywords (e.g. if, else,
while, echo, etc.), classes, functions and user-defined functions are NOT case-sensitive.
Error Reporting:
PHP have some predefined error reporting constants to generate a warning or error notice.
Real-Time Access Monitoring:
PHP provides access logging by creating the summary of recent accesses for the user.
Loosely Typed Language:
PHP supports variable usage without declaring its data type. It will be taken at the time of the
execution based on the type of data it has on its value.
Why I select PHP:
Working environment
Attractive interface
Fast process