473,786 Members | 2,410 Online
Bytes | Software Development & Data Engineering Community
+ 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 1616
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
2388
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 (name, address, telephone number) as well as movies in there collection. The movies will be categorized by genre (comedy, romance, horror, etc.) and title. I want to be able to let the users add and remove movies to their list of movies they own,...
3
1548
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 who have taken part in courses at this department. Information includes: Name (First/Last)
17
1973
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 tomorrow. I was on vacation when we went over how to read files, so basically my only resources are the book, the course notes, and the examples. Unfortunately for me, none of them are usefull at all, so pretty much i don't have a clue as to what i...
5
1998
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 of four. I can get my script to work to display the images but I can't figure out how to do two things: 1. How do I get only one image into each table data entry? 2. How do I get it to create blank table data entries for any amount less than 4...
15
4644
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 communicate with a MySQL database table on a web server, from inside of my company's Access-VBA application. I know VBA pretty well but have never before needed to do this HTTP/XML/MySQL type functions.
2
1950
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 time (i already have a prog. to produce those random number) what indicates the arrival of a next passenger to bus Q. -arrival: of bus at stop. if no one in Q, bus continues to next stop and event of its arrival is generated. Else,...
5
2275
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 can I do this? TIA, Paul
2
1795
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 at one point and I need some guidance. I have two tables tblWorkers and tblLocations (locations & positions to volunteer & start and end time) and made relationship using tblJunction. I need to build a form which shows volunteers details and...
3
1294
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 form be submitted when I click on a href link. Currently it appears that the page reloads - but nothing actually is submitted. here is a demo code,,, is it something in the head?
0
9492
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10360
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10163
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8988
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5397
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5532
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4064
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 we have to send another system
2
3668
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.