Dental Management System
Dental Management System
SUBMITTED BY : SUBMITTED TO :
Mrs. Preeti Taneja
2
ACKNOWLEDGMENT
3
PROJECT ANALYSIS PROJECT ON DENTAL MANAGEMENT SYSTEM
INTRODUCTION
PROPOSED SYSTEM
4
to keep pace with time, to bring about the best result without
malfunctioning and greater efficiency so to replace the
unending heaps of flies with a much sophisticated hard disk of
the computer.
5
SYSTEM DEVELOPMENT LIFE CYCLE (
(SDLC)
6
For example, initial project activities might be
designated as request, requirements-definition, and planning
phases, or initiation, concept-development, and planning
phases. End users of the system under development should be
involved in reviewing the output of each phase to ensure the
system is being built to deliver the needed functionality.
INITIATION PHASE
7
Careful oversight is required to ensure projects support
strategic business objectives and resources are effectively
implemented into an organization's enterprise architecture.
The initiation phase begins when an opportunity to add,
improve, or correct a system is identified and formally
requested through the presentation of a business case. The
business case should, at a minimum, describe a proposal’s
purpose, identify expected benefits, and explain how the
proposed system supports one of the organization’s business
strategies. The business case should also identify alternative
solutions and detail as many informational, functional, and
network requirements as possible.
8
potential technical solutions within the context of the
business need.
It may include several trade
trade-off
off decisions such as the
decision to use COTS software products as opposed to
developing custom software or reusing software
components, or the decision to use an incremental
delivery versus a complete, onetime deployment.
Construction of executable prototypes is encouraged to
evaluate technology to support the business process. The
System Boundary Document serves as an important reference
document to support the Information Technology Project
Request (ITPR) process.
pr
The ITPR must be approved by the State CIO before the
project can move forward.
9
PLANNING PHASE
10
alevel of detail sufficient for systems design to proceed.
They need to be measurable, testable, and relate to the
business need or opportunity identified in the Initiation
Phase. The requirements that will be used to determine
acceptance of the system are captured in the Test and
Evaluation MasterPlan.
DESIGN PHASE
11
link larger systems and connections. Contemporary design
techniques often use prototyping tools that build mock-up
designs of items such as application screens, database
layouts, and system architectures. End users, designers,
developers, database managers, and network administrators
should review and refine the prototyped designs in an
iterative process until they agree on an acceptable design.
Audit, security, and quality assurance personnel should be
involved in the review and approval process. During this
phase, the system is designed to satisfy the functional
requirements identified in the previous phase. Since problems
in the design phase could be very expensive to solve in the
later stage of the software development, a variety of elements
are considered in the design to mitigate risk. These include:
12
Manager begins development of the Implementation Plan,
Operations and Maintenance Manual, and the Training Plan.
DEVELOPMENT PHASE
13
system. OIT Security staff assess the system security and
issue a security certification and accreditation prior to
installation/implementation.
IMPLEMENTATION PHASE
14
and needed system modifications are incorporated. Operations
continue as long as the system can be effectively adapted to
respond to the organization’s needs. When modifications or
changes are identified, the system may re-enter the planning
phase.
15
START
FLOW CHART
IMPORT SYSIMPORT
MYSQL.CONNECTOR AS SQL
CREATESOURCE
DATABASE
CODE‘DENTAL
MANAGEMENT SYSTEM’
16
INPUT “ENTER
YOUR OPTION”
IF
OPTION
== 1:
IF
OPTIO
N == 2:
17
PRINT "EMPLOYEE DETAILS : "
INPUT'EMPLOYEE_NAME : '
INPUT'PROFFESSION : '
INPUT'SALARY AMOUNT : '
INPUT'ADDRESS : '
STOP
18
SOURCE CODE
import sys
import mysql.connector as sql
conn=sql.connect(host='localhost',user='root',passwd='manager'
)
cur=conn.cursor()
cur.execute("create database dental_management_system")
print("Database created succefully")
conn=sql.connect(host='localhost',user='root',passwd='manager'
,database='dental_management_system')
cur.execute('create table patient_record( Patient_Name
varchar(50),
Age int(3),
Doctor_Conculted varchar(50),
Address varchar(150),
Phone_Number bigint(15))')
cur.execute('create table salary_record( Employee_Name
varchar(50),
Proffession varchar(20),
Salary_Amount varchar(9),
Address varchar(150),
Phone_Number bigint(15))')
cur.execute('create table accounts( User_Name varchar(20)
primary key, password varchar(30) unique)')
print('Tables created successfully')
conn.commit()
user=input("Enter New User Name : ")
user=user.upper()
passwrd=input("Enter New Password : ")
passwrd=passwrd.upper()
cur.execute("insert into accounts values('" + user + "','" +
passwrd + "')")
print("ACCOUNT ADDED SUCCEFULLY")
conn.commit()
19
if conn.is_connected:
print(" Dental Management
System ")
print("1. Login")
print("2. Exit")
print()
option=int(input("Enter your choise : "))
if option==1:
print()
user=input('User Name : ')
user=user.upper()
cur.execute("select * from accounts where User_Name
like '" + user + "'")
datas=cur.fetchall()
for i in datas:
value_1=i[0]
value_2=i[1]
if user==value_1:
password=input('Password : ')
password=password.upper()
if password==value_2:
print()
print('Login succefull')
print()
print("1. Add Patients records")
print("2. Add Salary records")
print("3. Veiw Patient Detail")
print("4. Delete patient detail")
print()
choise=int(input('Enter a option : '))
if choise==1:
print()
name=input('Name : ')
name=name.upper()
age=int(input('Age : '))
20
doc=input('Doctor Consulted : ')
doc=doc.upper()
add=input('Address : ')
add=add.upper()
phone_no=int(input('Phone Number : '))
cur.execute("insert into patient_record
values('" + name + "'," + str(age) + ",'" + doc + "','" + add
+ "'," + str(phone_no) + ")")
conn.commit()
print('Record added')
if choise==2:
print()
emp_name=input( 'Employee_Name : ')
emp_name=emp_name.upper()
proffesion=input('Proffession : ')
proffesion=proffesion.upper()
salary=int(input('Salary Amount : '))
add=input('Address : ')
add=add.upper()
phone_no=input( 'Phone_Number : ')
cur.execute("insert into salary_record
values('" + emp_name + "','" + proffesion + "'," + str(salary)
+ ",'" + add + "'," + str(phone_no) + ")")
conn.commit()
print('Record added')
if choise==3:
print()
name=input('Name of the patient : ')
name=name.upper()
cur.execute("select * from patient_record
where patient_name like '" + str(name) + "'")
data=cur.fetchall()
if data!=0:
for row in data:
print()
21
print("Patient Details : ")
print()
print('Name : ',row[0])
print('Age : ',row[1])
print('Doctor consulted :
',row[2])
print('Address : ',row[3])
print('Phone Number : ',row[4])
input()
else:
print()
print("Patient Record Doesnot Exist")
if choise==4:
print()
name=input('Name of the patient : ')
name=name.upper()
cur.execute("delete from patient_record
where Patient_Name like '" + name + "'")
print('Record Deleted Succefully')
else:
print('Invalid Password')
print('Tryagain')
elif option==2:
sys.exit()
conn.commit()
input()
22
OUTPUT
OPTION – 1:
23
OPTION – 2:
24
OPTION – 3:
25
TESTING
TESTING METHODS
Software testing methods are traditionally divided into
black box testing and white box testing. These two approaches
are used to describe the point of view that a test engineer
takes when designing test cases.
26
SPECIFICATION-BASED TESTING
The black box tester has no "bonds" with the code, and a
tester's perception is very simple: a code must have bugs.
Using the principle, "Ask and you shall receive," black box
testers find bugs where programmers don't. But, on the other
hand, black box testing has been said to be "like a walk in a
dark labyrinth without a flashlight," because the tester
doesn't know how the software being tested was actually
constructed.
That's why there are situations when (1) a black box
tester writes many test cases to check something that can be
tested by only one test case, and/or (2) some parts of the
back end are not tested at all. Therefore, black box testing
has the advantage of "an unaffiliated opinion," on the one
hand, and the disadvantage of "blind exploring," on the other.
27
WHITE BOX TESTING
28
INSTALATION PROCEDURE
Pre-Requisites :-
Installation :-
I) mysql.connector
II) matplotlib.
29
3. Open the files in any python editors and run it to
start and work on the software.
CAUTION :-
30
HARDWARE AND SOFTWARE REQUIREMENTS
SOFTWARE REQUIREMENTS:
I. Windows OS
II. Python
31
BIBLIOGRAPHY
By : Praveen M Jigajinni
3. Website: https://www.w3resource.com
***
32