Click here to Skip to main content
15,886,664 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi,

I am working in a healthcare project where we have developed lots of stored procedures, web application, and even the ETL involved in it. Very often, we receive a separate data from client in excel file to compare with the data in our system and we need to generate the report for the same along with the reason if any data mismatches.

What I have tried:

Currently, we are importing the excel file into data base and then we have to develop a stored procedure joining all the related tables to see the data mismatch and the reason for the mismatch. This will take at least 2 days to complete the task.

I want to automate this process to reduce the time as client will keep on bugging us to get the data comparison report with reason. Can someone suggest the better way to automate this process?
Posted
Updated 29-Jun-18 2:24am

1 solution

Without knowing the details, an answer may be opinion-based only and the common answer would be: "It depends on many factors.." ;)


In my opinion, the best way to automate "comparison process" is to distribute a service. I can't tell you exactly how to construct the service (what should it take as an input and how it should return a result), but... you have to define the common reasons of bugging reports. Then you'll be able to create a set of stored procedures for every single reason of bug. Non-standard bugs you'll need to proceed as you did it so far.

Note: some data are "real (actual)" for some piece of time. If healthcare system doesn't provide a picture-in-time for data, you may not be able to compare them.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900