This macro extracts linked deliveries from the MIL table.
- Program inputs
- &PREGNANCYCODES. (Dataset that includes the codes for pregnancy outcomes.)
- indata.&MILTABLE. (Dataset with mother-infant linkage data.)
- indata.&PROCTABLE. (Dataset with procedure data.)
- &patid_len macro variable must be previously defined.
- Program outputs
- &OUTFILE. (Dataset containing the extracted records.)
Usage
%ms_extractmillinkage_po(MINDATE=&studystartdate.,
OUTFILE=worktemp.milextract);
- Parameters
-
| [in] | MINDATE | Extract all claims occuring on or after this date. |
| [out] | OUTFILE | Name of the output dataset containing the extracted records. |
SAS Macros Dependencies
- ms_create_comma_charlist.sas
- Author
- Sentinel Coordinating Center (info@.nosp@m.sent.nosp@m.inels.nosp@m.yste.nosp@m.m.org)