BookmarkSubscribeRSS Feed
sasbasls
Calcite | Level 5

hi,

I am having claims data where data is coming as bundled meaning for same claim, all $$ summary info would be populated on the last bundled claim where CPT Code is populated.

We have another column also coming in on the data - Drug Code and we used that to identify such claims to prorate $$ amounts on to other claim lines and then delete this bundled claim after dollar distribution.

But we have few claims where in Drug code is not populated, but then all claim lines are related to same claim and they have only CPT Code populated. How can I loop tjrough such claims and include those claims also in my proration logic?

Any suggestions please.

Thanks in Advance,

SasBase

1 REPLY 1
SASJedi
Ammonite | Level 13

In order to get useful input promptly, it would be helpful if you could include in your post:

1.  A small sample of the data you HAVE (generally 3-5 observations is enough)

2.  A small sample of the data or output you WANT (again, generally 3-5 observations is enough)

3.  A copy of the SAS code you curently have (or the relevant prortions, anyway)

Check out my Jedi SAS Tricks for SAS Users

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1211 views
  • 1 like
  • 2 in conversation