BookmarkSubscribeRSS Feed
bhca60
Quartz | Level 8

I want to flag this pull as "sufficient":

proc sql;
create table dxtable as 
select 
claimHeaderId,
dxCode as icd,
dxCodeDescription,
dxSeqNo
from diagnosistable
where dxSeqNo = 1
and (compress(icd,".") in &ASTHMA_SUFF OR compress(icd,".") in &CAD_SUFF OR compress(icd,".") in &CHF_SUFF OR compress(icd,".") in &COPD_SUFF OR 
compress(icd,".") in &DIAB_SUFF OR compress(icd,".") in &HTN_SUFF);
quit;

 

3 REPLIES 3
PaigeMiller
Diamond | Level 26

@bhca60 wrote:

I want to flag this pull as "sufficient":


Please explain what that means.

--
Paige Miller
bhca60
Quartz | Level 8
I want to define this as "sufficient" and I have another that will be "related"
bhca60
Quartz | Level 8
never mind, i guess i'll just name the tables sufficeint or related then go from there.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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
  • 3 replies
  • 461 views
  • 0 likes
  • 2 in conversation