Create three tables as per specifications

Assignment Help Database Management System
Reference no: EM131092505

Dentist Office Database

This database is being created for the receptionist/manager of a dentist's office. The office has one dental assistant and one dentist.  Each performs various procedures and each procedure has a specific cost.  Even though the patient is charged a set fee per procedure, the dental assistant is paid by the hour and also gets a percentage of the procedure price per procedure. While a real database would contain a lot more information, this database has been simplified to allow you to concentrate on its construction.  It will contain the following information.

Table:  tblPatients

Table:  tblProcedures

Table:  tblAppointments

Patient ID (autonumber)

Procedure ID (autonumber)

Appointment ID (autonumber)

Patient Last Name

Procedure Name

Appt Date (Input Mask)

Patient First Name

Procedure Price (currency)

Patient ID (foreign key)

Patient Address

 

Procedure ID (foreign key)

Patient Phone (input mask)

 

Appointment Duration (number of hours: .5, 1, 1.5, or 2)

Patient Age (integer)

 

Emergency Fee ($10-$50) (currency)

Patient Copay ($0 if no insurance, $15-$30 if have insurance; currency)

 

Paid (yes/no)

Indicator if Patient has Dental Insurance (y/n)

 

 

Step by Step Description:

1. Use all of the naming conventions discussed in this course.

2. Set the database to compact on close.

3. Create three tables as per specifications above with the proper formatting.

4. Set table relationships and referential integrity (including cascade update and cascade delete if applicable)

5. Enter the data into the tables.

  • The tblPatients table should have a minimum of ten patients with one of them being you. Half of the patients should not have dental insurance. At least four of the patients should be children age 0-16. The rest should be over 16.
  • In the tblProcedures table enter at least eight different procedures (cleaning, crown, filling, root canal, x-ray, etc.) that the dentist and/or dental assistant performs with a different price for each procedure.

Note: The procedure prices above should take into account work done by both the dentist and dental assistant, any supplies needed, the time it takes to perform the procedure, etc.  These fees should be realistic.

  • The tblAppointments table needs a minimum of 15 appointments

Note: All appointments should occur in the current month and the current year.  Some patients will not see the dentist at all during this month, while others will see the dentist multiple times.  Some patients will have multiple procedures on the same day.  Each appointment has a duration time of .5, 1, 1.5 or 2 hours in length. At least 3 appointments should have an emergency fee associated with them of $10-$50 each.

6. Create Queries

  • One that computes the amount due for each patient who has dental insurance (only those patients who have not yet paid). Name this Query: qryAmtDueIns

The fee for each appointment is defined as:

Fee = Patient Copay + Procedure Price + Emergency Fee

  • A query that lists the total time for each appointment and the dental assistant's pay based on the following formula:

Assistant's Pay = Appointment Duration * $30 per hour + 10% of the Procedure Price. Name this query: qryAssistantPay

  • One that will show the sum (one number) of all of the charges for patients 17 or older. Name this query: qryAdultSum

7. Create the following forms:

  • One that allows the receptionist to enter the data into the tblPatients table. Name this: frmNewPatient
  • One that allows the receptionist to enter data into the tblProcedures table. Name this form: frmNewProcedure
  • One that allows the receptionist to enter data into the tblAppointments table. This last one assumes that the patient being treated is already listed in the database. Name this form: frmNewAppointment
  • A form that lists all of the patients' names (first and last) in alphabetical order by last name and their ages with a subform that lists the procedures that patient has had in order by date. If a patient has had no procedures done then s/he should not appear on this form. Name this form: frmPatientProcedures. Name the subform: fsubProceduresPerformed.

