473,605 Members | 2,590 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Resolve Duplicate Data Entry Issue?

29 New Member
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 2153
Scott Price
1,384 Recognized Expert Top Contributor
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 New Member
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 Recognized Expert Top Contributor
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 New Member
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 Recognized Expert Top Contributor
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 New Member
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 Recognized Expert Top Contributor
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,566 Recognized Expert Moderator MVP
...
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
14017
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 entry you cannot choose the same value twice. For example, I cannot choose for entry 1 the same value in both selection boxes (gqCategory1Entry1 and gqCategory2Entry1)
12
3671
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. -- -- TOC entry 59 (OID 11462032) -- Name: order_to_do; Type: TABLE; Schema: public; Owner: www -- Data Pos: 0 --
6
6512
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 data will be resubmitted), the previously submitted record is sumbitted again, and a duplicate record is inserted into the table. In PHP I would have avoided this by submitting the form to a processing page, which would then automatically...
5
3984
by: Manish | last post by:
The topic is related to MySQL database. Suppose a table "address" contains the following records ------------------------------------------------------- | name | address | phone | ------------------------------------------------------- | mr x | 8th lane | 124364 | | mr x | 6th lane | 435783 | | mrs x | 6th lane | 435783 |
2
1996
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. My issue is that when I want to retrieve the entries one by one, I want
4
6488
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': Loaded 'C:\WINDOWS\system32\advapi32.dll', No symbols loaded. 'Exactus.UX.Studio.v1.exe': Loaded 'C:\WINDOWS\system32\rpcrt4.dll', No symbols loaded.
1
1723
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 are number data types. Id ValData Fid Fid2 1 abc 34 2 2 efg 23 34 3 zeo 25 43 Sometimes someone can enter a duplicate ValData, Fid and Fid2 and it will end up like this:
6
11996
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) 1.) Is an "Cannot insert duplicate key row" exception from a FormView returned as part of the ItemInserting or ItemInserted event? 2.) What is the recommended way to catch and deal with an "Cannot
4
4112
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 corresponding Date Code which I then write to a table using VBA. When I try to enter a duplicate date code, it automatically finds the duplicate and will not allow me to add it again to that combo box. How do I configure that combo box so I can enter the...
0
8004
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7934
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
8425
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
8418
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...
1
8071
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6743
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
3958
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2438
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
0
1271
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.