Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Develop a Command Line Swift Program to replicate Patient Portal. The program needs the following input data: A. Login/Register Can be stored values for login

Develop a Command Line Swift Program to replicate Patient Portal. The program needs the following input data:

A. Login/Register Can be stored values for login or add new values to Register

  1. User email id
  2. Password
  3. On entering valid credentials, the following options should be shown

B. Account select this to see following

  1. View Select to display Username, secured password, UUID, email id
  2. Update Select to update name and email id
  3. Delete Select and enter UUID to delete account such that user cannot login again

C. Doctors select this to see following

  1. View Select to display all doctors list
  2. Add Select to add a new doctor Name, Email, UUID, available slots as a Dictionary of slot number and timing e.g. [1, 11:30] no need for time stamp
  3. Delete Select and enter UUID to delete doctor

D. Bookings select this to see the following

  1. View Show all existing bookings
  2. Search by doctor name enter value and display matching data or error
  3. Book enter doctor UUID to make an appointment such that available slots are updated
  4. Cancel Booking enter UUID to cancel

I have added an example of the flow on the page.

Eg. On the console

Login or Register

UserName: Rabah

Password: *********

  1. Account 2. Doctors 3. Bookings 4. Logout

Select an Option: 1

  1. View 2. Update 3. Delete 4. Main Menu

Select an option: 1

Name: Ishani Bose

Password: *********

Email: ish@gm.com

Id: sdvjbdsjvhsdfvgdshvsfd (Use UUID)

  1. View 2. Update 3. Delete 4. Main Menu

Select an option: 4

  1. Account 2. Doctors 3. Bookings 4. Logout

Select an option: 4

Thank You! Visit Again!

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advanced MySQL 8 Discover The Full Potential Of MySQL And Ensure High Performance Of Your Database

Authors: Eric Vanier ,Birju Shah ,Tejaswi Malepati

1st Edition

1788834445, 978-1788834445

More Books

Students also viewed these Databases questions

Question

Identify the different types of proposals.

Answered: 1 week ago

Question

Advance warning and an explanation for the layoff.

Answered: 1 week ago