MAIN PROGRAM FLOWCHART
START
1. Doctor
2. Patient
3. Exit
ch=ENTER CHOICE
(1,2,3)
If ch==1 YES D
NO
YES
If ch==2 P
NO
YES
if ch==3
STOP
Print “Invalid Choice”
DOCTOR BASED MODULE FLOWCHART
YES
D If ch==1 D1
NO
YES
START
If ch==2 D2
==
NO
[Link] Doctor Record YES
[Link] Record If ch==3 D3
[Link] Record
[Link] Record NO
[Link] Record YES
If ch==4 D4
[Link]
NO
Ch = Enter choice (1,2,3,4,5,6) YES
If ch==5 D5
NO
YES
If ch==6 STOP
NO
Print ‘’Invalid Choice”
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 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 If ch==1 P1
NO
YES
START
If ch==2 P2
NO
[Link] Patient Record YES
[Link] Patient Record If ch==3 P3
[Link] Patient Record
[Link] Patient Record NO
[Link] Patient Record YES
If ch==4 P4
[Link]
NO
Ch = Enter choice (1,2,3,4,5,6) YES
If ch==5 P5
NO
YES
If ch==6 STOP
NO
Print ‘’Invalid Choice”
FLOWCHART FOR ADDING PATIENT 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
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
Print “Patient Record Updated”
FLOWCHART FOR SEARCHING PATIENT RECORD
P4
Enter Patient Id
Display Patient Record
FLOWCHART FOR DELETING PATIENT RECORD
P5
Enter Patient Id
Delete Patient Record