Q) We have provided a high level description of an Online Medical Appointment Sc
ID: 3576821 • Letter: Q
Question
Q) We have provided a high level description of an Online Medical Appointment Scheduling System. One overall user goal is to enable a registered patient to schedule a medical appointment. To achieve this goal, a registered patient may need to browse available time slots by medical services or by doctor. Each medical service has a list of the following: available dates and times, description and duration of service, and the doctors available to perform the service. Each doctor has a name, description of specialty, and list of available times.
To schedule an appointment, a registered user may log in, browse for services or browse for doctors, and select one doctor, date, and time. Alternatively, the patient may browse first and then log in to select the doctor and time.
Other uses of the systems include the ability to modify an appointment to change the service and/or the doctor, change the date and time, and cancel the appointment. Doctors can view their own appointment schedules. They can also provide their availability information to the system.
(a) Draw a single activity diagram showing the workflow(s) to achieve the overall goal of scheduling an appointment. Achieving this goal will involve various actors (e.g., doctors, patients, etc). The workflow is likely to include several use cases.
(b) Here are two use cases for the above system. i. Modify Appointment (actor: Registered Patient) ii. View Appointment Schedule (actor: Doctor) Draw a use case diagram that shows the above two use cases and four additional use cases for the system. You are allowed to add other actors if necessary.
(c) Describe in detail the following two use cases. i. Modify Appointment (actor: Registered Patient) ii. View Appointment Schedule (actor: Doctor) Mention the pre-condition for each use case. Do not include the steps for logging in as part of the actorsystem interactions of the use cases. Be specific about the types of information provided or obtained in each step. Include one main scenario and one alternative scenario for each use case.
Explanation / Answer
The age of Turbo C++ all over a protracted time agone, together with the utilization of .h once header files. For the new C++, we have a tendency to don't use <iostream.h>, we have a tendency to instead use <iostream> and once the headers add a mistreatment namespace std;. we have a tendency to not got to add the .h. For native C headers, we have a tendency to add a c before the header, as an example, <stdio.h> in C++ becomes <cstdio> and <string.h> becomes <cstring> ( there's conjointly a brand new header <string> in C++, don't combine it with <cstring> ) , and so on.
Also, void main() isn't any longer accepted per the C++ commonplace. you want to use int main(). you'll be able to use void main() on Turbo C++, however not on newer versions. you want to use int main() and even have a come zero; ( most new compilers are going to be okay though you skip the come 0 in main() )
Also, some headers like <conio.h> ( therefore no mistreatment getch() or clrscr() ) and <dos.h> don't seem to be pat of the quality, therefore do not use them. Here's an inventory of normal libraries
Let Maine show you straightforward Program.
#include<iostream>
using namespace std; // do not forget this
int main()
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.