This macro finds all potential index dates and creates the POV1 dataset.
More...
This macro finds all potential index dates and creates the POV1 dataset.
- For types other than 4:
- Find a list of all potential index dates meeting washout.
- Restrict potential index dates to only those that meet cumulative and current filled daily dose criteria.
- Get demographic information:
- Process Zip Codes.
- Calculate age and age strata.
- Add information relative to death and death censoring.
- Add looking period related variables to POV1.
- Program inputs
- infolder.&ZIPFILE. (Lookup table required if a request requires stratification of results by geographic location.)
- work._doseexcl&COHORTID. (Dataset containing cumulative dose exclusion.)
- work._groupindex&COHORTID. (Dataset containing all potential index dates.)
- work.looks (Dataset containing non overlapping looks dates.)
- worktemp.demogs (Dataset including START and END dates to calculate age for each observation and a text string defining the age stratifications.)
- worktemp.multidemogs (Dataset containing mutliple demographic entries.)
- worktemp.enr_&ENROLLMENTNUM. (Dataset containing enrollment episodes.)
- Program outputs
- work._agegroups&COHORTID. (Dataset with all potential index dates and demographic variables.)
- work._pov1&COHORTID. (Dataset with all potential index dates.)
- work._zip&COHORTID. (Dataset with all potential index dates and zip codes.)
Usage
%ms_createpov1(COHORTID=&n.);
- Parameters
-
[in] | COHORTID | Identifier for the cohort being processed (primary, secondary). |
SAS Macros Dependencies
- Author
- Sentinel Coordinating Center (info@.nosp@m.sent.nosp@m.inels.nosp@m.yste.nosp@m.m.org)