50% found this document useful (2 votes)
1K views

Flowchart C++ Programming of Hospital

The document outlines a process for accessing patient information and providing treatment at a healthcare facility. Staff must input their ID to access the system, then can search for a patient by name, ID number, and address to view their information. Based on whether the patient's case is emergency, has an appointment, and critical status, the system will route them to the appropriate doctor or ward for treatment and record their visit.

Uploaded by

Nur Hazimah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
50% found this document useful (2 votes)
1K views

Flowchart C++ Programming of Hospital

The document outlines a process for accessing patient information and providing treatment at a healthcare facility. Staff must input their ID to access the system, then can search for a patient by name, ID number, and address to view their information. Based on whether the patient's case is emergency, has an appointment, and critical status, the system will route them to the appropriate doctor or ward for treatment and record their visit.

Uploaded by

Nur Hazimah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Start

Input staff id

Staff False
id==12345
Access denied

True

Access granted

Display Patient's Information

Input patient's name, ic number and address

No Yes
Emer gency case?

No Has an Yes
appointment ?
Input patient's injury/illness
Switch
a Setting appointment
Treatment Given Input patient's condition
Yes
Case 1 Dr Mohammad
No
Yes Display name, room and bed
Case 2 Dr Anuar Yes Enter room and bed number, current date and time of
Input disease, treatment should be Critical ? Red zone Resuscitation ward
No number admission
Yes given and total bill
Case 3 Dr Humairah
No No
Yes
Case 4 Dr Aisya
Yes
No Display receipt; name,ic Semi critical Intermediate care Yes 1st
Yellow zone Case 1
Yes
number,treatment and total bill ward Class
Case 5 Dr Lee
No No
Yes Display name, room &
Case 6 Dr Lim
Yes 2nd Enter room & bed number, current
Case 2 date & time of
Class bed number
No admission
Yes
Case 7 No No
Dr Ravin

No
Yes 3rd
Case 3
Yes Class
Case 8 Dr Syed
No
Yes
Case 9 Dr Ahmad Yes
Non critical Observation Yes 1st
No Green zone Case 1
ward Class
Yes
Case 10 Dr Aliah
No
Display name, room
No Yes Enter room & & bed number,
Default Case 2 2nd
Default Default statement bed number current date & time
Class of admission
No
Input date of appointment Yes
Case 3 3rd
Switch No No Class
Case 1 Case 2 Default
b
Yes Yes Yes

Show date Show date Default


and time(1) and time(2) statement End

You might also like