Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

file review database structure

$
0
0
Hello,

I’m developing a file review database that I have been basing off of the At Your Survey database that is commonly referred to when dealing with survey databases. This project is more advanced than anything I’ve done so far. I usually learn as I go but I want to make sure this is done right, as it’s a large project.

I’m looking for some feedback on my table design. I've posted a screenshot of my table structure.

What I have is a table for Adjusters (employees) joined with the ClaimNum table with a junction table (tblAdjClaimJunc), as there can be multiple adjusters per claim and multiple claims per adjuster. I also have some lookup tables for Manager, job title, Unit, and Office.

Then I have the Questions table. Each question is a Yes/No or Yes/No/NA on some questions. Each question can have a sub-question with a combo box to select additional details about the main question. I have a QstnNum field for the main questions and then SubQstnNum (actually a letter) for the sub questions, then Category and Phase.

The categories are basically separate surveys, but there will be multiple categories per claim file. Then each Category is broken up into multiple Phases with several questions per phase.

There also needs to be a comment section for each phase, but I haven’t figured out where to put that yet.

The tblResponses holds the possible responses to each question.
In the end the counts of Yes, No, and NA scores will be counted and divided by the total responses to get a score for the overall file and for each phase. I’ll also need the scores to roll up into unit, supervisor and office totals.

Right now I’m not sure how to set up my Results table, which will hold the actual responses to each question. I think I need to have the following information:
ClaimNum
Category
QstnNum
SubQstnNum
Answer
Phase

But I’m not sure how to set up the relationships from my other tables to the Results table?

What problems do you see with the tables?

Also, what would be the best way to set whether a question can be answered with Yes/No or Yes/No/NA?

Thanks!

Attached Images
File Type: png relationships.png (51.2 KB)

Viewing all articles
Browse latest Browse all 13329

Trending Articles