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

  Use an entity relationship diagram to define the structure

Use an entity relationship diagram to define the structure of the system.

  Assignment 32nbspdatabase notation is not consistent you

assignment 3.2nbspdatabase notation is not consistent. you have probably seen that already when you tried to create an

  Create entity-relationship diagram for bookstore database

Create Entity-Relationship diagram for a bookstore database, that maintains information about books, professional journals, their authors, and publishers.

  Write sql statements to enter ten more records into table

To get me started I need SQL script example for each table and I will fill out the 9 other records.

  Create a new test02 class

Write a toString method that will return a String containing all the relevant data for each of your objects.

  Open source relational database management system

Imagine you are a part of a team that is tasked with writing a mobile application (app) that will allow users to send pictures to their friends. The manager does not want to waste time creating code modules.

  Display the averaged measurements every time

The application uses hash tables - for a brief introduction, refer tothese slides . While the approach used by the simulator is very basic (using a dilated simulation clock), it is has been deemed sufficient for the purpose at hand.

  Clustered versus unclustered indexes

Choice of search key for the index. What is a composite search key, and what considerations are made in choosing composite search keys? What are index-only plans, and what is the in?uence of potential index-only evaluation plans on the choice of sear..

  1distinguish between the terms lsquoerp implementation and

1.distinguish between the terms lsquoerp implementation and lsquoerp configuration2.explain the purpose of the entity

  Review the data analysis and consider the coding activities

Review the data analysis and consider the coding activities you have engaged. Consider the kinds of data that would be generated through the data collection techniques anticipated for your qualitative research plan.

  Append the last two lines of each file to the file

Find the differences between the two files and append the result to the file called "scales".out (Hint: diff command can do this)

  Draw an entity-relationship diagram for the database

Carefully read the above business description and draw an Entity-Relationship Diagram (ERD) for the database that manages information on employees, customers, and so on

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