The dental office currently accepts four insurance plans: John Deere Dental, Unicare Dental, Prudential Dental and Valley Forge Dental These insurance companies currently pay the
The dental office currently accepts four insurance plans:
John Deere Dental, Unicare Dental, Prudential Dental and Valley Forge Dental
These insurance companies currently pay the following amounts for the following dental procedures:
Insurance Company | Surface Filling | Deep Filling | Porcelain Crown | Gold Crown | Wisdom Tooth |
John Deere Dental | 120 | 128 | 1100 | 1110 | 1130 |
Unicare Dental | 118 | 126 | 1105 | 1109 | 1128 |
Prudential Dental | 115 | 119 | 1198 | 1100 | 1150 |
Valley Forge Dental | 121 | 124 | 1199 | 1100 | 1142 |
Dr. BrightSmile currently charges the following amounts for the following dental procedures:
Surface Filling | Deep Filling | Porcelain Crown | Gold Crown | Wisdom Tooth |
140 | 158 | 1175 | 1202 | 1284 |
Dr. BrightSmile currently offers two discounts for his patients:
Senior Citizens receive a 10 % discount
State Employees receive a 5 % discount
[A state employee who is also a senior citizen receives a 12 % discount]
I have had an initial meeting with Dr. BrightSmile and we have together developed the desired user interface. This is shown on the last page of this handout.
The companys management insists that we provide to them our working prototype of our application by the deadline indicated, so time is short. They insist that the user interface look like what is included on this handout. Furthermore, they require the following as well:
The flexibility of changing the insurance-pay amounts, Dr. BrightSmiles charges, as well as the insurance companies and the number of insurance companies. Dr. BrightSmile and I have decided that at this time can best be handled be reading in the insurance information and Dr. BrightSmiles charges from two text files. Name the insurance file: Insurance.txt and name Dr. BrightSmiles charges file: DrBCharges.txt. {Note: these two files will be provided to you in ReggieNet.}
The corporate header is to read exactly as shown. It is to be centered within the top of the form.
The 4 insurance companies will be loaded from the file.
Only one insurance plan for each patient visit is permitted.
The user can specify as many procedures and number of procedures as applicable for the patients visit. For example, a patient might have 2 surface fillings and 1 wisdom tooth removal. To the left of the procedure the user will check the appropriate procedure(s) and to the right of the procedure enter the number of procedures carried out during this visit.
The user can specify a senior citizen discount, a state employee discount, both, or neither.
When the user clicks on the calculate button, error messages need to be displayed to the user if they have failed to enter a patients name, select an insurance plan or select at least one procedure. Furthermore, concerning procedures, for each procedure selected (checked), the user must enter a non-zero number. The wording of these error messages are as follows and are to be displayed in this order:
You must enter a patients name
You must select an insurance plan
You must select at least one procedure {Note: This error message is to occur if the user has not checked even one of the procedures.}
You must enter the number of procedures carried out for each procedure {Note: This error message is to occur if the user has checked a particular procedure but has failed to enter a number.}
You must not enter zero for the number of procedures carried out {Note: This error message is to occur if the user has checked a particular procedure and has entered zero as the number}
Once the user has entered a patients name, selected an insurance plan, selected (checked) one or more procedure and entered a non-zero number for each procedure and possibly selected one or both discounts and has clicked on the calculate button, the application is to display a zero in each of the Procedure textboxes that are empty and the application is to display at the bottom of the form the following results:
Total Charges. This represents the total dollar amount of the individual charges for each of the procedures (and number of procedures) carried out during this patients visit.
Total Discounts: This represents the total dollar amount of the applicable discounts.
Net Charges: This represents the dollar amount after subtracting the total discounts from the total charges.
Total Insurance: This represents the total dollar amount of the individual insurance-pay amounts for each of the procedures (and number of procedures) carried out during this patients visit.
Due Now: This represents the dollar amount after subtracting the total insurance from the net charges. {Note: for the prototype, Assume a tax rate of 8.75%. Taxes are only assessed on the patient portion of the bill.}
When the user clicks on the reset button, all of the previously entered, displayed and selected items are to be cleared, including the insurance plan.
If the user depresses the enter key, the application should react as if the user has clicked on the calculate button.
If the user depresses the escape key, the application should react as if the user has clicked on the reset button.
Set the tab order to be reasonable for the purpose of the prototype. The client will define the specifics later.
When the application runs, the user should not be able to resize the form. In addition, there should be no control box or text for the form. Also, the form is to be centered on the screen.
There should be a single menu called File with an access key of F and a submenu called Exit with an access key of x.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started