*This program reads the 2003 *U.S. 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:19:14 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:\linkco2003us_unl.sps". *and choose to RUN ALL file handle linkco2003us_unl /name="c:\homes\data\lbid\ftp.cdc.gov\pub\Health_Statistics\NCHS\Datasets\DVS\cohortlinkedus\LinkCO03USUnl.dat.bz2" . data list file=linkco2003us_unl / revision 7-7 (a) laterec 9 dob_yy 15-18 dob_mm 19-20 dob_wk 29 ostate 30-31 (a) xostate 32-33 (a) ocntyfips 37-39 ocntypop 40 ubfacil 42 bfacil3 59 umagerpt 77-78 mage_impflg 87 mage_repflg 88 mager41 89-90 mager14 91-92 mager9 93 umbstate 96-97 (a) mbstate_rec 100 xmrstate 107-108 (a) mrstatefips 109-110 (a) mrcntyfips 114-116 mrcityfips 120-124 cmsa 125-126 msa 127-130 msa_pop 131-131 (a) rcnty_pop 132-132 (a) rcity_pop 133-133 (a) metrores 135-135 (a) rectype 137 restatus 138 mbrace 139-140 mrace 141-142 mracerec 143 mraceimp 144-144 (a) umhisp 148 mracehisp 149 mar 153 mar_imp 154 meduc 155 umeduc 156-157 meduc_rec 158 fagerpt_flg 175 fagerpt 176-177 ufagecomb 184-185 fagerec11 186-187 fbrace 188-189 fracerec 191 ufhisp 195 fracehisp 196 frace 199-200 priorlive 204-205 priordead 206-207 priorterm 208-209 lbo 210-211 lbo_rec 212 tbo 215-216 tbo_rec 217 dllb_mm 220-221 dllb_yy 222-225 precare 245-246 precare_rec 247 mpcb 256-257 mpcb_rec6 258 mpcb_rec5 259 uprevis 270-271 previs_rec 272-273 wtgain 276-277 wtgain_rec 278 cig_1 284-285 cig_2 286-287 cig_3 288-289 tobuse 290 cigs 291-292 cig_rec6 293 cig_rec 294-294 (a) alcohol 295 drinks 296-297 drinks_rec 298 urf_anemia 328 urf_card 329 urf_lung 330 urf_diab 331 urf_gen 332 urf_hydra 333 urf_hemo 334 urf_chyper 335 urf_phyper 336 urf_eclam 337 urf_incerv 338 urf_pre4000 339 urf_preterm 340 urf_renal 341 urf_rh 342 urf_uterine 343 urf_other 344 uop_amnio 355 uop_monit 356 uop_induc 357 uop_stiml 358 uop_tocol 359 uop_ultra 360 uop_other 361 uld_febr 374 uld_meco 375 uld_ruptr 376 uld_abrup 377 uld_prepla 378 uld_excbl 379 uld_seiz 380 uld_precip 381 uld_prolg 382 uld_dysfn 383 uld_breech 384 uld_cephal 385 uld_cord 386 uld_anest 387 uld_distr 388 uld_other 389 ume_vag 395 ume_vbac 396 ume_primc 397 ume_repec 398 ume_forcp 399 ume_vac 400 dmeth_rec 401 attend 408 apgar5 415-416 apgar5r 417 dplural 423 imp_plur 425 sex 436-436 (a) imp_sex 437 dlmp_mm 438-439 dlmp_dd 440-441 dlmp_yy 442-445 estgest 446-447 combgest 451-452 gestrec10 453-454 gestrec3 455 obgest_flg 456 gest_imp 457 dbwt 467-470 bwtr12 471-472 bwtr4 473 bwtimp 475 uab_anem 483 uab_injury 484 uab_alcoh 485 uab_hyal 486 uab_mecon 487 uab_venl30 488 uab_ven30m 489 uab_nseiz 490 uab_other 491 uca_anen 504 uca_spina 505 uca_hydro 506 uca_micro 507 uca_nerv 508 uca_heart 509 uca_circ 510 uca_rectal 511 uca_trach 512 uca_ompha 513 uca_gastro 514 uca_genital 515 uca_renal 516 uca_urogen 517 uca_cleftlp 518 uca_adactyly 519 uca_clubft 520 uca_hernia 521 uca_muscu 522 uca_downs 523 uca_chromo 524 uca_other 525 f_morigin 569 f_forigin 570 f_meduc 571 f_clinest 573 f_apgar5 574 f_tobaco 575 f_med 647 f_wtgain 648 f_alcol 649 f_api 650 f_tobac 667 f_mpcb 668 f_mpcb_u 669 mrace1e 683-685 (a) mrace2e 686-688 (a) mrace3e 689-691 (a) mrace4e 692-694 (a) mrace5e 695-697 (a) mrace6e 698-700 (a) mrace7e 701-703 (a) mrace8e 704-706 (a) frace1e 718-720 (a) frace2e 721-723 (a) frace3e 724-726 (a) frace4e 727-729 (a) frace5e 730-732 (a) frace6e 733-735 (a) frace7e 736-738 (a) frace8e 739-741 (a) matchs 751 aged 755-757 ager5 758 ager22 759-760 manner 761 dispo 762-762 (a) autopsy 763-763 (a) place 765 ucod 767-770 (a) ucodr130 772-774 recwt 776-783 eanum 786-787 econdp_1 788 econds_1 789-789 (a) enicon_1 790-793 (a) econdp_2 795 econds_2 796-796 (a) enicon_2 797-800 (a) econdp_3 802 econds_3 803-803 (a) enicon_3 804-807 (a) econdp_4 809 econds_4 810-810 (a) enicon_4 811-814 (a) econdp_5 816 econds_5 817-817 (a) enicon_5 818-821 (a) econdp_6 823 econds_6 824-824 (a) enicon_6 825-828 (a) econdp_7 830 econds_7 831-831 (a) enicon_7 832-835 (a) econdp_8 837 econds_8 838-838 (a) enicon_8 839-842 (a) econdp_9 844 econds_9 845-845 (a) enicon_9 846-849 (a) econdp_10 851 econds_10 852-852 (a) enicon_10 853-856 (a) econdp_11 858 econds_11 859-859 (a) enicon_11 860-863 (a) econdp_12 865 econds_12 866-866 (a) enicon_12 867-870 (a) econdp_13 872 econds_13 873-873 (a) enicon_13 874-877 (a) econdp_14 879 econds_14 880-880 (a) enicon_14 881-884 (a) econdp_15 886 econds_15 887-887 (a) enicon_15 888-891 (a) econdp_16 893 econds_16 894-894 (a) enicon_16 895-898 (a) econdp_17 900 econds_17 901-901 (a) enicon_17 902-905 (a) econdp_18 907 econds_18 908-908 (a) enicon_18 909-912 (a) econdp_19 914 econds_19 915-915 (a) enicon_19 916-919 (a) econdp_20 921 econds_20 922-922 (a) enicon_20 923-926 (a) ranum 930-931 record_1 932-935 (a) record_2 937-940 (a) record_3 942-945 (a) record_4 947-950 (a) record_5 952-955 (a) record_6 957-960 (a) record_7 962-965 (a) record_8 967-970 (a) record_9 972-975 (a) record_10 977-980 (a) record_11 982-985 (a) record_12 987-990 (a) record_13 992-995 (a) record_14 997-1000 (a) record_15 1002-1005 (a) record_16 1007-1010 (a) record_17 1012-1015 (a) record_18 1017-1020 (a) record_19 1022-1025 (a) record_20 1027-1030 (a) resstatd 1034 stoccd 1035-1036 (a) cntocfipd 1037-1039 estatocd 1040-1041 (a) cntocppd 1042 stresd 1043-1044 (a) drcntry 1045-1046 (a) drstcntry 1047-1048 (a) cntyrfpd 1049-1051 (a) plres 1052-1056 (a) citrsppd 1057-1057 (a) metrresd 1058-1058 (a) drstate 1059-1060 (a) smsarfipd 1061-1064 popsizrs 1065-1065 (a) popsmsad 1066-1066 (a) cmsad 1067-1068 hospd 1069 weekdayd 1070 dthyr 1071-1074 dthmon 1141-1142 . * See the codebook for more detailed variable descriptions. variable labels revision "Revision U;R" laterec "Late Record Flag U;R" dob_yy "Birth Year U;R" dob_mm "Birth Month U;R" dob_wk "Birth Weekday U;R" ostate "Occurrence State U;R" xostate "Expanded Occurrence State U;R" ocntyfips "Occurrence FIPS County U;R" ocntypop "Occurence County Population U;R" ubfacil "Birth Place U;R" bfacil3 "Birth Place Recode U;R" umagerpt "Mother's Reported Age U" mage_impflg "Mother's Age Imputated Flag U;R" mage_repflg "Reported Age of Mother Flag U;R" mager41 "Mother's Age Recode 41 U;R" mager14 "Mother's Age Recode 14 U;R" mager9 "Mother's Age Recode 9 U;R" umbstate "Mother's Birth State U;R" mbstate_rec "Mother's Birth State Recode U;R" xmrstate "Expanded State of Residence of Mother U;R" mrstatefips "Mother's Residence FIPS State U;R" mrcntyfips "Mother's FIPS County of Residence (FIPS) U;R" mrcityfips "Mother's Place of Residence (FIPS) U;R" cmsa "Consolidated Metropolitan Statistical Area U;R " msa "Metropolitan Statistical Area U;R " msa_pop "Population of Statistical Area U;R " rcnty_pop "Population of Residence County U;R " rcity_pop "Population of Residence City U;R " metrores "Metropolitan Residence County U;R" rectype "Record Type U;R" restatus "Resident Status U;R" mbrace "Mother's Bridged Race U;R " mrace "Mother's Race U " mracerec "Mother's Race Recode U;R" mraceimp "Mother's Race Imputed Flag U;R " umhisp "Mother's Hispanic Origin U;R (f_morigin rep flag)" mracehisp "Mother's Race/Hispanic Origin U;R (f_morigin rep flag)" mar "Mother's Marital Status U;R (* rep flag)" mar_imp "Mother's Marital Status Imputed Flag U;R" meduc "Mother's Education R (f_meduc rep flag)" umeduc "Mother's Education U (f_med rep flag)" meduc_rec "Mother's Education Recode U (f_med rep flag)" fagerpt_flg "Father's Reported Age Used U;R" fagerpt "Father's Reported Age U;R" ufagecomb "Father's Combined Age U" fagerec11 "Father's Age Recode 11 U;R" fbrace "Father's Bridged Race U;R " fracerec "Father's Race Recode U;R" ufhisp "Father's Hispanic Origin U;R (f_forigin rep flag)" fracehisp "Father's Race/Hispanic Origin U;R (f_forigin rep flag)" frace "Father's Race U " priorlive "Prior Births Now Living U;R" priordead "Prior Births Now Dead U;R" priorterm "Prior Other Terminations U;R" lbo "Live Birth Order U;R" lbo_rec "Live Birth Order Recode U;R" tbo "Total Birth Order U;R" tbo_rec "Total Birth Order Recode U;R" dllb_mm "Date of Last Live Birth - Month U;R" dllb_yy "Date of Last Live Birth - Year U;R" precare "Month Prenatal Care Began R (f_mpcb rep flag)" precare_rec "Month Prenatal Care Began Recode R (f_mpcb rep flag)" mpcb "Month Prenatal Care Began U (f_mpcb_u rep flag)" mpcb_rec6 "Month Prenatal Care Began Recode 6 U (f_mpcb_u rep flag)" mpcb_rec5 "Month Prenatal Care Began Recode 5 U (f_mpcb_u rep flag)" uprevis "Number of Prenatal Visits U;R" previs_rec "Number of Prenatal Visits Recode U;R" wtgain "Weight Gain U;R (f_wtgain rep flag)" wtgain_rec "Weight Gain Recode U;R (f_wtgain rep flag)" cig_1 "Cigarettes 1st Trimester R " cig_2 "Cigarettes 2nd Trimester R " cig_3 "Cigarettes 3rd Trimester R " tobuse "Tobacco Use U (f_tobac rep flag)" cigs "Cigarettes Per Day U" cig_rec6 "Cigarettes Recode U" cig_rec "Cigarettes Recode R" alcohol "Alcohol Use U (f_alcol rep flag)" drinks "Drinks Per Week U (f_alcol rep flag)" drinks_rec "Drinks Recode U (f_alcol rep flag) " urf_anemia "Anemia U " urf_card "Cardiac U" urf_lung "Acute or Chronic Lung Disease U" urf_diab "Diabetes U;R" urf_gen "Genital Herpes U" urf_hydra "Hydramnios/Oligohydramnios U" urf_hemo "Hemoglobinopathy U" urf_chyper "Chronic Hypertension U;R" urf_phyper "Pregnancy Associated Hypertension U;R" urf_eclam "Eclampsia U;R" urf_incerv "Incompetent cervix U" urf_pre4000 "Previous infant 4000+ Grams U" urf_preterm "Previous Preterm or Small for Gestation U" urf_renal "Renal disease U" urf_rh "Rh sensitization U" urf_uterine "Uterine bleeding U" urf_other "Other Medical Risk Factors U" uop_amnio "Amniocentesis U" uop_monit "Electronic Fetal Monitoring U" uop_induc "Induction of labor U;R" uop_stiml "Stimulation of labor U" uop_tocol "Tocolysis U;R" uop_ultra "Ultrasound U" uop_other "Other Obstetric Procedures U" uld_febr "Febrile U" uld_meco "Meconium U;R" uld_ruptr "Premature Rupture of Membrane U" uld_abrup "Abruptio placenta U" uld_prepla "Placenta previa U" uld_excbl "Other Excessive Bleeding U" uld_seiz "Seizures During Labor U " uld_precip "Precipitous labor U;R" uld_prolg "Prolonged Labor U" uld_dysfn "Dysfunctional Labor U" uld_breech "Breech U;R" uld_cephal "Cephalopelvic Disproportion U" uld_cord "Cord Prolapse U" uld_anest "Anesthetic Complications U" uld_distr "Fetal Distress U" uld_other "Other Complications U" ume_vag "Vaginal U;R" ume_vbac "Vaginal after C-Section U;R" ume_primc "Primary C-Section U;R" ume_repec "Repeat C-Section U;R" ume_forcp "Forceps U;R " ume_vac "Vacuum U;R" dmeth_rec "Delivery Method Recode U;R" attend "Attendant U;R" apgar5 "Five Minute Apgar Score U;R (f_apgar5 rep flag)" apgar5r "Five Minute Apgar Recode U;R (f_apgar5 rep flag)" dplural "Plurality U;R" imp_plur "Plurality Imputed U;R" sex "Sex of Infant U;R" imp_sex "Imputed Sex " dlmp_mm "Last Normal Menses - Month U;R" dlmp_dd "Last Normal Menses - Day U;R" dlmp_yy "Last Normal Menses - Year U;R" estgest "Obstetric/Clinical Gestation Est. U;R (f_clinest rep flag)" combgest "Gestation - Detail in Weeks U;R" gestrec10 "Gestation Recode 10 U;R" gestrec3 "Gestation Recode 3 U;R" obgest_flg "Clinical Estimate of Gestation Used Flag U;R " gest_imp "Gestation Imputed Flag U;R" dbwt "Birth Weight - Detail in Grams U;R" bwtr12 "Birth Weight Recode 12 U;R" bwtr4 "Birth Weight Recode 4 U;R" bwtimp "Imputed Birthweight Flag U" uab_anem "Anemia U" uab_injury "Birth Injury U" uab_alcoh "Fetal Alcohol Syndrome U" uab_hyal "Hyaline Membrane Disease U" uab_mecon "Meconium Aspiration Syndrome U" uab_venl30 "Assisted Ventilation < 30 min U" uab_ven30m "Assisted Ventilation >= 30 min U" uab_nseiz "Seizures U" uab_other "Other Abnormal Conditions U" uca_anen "Anencephalus U;R" uca_spina "Spina bifida/Meningocele U;R" uca_hydro "Hydrocephalus U" uca_micro "Microcephalus U" uca_nerv "Other Central Nervous System Anomalies U" uca_heart "Heart malformations U" uca_circ "Other Circulatory/Respiratory Anomalies U" uca_rectal "Rectal Atresia/Stenosis U" uca_trach "Tracheo-Esophageal Fistula U" uca_ompha "Omphalocele/Gastroschisis U;R" uca_gastro "Other Gastrointestinal Anomalies U" uca_genital "Malformed Genitalia U " uca_renal "Renal Agenesis U" uca_urogen "Other Urogenital Anomalies U" uca_cleftlp "Cleft Lip/Palate U;R" uca_adactyly "Polydactyly/Syndactyly/Adactyly U" uca_clubft "Club Foot U" uca_hernia "Diaphragmatic Hernia U" uca_muscu "Other Musculoskeletal Anomalies U" uca_downs "Downs Syndrome U;R" uca_chromo "Other Chromosomal Anomalies U" uca_other "Other Congenital Anomalies U" f_morigin "Origin of Mother U;R" f_forigin "Origin of Father U;R" f_meduc "Education of Mother R" f_clinest "Clinical Estimate of Gestation U;R" f_apgar5 "5 - minute Apgar U;R" f_tobaco "Tobacco use R" f_med "Mother's Education U" f_wtgain "Weight gain U;R" f_alcol "Alcohol use U" f_api "API codes U" f_tobac "Tobacco use U" f_mpcb "Month Prenatal Care Began R" f_mpcb_u "Month Prenatal Care Began U" mrace1e "Mother's Race Edited R" mrace2e "Mother's Race Edited R" mrace3e "Mother's Race Edited R" mrace4e "Mother's Race Edited R" mrace5e "Mother's Race Edited R" mrace6e "Mother's Race Edited R" mrace7e "Mother's Race Edited R" mrace8e "Mother's Race Edited R" frace1e "Father's Race Edited R" frace2e "Father's Race Edited R" frace3e "Father's Race Edited R" frace4e "Father's Race Edited R" frace5e "Father's Race Edited R" frace6e "Father's Race Edited R" frace7e "Father's Race Edited R" frace8e "Father's Race Edited R" matchs "Match Status U;R" aged "Age at Death in Days " ager5 "Infant age recode 5" ager22 "Infant age recode 22" manner "Manner of Death" dispo "Method of Disposition" autopsy "Autopsy" place "Place of injury for causes W00-Y34" 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" econdp_2 "Part/line number on certificate 2" econds_2 "Sequence of condition within part/line 2" enicon_2 "Condition code 2" econdp_3 "Part/line number on certificate 3" econds_3 "Sequence of condition within part/line 3" enicon_3 "Condition code 3" econdp_4 "Part/line number on certificate 4" econds_4 "Sequence of condition within part/line 4" enicon_4 "Condition code 4" econdp_5 "Part/line number on certificate 5" econds_5 "Sequence of condition within part/line 5" enicon_5 "Condition code 5" econdp_6 "Part/line number on certificate 6" econds_6 "Sequence of condition within part/line 6" enicon_6 "Condition code 6" econdp_7 "Part/line number on certificate 7" econds_7 "Sequence of condition within part/line 7" enicon_7 "Condition code 7" econdp_8 "Part/line number on certificate 8" econds_8 "Sequence of condition within part/line 8" enicon_8 "Condition code 8" econdp_9 "Part/line number on certificate 9" econds_9 "Sequence of condition within part/line 9" enicon_9 "Condition code 9" econdp_10 "Part/line number on certificate 10" econds_10 "Sequence of condition within part/line 10" enicon_10 "Condition code 10" econdp_11 "Part/line number on certificate 11" econds_11 "Sequence of condition within part/line 11" enicon_11 "Condition code 11" econdp_12 "Part/line number on certificate 12" econds_12 "Sequence of condition within part/line 12" enicon_12 "Condition code 12" econdp_13 "Part/line number on certificate 13" econds_13 "Sequence of condition within part/line 13" enicon_13 "Condition code 13" econdp_14 "Part/line number on certificate 14" econds_14 "Sequence of condition within part/line 14" enicon_14 "Condition code 14" econdp_15 "Part/line number on certificate 15" econds_15 "Sequence of condition within part/line 15" enicon_15 "Condition code 15" econdp_16 "Part/line number on certificate 16" econds_16 "Sequence of condition within part/line 16" enicon_16 "Condition code 16" econdp_17 "Part/line number on certificate 17" econds_17 "Sequence of condition within part/line 17" enicon_17 "Condition code 17" econdp_18 "Part/line number on certificate 18" econds_18 "Sequence of condition within part/line 18" enicon_18 "Condition code 18" econdp_19 "Part/line number on certificate 19" econds_19 "Sequence of condition within part/line 19" enicon_19 "Condition code 19" econdp_20 "Part/line number on certificate 20" econds_20 "Sequence of condition within part/line 20" enicon_20 "Condition code 20" ranum "Number of Record-Axis Conditions" record_1 "Condition 1" record_2 "Condition 2" record_3 "Condition 3" record_4 "Condition 4" record_5 "Condition 5" record_6 "Condition 6" record_7 "Condition 7" record_8 "Condition 8" record_9 "Condition 9" record_10 "Condition 10" record_11 "Condition 11" record_12 "Condition 12" record_13 "Condition 13" record_14 "Condition 14" record_15 "Condition 15" record_16 "Condition 16" record_17 "Condition 17" record_18 "Condition 18" record_19 "Condition 19" record_20 "Condition 20" resstatd "Resident Status" stoccd "State of Occurrence (FIPS)" cntocfipd "County of Occurrence (FIPS)" estatocd "Expanded State of Occurrence Code" cntocppd "Population Size of County of Occurrence" stresd "State of Residence (FIPS)" drcntry "Country of Residence" drstcntry "State/Country of Residence Recode" cntyrfpd "County of Residence (FIPS)" plres "City of Residence (FIPS)" citrsppd "Population Size of City of Residence" metrresd "Metropolitan - Nonmetropolitan County of Residence" drstate "Expanded State of Residence Code" smsarfipd "PMSA/MSA of Residence (FIPS)" popsizrs "Population Size of County of Residence" popsmsad "PMSA/MSA Population Size of Residence" cmsad "CMSA of Residence (FIPS)" hospd "Place of Death and Decedent's Status" weekdayd "Day of Week of Death" dthyr "Current Data Year" dthmon "Month of Death" . list. execute. save outfile = 'c:\linkco2003us_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.