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
ASAP!!!!****** Need help!!!!
m_a_m_a [10]
I think it's right. 
<span>Text, numbers, graphics, or sound represented by discrete digits, such as 1s and 0s.</span>
6 0
3 years ago
Which of the following are true if you pay only the minimun amount each month towards your credit card bill? You will be charged
torisob [31]

Both A and B are true. Check out this link: https://www.nerdwallet.com/blog/credit-cards/minimum-payment-credit-card/

I hope this helps!

6 0
2 years ago
How people select, interpret, remember, and use information to make judgments and decisions is called __________.
Svetradugi [14.3K]

Answer: Social Cognition

Explanation: hope this helps

6 0
3 years ago
What was the original name of the Dream SMP?
Naddik [55]

Answer:

Dream Team SMP

Explanation:

7 0
1 year ago
Read 2 more answers
A single inheritance model means: * A) A class can only have one parent class (superclass) B) A class can only have one child cl
Troyanec [42]

Answer:

The answer is A)

Explanation:

In programming languages like java you can only use single inhertance meaning a class can only inherit attributes from one class. But in other languanges like C you can have multiple inhertance

6 0
3 years ago
Other questions:
  • All of the following are incentives proprietary schools use to attract a student except
    7·2 answers
  • A four-year old laptop will not boot and presents error messages on screen. You have verified with the laptop technical support
    11·1 answer
  • Choose the sentences that describe techniques of formatting text.
    12·1 answer
  • When changing the formatting of a spreadsheet to make it more readable, you should use light blue text on a bright blue backgrou
    12·1 answer
  • 350 square feet requires 1 gallon of paint. Assign gallons_paint with the amount of paint required for wall_area. Sample output
    12·1 answer
  • The hexadecimal number system uses alphabets A to F to represent values_ to _
    12·2 answers
  • A package delivery company or a cell phone company wouldn't go far if it could not deliver products smoothly and reliably. This
    15·1 answer
  • How to convert a .enw file into a .pdf without downloading any applications? (If I have to, then I will. Just please tell me.)
    14·2 answers
  • The Ocean Medallion is a wearable device that connects virtually to various devices on board a cruise ship. When a guest is wear
    14·1 answer
  • Which of the following is an example of an incremented sequence?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!