MAIN PROGRAM FLOWCHART
START
1. Doctor
2. Patient
3. Exit
ch=ENTER CHOICE
(1,2,3)
YES D
If ch==1
NO
YES
P
If ch==2
NO
YES
if ch==3 STOP
Print “Invalid Choice” 1
DOCTOR BASED MODULE FLOWCHART
YES
D1
D If ch==1
B
2
NO
START YES
D2
If ch==2
NO
1.Add Doctor Record YES
If ch==3 D3
2.Display Record
3.Update Record NO
4.Search Record YES
If ch==4 D4
5.Delete Record
6.Exit NO
YES
D5
Ch = Enter choice (1,2,3,4,5,6)
If ch==5
NO
YES
If ch==6 STOP
NO
Print ‘’Invalid Choice”
2
FLOWCHART FOR ADDING DOCTOR RECORD
D1
Generate Doctor ID Automatically
Enter Doctor Name
Enter Doctor Degree
Enter Doctor Address
Print ‘’Record Added Successfully”
FLOWCHART FOR DISPLAY DOCTOR RECORD
D2
Display All Doctor Record
FLOWCHART FOR UPDATING DOCTOR RECORD
D3
Enter Doctor ID To Be Updated
Enter Doctor Name
Enter Doctor Degree
Enter Doctor Address
Print “Doctor Record Updated”
FLOWCHART FOR SEARCHING
B DOCTOR RECORD
D4
Enter Doctor Id
Display Doctor Record
FLOWCHART FOR DELETING DOCTOR RECORD
D5
Enter Doctor Id
Delete Doctor Record
PATIENT BASED MODULE FLOWCHART
YES
P P1
If ch==1
C
3
NO
START YES
P2
If ch==2
NO
1.Add Patient Record YES
If ch==3 P3
2.Display Patient Record
3.Update Patient Record NO
4.Search Patient Record YES
If ch==4 P4
5.Delete Patient Record
6.Exit NO
YES
P5
Ch = Enter choice (1,2,3,4,5,6)
If ch==5
NO
YES
If ch==6 STOP
NO
Print ‘’Invalid Choice”
FLOWCHART FOR ADDING PATIENT3 RECORD
P1
Generate Patient ID Automatically
Enter Patient Name
Enter Patient Age
Enter Patient Disease
Enter Patient Admit Date
Enter Patient Discharge Date
Print ‘’Record Added Successfully”
FLOWCHART FOR DISPLAY PATIENT RECORD
P2
Display All Patient Record
C
FLOWCHART FOR UPDATING PATIENT RECORD
P3
Enter Patient ID To Be Updated
Enter Patient Name
Enter Patient Age
Enter Patient Disease
Enter Patient Admit Date
Enter Patient Discharge Date
FLOWCHART FOR SEARCHING
Print “Patient PATIENT RECORD
Record Updated” C
P4
Enter Patient Id
Display Patient Record
C
FLOWCHART FOR DELETING PATIENT RECORD
P5
Enter Patient Id
Delete Patient Record