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?

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

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
  • 569 views
  • 1 like
  • 2 in conversation