Psy 270 Week 9 Final Exam Paper

Improved Essays
1. Create a class named Doctor that has three member variables:
• name – A string that stores the name of the doctor
• numPatients – An integer that tracks how many patients the doctor must treat
• patientList – A dynamic array of strings used to store the patient names

Write appropriate constructor(s), mutator, and accessor methods for the Doctorclassalong withthefollowing:

• A method that inputs all values from the user, including the list of patient names. Note that this method has to support input for an arbitrary number of patient.
• A method that outputs the names in the list of all patients.
• A method that resets the number of patient to 0 and the patientList to an empty list.
• An overloaded assignment operator that correctly
…show more content…
Note that this method has to support input for an arbitrary number of patients and surgeries.
A method that outputs the names in the list of all patients and surgeries scheduled.
A method that resets the number of patient to 0 and the patientList to an empty list.
A method that resets the number of surgery scheduled to 0 and the surgerySchedule to an empty list.
An overloaded assignment operator that correctly makes a new copy of a HeartSurgeon object with the list of patients and the list of surgeries scheduled.
A destructor that releases all memory that has been allocated.
Write a main method that tests (i.e., unit testing) all of your functions in both the Doctor and HeartSurgeonclasses. Requirements:
1. Use comments to provide a heading at the top of your code containing your name, Auburn Userid, filename, and how to compile your code. Also describe any help or sources that you used (as per the syllabus).

2. Your source code file should be named as “_hw2.cpp”.

3. Your program must use dynamic arrays

4. Your program must use

