I need to capture records with the minimum claim ID where provider, diagnosis, and billed amount are the same but claim id and check id are different.
EXAMPLE:
CLAIM ID DOS PROVIDER DIAGNOSIS BILLED AMOUNT CHECK#
2001 02/05/2011 500 252.5 30.00 35
2015 02/05/2011 500 252.5 30.00 56
On this example, I would need to capture the record with Claims ID 2001.
Any help is greatly appreciated.
rb
EXAMPLE:
CLAIM ID DOS PROVIDER DIAGNOSIS BILLED AMOUNT CHECK#
2001 02/05/2011 500 252.5 30.00 35
2015 02/05/2011 500 252.5 30.00 56
On this example, I would need to capture the record with Claims ID 2001.
Any help is greatly appreciated.
rb