Figure 3.1Doctor Report input layout
3.4.2 Output Layout
Table 3.1 Output Layout
Report_ID | Date_of_Medical_ Report | Doctor_in _charge | Surname_of patient | Othernames _of patient | Gender | Diagnosis | Present_\ Condition _of_patient | Drugs _prescribed | Date_discharged |
3.4.3 Algorithm
Step 1: Start
Step 2: login
Step 3: if login is okay goto step 4 else goto step 2
Step 4: Display main menu
Step 5: Input choice
Step 6: If choice is register doctor report goto step 7 else goto step 9
Step 7: Input report details
Step 8: Save to database
Step 9: If choice is view/update doctor report goto step 10 else goto step 14
Step 10: Input report ID
Step 11: Display report record
Step 12: Update changes
Step 13: Save to database
Step 14: If choice is database records goto step 15 else step 17
Step 15: Display database records
Step 16: Query database records
Step 17: If choice is quit goto step 18 else goto step 4
Step 18: Stop
3.4.4 Program Flowchart