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
A skier provides what in a landscape photograph of a mountain?
liraira [26]
I think it may be D but all of them sound pretty important to get the perfect photo.  I tried researching and each website told me different.<span />
7 0
3 years ago
Read 2 more answers
What is syntax?
kkurt [141]

Answer:

A

Explanation:

5 0
3 years ago
Ted has $55.00 in his pocket. Which purchase will he be able to pay for with cash?
Alex73 [517]
You just need a little bit of math to solve this. Add up the items and see which one would be equal to $55.00 or less. 

A = $59.90 so this is not the answer
B = $60.94 so this is not the answer
C = $55.99 so this is not the answer

D = $50.97 

D is the correct answer.
3 0
3 years ago
Read 2 more answers
Who were 4 major people that attended the constitutional convention
postnew [5]
Alexander Hamilton, George Washington, James Madison, and Benjamin Franklin
7 0
4 years ago
When an entrepreneur has three employees at a busy and growing software company, what is the primary responsibility of the entre
polet [3.4K]

To direct the employees and respond to any calls/emails regarding a problem or upgrade that should be changed/fixed. (I don't know if that's what you wanted)

4 0
3 years ago
Read 2 more answers
Other questions:
  • What are three ways you cite evedince
    5·2 answers
  • In 1971, Intel created and marketed the first microprocessor chip, called the Intel 4004. What was significant about this invent
    7·1 answer
  • A provides legal protection for something an individual has created
    12·1 answer
  • With a presentation open, you can hover your mouse pointer over a design theme on the Design tab, and PowerPoint will display th
    14·1 answer
  • Write a program that simulates flipping a coin to make decisions. The input is how many decisions are needed, and the output is
    14·1 answer
  • Have all of my coins because i will delete acount there will be part 2, 3 , 4 ,5,6,7,8
    15·2 answers
  • Write a program that repeatedly reads in integers until a negative integer is read. The program keeps track of the largest integ
    9·1 answer
  • Which of the following is an example of phishing attack? csp
    8·1 answer
  • What is meant by the term text?
    14·2 answers
  • What type of e-mail typically lures users to sites or asks for sensitive information?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!