Related Documents

  • Superior Essays

    Qlt1 Task 2

    • 1198 Words
    • 5 Pages

    Organizational Systems & Quality Leadership Task 2 Healthcare organizations are required by their accrediting agencies to demonstrate methods of investigating sentinel events. Root cause analysis (RCA) is a systematic approach to investigating sentinel events used by institutions accredited by the Joint Commission. Once this process helps to identify the causes of the event and a plan to correct the causes, the failure mode and effects analysis (FMEA) is used to identify and decrease the ways the plan could fail. The task analyses these processes and the professional nurse’s role as a leader in the promotion of quality care. A. Root Cause Analysis…

    • 1198 Words
    • 5 Pages
    Superior Essays
  • Decent Essays

    Nt1310 Unit 4 Thr

    • 474 Words
    • 2 Pages

    Complete Name: Unit 4 Student Name: Davidson, Amber Nicole ********************************************************************************************************** 1. Name at least four things checked for in a DUR. Student Answer: When a physician is writing an electronic prescription, they must select the drug and enter the SIG information. The EHR system scans the patient's chart for any known alergies.…

    • 474 Words
    • 2 Pages
    Decent Essays
  • Great Essays

    Case Study Of Quinte MRI

    • 2569 Words
    • 11 Pages

    Patients must first receive a referral from their doctor 2. Patients or doctor’s assistant contact the MRI scheduling department to get appointment 3. Receptionist at scheduling department writes the patient’s name and type of procedure on the daily schedule form (8 time slots, each for a one-hour increment) 4. Patients check in with the receptionist upon arrival and wait for the MR technologist to escort them to the MR machine in the magnet room 5. Patients are questioned about possible health risks and if detected, they get sent home 6.…

    • 2569 Words
    • 11 Pages
    Great Essays
  • Improved Essays

    The Louisiana Health Information Exchanged (LaHIE) launched in 2011 is a secured, standardized electronic system that allows for the sharing of important health information within the state and eventually across states. They are partnered with Orion Health a software company that works globally with companies to meet their software needs. LaHIE has a web-based access system that allows access to health records with an iPad, personal computers and PC networking. It has a Hybrid Program meaning it uses a paper record system as well as electronic system that helps the state with overwhelming health care expenses improving in the electronic access and sharing of medical records using a network that is secure and confidential. This program also…

    • 735 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Nt1330 Unit 1 Assignment

    • 698 Words
    • 3 Pages

    Q1 The components of the health system in the Kingdom of the most important 1. Department of Health Services 2-planning and evaluation of health services 3. training and education for workers in the health services Integrated Health Program in the Kingdom of two parts there are more than 3,500 electronic health office using the well-being of the patient solitary record by 2020, knowing that the strong-willed and the government are leading the activities of health it Q2 1- can access the health information from any preferred channel like web or telephone or sms 2-receive faster diagnosis when medical care needed add their own information such as their health status and vital signs3- 4-view their own health information at any time and be able…

    • 698 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    Mckesson Case Study

    • 471 Words
    • 2 Pages

    McKesson has been around since 1833. To us the way we do business is just as important as the business itself. All of us here at McKesson are working toward a common goal; to advance the health care system for better health to all. We have a set of ICARE shared principles that act as a unifying set of values to guide us in our mission. The company-wide values are the foundation of our reputation as a trusted organization that goes the extra mile to give our customers’ success.…

    • 471 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    Medical Assistants are responsible for scheduling a patient for appointment. A patient may call to schedule an appointment, so the medical assistant must collect information including name, address, date of birth, home and cell numbers. Sanderson (2017) states, “When a patient phones the offices for an appointment, the appointment can be scheduled in Office Hours before the patient information is entered in Medisoft. In these instances, it is possible to enter an appointment before a chart number has been assigned to the patient, by entering the patient’s name in the field right of the chart field” (p. 102). The patient may also be asked for the reason of the visit.…

    • 431 Words
    • 2 Pages
    Improved Essays
  • Improved Essays

    I have decided to complete my project in a physician’s office, which is in Louisville, MS. The size would be based on the number of people that receives service at this location which is approximately a hundred people on average daily. The facility is funded by state and local citizens; therefore, the ownership is private. The population that is served will be the public with open doors to all. The services available would be immunization for all ages, and healthy -you are completed at this facility which is an excellent service and convenient for the local community.…

    • 640 Words
    • 3 Pages
    Improved Essays
  • Improved Essays

    In this modern technological era, there are people who have been an instrument to create a user-friendly program, software, and hardware that will help consumers like nurses, doctors, and other health care workers in managing the tasks as well as caring for the patients. These are the informaticist, crafting a better solution to patient management and health promotion. General Information The person I selected is a very familiar person to yours truly.…

    • 751 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    I want to be a well-payed surgeon. This is what I would do if I became a surgeon, I would treat diseases, injuries, minimally-invasive, or non-invasive surgical methods, such as using instruments, appliances, or by manual manipulation. This career is part of the Health Science cluster Therapeutic Services pathway. A person in this career follows established surgical techniques during the operation, they also examine the patient to gather information on their medical condition and surgical risk, they operate on patients to correct deformities, repairs injuries, prevents and treat diseases, or improves or restores patients functions, as well as analyzing patient's medical history, medication allergies, physical condition, examinations results…

    • 288 Words
    • 2 Pages
    Improved Essays
  • Decent Essays

    Now that I’m more aware of my way of understanding and receiving information I can be a more intentional learning. Being able to utilize my critical reading and writing skills I can be more successful in making it through school. Before I knew my pattern of learning, I would just read a lot of information without decoding how I can apply it for better…

    • 820 Words
    • 4 Pages
    Decent Essays
  • Superior Essays

    Surgical Technician Essay

    • 1453 Words
    • 6 Pages

    Being a surgical technologist can be hard work; not only should a technician watch after all patients, but must keep a check on themselves. A technician needs to remain as stress free as possible, always making sure all body mechanics are in order. Forgetting to do this can lead to emotional stress, which has a negative effect on the body. A surgical technician not in full control of himself causes things to go wrong in the operating room. A technician must always be completely focused on the job.…

    • 1453 Words
    • 6 Pages
    Superior Essays
  • Improved Essays

    Financial trends and reimbursement changes go hand-in-hand. Healing Hands Hospital relies on revenue from managed care reimbursements, therefore any changes within the managed care system will affect our financial budgets and income. This will affect how we pay our employees and what kind of services we are able to provide. It has major influence on how we deliver and pay for health care products and services.…

    • 1002 Words
    • 5 Pages
    Improved Essays
  • Improved Essays

    M3A1 Hospital Design from an OM Perspective The case study entitled Evaluating hospital design from an operations management perspective, by Vos, Groothuis, & Merode, (2007), attempts to determine the most efficient layout of a hospital’s patient working spaces within a proposed hospital complex. The case study purports to indicate best physical floorplan layout properties, based on analysis and experimentation of patient flow, operational management strategy, logistical concepts, and future technology growth. The case study emphasis (operations and management requirements) was appropriate, but incomplete and non-functional for the goal of assessing and determining hospital design.…

    • 894 Words
    • 4 Pages
    Improved Essays
  • Improved Essays

    1) Funding in Health Care Industry Australian health care industry is funded from various sources, reflecting the treatments and health services provided by the hospitals. There are two types of funding systems are worked in Australia, the casemix based funding and another is fixed per diem based funding. Most of the government and privet hospitals are used the casemix based funding system though there are some hospitals who used fixed per diem base funding system. …

    • 1559 Words
    • 7 Pages
    Improved Essays