Vital Event Registration
Vital Event Registration
Management System
A Project Report
Submitted By:
NAME ID NUMBER
MAHILET ZEWDU TER/4740/07
HANNA TILAHUN TER/4734/07
WULETAW YEHUALA TER/4761/07
TARIKU BEKELE TER/4755/07
1
Abstract
The FDRE vital events registration agency manages information using manual system and
transports information from one branch to another by using humans. The other is when we
see the forms registrars may forget to fill spaces and leave them empty this leaves data
incomplete.It is also difficult to find information about users when it’s needed and Data is not
well organized in those areas difficult to analyze statistically. This manual system is tedious,
time and resource consuming. Our project will have account for every stage offices (Keble,
zone, region…etc) so that they can access the central database to register, view, give
certification, and produce report easily. Data will pass through offices by sending and
receiving using online system and it will be easy for further statistical analysis and it will be
more secure. So our aim is to develop a general-purpose automated system which can
effectively manageinformation.
2
Acknowledgement
First we would like to thank God for giving us the strength and patience to start and finish
this project. We thank our advisor MSC Wubetu Shiferaw for his patience unreserved and
valuable advises during the process of writing this document.
Thanks to those who gave us information for the completion of our project, to east gojjam
vital event registration office for their valuable comment and helpful information sharing.
Our Thanks is also forwarded to individuals who directly or indirectly supported us during
our project work.
Finally we would like thank our families and friends for being so helpful and encouraging
during this process.
3
Table of content
List of Figure ............................................................................................................................................ 6
List of Table ............................................................................................................................................. 7
Acronyms and Abbreviations .................................................................................................................. 8
Chapter one ............................................................................................................................................ 9
Introduction ............................................................................................................................................ 9
1.1 Introduction ............................................................................................................................. 9
1.2 Background of the organization .............................................................................................. 9
1.3 Statement of the problem ...................................................................................................... 10
1.4 Objective the Project ............................................................................................................. 10
1.4.1 General Objective ................................................................................................................ 10
1.4.2. Specific Objective ............................................................................................................... 10
1.5 Scope of the project .............................................................................................................. 11
1.6 Overview of the proposed system ......................................................................................... 11
1.6.1 Limitation of the project ............................................................................................... 11
1.7 Significance of the project .................................................................................................... 12
1.8 System requirements ............................................................................................................. 12
1.8.1 Hardware Requirements ................................................................................................ 12
1.8.2 Software Requirements ................................................................................................. 13
1.8.3 Programming language ................................................................................................. 13
1.9 Methodology ......................................................................................................................... 14
1.9.1 System development methodology ............................................................................... 14
1.9.2 Data collection methodology ........................................................................................ 14
1.10 Feasibility Study ................................................................................................................... 15
1.10.1. Operational feasibility ....................................................................................................... 15
1.10.2. Economic feasibility ......................................................................................................... 15
1.10.3. Legal feasibility................................................................................................................. 16
1.10.4 Technical feasibility ........................................................................................................... 16
Chapter two ........................................................................................................................................... 18
2. System analysis ................................................................................................................................. 18
2.1 Overview of the existing system ................................................................................................. 18
2.2 System requirement specification ............................................................................................... 20
4
2.2.1 Functional requirements....................................................................................................... 20
2.2.2 Non functional requirements ................................................................................................ 21
2.2.2. Technical requirement......................................................................................................... 23
2.2.3. Business rules...................................................................................................................... 23
2.3. System requirement analysis...................................................................................................... 24
2.3.1. Actor and use case identification ........................................................................................ 24
2.3.3. UML Sequence Diagram .................................................................................................... 40
2.3.4 Activity diagram .................................................................................................................. 45
2.3.5 Analysis Class Diagram ....................................................................................................... 50
Chapter three ......................................................................................................................................... 52
3. System Design .................................................................................................................................. 52
3.1. Design class diagram ............................................................................................................ 52
3.2. Database design .................................................................................................................... 54
3.2.1. Physical data model ............................................................................................................ 54
3.2.2. Normalized table ................................................................................................................. 54
3.3 system architecture...................................................................................................................... 57
3.3.1. Deployment diagram ............................................................................................................... 57
4. Implementation and testing ........................................................................................................... 58
4.1. Implementation .......................................................................................................................... 58
4.2. Overview of the programming language ................................................................................... 58
4.2.1. sample code for login .......................................................................................................... 58
4.2.2. sample code for birth registration ....................................................................................... 61
5. Testing .............................................................................................................................................. 67
5.1. Unit testing ................................................................................................................................. 67
5.2. Integration testing ...................................................................................................................... 67
5.3. System testing ............................................................................................................................ 67
5.4 sample test................................................................................................................................... 67
Chapter six ............................................................................................................................................ 69
6. Conclusion and recommendation ...................................................................................................... 69
6.1. Conclusion ................................................................................................................................. 69
6.2. Recommendations ...................................................................................................................... 69
6.3. Future enhancement ................................................................................................................... 69
Appendix I ............................................................................................................................................. 70
References ............................................................................................................................................ 71
5
List of Figure
6
List of Table
7
Acronyms and Abbreviations
8
Chapter one
Introduction
1.1 Introduction
Vital event registration is started before the birth of Jesus Christ by orthodox religion
followers by registering new born babies. After a long time in 1812 E.C vital event
registration is included under the government as one of the governments function by France
government. At the beginning it was started by registering (birth, death, marriage, divorce)
but now because of the human need for basic, material and spiritual things is growing time to
time the united nation posted the following vital events to be registered those are (birth,
death, marriage, divorce, adoption, recognition of fatherhood and decide fatherhood through
court, death of fetus, separating husband and wife by denying second time marriage and give
recognition for children that are born during marriage time)[7].
Vital event registration is now very important for countries including our country for various
purposes like developing appropriate policies for certain place based on the registered data,
used as evidence for courts and it also used for government planning and budgeting by
providing the exact number of population. In general vital event registration means
registering events that are so important or have great impact for certain country.
Vital events registration in Ethiopia is started In July 28/2008 E.C after long time preparation.
From the above vital events that are decide by UN, Ethiopia accepted to register (birth, death,
marriage, divorce, adoption, recognition of fatherhood and decision of fatherhood through
court). From those events Ethiopia works hardly in four of them (birth, death, marriage,
divorce).
Child birth is registered 90 days after the baby is born and (death, marriage and divorce) are
registered 30 days after they happen[7].
9
1.3 Statement of the problem
The FDRE vital events registration agency has the authority to form central database and to
control it but as we ask the employees of East Gojjam vital events registration there is central
database in head office they do not have any access to the database so they still work with
papers. The registration papers are published and distributed by the FDRE vital events
registration agency to the regions then to zones and zones distribute to Keble’s.
As we stated earlier the problem of this system basically comes with paper. Papers by
themselves bring many problems they can be:-
Stolen by peoples
Papers can be tear apart
Errors that occur on papers cannot be corrected easily.
Can be damaged easily by accidents.
As we have seen in the above the registration papers are transformed from one office to other
using car by humans until they reach in federal vital events registration agency this is tedious
and time consuming. The other is when we see the forms registrars may forget to fill spaces
and leave them empty this leaves data incomplete.
It is also difficult to find information about users when it’s needed especially for regions,
zones, and Keble’s because they don’t have access to any automated system. Data is not well
organized in those areas difficult to analyse statistically. To summarise this system have
database but it is not distributed to branch offices because of this several problems occur.
10
To give printed certificate for users.
To enable actors view, update vital event information.
Create more accessible database in every stage.
11
1.7 Significance of the project
The significance of the project would be:-
For the employees that work in every stage of registration:-
It can facilitate the vital event registration system by changing it to more automated
system.
It transmits data quicker than the existing system.
Help to avoid errors on registering forms of data.
Effective and efficient data collection.
Effectively manage data statistically.
For government:-
Government can easily perform national census and categorize population into
different group.
Government can easily find out why some vital events are occurring more frequently
in some places and also recommends the solution.
Helps in designing appropriate policy by providing reasonable statistical data.
Use as evidence in many areas like citizenship, courts, and to eliminate things that are
done arbitrarily like early marriage etc.
Provides a secure exchange of vital and statistical information.
For end users:-
Peoples can ask their rights using the registered data as evidence.
For example:-
To ask for Keble id card
To ask citizenship
To ask government different types of infrastructures.
To use it as evidence in courts. etc
12
Specifically:-
CPU with 2.20GHZ capacity
8GB RAM
Hard disk with 424GB
13
Open –source
Security
Easy to develop
Client side language, HTML, CSS, JavaScript
1.9 Methodology
The reason why we selected object oriented system development is because it has the
following advantages.
Interview: We used interview as one of the major data collection methods. During
the interview we have got different necessary information from the vital event
registration offices.
Observation: in order to get better information about the system we have got through
the vital event registration process.
14
Document Analysis: we have analyzed different documents and brochure from the
East Gojjam vital event registration office.
Internet: Internet helps us to see the available samples and to download different
types of tutorials which help us in developing the system.
Does management support the project? The vital event registration office
employees made a strong commitment to cooperate with the project team because
they want to eliminate the manual system once and for all. They give us necessary
information and resource about the existing system. All these shows that their
willingness to the success of the new system.
For users: The system is operationally feasible as it is very easy for the End users to
operate it. It only needs to give some basic trainings about computer system.
15
equipment’s, hardware and other infrastructures. Therefore, our system will be acceptable,
economically towards solving problems.
The system that we are going to develop has many tangible and intangible benefits for the
employees of FDRE vital events registration agency.
Tangible benefits
Reduces cost for printing and distributing registration papers.
Reduce cost for transporting registration papers from one stage to another.
Intangible benefits
High user satisfaction.
Reduces operation time
Time to view events
Time to update events
Time to give printed certificate to the users.etc
16
Front-end selection:
It must have a graphical user interface that assists employees that do not have IT
knowledge.
Must be according to the organization requirement and the business rule.
Must provide excellent reporting features with good printing support.
Platform independent.
Easy to debug and maintain.
Front end must support some back end like Mysql
According to the above stated features we select Java script, HTML and CSS as the front-end
for developing our project.
Back-end Selected:
Multiple user support.
Efficient data handling.
Provide efficient security system.
Efficient data retrieval and maintenance.
Operating System compatible.
Easy to install.
Easy to debug and maintain.
Easy to connect with the Front-end.
According to above stated features we selected Mysql, PHP as the backend. And to
implement the automated system there must be network infrastructure with in different
offices of the vital event registration and one dedicated server.
17
Chapter two
2. System analysis
For peoples that live out of Ethiopia there are organizations that are responsible for
registration of vital events like (defence ministry of Ethiopia, foreign ministry of Ethiopia and
Ethiopian sea transportation and logistics service organization) this organization register vital
events and send to federal vital event registration agency[7].
In Ethiopia there are four vital events that are being registered those are (birth, death,
marriage, divorce). Child birth is registered 90 days after the baby is born and (death,
marriage and divorce) are registered 30 days after they happen [7].
If someone wants to register vital events he or she needs to have Keble identity card and if it
is birth event the parents of the child should appear physically to the registrars and get
registered. If parents are not alive or cannot go to the registrars because of work or other
reasons the person who is responsible for the child must appear and register but he or she
should have delegationpaperfrom courts.
When marriage is registered they must have four witnesses two on behalf of female and two
on behalfthen they bring three photos for the certificate. The users must pay to get vital event
18
registration certificate. For the birth and marriage certificate users pay 35 birr and 25 birr
and10 birr for divorce and death respectively.
Courts: - this system is useful for courts by giving good evidences for the
accusations. For example in divorce cases, in decision of fatherhood, in the early
marriage cases. It can also used as evidence to decide whether someone has to go to
jail or not because if a person is under eighteen years of age he/she cannot go to jail.
19
Health centers: -are also users of this system. They give birth and death certificate to
the peoples so that theycan register the events. They can also view the registered
information for various purposes.
Kebele offices: -those offices have responsibility to register the vital events that occur
within the Keble.
20
2.2.2 Non functional requirements
Nonfunctional requirement is a requirement that specifies criteria that can be used to measure
the quality of a system, rather than specific behaviours. This should be compatible with
functional requirements that define specific behaviour or functions.
In general, functional requirements define what a system is supposed to do whereas non-
functional requirements define how a system is supposed to be. Non-functional requirements
are often called qualities of a system. Other terms for non-functional requirements are
constraints, quality attributes, quality goals and quality of service requirements[3].
Qualities that are non-functional requirements are the following:
Performance
Performance is characterized by the amount of task that are accomplished by asystem
withingiven time and resources used.
Good performance may involve one or more of the following characteristics:
Short response time for a given task
High efficiency
High availabilitymeans that the system must stay up 24 hours a day within 7 days in a
week.
Highdata transmissionrate
So to improve the performance of the system that we are going to develop we will use the
following methods:-
Installing our system on multiple servers
We use high capacity processors
Improving bandwidthto make short response time
Security
In order to make the system safe from unauthorized users the system used a log in account to
differentiate authorized users from unauthorized users of the system. This enables the system
to verify who has logged in.
We use two layer authentication (user name, password)
We restrict the privilege of users for example: - regional vital event registration
office employees must access only their regions data.
The federal vital event registration agency employees and statistician from
statistics agency access the whole database.
21
We used also session to restrict users from accessing page without their
privilegeso we will give session time that it will expire after the time passes.
We protect the system from access of external intruders by using password
encryption methods like SHAL etc
Usability
Usability often refers to howsystem iseasyor cleartointeract with users. The system is be easy
to learn, easy to operate with the existing stuff.
It also includes the following points:-
Modifiability
The system that we develop is easy to modify by its users if it is necessary.
22
2.2.2. Technical requirement
The technical requirement of the system:
Business rule are principles, requirements and polices that must be fulfilled and obligated in
order the system will function properly and effectively.
The business rules that must be considered for this project are described below.
BR2: The person who wants to register the vital event they should appear physically in the
Keble registrar offices.
BR3: the vital event information’s should be registered on the forms without any error.
BR4: the registrars update events with the order of the courts
BR5: the registrar must assure the correctness of the registered information by showing to the
users.
BR6: after reading the registered information the user must sign on it.
BR7: the vital events should be registered with working language of the region that event
happens and with Amharic language.
BR8: the registrar must also sign on registration papers after assuring its correctness.
BR9: the certificate is given to the user after they pay the service payment.
23
BR10: The registrar should keep theconfidentiality of the vital eventinformation.
BR11: every employee in every stage access the system according to their privilege
Use case: A use case describes a sequence of actions that provide a measurable value to an
actor. A use case is drawn as horizontal ellipse on a UML use case diagram.
System Administrator: a person who is going to administer system we are going to develop.
Keble officer: Is a person who has responsibility to register vital events in Keble level.
Statistician: Person who works central statistics agency that groups population according to
the calculated information.
Regional vital event registration office employees: views the registered information and
zones that are under its administration and send feed back if any problem on forms.
Zonal vital event registration office employees: views the registered information and send
feed back if any problem on forms to the kebele registrars.
Woreda vital event registration office employees: - views the registered information and
send feed back if any problem on forms to the kebele registrars.
24
2.3.1.2 Use case identification
Table 1: Use case identification
25
Login UC23
A system use case model is composed of a use case diagram and the accompanying
documentation describing the use cases, actors, and associations. The main difference
between an essential use case and a system use case is that in the system use case you
include high-level implementation decisions.
26
register woreda
register city
register kebele
woreda officer
zonal officers
view events
count divorce
update event
count birth
«extends»«extends»
view report
count events
«extends»
«extends»
generete report
register events statician
count marriage
fedreral officer
count death
view feedback
send feedback
give printed
certificate
register zone
login
kebele officer «extends»
regional officers
logout
register region
«extends»
create account
manage account
«extends» «extends»
«extends»
«extends» search account
block account
update accont
create backup
syatem adminstrator
27
2.3.2 Use case description
Table 2: Use case description and actors
28
view events
view report
generate report
send feedback
count vital events
logout
Zone, woreda and regional employees of login
VERA view events
generate report
count vital events
view report
send feedback
logout
29
password.
3. Click login button. [Alt: A]
4. The system provides a list of
operations. [BR11: access its own
page only]
5. The Registrar selects register
eventslink it may be birth, death,
marriage, divorce.
6. The Registrar fills and submits the
form. [BR1,BR3,BR5,BR6 and
BR7: register without error, do not
duplicate events ] [Alt: B]
7. The system receives data and prepares
it to be printed on certificate if it is
necessary.
8. The use case ends
30
Table 4: Use case description for update events
31
form. [BR4,BR5, BR6: update events
according to the order of courts and
assure the correctness of data.][Alt:
C]
8. The system receives data and prepares
it to be printed on certificate if it is
necessary.
9. The use case ends.
32
Table 5: Use case description for view events
33
saying “Invalid user name or password.”
A4: Use case continues from step 2
34
operations. [BR11: access its
own page only]
5. The actor selects generate
certificate link.
6. Retrieve necessary
information’s from the
database. [Alt: B]
7. Click on print button
8. The use case ends
35
Description: Generating report that gives general
information about the records in
database.
36
“informationdoes notexist”.
B7: System asks user toretrieve again.
B8. Use case continues from step 5
37
operations. [BR11: access its own
page only]
38
Participating Actors: Keble registrars, federal registrars,
statistician, regional officers, zone officers,
medical officer, administrator.
Basic course of action 1. The user opens the main home page
by writing the URL of the website.
2. The system display the Main Home
page
3. Actor clicks a login link
4. The user inputs user name and
password and submit [Alt: A]
5. The system validates the account and
displays the user require information.
6. The system directs to his own page
[BR11: access its own page only]
39
A6. Turn back to step 4
chek data()
check form
check user()
check if presents()
successfully login
40
registrar page event registration form event registration form
kebele registrar
<<UI>> <<UI>> <<controler> database
<<actor>>
>
Click on register
event link()
display()
is valid()
41
kebele registrar registrar page update form update form database
<<actor>> <<UI>> <<UI>> <<controler>>
Click on update
events link
display()
is valid()
search()
check if presents()
view events
is valid
update()
check data()
42
statistician page calculate size form calculate pop size
statistician
<<UI>> <<UI>> <<controler>> database
<<actor>>
Click on calculate
pop size link()
display()
Click on calculate
button()
calculate()
calculate()
display result()
43
kebele registrar view event form view form
<<actor>> <<UI>> <<controler>> database
check eventID()
check if valid()
search event()
check if presents()
view event
44
system administrator admin page create account form create account form
<<actor>> <<UI>> <<UI>> <<controler>> database
Click on create
account link()
display()
is valid()
Add user()
Check if
not
successfully added presents
45
enter user name and password
Check input
display invalid input
NO
YES
display registrar page
YES
Check input
46
successfully updated
YES
Check
enter user name and password input
no
47
enter user name and password
NO
48
enter user name and password
Check
un&pas NO invalid input
YES
display actors page
Check YES
event
49
enter user name and password
Checkun
NO
&pas invalid input
YES
50
Administrator Account
-AID -User name
-Aname -Password
-Afname 1 1* -status
-Role
+Manage account()
+create account()
+update account()
+block account() 1
+search ()
+add custemer()
1 1
1 1
zone officer
1 -zofID worreda officer
kebele officer
Federal officer 1 -zid
Regional officer -wofid
-FID -Rid
-officerID -wID
-fname -RID
1 -kid
-lname -RegofID
-fname -wname
-fname -lname -wlname
-place -rename
statistician -lname +View event() +generate report()
-rfname
-SID +register event ()
+register events() +sendfeedback() +view report() 1
-Sname +view event()
+update events() +view events() +view report() +count events() 1* kebele
+view events() +send feedback() +generate
-Sfname +update event() +view events()
+generate report() +view report() report() 1 -kid
+view event() +()
+print certificate() +generate report() 1 1 1 1 -Wid
+generate report() +generate report()
+() 1
+calculate pop size() 1 +print certificate()
+view feedback() 1 1* -kname
+count events() +view feedback()
+view report()
+view report()
+view report() 1* 1 1*
1 1 1 1
1 woreda
-Wid
-Zid
-wname 1
1* 1* 1*
Zone 1
1* Events 1* -Zid 1* 1* city
-RID
Divorce
-EID
-SID
1* 1* 1* -Zname
-cityid
«inherits» -wid
-file no -kregID 1* Feedback 1 1* -cname
-divorce date -Ename 1* -FeID
-divorce reason -region -Date 1*
-woreda
1* 1* Region
-DVID -sender
-Mid -zone -feedback -RID
1* -Rname
«inherits»
1
1 1*
«inherits» «inherits» 1*
1
Marriage Death
1
-brname -DID
Birth -educational status
-grname
-previous mar sta -BID -work position
-ceremony type -bname 1 1 -nationality
-date 1* 1 -bfname -BID
-BID -blname
-MID -wieght
-nationality
51
Chapter three
3. System Design
System design is the transformation of the analysis model into a system design model.
System design is the first part to get into the solution domain in a software development.
System analysis transform the analysis model into the design model that takes into account
the non-functional requirements and constraints described in the problem statement and
requirement analysis. The purpose of designing is to show the direction how the system is
built and to obtain clear and enough information needed to drive the actual implementation of
the system. The objectives of design are to model the system with high quality.
Implementing of high quality system depend on the nature of design created by the designer.
If one wants to change to the system after it has been put in to operation depends on the
quality of the system design.
Systems design is the process of defining the architecture, modules, interfaces, and data for a
system to satisfy specified requirements. Systems design could be seen as the application of
systems theory to product development.
52
Administrator Account
-AID : int -User name : char
-Aname : char -Password : int
-Afname : char 1 1* -status : char
-Role : char
+Manage account()
+create account()
+update account()
+block account() 1
+search ()
+add custemer()
1 1
1 1
zone officer
1 -zofID : int worreda officer
Federal officer 1 -zid : int
kebele officer Regional officer -wofid : int
-FID : int -Rid : int -wID : int
-officerID : int -RID : int
1 -kid : int
-fname : char
-RegofID : int
-fname : char -wname : char
-lname : char -lname : char -wlname : char
-fname : char -rename : char
statistician -place : char +View event() +generate report()
-lname : char -rfname : char
-SID : int +register events() +sendfeedback() +view report() 1
-Sname : char
+register event ()
+update events()
+view events() +view report() +count events() 1* kebele
+view event() +send feedback() +generate
-Sfname : char +view events() +view events()
+update event()
+generate report()
+view report() report() 1 -kid : int
+view event() +generate report() +generate report() 1 1 1 1 -Wid : int
+generate report() +print certificate()
+print certificate()
+calculate pop size() 1 +view feedback()
+view feedback() 1 1 1* -kname : char
+count events() +view report()
+view report()
+view report() 1* 1 1*
1 1 1 1
1 woreda
-Wid : int
-Zid : int
-wname : char 1
1* 1* 1*
Zone 1
1* Events 1* -Zid : int 1* 1* city
-RID : int
Divorce
-EID : int
1* 1* 1* -Zname : char
-cityid : int
«inherits» -SID : int -wid : int
-file no : int -kregID : int 1* Feedback 1 1* -cname : char
-divorce date : char -Ename : char 1*-FeID : int
-divorce reason : char -region : char -Date : Date 1*
-woreda : char
1* 1* -sender : char Region
-DVID : int
-Mid : int -zone : char -feedback : char -RID : int
1* -Rname : char
«inherits»
1
1 1*
«inherits» «inherits» 1*
1
Marriage Death
1
-hname : char -DID : int
Birth -educational status : char
-hname : char
-previous mar sta : char -BID : int -work position : char
-ceremony type : char -bname : char 1 1 -nationality : char
-date : Date 1* 1 -bfname : char -BID : int
-BID : int -blname : char
-MID : int -wieght : char
-nationality : char
53
3.2. Database design
A physical database model shows all table structures, including column name, column data
type, column constraints, primary key, foreign key, and relationships between tables.
54
Birth place Varchar(20)
sex char
Nationality Varchar(20)
55
3.1. User interface design
56
3.3 system architecture
block account
woreda
update account
FDRE Vital Event
kebele registrar page Registration system
Database
register kebele
update events
view events
generate report
statistician page
register events
view report
57
Chapter four
4.1. Implementation
Implementation in the system includes implementing the attributes and methods of each
object and integrating all the objects in the system, to function as a single system the
implementation activity fills the gap between the detailed objects designed model and a
complete set of source code file that is compiled together.[8]
58
$sql="select * from account where username='$un' and
password='$pass'";
$matchfound=mysql_query($sql);
if($row=mysql_fetch_assoc($matchfound))
{
$uid=$row["uid"];
$un=$row["username"];
$pw=sha1($row["password"]);
$status=$row["status"];
//user
$sqll="select * from user where uid='$uid'";
$matchfound1=mysql_query($sqll,$con);
if($row=mysql_fetch_assoc($matchfound1))
{
$uid=$row["uid"];
$fname=$row["ufname"];
$mname=$row["umname"];
$lname=$row["ulname"];
$mobile=$row["mobile"];
$sex=$row["sex"];
$role=$row["role"];
$photo=$row["photo"];
$email=$row["email"];
}//session
$fullname=$fname." ".$mname." ".$lname;
$_SESSION['fullname']=$fullname;
$_SESSION['sun']=$un;
$_SESSION['spw']=$pw;
$_SESSION['srole']=$role;
59
$_SESSION['uid']=$uid;
$_SESSION['sphoto']=$photo;
60
echo "<script>alert('your account blocked
contact adminstrator')</script>";
}
}
else
echo"<script>alert('Invalid username or password')</script>";
}
else
{
echo "Invalid username or password";
header("location:home.php");
}
}
?>
session_start();
include("connection.php");
?><html>
<head>
</head>
<body id="bockground">
<?php
if(isset($_SESSION['sun'])&&isset($_SESSION['spw']))
61
$id=$_SESSION['uid'];
$record=mysql_query($sql,$con);
if(mysql_num_rows($record)>0)
while($row=mysql_fetch_array($record))
$nation=$row["nationality"];
$region=$row["region"];
$zone=$row["zone"];
$woreda=$row["woreda"];
$city=$row["city"];
$kebele=$row["kebele"];
}} else
</div><div id="divNav">
<tr><td><div id="divSideContentLeft">
<?php require("kebelemenu2.php");
?></div></td><td>
<?php
if(isset($_POST['register']))
{ $id=$_POST['kooficer'];
62
$babyname=$_POST['babyname'];
$fathername=$_POST['fathername'];
$gfather=$_POST['gfather'];
$mathername=$_POST['mathername'];
$mathermname=$_POST['gmaname'];
$sex=$_POST['sex'];
$bdate=$_POST['bdate'];
$nation=$_POST['nation'];
$regdate=$_POST['regdate'];
$region=$_POST['region'];
$zone=$_POST['zone'];
$city=$_POST['city'];
$woreda=$_POST['woreda'];
$kebele=$_POST['kebele'];
$birthstatus=$_POST['birthstatus'];
$sql="INSERT INTO
birthtable(fname,mname,lname,motherfname,mothermname,sex,birth
date,nationality,registrationdate,birthregion,birthzone,birthc
ity,birthworeda,birthkebele,uid,statusformrg,birthstatus)
VALUES('$babyname','$fathername','$gfather','$mathername','$ma
thermname','$sex','$bdate','$nation','$regdate','$region','$zo
ne','$city','$woreda','$kebele','$id','unmarried','born')";
$res= mysql_query($sql,$con);
if(!$res)
else
63
{ echo "<font size='5' color=green>born baby
successfully registered!!!</font>";
}} ?>
<br/><br/><br/>
<fieldset style="border-radius:5px;">
<table><tr><td>baby name</td><td>
</td></tr><tr><td> father_name:</td><td>
</td></tr><tr><td>grandfather</td><td>
</td></tr><tr><td> grand
mother_name</td><td>
64
gray;padding:2px; width:230px;"
required=""></td></tr><tr><td>sex:</td><td>
<option>female </option>
<option>male</option></select></td></tr><tr><td>birth
date</td><td>
</td></tr><tr><td>nationality:</td><td>
</tr><tr><td>region:</td><td>
</tr><tr><td>zone:</td><td>
</tr><tr><td>woreda:</td><td>
</tr><tr><td>city:</td><td>
65
width:230px;" required readonly value="<?php echo $city;?>"
></td>
</tr><tr><td>kebele:</td><td>
</tr><tr><td>registration date:</td><td>
</td></tr><tr><td>birthstatus:</td><td>
</td></tr></table></form></fieldset></div></td></tr>
66
Chapter five
5. Testing
After unit testing, the FDRE vital events information management system is also tested
whether every unit is integrated to each other.
67
Figure 18 sample test for create account
68
Chapter six
6.1. Conclusion
The FDRE vital event registration information management system is comprehensive vital
event registration information management system software. It is designed for better
interaction between citizens, registrars, statistician, and other stakeholders. This management
system handles all the requirements for vital event registration system. The system can be
accessed from anywhere which enables the citizens, registrars, statistician, and other users of
the system can contact with each other at all times easily.
6.2. Recommendations
The system we have developed is an automated vital event registration information
management system it needs to train users how to interact with the system. So, we
recommend the system should run by the responsible and trained user. We also recommend
the system hardware and software parts should be kept in secured condition.
69
Appendix I
APPROVAL OF ADVISOR AND EXAMINERS
This project has been submitted for examination with in the approval of the
project advisor.
This project has been examined with our approval as the project examiner.
Examiner Name:
1. ____________________ signature______________
2. ____________________Signature______________
3. _____________________Signature_____________
70
References
[1]. Technical Feasibility, Economic Feasibility, Operational Feasibility, and Legal
Feasibility:http://www.freetutes.com/systemanalysis/sa3-technical-economic-operational-
legal.html
[2]. Definition of functional requirement: http://www.ops.fhwa.dot.gov/functional-
requirement
[3] Definition of functional requirement & non-functional requirement:
https://reqtest.com/requirements-blog/functional-vs-non-functional-requirements/
71