This program bridges member raw enrollment episodes into continuous periods, while allowing a maximum gap between two consecutve enrollment periods. More...
This program bridges member raw enrollment episodes into continuous periods, while allowing a maximum gap between two consecutve enrollment periods.
Usage
%ms_episoderec2(INFILE=indata.&ENRTABLE.(keep=Patid Enr_Start Enr_End MedCov DrugCov Chart),
OUTFILE=worktemp.enr_&RECONTYP.&ENROLGAP.,
COVERAGE=&COVERAGE.,
CHARTRES=&CHARTRES.,
ENRSTART=Enr_Start,
ENREND=Enr_End,
ENROLGAP=&ENROLGAP.);
| [in] | INFILE | SAS dataset containing the raw enrollment data. |
| [out] | OUTFILE | SAS output dataset containing the conciliated enrollment periods. |
| [in] | COVERAGE | Drug and Medical coverage indicator. |
| [in] | CHARTRES | Chart availability indicator. |
| [in] | ENRSTART | Name of enrollment episode start date variable in INFILE. |
| [in] | ENREND | Name of enrollment episode end date variable in INFILE. |
| [in] | ENROLGAP | Maximum allowable enrollment episode gap. |