CISS 350 CISS350 CISS/350 Programming Assignment 3 Local Medical Clinic – Columbia College

Page 1

CISS 350 CISS350 CISS/350 Programming Assignment 3 Local Medical Clinic – Columbia College

DOWNLOAD SOLUTION https://www.solvedcollegepapers.com/product/ciss-350-ciss350-ciss-350-col/ Programming Assignment 3 The local medical clinic has decided to automate its scheduling services. You have been assigned to design the initial version of the schedules. The basic functions that the clinic has in mind are doctor check-in and check-out and patient check-in and check-out. A doctor checks in by telling the scheduler his or her name, an examination room number, and a medical specialty code. Each doctor has a favorite room. The scheduler checks to see whether the room is free. If so, it assigns this doctor to the room; if not, it rejects the request with a message, and the doctor can try again to check in. When a doctor checks out, the examination room is freed. Category: Assignments Help Experts Tags: CISS 350 CISS350 CISS/350 Advanced Algorithms and Data Structures - Columbia College, CISS 350 Entire Course, CISS 350 Programming Assignment 2 Computer Dating Service, CISS 350 Programming Assignment 3 Local Medical Clinic, CISS 350 Programming Assignment 4 Circular Linked List, CISS 350 Programming Assignment 5 Towers of Hanoi, CISS 350 Programming Assignment 6 Police Department, CISS 350 Programming Assignment 7 Compare Two Implementations of a Priority Queue, ciss350 programming assignment 1, ciss350 week 1, CISS350c++ 

Description

Description


CISS 350 Programming Assignment 3 Local Medical Clinic – Columbia College Programming Assignment 3 The local medical clinic has decided to automate its scheduling services. You have been assigned to design the initial version of the schedules. The basic functions that the clinic has in mind are doctor check-in and check-out and patient check-in and check-out. A doctor checks in by telling the scheduler his or her name, an examination room number, and a medical specialty code. Each doctor has a favorite room. The scheduler checks to see whether the room is free. If so, it assigns this doctor to the room; if not, it rejects the request with a message, and the doctor can try again to check in. When a doctor checks out, the examination room is freed. A patient checking in gives a name, age, specialist code, and emergency indication. The scheduler tries to match up the patient with a doctor according to a set of rules that are described here. If there is a match, the patient is seen by the assigned doctor. If this doctor is currently seeing a patient, the new patient is queued to see the doctor. The rules for assigning doctors to patients are as follows: 1. Any patient under age 16 is assigned to see a pediatrician. 2. Patients age 16 and older are assigned a doctor according to the specialty requested. If there is no doctor in the clinic with the requested specialty, the patient is assigned to a general practitioner (GP). If there is no GP, the patient can be assigned to any doctor. 3. If there is more than one doctor of the requested specialty, the patient is assigned to the doctor with the shortest waiting list. When a patient checks out, the doctor he or she was assigned to is available to see the next patient, if there is anyone in the waiting list. Input Because this is an interactive system, your program should prompt the users to input the correct information. The initial prompt is: ‘ Type D for Doctor or P for Patient: ‘ The next prompt is Type I for check-in or O for checkout: According to the request, your program should prompt the user for any other needed information, as indicated in the following table: [table] Action, Additional Information Doctor check-in,Doctor’s name~~Room number~~Specialty code Doctor check-out,Doctor’s name Patient check-in,Patient’s name~~Age~~Specialty (code requested) Patient check-out,Patient’s name~~Room number


