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(n) ________ is often developed by identifying a form or report that a user needs on a regular basis.
MariettaO [177]

A <u>user view</u> is often developed by identifying a form or report that an end user needs on a regular basis.

<h3>What is a database?</h3>

A database can be defined as an organized and structured collection of factual data that are stored on a computer system as a backup and are usually accessed electronically.

In database management system (DBMS), a <u>user view</u> is often developed by a software developer through an identification of a form or report that an end user needs on a regular basis.

Read more on data here: brainly.com/question/13179611

#SPJ1

4 0
2 years ago
A good first step to understanding any kind of text is to :
Vitek1552 [10]

Answer:

find the main idea

Explanation:

6 0
3 years ago
Authenticating information can be something a user knows, like a password; something a user has, like a smart card; or something
xenn [34]

Answer:. True

Explanation:

yes it is true in my opinion

8 0
2 years ago
Using Amdahl’s Law, calculate the speedup gain of an application that has a 60 percent parallel component for (a) two processing
Nina [5.8K]

Answer:

a) Speedup gain is 1.428 times.

b) Speedup gain is 1.81 times.

Explanation:

in order to calculate the speedup again of an application that has a 60 percent parallel component using Anklahls Law is speedup which state that:

t=\frac{1 }{(S + (1- S)/N) }

Where S is the portion of the application that must be performed serially, and N is the number of processing cores.

(a) For N = 2 processing cores, and a 60%, then S = 40% or 0.4

Thus, the speedup is:

t = \frac{1}{(0.4 + (1-0.4)/2)} =1428671

Speedup gain is 1.428 times.

(b) For N = 4 processing cores and a 60%, then S = 40% or 0.4

Thus, the speedup is:

t=\frac{1}{(0.4 + (1-0.4)/4)} = 1.8181

Speedup gain is 1.81 times.

8 0
3 years ago
In 2000, operating a basic internet application cost businesses approximately _____ per month. In mid-2016, operating the same a
anyanavicka [17]

Answer:

In 2000, a basic internet application cost businesses approximately $150,000 per month. In mid-2016, operating the same application in Amazon's cloud cost approximately $1,000 per month.

Explanation:

The role of cloud services cannot be overemphasized. Providing Infrastructure as a service (IaaS), Platform as a service (PaaS) and Software as a service (SaaS) cost a lot as there were very few cloud service providers and most services were yet to be integrated to the cloud.

But as at 2016, the cost on applications dropped as we have experienced an exponential growth in cloud services and applications, we now have Internet of Things (IoT) and other cloud infrastructure.

4 0
3 years ago
Other questions:
  • This is a list of commands that tell your computer what to do. A icon B FAT C GUI D menu
    5·2 answers
  • What does zooming do? A. Changes your view of the Frame Editor to be closer or farther away B. Changes your view of the Event Ed
    12·1 answer
  • Which property is assigned to a file by the operating system?
    13·1 answer
  • g Design a Boolean function called isPrime, that accepts an integer as an argument and returns True if the argument is a prime n
    14·1 answer
  • Which of the following is the correct financial function that returns the periodic payment for a loan?
    10·1 answer
  • private members of a class are accessible only from _____________ of the same class or from their friends
    12·1 answer
  • I need help with this line of code:
    5·1 answer
  • The most important preinstalled software is the ______ software that allows you to use the computer the first time you turn it o
    7·1 answer
  • Web résumés allow you to include extra graphics and images that you would not include in a traditional résumé. Please select the
    12·1 answer
  • Do you think that the TV set has outlived its utility as a household appliance? Research how convergence with internet technolog
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!