07-30-2014 04:20 PM
I'm trying to figure out how to include particular CPT codes and ICD-9 codes
I want at least one match from both CPT and ICD-9
Some ICD-9's will have a 4th or 5th digit, only the 1st 3 are shown.
ICD-9 (first 3 characters, some are 4 digits and some are 5 digits)
07-31-2014 01:44 PM
We would look at a claims table to see the CPT and ICD-9 code from the claim.
so an example would be
I'm trying to lump about 40-60 CPT Code Ranges and ICD-9 Ranges to determine which claims match both a CPT and ICD-9 Criteria.
07-31-2014 02:04 PM
In 2004 I produced code that matched cpt codes and ICD-9 codes. I'm assuming you want to convert the ICD-9 codes to ICD-10 codes. Essentially I built a massive format that listed all the valid cpt/icd9 combinations. Not all combinations are significant. Then I built arrays to hold the codes during the program process. Then I searched each array member by format result. When the cpt(i) and icd(i) values were significant, for the data row, I set a flag. In my case, a row was significant if any flag value was significant. On a smaller scale you could build a flag array and populate flg(i) whenever cpt(i) and icd(i) were significant. The hard part was setting up the siginificant combinations. Fortunately, formats allow the use of ranges.
Also, arrays and formats allow you to check cpt(i) for all values in the icd array. do i=1 to ...;
do j=1 to ....;
if cpt(i) format = icd(j) format then flag(i) = flag value.