[/table] You may define the format for the input processed by your program. Output The output for each request is in the form of messages to the user, according to the request, as indicated in the following table. [table] Action, Message Doctor check-in, Confirmation that room is available or Error message if room is in use. Doctor check-out, Good-bye message Patient check-in, “Message telling patient which room to go to and which doctor has been assigned. If no doctor is available, apologetic message.” Patient check-out, “Good-bye message. At a later time we may add billing information at this point. In addition to printing the messages on the screen, you should also write the requests and messages to a transaction file (trans.out), to be turned in with your program listing.” [/table] Details and Assumptions 1. There are l 00 examination rooms at the clinic, each with a waiting room attached. 2. Specialty codes are as follows: Pediatrics PED General practice GEN Internal medicine INT Cardiology CAR Surgeon SUR Obstetrics OBS Psychiatry PSY Neurology NEU Orthopedics ORT Dermatology DET Ophthalmology OPT Ear, Nose, and Throat ENT 3. You may assume that no patient leaves without checking out. (That is, every doctor becomes free eventually.) 4. No one leaves before he or she sees the assigned doctor. (That is, no one has to be taken out of the waiting queue.) The clinic is open 24 hours a day, 7 days a week. 5. If a doctor checks out while there is still a waiting list of patients assigned to him or her, the patients must be reassigned to other doctors. Data Structures The basic data structure is a list of examination rooms with waiting lists attached to each. Because the number of rooms is fixed, you may use an array of records to represent it. It is the waiting list attached to each examination room that is of interest to us. We have seen that patients are seen in the order in which they are added to the list (a simple queue).


Deliverables    

Your design including CRC cards for each class A listing of your source program including all included files A listing of your test plan as input to the program A listing of your output from the test plan

Download Full Course Solution: CYBR-260: SECURITY SCRIPTING WITH PYTHONENTIRE COURSE HELP-CHAMPLAIN COLLEGE https://www.solvedcollegepapers.com/product/new-solutioncybr-260-security-scriptingwith-python/ CYBR-260 Assignment Week 1: Discussion – Final Project Ideas Assignment CYBR-260 Week 1: Assignment – Project Proposal Assignment

Download Full Course Solution: [Solved] ENGL-315-40A: Writing in the Workplace – Fall 2016 (2016F7A) https://www.solvedcollegepapers.com/product/solved-engl-315-40a-writing-in-theworkplace-fall-2016-2016f7a/ Week 2 Closure: Reflect on Strengths, Weaknesses, Opportunities, and Challenges Week 1 Sharing: Effective email

Download Full Course Solution: POL 255-Entire course Help: Ashford University https://www.solvedcollegepapers.com/product/pol-255-entire-course-help-ashforduniversity/ POL 255 Week 1 Assignment Theory, Arms Races, and the Prisoner’s Dilemma NEW (2 Sets) POL 255 Week 1 Discussion IR Theories Strengths and Weaknesses NEW POL 255 Week 1 Quiz NEW POL 255 Week 2 Assignment Levels of Analysis and the Crisis in Syria NEW POL 255 Week 2 Discussion Communicating National Interests NEW POL 255 Week 2 Quiz NEW


POL 255 Week 3 Assignment Moral and Ethical Dilemmas from America’s Use of Drones NEW POL 255 Week 3 Discussion The Contemporary International System NEW POL 255 Week 3 Quiz NEW POL 255 Week 4 Assignment Easter Island Full of Mystery NEW POL 255 Week 4 DQ NEW POL 255 Week 5 DQ NEW

Download Full Course Solution: IT/IT 212 IT212 IT/212/Recommendation of local area network topology https://www.solvedcollegepapers.com/product/it-212-it212-lan-topology/ Overview In Milestone One, you will: -Given the provided scenario, explain the key considerations (must-haves) and constraints of the networking project at the firm’s new location. -Then make a well-reasoned recommendation of local area network (LAN) topology. You have been asked for your input regarding the new Fayetteville, NC, office setup project. Conduct research and deliver a report to the team with key considerations and recommendations for the setup of the network infrastructure. Fayetteville office will be home to 50 employees, including the new executive vice president of sales and marketing. All possible sites have offices located in an office building with access to fiber, cable, and T1 internet service providers. The site must support live video teleconferencing calls with employees based at the other sites. It must also reliably send print jobs to billboard printers located in the company headquarters.


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.