I have been looking at youtube videos for days and researched this topic online for a long time. I am having an issue with creating relationships. I was told that I should break down my tables because it has too many fields. My tblPractices has close to 100 fields. So I have been working on breaking them down and trying to relate them to the tblPractices. Maybe I am breaking them down wrong. If someone can point me in the right direction it would be awesome. I attached a copy of the tables and my current relationships. If you noticed there are some left out, at the bottom. So my thinking is
tblMnemonic can only belong to one Practice tblPractice.
One practice can have many providers tblPractice to tblProviders
One provider can have many facilities or one Practice can have many facilities (multiple locations)
Breaking down the tblPractices i was thinking move the SCPorPCP and MHMDDept fields to their own separate tables.
We have 13 different modules that the practice can activate and out of those 13 some of them can activate certain providers. So even though the Module is activated for the practice, a practice with 5 providers maybe 2 are activated to use it. This is for reporting purposes. We track how many practices have a specific module activated and out of those practices how many providers are actively using it.
I'm still breaking down the tblPractices. Looks like i may have 30 different tables from that table.
You're also probably going to wonder why i have repeating fields such as Mnemonic. That is because I still need them there to match it on the tables. When i finish then I can delete the repeating fields.