Scenario1: There might be one or more files for a month, if the Practitioner is listed on the monthly file generated previously and the same is listed in the current file without any changes, then update the date to the latest file generated date in 'File Date' column. File Date column I have extracted in my above screenshot document which is date variable. Scenario2: Practitioner is listed on the monthly file generated previously and the same is listed in the current file with any changes/updates, then update it as a new record with file generation date in file date column, where the old record remains same. Example: Group1. ABC_20200909_INITIAL ABC_20200901_INITIAL Group2. ABC_20200909_RECRED ABC_20200909_RECRED Note: The comparison should happen based on file prefix and suffix name. It seems we have same prefix but suffix is changed.(INITIAL AND RECRED) This will be as dynamic process. So the same file might not be fall in next month. It can be some other file as well. It shouldn't hard coded. I have given screenshot is one of the example. Data sets will reside work library.
... View more