Hi,
I am using a claims based database in regards to a procedure called ERCP. A patient may get billed with multiple CPT codes for the same date of procedure to describe what happened. Example would be CPT code 43262 (ercp with sphincterotomy) and CPT code 43264 (ercp with calculi removal) which is billed separately but I would like to categorize it under one indication: ERCP with sphincterotomy and stone removal.
I want to be able to group the indications for these procedures but am having a difficult time figuring out how to group multiple CPT codes under one service date. I have tried going both long and short with the data but still cannot see how to do it. Any help would be appreciated it.
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
I am using a claims based database in regards to a procedure called ERCP. A patient may get billed with multiple CPT codes for the same date of procedure to describe what happened. Example would be CPT code 43262 (ercp with sphincterotomy) and CPT code 43264 (ercp with calculi removal) which is billed separately but I would like to categorize it under one indication: ERCP with sphincterotomy and stone removal.
I want to be able to group the indications for these procedures but am having a difficult time figuring out how to group multiple CPT codes under one service date. I have tried going both long and short with the data but still cannot see how to do it. Any help would be appreciated it.
----------------------- copy starting from the next line -----------------------
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float id str2 ercp_ind float svcdate str5 proc1 1 "3" 21628 "43262" 1 "7" 21628 "43274" 1 "5" 22131 "43264" 1 "3" 22131 "43262" 1 "3" 22131 "43262" 1 "5" 22131 "43264" 2 "5" 22125 "43264" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "5" 22125 "43264" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "7" 22125 "43274" 2 "5" 22125 "43264" 2 "5" 22125 "43264" 2 "7" 22125 "43274" 2 "5" 22171 "43264" 2 "5" 22171 "43264" 2 "9" 22171 "43276" 2 "9" 22171 "43276" 2 "9" 22171 "43276" 2 "9" 22171 "43276" 2 "5" 22171 "43264" 2 "5" 22171 "43264" 2 "5" 22171 "43264" 2 "9" 22171 "43276" 2 "5" 22190 "43264" 2 "5" 22190 "43264" 2 "5" 22190 "43264" 2 "8" 22190 "43275" 2 "8" 22190 "43275" 2 "5" 22190 "43264" 2 "5" 22190 "43264" 2 "8" 22190 "43275" 2 "8" 22190 "43275" 2 "8" 22190 "43275" 2 "5" 22190 "43264" 2 "8" 22190 "43275" 3 "5" 21656 "43264" 3 "10" 21656 "43277" 3 "5" 21656 "43264" 4 "10" 21741 "43277" 4 "7" 22085 "43274" 4 "5" 22085 "43264" 4 "7" 22085 "43274" 4 "5" 22085 "43264" 4 "5" 22285 "43264" 4 "5" 22285 "43264" 4 "7" 22285 "43274" 4 "7" 22285 "43274" 5 "10" 21957 "43277" 5 "10" 21957 "43277" 5 "10" 21957 "43277" 5 "10" 21957 "43277" 5 "10" 21957 "43277" 5 "10" 21957 "43277" 5 "7" 21958 "43274" 5 "7" 21958 "43274" 5 "7" 21977 "43274" 5 "5" 21977 "43264" 5 "5" 21977 "43264" 5 "7" 21977 "43274" 5 "9" 22064 "43276" 5 "5" 22064 "43264" 5 "8" 22064 "43275" 5 "5" 22064 "43264" 5 "9" 22064 "43276" 5 "8" 22064 "43275" 5 "8" 22064 "43275" 5 "9" 22064 "43276" 5 "9" 22064 "43276" 5 "9" 22064 "43276" 6 "10" 22306 "43277" 6 "10" 22306 "43277" 7 "7" 21853 "43274" 7 "7" 21853 "43274" 7 "8" 21896 "43275" 7 "8" 21896 "43275" 8 "7" 22316 "43274" 8 "7" 22316 "43274" end format %td svcdate
Comment