1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Bad White [126]
2 years ago
14

Overview In this project you need to design and implement an Emergency Room Patients Healthcare Management System (ERPHMS) that

uses stacks, queues, linked lists, and binary search tree (in addition you can use all what you need from what you have learned in this course).
Problem definition: The system should be able to keep the patient’s records, visits, appointments, diagnostics, treatments, observations, Physicians records, etc. It should allow you to

1. Add new patient

2. Add new physician record to a patient

3. Find patient by name

4. Find patient by birth date

5. Find the patients visit history

6. Display all patients

7. Print invoice that includes details of the visit and cost of each item done

8. Exit

Complete the code in C++, please do not make a code that does not follow the menu choices.

Menu code:

#include

using namespace::std;

class ERPHMS {
private:
int patient_records;
int visits;
int appointments;
int diagnostics;
int treatments;
int observation;
int physician_records;

public:
void add_patient();
void new_physician_history();
void find_patient_name();
void find_patient_birth();
void patient_history();
void patient_registered();
void display_invoice();
void exit();
};

int main()
{
ERPHMS check;
int choice;

cout << endl << "----------------------------------------------------------" << endl;
cout << "This is an Emergency Room Patients Health Managment system " << endl;
cout << "-----------------------------------------------------------" << endl;


cout << "1:Add new patient" << endl;
cout << "2:Add new physician record to a patient" << endl;
cout << "3:Find patient by name" << endl;
cout << "4:Find patient by birth date" << endl;
cout << "5:Find the patients visit history" << endl;
cout << "6:Display all patients" << endl;
cout << "7:Print invoice that includes details of the visit and cost of each item done" << endl;
cout << "8:Exit" << endl << endl;
cout << "Select an option: ";
cin >> choice;

switch (choice)
{
case 1:
check.add_patient();
break;
case 2:
check.new_physician_history();
case 3:
check.find_patient_name();
case 4:
check.find_patient_birth();
case 5:
check.patient_history();
case 6:
check.patient_registered();
case 7:
check.display_invoice();
case 8:
check.exit();
}
}
Computers and Technology
1 answer:
notka56 [123]2 years ago
3 0

Answer:

Overview In this project you need to design and implement an Emergency Room Patients Healthcare Management System (ERPHMS) that uses stacks, queues, linked lists, and binary search tree ( in addition you can use all what you need from what you have learned in this course ) The system should be able to keep the patient’s records, visits, turns, diagnostics, treatments, observations, Physicians records, etc. It should allow you to

Explanation:

You might be interested in
What is the name of the mvost powerful battery
sergij07 [2.7K]
Optima battery because it is stronger than a factory battery
6 0
4 years ago
Hello safiya77 this is for you
Ray Of Light [21]
Hello astropiggy!
Feel free to ask any question!
I’ll try my best to answer them!
5 0
2 years ago
Which of formula contains an absolute cell reference?
svet-max [94.6K]
Which formula contains an absolute cell reference? =SUM($B$7:$B$9)
3 0
3 years ago
A palindrome is a string that reads the same both forward and backward. For example, the string "madam" is a palindrome. Write a
MatroZZZ [7]

// this function will return 1 if the string sent in arguments is palindrome //else it will return 0

int palindrome(int start_of_string, int end_of_string, string &strr)

{

// base case to check if the string is not empty

if (start_of_string>= end_of_string)

   return 1;

if (strr[start_of_string] != strr[end_of_string])

    return 0;

// recursive call

return palindrome(++start_of_string, --end_of_string, strr);    

}

8 0
4 years ago
Run the following program which contains a method called findLetter that takes a letter and a text as parameters and uses a loop
Margarita [4]
他們會會覺得自責自責自己好像沒有關係,他們都沒有關係。他們
6 0
3 years ago
Other questions:
  • What is the use of word art?
    10·1 answer
  • What steps do you need to take to register
    14·1 answer
  • Why is it not advisable to mark tlc plates with a pen to indicate?
    12·1 answer
  • What property of semi-metals is useful in the computer industry?
    7·1 answer
  • LeonRoyal15 if anyone plays fortnite
    10·2 answers
  • What is the final value for X ?<br><br> x= 1<br><br> x=13<br><br> x= x+3<br><br> x=0
    9·1 answer
  • Blair is the director of information systems at a marketing firm. She creates a set of guidelines that dictate everything an emp
    12·1 answer
  • Which of the examples is part of client-side code?
    12·1 answer
  • What steps should be taken to dispose of and recycle plastic?
    14·1 answer
  • 7.2.4 Area of Triangle HELP PLEASE!! (JAVA SCRIPT) I WILL WAIT FOR THE SOLUTION.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!