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.

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

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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