BookmarkSubscribeRSS Feed
centro_9
Calcite | Level 5

Hi I would like to know how to count continuously enrolled patients form the claims data.

My data looks like this my enrollment duration is 3 years in the data and follow up time 6 months before index date and 1 2months after index date

Patient ID

INDEX DATE

START DATE

END DATE

TYPE

ENROLLEMNT DATE

1

3/3/2015

9/4/2014

3/2/2016

B

2014/01

1

3/3/2015

9/4/2014

3/2/2016

B

2014/02

1

3/3/2015

9/4/2014

3/2/2016

B

2014/03

2

8/16/2014

2/17/2014

8/16/2015

B

2014/01

2

8/16/2014

2/17/2014

8/16/2015

B

2014/02

2

8/16/2014

2/17/2014

8/16/2015

B

2014/03

2

8/16/2014

2/17/2014

8/16/2015

B

2014/04

2

8/16/2014

2/17/2014

8/16/2015

B

2014/05

1 REPLY 1
Reeza
Super User
Can you also show what you expect as output from this data as an example? How is continuously enrolled defined?

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

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