This macro extracts death and cause of death records associated with the cohort of interest. More...
This macro extracts death and cause of death records associated with the cohort of interest.
Usage
%ms_loopdth(DEATHDATAFILE=worktemp.deathextract, CODDATAFILE=worktemp.codextract, LOOKFILE=_ITGroupParamDth, KEEPVARS=indexcriteria codesupply dateonly CodeType EncType %if %eval(&type=2 | &type=3 | &type=4) %then %do; fupcriteria %end;, OUTFILE=_ITDth);
[in] | DEATHDATAFILE | Name of the the dataset(s) containing the death raw claims. |
[in] | CODDATAFILE | Name of the the dataset(s) containing the cause of death raw claims. |
[in] | LOOKFILE | Name of the dataset containing the lookup parameters. |
[in] | KEEPVARS | List of variables in the lookfile dataset to keep in the outfile dataset. |
[out] | OUTFILE | Name of the dataset with the extracted claims. |
None.