473,399 Members | 3,106 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

How to Resolve Duplicate Data Entry Issue?

29
I am building a Patient Medical Billing Database and I will be entering duplicate information from time to time, such as, entering a patient that has received a Chest X-ray twice or three time on the same day.

the issue here is that this patient will have to be charged three separate times for each X-ray.

How can I set this up so that when my manager prints a report it doesn't show as if it were a user-error in data entry?

Thank you in advance for your patience in this issue.

Adigga1
Feb 28 '08 #1
8 2138
Scott Price
1,384 Expert 1GB
What is your current table structure?

Please post your tables' MetaData. Here is an example of how to post table MetaData :
Table Name=tblStudent
Expand|Select|Wrap|Line Numbers
  1. Field; Type; IndexInfo
  2. StudentID; AutoNumber; PK
  3. Family; String; FK
  4. Name; String
  5. University; String; FK
  6. Mark; Numeric
  7. LastAttendance; Date/Time
Regards,
Scott
Feb 28 '08 #2
adigga1
29
Will Do, I am off-site at the moment, I will send it ASAP. In the mean time, can I successfully accomplish this task?
Feb 28 '08 #3
Scott Price
1,384 Expert 1GB
With a properly designed database, yes! With design flaws, probably, but it will be much much harder.

In short: You need a separate Appointments, or possibly Services table that is linked to your Patients table by foreign key (the primary key of the Patients table entered in the Services table as a separate field). There exists a one-to-many relationship between Patients and Services. This means that your problem really is quite simple when the tables are structured properly.

Regards,
Scott
Feb 28 '08 #4
adigga1
29
Ok I will try to first restructure my table format and try your suggestion and test

I was thinking also to have Access automatically place a marker on duplicated entries to have it reflected on reports? logical?

Regards,
Adigga1
Feb 28 '08 #5
Scott Price
1,384 Expert 1GB
Let me put this in a little more suggestive language: Don't even think about doing this without first correcting your table structure :-) If you need help doing so, please don't hesitate to ask, and especially have a good read though Normalisation and Table structures.

Regards,
Scott
Feb 28 '08 #6
adigga1
29
Let me put this in a little more suggestive language: Don't even think about doing this without first correcting your table structure :-) If you need help doing so, please don't hesitate to ask, and especially have a good read though Normalisation and Table structures.

Regards,
Scott
OK I will do so, and thank you very much for your patience during this dialogue

Regards,
Adigga1
Feb 28 '08 #7
Scott Price
1,384 Expert 1GB
No problem!

Database design is, unfortunately, the thing most people pay the least attention to when building a database, but is the single most important thing to making the implementation of your needs and ideas easier!

Any questions on table design, please don't hesitate to ask.

Regards,
Scott
Feb 29 '08 #8
NeoPa
32,556 Expert Mod 16PB
...
I was thinking also to have Access automatically place a marker on duplicated entries to have it reflected on reports? logical?
...
FYI There are ways to flag such duplicate entries.
When you get to that stage and have the metadata (table layout) info available, we can look at particulars.
Mar 3 '08 #9

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

Similar topics

1
by: marx | last post by:
I have a bit of a problem and any help would be much appreciated. Problem: I have two dropdown list boxes with same data(all data driven). These are used for two separate entries. For every...
12
by: Jared Carr | last post by:
First I wish I knew how this was caused but here is our problem. Sometime in the recent past we got a duplicate table. Here is the result of a pg_dump with a pg_restore for just that table. ...
6
by: planetthoughtful | last post by:
Hi All, I have a C# ASP.NET page that submits back to itself to insert details from a form into a database table. When / if the user refreshes the page (and gets the standard warning that POST...
5
by: Manish | last post by:
The topic is related to MySQL database. Suppose a table "address" contains the following records ------------------------------------------------------- | name | address | phone |...
2
by: christophe.leroquais | last post by:
Hi, I have a HashTable that can have the same keys. For example: Key: myKey1, myKey2, myKey3, myKey1 Value: "value1" , "value2" , "value3", "value4" That's ok and I'm happy with that....
4
by: =?Utf-8?B?SnVhbiBEZW50?= | last post by:
Hi, I am getting the following in a VC++ EXE (using VS2005) that links several C++ DLLs and uses MFC and ATL, when I try to start it under the debugger: ------- 'Exactus.UX.Studio.v1.exe':...
1
by: oaklander | last post by:
I would like to make sure there are no duplicate data entries in my Oracle 9i table (called MainTable) which has an Id field that is the primary key, ValData with a varchar data type, Fid and Fid2...
6
by: Dave | last post by:
I really don't like the users getting an unhandled expception page, and I'm still to new with ASP.Net and C#. So please accept my appology for the 2 part question. SqlException (0x80131904) ...
4
by: AXESMI59 | last post by:
have a project in which I am entering Serial Numbers and Date codes into a Combo box. Serial numbers are all different. However, they could each have the same Date Code. Each Serial Number has a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
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
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,...

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.