This macro takes a list of patIDs and subsets datasets to only those patIDs. More...
This macro takes a list of patIDs and subsets datasets to only those patIDs.
Usage
%ms_subsetinitialextraction(RESTRICTTOPATIDS=Y
CODESDATASET=indexdefiningcodes
DATASETSTOSUBSET=worktemp.drugs worktemp._procextract);
| [in] | RESTRICTTOPATIDS | Y/N indicator whether to execute ms_subsetinitialextraction macro |
| [in] | CODESDATASET | Name of the sas dataset containing the list of index defining codes. Should contain columns CODE, CODETYPE, CODECAT, and CARESETTINGPRINCIPAL |
| [in] | DATASETSTOSUBSET | Space delimited list of datasets to further subset. Must contain variable patID |