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-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 lock in 2025 pricing—just $495!

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
  • 879 views
  • 0 likes
  • 2 in conversation