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

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

Can someone help me complete what the image is asking using the code below as reference(You can change it a bit if you want) also using stacks, queues, linked lists, and Binary Search Trees. 

 

#include<iostream>

using namespace::std;

class ERPHMS{

private:

int patient;

int visits; int turns;

int diagnostics;

int treatments;

int observation;

public:

void add_patient();

void new_physician_history();

void find_patient();

void find_pyhsician();

void patient_history();

void patient_registered();

void display_invoice();

};

int main() {

ERPHMS check; int choice;

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

cout<<"1:For adding patient select"<<endl;

cout<<"2:For new physician History"<<endl;

cout<<"3:For finding patient"<<endl;

cout<<"4:For finding physician"<<endl;

cout<<"5:For patient History"<<endl;

cout<<"6:For patient registered"<<endl;

cout<<"7:To display Invoice"<<endl<<endl;

cout<<"Please pick the service : ";

cin>>choice;

switch(choice) {

case 1: check.add_patient(); break;

case 2: check.new_physician_history();

case 3: check.find_patient();

case 4: check.find_pyhsician();

case 5: check.patient_history();

case 6: check.patient_registered();

case 7: check.display_invoice();

         }

}

Objectives
1. Understand the design, implementation and use of a stack, queue, and binary search tree
class container.
2. Gain experience implementing applications using layers of increasing complexity and
fairly complex data structures.
3. Gain further experience with object-oriented programming concepts, especially
templates.
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
Transcribed Image Text:Objectives 1. Understand the design, implementation and use of a stack, queue, and binary search tree class container. 2. Gain experience implementing applications using layers of increasing complexity and fairly complex data structures. 3. Gain further experience with object-oriented programming concepts, especially templates. 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
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY