Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Need to do: -flowchart - control statement (simplest c++) -modular programming (add function, min 4 function) -pointer -File operation (add min 1 read file &

image text in transcribed

image text in transcribed

Need to do:

-flowchart

-control statement (simplest c++)

-modular programming (add function, min 4 function)

-pointer

-File operation (add min 1 read file & 1 write file)

-array (add array except string array)

1.0 Case study KPJ Hospital Management System KPJ Hospital is a very well-known hospital for its great treatment services. However, this hospital did not have a proper hospital management system. KPJ Hospital has many patients whom come in with different ailments to get check-up done from concerned doctors. If required, they are admitted in the hospital and discharged after treatment. The main reason this Hospital Management System (HMS) is built to maintain all records of patients whom are admitted and discharged from the hospital. The main users of the system would be patients and the admins of the hospital. Firstly, in order to register the patient would have to enter details such as name, IC number, age, gender, contact number, email and membership status. Then for the admin, they would enter details of the patient under O.P.D service (outpatient department) or Emergency service. Formula Description Price before discount (RM) No of stay days * 300 Age discount Below 12 -5% Above 60 = 15% Membership discount Total price after discount (RM) Member= 3% Non-member -0% Price without discount- age discount- membership discount No of meals 5.00 (non veg) No of meals* 4.50 (veg) Total price after discount + meal charges Meal charges = No of meals type of food (vege/ non veg) Overall total price (RM) Table 1: Total price calculation formula Registration Information Nane Farru Gender Contact Membership Ne Adminly OPD Figure 1: Example of input The output of the system will include all the input from the registration and price before discount (RM), age discount, membership discount, total price after discount (RM), meal charges and overall total price (RM). The following processes are as follows: The patients will have to fill up all their personal details in the registration The admin will fill up the type of patient section before the form is being saved to the system. The admin will then have to key on the number of days patients stay to generate the Price before the discount. The patient would have to enter their age and membership status so that the amount of discount allocated can be calculated. Then the patient would also have to choose the type of meal they would have so the system can calculate the meal charges according to type of meal. Finally, the system will generate the total price. Need to do: -modular programming (add function, min 4 function) -pointer -File operation (add min I read file & I write file) array (add array except string array) 1.0 Case study KPJ Hospital Management System KPJ Hospital is a very well-known hospital for its great treatment services. However, this hospital did not have a proper hospital management system. KPJ Hospital has many patients whom come in with different ailments to get check-up done from concerned doctors. If required, they are admitted in the hospital and discharged after treatment. The main reason this Hospital Management System (HMS) is built to maintain all records of patients whom are admitted and discharged from the hospital. The main users of the system would be patients and the admins of the hospital. Firstly, in order to register the patient would have to enter details such as name, IC number, age, gender, contact number, email and membership status. Then for the admin, they would enter details of the patient under O.P.D service (outpatient department) or Emergency service. Formula Description Price before discount (RM) No of stay days * 300 Age discount Below 12 -5% Above 60 = 15% Membership discount Total price after discount (RM) Member= 3% Non-member -0% Price without discount- age discount- membership discount No of meals 5.00 (non veg) No of meals* 4.50 (veg) Total price after discount + meal charges Meal charges = No of meals type of food (vege/ non veg) Overall total price (RM) Table 1: Total price calculation formula Registration Information Nane Farru Gender Contact Membership Ne Adminly OPD Figure 1: Example of input The output of the system will include all the input from the registration and price before discount (RM), age discount, membership discount, total price after discount (RM), meal charges and overall total price (RM). The following processes are as follows: The patients will have to fill up all their personal details in the registration The admin will fill up the type of patient section before the form is being saved to the system. The admin will then have to key on the number of days patients stay to generate the Price before the discount. The patient would have to enter their age and membership status so that the amount of discount allocated can be calculated. Then the patient would also have to choose the type of meal they would have so the system can calculate the meal charges according to type of meal. Finally, the system will generate the total price. Need to do: -modular programming (add function, min 4 function) -pointer -File operation (add min I read file & I write file) array (add array except string array)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Database 10g Insider Solutions

Authors: Arun R. Kumar, John Kanagaraj, Richard Stroupe

1st Edition

0672327910, 978-0672327919

More Books

Students also viewed these Databases questions