This macro pre extracts deaths, death encounters and cause of death. More...
This macro pre extracts deaths, death encounters and cause of death.
Usage
%ms_extractdeaths(DEATHFILE=indata.&DEATHTABLE.,
ENCOUNTERFILE=indata.&enctable.,
CODFILE=indata.&CODTABLE.,
CODLOOKUPFILE=_cod,
DEATHOUTFILE=worktemp.deathextract,
CODOUTFILE=worktemp.codextract);
| [in] | DEATHFILE | Name of the dataset containing deaths to extract records from. |
| [in] | ENCOUNTERFILE | Name of the dataset containing encounters to extract records from. |
| [in] | CODFILE | Name of the dataset containing cause of deaths to extract records from. |
| [in] | CODLOOKUPFILE | Name of the SAS dataset containing the list of codes to extract from codfile. |
| [out] | DEATHOUTFILE | Name of the output dataset containing the extracted death records. |
| [out] | CODOUTFILE | Name of the output dataset containing the extracted cause of death records. |