*This program reads the 2001 *U.S. Territories Unlinked Linked Birth Infant Death Birth Cohort Data Data File *Note: This program is distributed under the GNU GPL. See end of *this file and http://www.gnu.org/licenses/ for details. *by Jean Roth Wed Nov 19 11:18:05 EST 2008 *Please report errors to jroth@nber.org *Change output file name/location as desired. *Change the input file location as needed. *If you have trouble running this program, *then try opening a new syntax file & type this command: *INCLUDE "c:\linkco2001ps_unl.sps". *and choose to RUN ALL file handle linkco2001ps_unl /name="c:\homes\data\lbid\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\cohortlinkedter\LinkCO01PSUSUnl.dat.bz2" . data list file=linkco2001ps_unl / matchs 1 idnumber 2-6 biryr 7-10 resstatb 11 brstate 12-13 stoccfipb 14-15 cntocfipb 14-18 stresfipb 19-20 cntyrfpb 19-23 plres 24-28 mageflg 29 dmage 30-31 mager8 32 ormoth 33 orracem 34 mraceimp 35 mrace 36-37 mrace3 38 dmeduc 39-40 meduc6 41 dmarimp 42-42 (a) dmar 43 mplbir 44-45 mplbirr 46 dtotord 47-48 dlivord 49-50 mpcb 51-52 mpre5 53 nprevist 54-55 adequacy 56 fagerflg 60 dfage 61-62 orfath 63 orracef 64 frace 65-66 pldel 67 birattnd 68 gestestm 70 clingest 71-72 gestimp 73 gestat 74-75 gestat10 76-77 cseximp 78 csex 79 bwif 80 dbirwt 81-84 birwt12 85-86 birwt4 87 plurimp 88 dplural 89 fmaps 90-91 vaginal 92 vbac 93 primac 94 repeac 95 forcep 96 vacuum 97 delmeth5 99 mrflag 100 anemia 101 cardiac 102 lung 103 diabetes 104 herpes 105 hydra 106 hemo 107 chyper 108 phyper 109 eclamp 110 incervix 111 pre4000 112 preterm 113 renal 114 rh 115 uterine 116 othermr 117 tobacco 118 cigar 119-120 cigar6 121 alcohol 122 drink 123-124 drink5 125 wtgain 126-127 wtgain9 128 obflag 129 amnio 130 monitor 131 induct 132 stimula 133 tocol 134 ultras 135 otherob 136 fbflag 137 febrile 138 meconium 139 rupture 140 abruptio 141 preplace 142 excebld 143 seizure 144 precip 145 prolong 146 dysfunc 147 breech 148 cephalo 149 cord 150 anesthe 151 distress 152 otherlb 153 nbflag 154 nanemia 155 injury 156 alcosyn 157 hyaline 158 meconsyn 159 venl30 160 ven30m 161 nseiz 162 otherab 163 cgflag 164 anen 165 spina 166 hydro 167 microce 168 nervous 169 heart 170 circul 171 rectal 172 tracheo 173 omphalo 174 gastro 175 genital 176 renalage 177 urogen 178 cleftlp 179 adactyly 180 clubfoot 181 hernia 182 musculo 183 downs 184 chromo 185 othercon 186 origm 187 origf 188 educm 189 manner 190 geste 191 fmapsrf 193 delmetrf 194 medrsk 195 tobuse 196 alcuse 197 wtgn 198 obstrc 199 clabor 200 abnml 201 congan 202 apiflag 203 cdobmimp 204 birmon 205-206 weekdayb 209 aged 211-213 ager5 214 accidpl 215 ucod 216-219 (a) ucodr130 220-222 recwt 223-230 eanum 261-262 econdp_1 263 econds_1 264-264 (a) enicon_1 265-268 (a) econdp_2 270 econds_2 271-271 (a) enicon_2 272-275 (a) econdp_3 277 econds_3 278-278 (a) enicon_3 279-282 (a) econdp_4 284 econds_4 285-285 (a) enicon_4 286-289 (a) econdp_5 291 econds_5 292-292 (a) enicon_5 293-296 (a) econdp_6 298 econds_6 299-299 (a) enicon_6 300-303 (a) econdp_7 305 econds_7 306-306 (a) enicon_7 307-310 (a) econdp_8 312 econds_8 313-313 (a) enicon_8 314-317 (a) econdp_9 319 econds_9 320-320 (a) enicon_9 321-324 (a) econdp_10 326 econds_10 327-327 (a) enicon_10 328-331 (a) econdp_11 333 econds_11 334-334 (a) enicon_11 335-338 (a) econdp_12 340 econds_12 341-341 (a) enicon_12 342-345 (a) econdp_13 347 econds_13 348-348 (a) enicon_13 349-352 (a) econdp_14 354 econds_14 355-355 (a) enicon_14 356-359 (a) econdp_15 361 econds_15 362-362 (a) enicon_15 363-366 (a) econdp_16 368 econds_16 369-369 (a) enicon_16 370-373 (a) econdp_17 375 econds_17 376-376 (a) enicon_17 377-380 (a) econdp_18 382 econds_18 383-383 (a) enicon_18 384-387 (a) econdp_19 389 econds_19 390-390 (a) enicon_19 391-394 (a) econdp_20 396 econds_20 397-397 (a) enicon_20 398-401 (a) ranum 403-404 record_1 405-408 (a) record_2 410-413 (a) record_3 415-418 (a) record_4 420-423 (a) record_5 425-428 (a) record_6 430-433 (a) record_7 435-438 (a) record_8 440-443 (a) record_9 445-448 (a) record_10 450-453 (a) record_11 455-458 (a) record_12 460-463 (a) record_13 465-468 (a) record_14 470-473 (a) record_15 475-478 (a) record_16 480-483 (a) record_17 485-488 (a) record_18 490-493 (a) record_19 495-498 (a) record_20 500-503 (a) resstatd 505 drstate 506-507 stoccfipd 508-509 cntocfipd 508-512 stresfipd 513-514 cntyrfpd 513-517 plresd 518-522 hospd 523 dthyr 524-527 dthmon 528-529 weekdayd 532 . * See the codebook for more detailed variable descriptions. variable labels matchs "Match Status" idnumber "Infant Death Number" biryr "Year of Birth" resstatb "Resident Status - Birth" brstate "Expanded State of Residence - NCHS Codes - Birth" stoccfipb "State of Occurrence (FIPS) Birth" cntocfipb "County of Occurrence (FIPS) Birth" stresfipb "State of Residence (FIPS) Birth" cntyrfpb "County of Occurrence (FIPS) Birth" plres "Place (City) of Residence (FIPS)" mageflg "Age of Mother Flag" dmage "Age of Mother" mager8 "Age of Mother Recode 8" ormoth "Hispanic Origin of Mother" orracem "Hispanic Origin and Race of Mother Recode" mraceimp "Race of Mother Imputation Flag" mrace "Race of Mother - Birth Record or for Unlinked Records Race of Decedent from Death Record" mrace3 "Race of Mother Recode" dmeduc "Education of Mother Detail" meduc6 "Education of Mother Recode" dmarimp "Marital Status of Mother Imputation Flag" dmar "Marital Status of Mother" mplbir "Place of Birth of Mother" mplbirr "Place of Birth of Mother Recode" dtotord "Detail Total Birth Order" dlivord "Detail Live Birth Order" mpcb "Detail Month of Pregnancy Prenatal Care Began" mpre5 "Month Prenatal Care Began Recode 5" nprevist "Total Number of Prenatal Visits" adequacy "Adequacy Of Care Recode (Kessner Index)" fagerflg "Reported Age of Father Used Flag" dfage "Age of Father" orfath "Hispanic Origin of Father" orracef "Hispanic Origin and Race of Father Recode" frace "Race of Father" pldel "Place or Facility of Delivery" birattnd "Attendant at Delivery" gestestm "Clinical Estimate of Gestation Used Flag" clingest "Clinical Estimate of Gestation" gestimp "Gestation Imputation Flag" gestat "Gestation - Detail in Weeks" gestat10 "Gestation Recode 10" cseximp "Sex Imputation Flag" csex "Sex" bwif "Birth Weight Imputation Flag" dbirwt "Birth Weight - Detail in Grams (Imputed)" birwt12 "Birth Weight Recode 12 (Imputed)" birwt4 "Birth Weight Recode 4 (Imputed)" plurimp "Plurality Imputation Flag" dplural "Plurality" fmaps "Five Minute Apgar Score" vaginal "Vaginal" vbac "Vaginal Birth After previous C-section" primac "Primary C-section" repeac "Repeat C-section" forcep "Forceps" vacuum "Vacuum" delmeth5 "Method of Delivery Recode" mrflag "No Medical Risk Factors Reported Flag" anemia "Anemia (Hct.<30/Hgb.<10)" cardiac "Cardiac disease" lung "Acute or chronic lung disease" diabetes "Diabetes" herpes "Genital herpes" hydra "Hydramnios/Oligohydramnios" hemo "Hemoglobinopathy" chyper "Hypertension - chronic" phyper "Hypertension - pregnancy-associated" eclamp "Eclampsia" incervix "Incompetent cervix" pre4000 "Previous infant 4000+ grams" preterm "Previous preterm or small-for-gestational-age infant" renal "Renal disease" rh "Rh sensitization" uterine "Uterine bleeding" othermr "Other Medical Risk Factors" tobacco "Tobacco Use During Pregnancy" cigar "Average Number of Cigarettes Per Day" cigar6 "Average Number of Cigarettes Per Day Recode" alcohol "Alcohol Use During Pregnancy" drink "Average Number of Drinks Per Week" drink5 "Average Number of Drinks Per Week Recode" wtgain "Weight Gain During Pregnancy" wtgain9 "Weight Gain Recode" obflag "Obstetric Flag" amnio "Amniocentesis" monitor "Electronic fetal monitoring" induct "Induction of labor" stimula "Stimulation of labor" tocol "Tocolysis" ultras "Ultrasound" otherob "Other Obstetric Procedures" fbflag "Labor Flag" febrile "Febrile (>100 degrees F. or 38 degrees C.)" meconium "Meconium - moderate/heavy" rupture "Premature rupture of membrane (>12 hours)" abruptio "Abruptio placenta" preplace "Placenta previa" excebld "Other excessive bleeding" seizure "Seizures during labor" precip "Precipitous labor (<3 hours)" prolong "Prolonged labor (>20 hours)" dysfunc "Dysfunctional labor" breech "Breech/Malpresentation" cephalo "Cephalopelvic disproportion" cord "Cord prolapse" anesthe "Anesthetic complications" distress "Fetal distress" otherlb "Other Complication of Labor and/or Delivery" nbflag "Newborn Flag" nanemia "Anemia (Hct.<39/Hgb.<13)" injury "Birth injury" alcosyn "Fetal alcohol syndrome" hyaline "Hyaline membrane disease" meconsyn "Meconium aspiration syndrome" venl30 "Assisted ventilation - less than 30 minutes" ven30m "Assisted ventilation - 30 minutes or more" nseiz "Seizures" otherab "Other Abnormal Conditions of the Newborn" cgflag "Congenital Flag" anen "Anencephalus" spina "Spina bifida/Meningocele" hydro "Hydrocephalus" microce "Microcephalus" nervous "Other central nervous system anomalies" heart "Heart malformations" circul "Other circulatory/respiratory anomalies" rectal "Rectal atresia/stenosis" tracheo "Tracheo-esophageal fistula/Esophageal atresia" omphalo "Omphalocele/Gastroschisis" gastro "Other gastrointestinal anomalies" genital "Malformed genitalia" renalage "Renal agenesis" urogen "Other urogenital anomalies" cleftlp "Cleft lip/palate" adactyly "Polydactyly/Syndactyly/Adactyly" clubfoot "Club foot" hernia "Diaphragmatic hernia" musculo "Other musculoskeletal/integumental anomalies" downs "Down's syndrome" chromo "Other chromosomal anomalies" othercon "Other Congenital Anomalies" origm "Origin of mother" origf "Origin of father" educm "Education of mother" manner "Manner of Death" geste "Clinical estimate of gestation" fmapsrf "5-minute Apgar score" delmetrf "Method of delivery" medrsk "Medical risk factors" tobuse "Tobacco use" alcuse "Alcohol use" wtgn "Weight gain" obstrc "Obstetric procedures" clabor "Complications of labor and/or delivery" abnml "Abnormal conditions of newborn" congan "Congenital anomalies" apiflag "Race codes 18-68 reported (beginning with 1992 data)" cdobmimp "Month of Birth of Child Imputation Flag" birmon "Month of Birth" weekdayb "Day of Week Child Born" aged "Age at Death in Days" ager5 "Infant Age Recode 5" accidpl "Place of Accident for Causes E850-E869 and E880-E928" ucod "ICD Code (10th Revision)" ucodr130 "130 Infant Cause Recode" recwt "Record Weight" eanum "Number of Entity-Axis Conditions" econdp_1 "Part/line number on certificate 1" econds_1 "Sequence of condition within part/line 1" enicon_1 "Condition code 1 (ICD 10th Revision)" econdp_2 "Part/line number on certificate 2" econds_2 "Sequence of condition within part/line 2" enicon_2 "Condition code 2 (ICD 10th Revision)" econdp_3 "Part/line number on certificate 3" econds_3 "Sequence of condition within part/line 3" enicon_3 "Condition code 3 (ICD 10th Revision)" econdp_4 "Part/line number on certificate 4" econds_4 "Sequence of condition within part/line 4" enicon_4 "Condition code 4 (ICD 10th Revision)" econdp_5 "Part/line number on certificate 5" econds_5 "Sequence of condition within part/line 5" enicon_5 "Condition code 5 (ICD 10th Revision)" econdp_6 "Part/line number on certificate 6" econds_6 "Sequence of condition within part/line 6" enicon_6 "Condition code 6 (ICD 10th Revision)" econdp_7 "Part/line number on certificate 7" econds_7 "Sequence of condition within part/line 7" enicon_7 "Condition code 7 (ICD 10th Revision)" econdp_8 "Part/line number on certificate 8" econds_8 "Sequence of condition within part/line 8" enicon_8 "Condition code 8 (ICD 10th Revision)" econdp_9 "Part/line number on certificate 9" econds_9 "Sequence of condition within part/line 9" enicon_9 "Condition code 9 (ICD 10th Revision)" econdp_10 "Part/line number on certificate 10" econds_10 "Sequence of condition within part/line 10" enicon_10 "Condition code 10 (ICD 10th Revision)" econdp_11 "Part/line number on certificate 11" econds_11 "Sequence of condition within part/line 11" enicon_11 "Condition code 11 (ICD 10th Revision)" econdp_12 "Part/line number on certificate 12" econds_12 "Sequence of condition within part/line 12" enicon_12 "Condition code 12 (ICD 10th Revision)" econdp_13 "Part/line number on certificate 13" econds_13 "Sequence of condition within part/line 13" enicon_13 "Condition code 13 (ICD 10th Revision)" econdp_14 "Part/line number on certificate 14" econds_14 "Sequence of condition within part/line 14" enicon_14 "Condition code 14 (ICD 10th Revision)" econdp_15 "Part/line number on certificate 15" econds_15 "Sequence of condition within part/line 15" enicon_15 "Condition code 15 (ICD 10th Revision)" econdp_16 "Part/line number on certificate 16" econds_16 "Sequence of condition within part/line 16" enicon_16 "Condition code 16 (ICD 10th Revision)" econdp_17 "Part/line number on certificate 17" econds_17 "Sequence of condition within part/line 17" enicon_17 "Condition code 17 (ICD 10th Revision)" econdp_18 "Part/line number on certificate 18" econds_18 "Sequence of condition within part/line 18" enicon_18 "Condition code 18 (ICD 10th Revision)" econdp_19 "Part/line number on certificate 19" econds_19 "Sequence of condition within part/line 19" enicon_19 "Condition code 19 (ICD 10th Revision)" econdp_20 "Part/line number on certificate 20" econds_20 "Sequence of condition within part/line 20" enicon_20 "Condition code 20 (ICD 10th Revision)" ranum "Number of Record-Axis Conditions" record_1 "Record-Axis Condition Code 1 (ICD 10th Revision)" record_2 "Record-Axis Condition Code 2 (ICD 10th Revision)" record_3 "Record-Axis Condition Code 3 (ICD 10th Revision)" record_4 "Record-Axis Condition Code 4 (ICD 10th Revision)" record_5 "Record-Axis Condition Code 5 (ICD 10th Revision)" record_6 "Record-Axis Condition Code 6 (ICD 10th Revision)" record_7 "Record-Axis Condition Code 7 (ICD 10th Revision)" record_8 "Record-Axis Condition Code 8 (ICD 10th Revision)" record_9 "Record-Axis Condition Code 9 (ICD 10th Revision)" record_10 "Record-Axis Condition Code 10 (ICD 10th Revision)" record_11 "Record-Axis Condition Code 11 (ICD 10th Revision)" record_12 "Record-Axis Condition Code 12 (ICD 10th Revision)" record_13 "Record-Axis Condition Code 13 (ICD 10th Revision)" record_14 "Record-Axis Condition Code 14 (ICD 10th Revision)" record_15 "Record-Axis Condition Code 15 (ICD 10th Revision)" record_16 "Record-Axis Condition Code 16 (ICD 10th Revision)" record_17 "Record-Axis Condition Code 17 (ICD 10th Revision)" record_18 "Record-Axis Condition Code 18 (ICD 10th Revision)" record_19 "Record-Axis Condition Code 19 (ICD 10th Revision)" record_20 "Record-Axis Condition Code 20 (ICD 10th Revision)" resstatd "Resident Status - Death" drstate "Expanded State of Residence - NCHS Codes - Deaths" stoccfipd "State of Occurrence (FIPS) - Death" cntocfipd "County of Occurrence (FIPS) - Death" stresfipd "State of Residence (FIPS) - Death" cntyrfpd "County of Residence (FIPS) - Death" plresd "Place (City) of Residence (FIPS)" hospd "Hospital and Patient Status" dthyr "Year of Death" dthmon "Month of Death" weekdayd "Day of Week of Death" . list. execute. save outfile = 'c:\linkco2001ps_unl.sav'. *Copyright 2008 shared by the National Bureau of Economic Research and Jean Roth * *National Bureau of Economic Research. *1050 Massachusetts Avenue *Cambridge, MA 02138 *jroth@nber.org * *This program and all programs referenced in it are free software. You *can redistribute the program or modify it under the terms of the GNU *General Public License as published by the Free Software Foundation; *either version 2 of the License, or (at your option) any later version. * *This program is distributed in the hope that it will be useful, *but WITHOUT ANY WARRANTY; without even the implied warranty of *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *GNU General Public License for more details. * *You should have received a copy of the GNU General Public License *along with this program; if not, write to the Free Software *Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 *USA.