If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Need Design Suggestions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-11-12, 00:41
maurices5000 maurices5000 is offline
Registered User
 
Join Date: May 2005
Posts: 6
Need Design Suggestions

I need help with my ER-Diagram. Right now I'm ignoring the 1NF issue regarding the Address. I will address that after i resolve what i consider to be more important issues.

Previously this ER-Diagram had a two entities -- one for Provider and the other for Patient. (I've provided a picture of this design.) Then i decided to create a Super/Sub type relation with Person being the "parent" entity/table and Patient and Provider being the "Child" entity/tables.

What I was hoping to achieve was a situation where a Provider could also be a Patient also. But my current design doesn't seem to achieve this. It seems that I may need just one entity -- Person! (If i move guarantor into Person, i dont see a need for Patient.)

If I only used one entity (for patient, guarantor, and provider), I don't think I'd need an additional recursive relationship on person. But since I've not developed databases much, I'm not sure if this is a good design or not. I can't think of any reasons why i should not design it this way other than the fact that it could get confusing fast! There is also a difference between a Guarantor and Provider. A Guarantor is responsible for the Bill and is the owner of the insurance. So every patient has at least one guarantor. But a Patient is not always seen by the same doctor if there is more than one doctor in the facility. I guess i could have a check box that simply says IsDoctor. I'm not sure how I would enforce the restraint on this design. (RESTRAINT on BillingStatement: Check to make sure Person has IsDoctor check??? If not reject PersonID as invalid?)

Alternatively, I guess, could have a Person entity as it appears and a Provider entity as it appears but no Patient entity.


A similar related issue is that I believe that the BillingStatement should have both Patient info and Guarantor info.

I also believe that the Guarantor should be associated with the Payment entity. I think it is the Guarantor that is responsible and not the patient. I'm wondering if i should reconsider my Patient entity.

These are related issues bearing on my design and i thought it was best to bring all these complexities to the fore before trying to get information and then having to change designs again once i added more details.

Thanks very much!
Attached Thumbnails
Need Design Suggestions-current-er-diagram0001.jpg   Need Design Suggestions-previous-er-diagram0001.jpg  
Reply With Quote
  #2 (permalink)  
Old 01-12-12, 16:08
Brett Kaiser Brett Kaiser is offline
Window Washer
 
Join Date: Nov 2002
Location: Jersey
Posts: 10,303
Looks ok

But take a step back

Forget about relationships

Start with identifying buckets (entities) of things you need to know about

I would start with a business process model and define all the function I need to accommodate

I would then interrogate each function and ask...what data (attribute) do I need to perform that function...I would then create a list of attributes for each function

I would then take all the attributes and drop them into their appropriate entities

THEN I would relate the entities

HTH
__________________
Brett
8-)

It's a Great Day for America everybody!

dbforums Yak CorralRadio 'Rita
dbForums Member List
I'm Good Once as I ever was

The physical order of data in a database has no meaning.
Reply With Quote
  #3 (permalink)  
Old 01-13-12, 03:55
maurices5000 maurices5000 is offline
Registered User
 
Join Date: May 2005
Posts: 6
I'm going to give this a try. I'm new to this so... I'm not sure I can do this right.

Thanks for the help.
Reply With Quote
Reply

Tags
database, design, normalization, table

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On