8. Create Reports

  • One that lists all patient names and the procedures (name, date) they have had done grouped by the patient ID. Name this report: rptPatientProcedures
  • A report that shows the total outstanding amount (not paid by patients). This report should return a single value that is the sum of all outstanding amounts. Name this report: rptOutstanding
  • A Report that lists appointments (with the patient's name) that involved an Emergency fee and the total amount charged for each visit (see Fee above). Name this report: rptEmergency
  • One that lists the children (age 0-16) who have been to the dentist and include the name of the procedure that was performed on each. Name this report: rptChildren

9. Include at least one graphic in your database on one or more of your forms.

Please do in MS access.

Reference no: EM131092505

Questions Cloud

Which isotope of boron is more abundant : When a beam of alpha particles passes between two electrically charged plates, the beam is deflected toward the positive plate. A) true B) false Boron oobtained from borax deposits in Death Valley consists of two isotopes. They are boron -10 and b..
Discuss why it is necessary to balance binary search trees : Discuss why it is necessary to balance Binary Search Trees (BSTs). Calculate the Average Comparison Effort (ACE) value of the BST.
Perspective of human resource management : Evaluate Harvey's decision to bring Hopwood Manufacturing to the university from the perspective of human resource management. Did he make a mistake? Should he have done anything differently?
Combined market share in the global automobile market : Automobile industry is oligopolistic in which few automobile companies control significant percentage of the total market share. Do a little research and cite some data regarding the top ten automobile companies and their combined market share in the..
Create three tables as per specifications : COMP 108 Introduction to Databases - Pulling it All Together - Dentist's Office. Step by Step Description: Use all of the naming conventions discussed in this course. Create three tables as per specifications above with the proper formatting
Analysis and design class diagram : Analysis Class Diagram. Design Class Diagram. Sequence Diagram for one of the use-cases you identified in your Use-Case Diagram
Homework-quantitative risk analysis : Create a decision tree for an issue from your experience. It can be for any decision at all. Discuss your results and the relevance of the tool in this decision.
Which is the limiting reagent : Ammonia reacts with oxygen to form nitric oxide and water vapor: 4NH3 + 5O2 ---> 4NO + 6H2O When 20.0 g NH3 and 50.0 g O2 are allowed to react, which is the limiting reagent?
Widening the nj turnpike and gardenstate parkway : Search online for the video topic: "Widening the NJ Turnpike and Gardenstate Parkway" by Jon S Corzine 1. Why should states, cities and towns foster the development of their transportation systems?

Reviews

Write a Review

Database Management System Questions & Answers

  Write an anonymous block that places a substitution variable

Write an anonymous block that places a substitution variable (&) into a local variable of type varchar2. You will need to convert the types and round them to nearest tens unit

  Explain what is the importance of data entry validation

Preserving the integrity of the data that enters into and is stored within a database is extremely important. What is the importance of data entry validation and does MS Access offer any features for validation

  What is the difference from an associated array verses

What is the difference from an Associated array verses a Varray.

  How much of the total materials handling cost

How much of the total materials handling cost would be allocated to the wall mirrors - the materials handling cost is allocated on the basis of material moves

  Write methods for outlier detection

Exceptions in credit card transactions can aid us fraudulent use of credit card. Suggest two methods for outlier detection.

  Design and develop a database using professional principles

Design and develop a database using professional principles and standards.

  What are four pieces that make up key performance indicator

What are the four pieces that make up a Key Performance Indicator (KPI)? Provide an example of a KPI based on the AdventureWorks database.

  Database to keeps track of students in university

University XYZ needs a database that keeps track of students, what classes they taken and the grades for each of the classes.

  Evaluate the success wellco and pharmacare shareholders

Evaluate the success WellCo and PharmaCARE shareholders

  Describe the objectives of the database environment

Analyze the database environment - describe the problems and constraints and describe the objectives of the database environment.

  Describe data modeling tool such as erwin or rational rose

Consider the UNIVERSITY database described in Exercise Build the ER schema for this database using a data modeling tool such as ERwin or Rational Rose.

  Convert the order year into a decade and count the orders

Using the database attached to Lecture 2, let's say you are interested (let's say as the business owner) to see how old the books are that people order (going by their publication date).

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd