BookmarkSubscribeRSS Feed
V_27
Obsidian | Level 7

I want to flag the below criteria.

 

A given day involved a diagnosis or an imaging procedure, and look for up to 10 days after the given day and search for the same body-site or type of injury. If so, we will connect the days of the two sets of records. Using the latter-day as the reference, and we will repeat the procedure until we no longer observed a subsequent day with relevant diagnosis code within a 10-day window.

 

Thank you for the help!

1 REPLY 1
andreas_lds
Jade | Level 19

Please post the data as data step using datalines statement. In many companies downloading office-files is not allowed.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 355 views
  • 0 likes
  • 2 in conversation