Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 1: Implement the following GUI program with Python and tkinter which is used for recording patient appointments. Patient and appointment information is collected using

image text in transcribed

QUESTION 1: Implement the following GUI program with Python and tkinter which is used for recording patient appointments. Patient and appointment information is collected using the input widgets shown in Figure 1. Place three entry widgets to enter the patient's first name, last name and age values. Place three combo boxes to enter the patient's appointment date. The first combo box is to choose days (values between 1..31), the second is to choose month (values between 1..12) and the third is to choose year (2021, 2022, 2023) values. You do not need to validate the input date for possible incorrect day-month combination. Place two combo boxes to enter the patient's appointment time. The first combo box is to choose hour (values between 7...18) and the second combo box is to choose minute (0, 15, 30, 45) parts of appointment time. When the user fills the form and click the "Save Appointment button, values are recorded into "Time Table" database table. All values are required. If the requested date and time have already been reserved, the user must be informed and asked to enter another date/time pair. After recording values, a success message must be displayed. Success and error messages must be displayed in a message box as shown in Figure 2 and Figure 3. Use "db.py" for creating the necessary database table. SQLite must be used for all necessary database interactions. Design your interface according to the given screenshots (Figures 1, 2 and 3). You are only allowed to use grid and pack geometry managers. Final Final Final Enter Patient Info Enter Patient Info Enter Patient Info First Name Nathan First Name William First Name William Final Last Name Biggs Final Age 44 x 26-1-2021 11:30 is already reserved for another patient. Please select another date/time. Appointment saved. Enter Appointment Info Date 26 11 OK 2021 0 OK Time 111 ~/30 v Save Appointment Save Appointment Save Appointment Figure 1 Figure 2 Figure 3 QUESTION 1: Implement the following GUI program with Python and tkinter which is used for recording patient appointments. Patient and appointment information is collected using the input widgets shown in Figure 1. Place three entry widgets to enter the patient's first name, last name and age values. Place three combo boxes to enter the patient's appointment date. The first combo box is to choose days (values between 1..31), the second is to choose month (values between 1..12) and the third is to choose year (2021, 2022, 2023) values. You do not need to validate the input date for possible incorrect day-month combination. Place two combo boxes to enter the patient's appointment time. The first combo box is to choose hour (values between 7...18) and the second combo box is to choose minute (0, 15, 30, 45) parts of appointment time. When the user fills the form and click the "Save Appointment button, values are recorded into "Time Table" database table. All values are required. If the requested date and time have already been reserved, the user must be informed and asked to enter another date/time pair. After recording values, a success message must be displayed. Success and error messages must be displayed in a message box as shown in Figure 2 and Figure 3. Use "db.py" for creating the necessary database table. SQLite must be used for all necessary database interactions. Design your interface according to the given screenshots (Figures 1, 2 and 3). You are only allowed to use grid and pack geometry managers. Final Final Final Enter Patient Info Enter Patient Info Enter Patient Info First Name Nathan First Name William First Name William Final Last Name Biggs Final Age 44 x 26-1-2021 11:30 is already reserved for another patient. Please select another date/time. Appointment saved. Enter Appointment Info Date 26 11 OK 2021 0 OK Time 111 ~/30 v Save Appointment Save Appointment Save Appointment Figure 1 Figure 2 Figure 3

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_2

Step: 3

blur-text-image_3

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Shamkant B. Navathe

7th Edition Global Edition

1292097612, 978-1292097619

More Books

Students also viewed these Databases questions

Question

Why should an employer be concerned about negligent hiring?

Answered: 1 week ago