473,491 Members | 1,885 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Need little bit of guidance

14 New Member
Hi I have thought about my earlier post, refined it and reposting it. I am actually new to schema designing. I have read few articles about data modeling and started building schemas for real time data. I have done one. I need guidance in my first steps. Just some one who can have a glance at it and can suggest mistakes that I have done. So that I can correct them and learn. If any one have interest to provide little bit of guidance please respond.

Any guidance at this stage would be a great help to me. Thanking you so much
Jan 9 '08 #1
7 1599
cmartin1986
37 New Member
you could probably get better luck if you posted specific questions. or even actual segments of code.
Jan 9 '08 #2
mshmyob
904 Recognized Expert Contributor
Show us the schema and I'm sure we can help you.
Jan 9 '08 #3
yaragallamurali
14 New Member
Kindly tell me how to post the schema here. actually i want to add a zip file which contains the schema. how can i do that? Thanks for your replies.
Jan 10 '08 #4
mshmyob
904 Recognized Expert Contributor
I don't know if you can put attachments.

Just indicate the table names and field names and tell us your primary and foreign keys and we will figure it out.

If you can list a data dictionary.

Kindly tell me how to post the schema here. actually i want to add a zip file which contains the schema. how can i do that? Thanks for your replies.
Jan 10 '08 #5
yaragallamurali
14 New Member
I found how to attach. will be attaching by evening.
Jan 10 '08 #6
yaragallamurali
14 New Member
Hi me again. I am attaching the zip file. It contains business requirements doc, snap shot of schema, dbm file(MS Access) which contains some original data. Kindly have a glance at my solution and point out the mistakes i have done. It helps me a lot. Thanking you all.
Attached Files
File Type: zip datam.zip (104.5 KB, 73 views)
Jan 11 '08 #7
mshmyob
904 Recognized Expert Contributor
Ok I have Normalized your Report and come up with a design. Your Business rules were incomplete so I have made some assumptions and will let you know.

1. I have assumed that each Patient has one Doctor (if they have more than 1 then just add a bridge table).

You will see a Test, Category, and SubCategory table
Test = is like RBS, or Urine Analysis, or Urine Analysis Detail etc. in your report (ie: the left most in column under Test in the report.
Category = is like Polymorphs, Color, etc. (the 2nd indent in the Test column in your report)
SubCategory = is like Pus Cells, RBC, Casts, etc. in the report. (ie: the 3rd indent under column Test in your report).

8 tables

Doctor - Doc_ID, Doc_Name
Patient - Patient_ID, Patient_Name, Doc_ID
Report - Report_ID, Cust_ID, Date
Report Detail - Report_ID, Test_ID, Cat_ID, Sub_ID, Reading
Test - Test_ID, Test_Desc
Category - Cat_ID, Cat_Desc
SubCategory - Sub_ID, Sub_Desc
Normal - Test_ID, Cat_ID, Sub_Desc, Norm_Reading, Price

You can figure out the links by the PK's and FK's

Price for an individual test is stored in the Normal table and can just be summed in code for a test that consists of more than one test to get only a total to show in the report.

I hope I understood your requirements. Using this schema I could generate your reports that you attached. Remember do not create your schema to create your report. The schema is used to reduce data redundancy and along with coding will generate your needs.

Hi me again. I am attaching the zip file. It contains business requirements doc, snap shot of schema, dbm file(MS Access) which contains some original data. Kindly have a glance at my solution and point out the mistakes i have done. It helps me a lot. Thanking you all.
Jan 14 '08 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2367
by: new_GUY | last post by:
I have a HUGE project (at least for me) and need some guidance. I am trying to create a database for a local university movie club that allows users to input there basic personal information...
3
1536
by: pestul | last post by:
I'm quite new with Access so please bare with me. I'm pretty sure what I'm looking for will require the integration with VB to function properly. Here's what I have: Portfolios for inviduals...
17
1947
by: EkteGjetost | last post by:
This is definitely not the smart thing to do as far as my learning goes, but desperate situations call for desperate measures. The final lab for my introduction to C programming class is due...
5
1982
by: JackM | last post by:
I need a little guidance putting a script together. I'm trying to read a list of image links from a text file (not a database) and display them in a table on my page. I want to display them in rows...
15
4562
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
2
1928
by: csman24 | last post by:
I'm just looking for some guidance so that I get a start on a school project. Need to write 3 kind of event for a Bus, Passenger, transit system in which: -person: arrives at bus Q after random...
5
2257
by: Paul M | last post by:
Hi I need to create a map for a room (chairs, bed, TV, forniture, etc). All object allready exists like png images. I need to create a map for each room, i mean the user need to create. How...
2
1780
by: VirtualLilac | last post by:
Hi, Am trying to build a database for non-profit organisation, its a volunteer job and nobody around to guide me. From my learning I could able to build few reports and forms but am feeling stuck...
3
1278
by: trfilmographer | last post by:
Hi fellow web developers! I have a little problem due to my lack of javascript / web developing skills... Basically I have a form embedded in a table. WHat I would like to do, is have the...
0
7118
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6980
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7157
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7192
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6862
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4886
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3087
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3078
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1397
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.