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 > Database Design Question

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-10, 04:39
usmanar usmanar is offline
Registered User
 
Join Date: Mar 2010
Posts: 1
Database Design Question

Hi,

I'm designing a database to hold monthly patient volume data for a hospital. The hospital has specialties like Medicine, Surgery etc, but on the other hand, the hospital also has services like outpatient, inpatient, procedures etc. The problem is that each specialty is involved in more than one services, and each service also contains components from different specialties. E.g. Medicine department has patients coming in as inpatient or outpatient; while the outpatient department itself contains clinics of Medicine, Surgery and so on.

I am confused at what would be a good structure. Should I have separate tables for Medicine Surgery etc and put services as fields in there, or should I do it the other way round?

Any help would be appreciated.
Thanks.
Reply With Quote
  #2 (permalink)  
Old 03-16-10, 05:51
pootle flump pootle flump is offline
King of Understatement
 
Join Date: Feb 2004
Location: One Flump in One Place
Posts: 14,905
Without assignment in full we cannot say.
Reply With Quote
  #3 (permalink)  
Old 03-24-10, 21:15
AnanthaP AnanthaP is offline
Registered User
 
Join Date: May 2009
Location: India
Posts: 62
Of course all services cannot service all departments. So remembering this, it is better to have 3 tables. One for the medical departments, the next for the services and finally one for valid combinations and finally a transaction table of some sort.


End
Reply With Quote
Reply

Thread Tools
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