*options obs=100 ; options nocenter ; **------------------------------------------------ ; ** by Jean Roth Mon Jul 17 18:22:17 EDT 2017 ** This program reads the 2013 *U.S. Numerator Linked Birth Infant Death Birth Period Data Data File ; ** Report errors to jroth@nber.org ; ** This program is distributed under the GNU GPL. ; ** See end of this file and ** http://www.gnu.org/licenses/ for details. ; ** ----------------------------------------------- ; * The following line should contain the directory where the SAS file is to be stored ; libname library "/homes/data/linkpe/2013/"; * The following line should contain the complete path and name of the raw data file. On a PC, use backslashes in paths as in C:\ ; FILENAME datafile pipe "unzip -p /homes/data/linkpe/ftp.cdc.gov/pub/Health_Statistics/NCHS/Datasets/DVS/periodlinkedus/LinkPE13USNum.dat.zip "; * The following line should contain the name of the SAS dataset ; %let dataset = library.linkpe2013usnum; DATA &dataset ; INFILE datafile LRECL = 20000 ; attrib revision length=$1 label="Revision U,R"; attrib laterec length=3 label="Late Record Flag U,R"; attrib dob_yy length=4 label="Birth Year U,R"; attrib dob_mm length=3 label="Birth Month U,R"; attrib dob_tt length=4 label="Birth Time R"; attrib dob_wk length=3 label="Birth Weekday U,R"; attrib ostate length=$2 label="Occurrence State U,R"; attrib ocntyfips length=3 label="Occurrence FIPS County U,R"; attrib ocntypop length=3 label="Occurence County Population U,R"; attrib bfacil length=3 label="Birth Place R (f_facility rep flag)"; attrib ubfacil length=3 label="Birth Place U,R"; attrib bfacil3 length=3 label="Birth Place Recode U,R"; attrib mage_impflg length=3 label="Mother's Age Imputated Flag U,R"; attrib mage_repflg length=3 label="Reported Age of Mother Flag U,R"; attrib mager41 length=3 label="Mother's Age Recode 41 U,R"; attrib mager14 length=3 label="Mother's Age Recode 14 U,R"; attrib mager9 length=3 label="Mother's Age Recode 9 U,R"; attrib mbcntry length=$2 label="Mother's Birth Country R,u"; attrib mrstatefips length=$2 label="Mother's Residence State U,R"; attrib mrcntyfips length=3 label="Mother's FIPS County of Residence (FIPS) U,R"; attrib rcnty_pop length=$1 label="Population of Residence County U,R"; attrib rectype length=3 label="Record Type U,R"; attrib restatus length=3 label="Resident Status U,R"; attrib mbrace length=3 label="Mother's Bridged Race U,R"; attrib mrace length=3 label="Mother's Race U"; attrib mracerec length=3 label="Mother's Race Recode U,R"; attrib mraceimp length=$1 label="Mother's Race Imputed Flag U,R"; attrib umhisp length=3 label="Mother's Hispanic Origin U,R (f_morigin rep flag)"; attrib mracehisp length=3 label="Mother's Race/Hispanic Origin U,R (f_morigin rep flag)"; attrib mar_p length=$1 label="Paternity Acknowledged R (f_mar_p rep flag)"; attrib mar length=3 label="Mother's Marital Status U,R (f_mar rep flag)"; attrib mar_imp length=3 label="Mother's Marital Status Imputed Flag U,R"; attrib meduc length=3 label="Mother's Education R (f_meduc rep flag)"; attrib fagerpt_flg length=3 label="Father's Reported Age Used U,R"; attrib fagecomb length=3 label="Father's Combined Age (Revised) R"; attrib ufagecomb length=3 label="Father's Combined Age U"; attrib fagerec11 length=3 label="Father's Age Recode 11 U,R"; attrib fbrace length=3 label="Father's Bridged Race U,R"; attrib fracerec length=3 label="Father's Race Recode U,R"; attrib ufhisp length=3 label="Father's Hispanic Origin U,R (f_forigin rep flag)"; attrib fracehisp length=3 label="Father's Race/Hispanic Origin U,R (f_forigin rep flag)"; attrib feduc length=3 label="Father's Education R (f_feduc rep flag)"; attrib frace length=3 label="Father's Race U"; attrib priorterm length=3 label="Prior Other Terminations U,R"; attrib lbo_rec length=3 label="Live Birth Order Recode U,R"; attrib tbo_rec length=3 label="Total Birth Order Recode U,R"; attrib precare length=3 label="Month Prenatal Care Began R (f_mpcb rep flag)"; attrib precare_rec length=3 label="Month Prenatal Care Began Recode R (f_mpcb rep flag)"; attrib uprevis length=3 label="Number of Prenatal Visits U,R (f_previs rep flag)"; attrib previs_rec length=3 label="Number of Prenatal Visits Recode U,R (f_previs rep flag)"; attrib wtgain length=3 label="Weight Gain U,R (f_wtgain rep flag)"; attrib wtgain_rec length=3 label="Weight Gain Recode U,R (f_wtgain rep flag)"; attrib dfpc_imp length=3 label="Day of Date First Prenatal Care Imputed R"; attrib wic length=$1 label="WIC R "; attrib cig_0 length=3 label="Cigarettes Before Pregnancy R (f_cig_0 rep flag)"; attrib cig_1 length=3 label="Cigarettes 1st Trimester R (f_tobaco rep flag)"; attrib cig_2 length=3 label="Cigarettes 2nd Trimester R (f_tobaco rep flag)"; attrib cig_3 length=3 label="Cigarettes 3rd Trimester R (f_tobaco rep flag)"; attrib cig_rec length=$1 label="Cigarettes Recode R (f_tobaco rep flag)"; attrib rf_diab length=$1 label="Prepregnancy Diabetes R (f_rf_pdiab rep flag)"; attrib rf_gdiab length=$1 label="Gestational Diabetes R (f_rf_gdiab rep flag)"; attrib rf_phyper length=$1 label="Prepregnancy Diabetes R (f_rf_phyper rep flag)"; attrib rf_ghyper length=$1 label="Gestational Diabetes R (f_rf_ghyper rep flag)"; attrib rf_eclam length=$1 label="Hypertension Eclampsia R (f_rf_eclam rep flag)"; attrib rf_ppterm length=$1 label="Previous Preterm Birth R (f_rf_ppterm rep flag)"; attrib rf_ppoutc length=$1 label="Poor Pregnancy Outcome R (f_rf_ppoutc rep flag)"; attrib rf_inftr length=$1 label="Infertility Treatment R (f_rf_inftr rep flag)"; attrib rf_fedrg length=$1 label="Fertility Enhancing Drug R (f_rf_fedrg rep flag)"; attrib rf_artec length=$1 label="Asst. Reproductive Technology (f_rf_artec flag)"; attrib rf_cesar length=$1 label="Previous Cesareans (f_rf_cesar rep flag)"; attrib rf_cesarn length=$2 label="Previous Cesareans Number (f_rf_cesarn rep flag)"; attrib urf_diab length=3 label="Diabetes U,R (f_urf_diab rep flag)"; attrib urf_gen length=3 label="Genital Herpes U (f_urf_herpes rep flag)"; attrib urf_hydra length=3 label="Hydramnios/Oligohydramnios U"; attrib urf_hemo length=3 label="Hemoglobinopathy U"; attrib urf_chyper length=3 label="Chronic Hypertension U,R (f_urf_chyper rep flag)"; attrib urf_phyper length=3 label="Pregnancy Associated Hypertension U,R (f_urf_phyper rep flag)"; attrib urf_eclam length=3 label="Eclampsia U,R (f_urf_eclam rep flag)"; attrib ip_gono length=$1 label="Gonorrhea R (f_ip_gono rep flag)"; attrib ip_syph length=$1 label="Syphilis R (f_ip_syph rep flag)"; attrib ip_chlam length=$1 label="Chlamydia R (f_ip_chlam rep flag)"; attrib ip_hepb length=$1 label="Hepatitis B R (f_ip_hepb rep flag)"; attrib ip_hepc length=$1 label="Hepatitis C R (f_ip_hepc rep flag)"; attrib op_cerv length=$1 label="Cervical Cerclage R (f_op_cerv rep flag)"; attrib op_tocol length=$1 label="Tocolysis (f_op_tocol rep flag) "; attrib op_ecvs length=$1 label="Successful External Cephalic Version R"; attrib op_ecvf length=$1 label="Failed External Cephalic Version R"; attrib uop_induc length=3 label="Induction of labor U,R"; attrib uop_tocol length=3 label="Tocolysis U,R"; attrib uop_ultra length=3 label="Ultrasound U"; attrib uop_otherob length=3 label="Other Obstetric Procedures U"; attrib ol_ruptr length=$1 label="Premature Rupture of Membrane R"; attrib ol_precip length=$1 label="Precipitous labor R"; attrib ol_prol length=$1 label="Prolonged Labor R"; attrib ld_indl length=$1 label="Induction of Labor R"; attrib ld_augm length=$1 label="Augmentation of Labor R"; attrib ld_ster length=$1 label="Steroids R"; attrib ld_anti length=$1 label="Antibiotics R"; attrib ld_chor length=$1 label="Chorioamnionitis R"; attrib ld_mecs length=$1 label="Meconium Staining R"; attrib ld_fint length=$1 label="Fetal Intolerance R"; attrib ld_anes length=$1 label="Anesthesia R"; attrib uld_meco length=3 label="Meconium U,R"; attrib uld_precip length=3 label="Precipitous labor U,R"; attrib uld_breech length=3 label="Breech U,R"; attrib me_pre length=3 label="Fetal Presentation R ( rep flag)"; attrib me_rout length=3 label="Route and Method R ( rep flag)"; attrib me_trial length=$1 label="Trial of Labor Attempted R ( rep flag)"; attrib ume_forcep length=3 label="Forceps U,R ( rep flag)"; attrib ume_vac length=3 label="Vacuum U,R ( rep flag)"; attrib rdmeth_rec length=3 label="Delivery Method Recode R ( rep flag)"; attrib dmeth_rec length=3 label="Delivery Method Recode U,R"; attrib mm_mtr length=$1 label="Maternal Transfusion R (f_mm_mtr rep flag)"; attrib mm_plac length=$1 label="Perineal Laceration R (f_mm_plac rep flag)"; attrib mm_rupt length=$1 label="Ruptured Uterus R (f_mm_rupt rep flag)"; attrib mm_uhyst length=$1 label="Unplanned Hysterectomy R (f_mm_hyst rep)"; attrib mm_icu length=$1 label="Admit to Intensive Care R (f_mm_icu rep flag)"; attrib mm_uoper length=$1 label="Unplanned Operation R (f_mm_uoper rep flag)"; attrib attend length=$1 label="Attendant U,R"; attrib mm_tran length=$1 label="Mother Transferred R"; attrib pay length=$1 label="Payment Source R (f_pay rep flag)"; attrib payr length=$1 label="Payment Recode R"; attrib apgar5 length=3 label="Five Minute Apgar Score U,R (f_apgar5 rep flag)"; attrib apgar5r length=3 label="Five Minute Apgar Recode U,R (f_apgar5 rep flag)"; attrib apgar10 length=3 label="Ten Minute Apgar Score U,R (f_apgar10 rep flag)"; attrib apgar10r length=3 label="Ten Minute Apgar Recode U,R (f_apgar10 rep flag)"; attrib dplural length=3 label="Plurality U,R"; attrib imp_plur length=3 label="Plurality Imputed U,R"; attrib sex length=$1 label="Sex of Infant U,R"; attrib imp_sex length=3 label="Imputed Sex"; attrib dlmp_mm length=3 label="Last Normal Menses - Month U,R"; attrib dlmp_dd length=3 label="Last Normal Menses - Day U,R"; attrib dlmp_yy length=4 label="Last Normal Menses - Year U,R"; attrib estgest length=3 label="Obstetric/Clinical Gestation Est. U,R (f_clinest rep flag)"; attrib combgest length=3 label="Gestation - Detail in Weeks U,R"; attrib gestrec10 length=3 label="Gestation Recode 10 U,R"; attrib gestrec3 length=3 label="Gestation Recode 3 U,R"; attrib obgest_flg length=3 label="Clinical Estimate of Gestation Used Flag U,R"; attrib gest_imp length=3 label="Gestation Imputed Flag U,R"; attrib dbwt length=4 label="Birth Weight - Detail in Grams U,R"; attrib bwtr14 length=3 label="Birth Weight Recode 14 U,R"; attrib bwtr4 length=3 label="Birth Weight Recode 4 U,R"; attrib bwtimp length=3 label="Imputed Birthweight Flag U"; attrib ab_aven1 length=$1 label="Assisted Ventilation 628"; attrib ab_aven6 length=$1 label="Assisted Ventilation > 6 hrs (f_ab_aven6 rep flag)"; attrib ab_nicu length=$1 label="Admission to NICU (f_ab_nicu rep flag)"; attrib ab_surf length=$1 label="Surfactant (f_ab_surfac rep flag)"; attrib ab_anti length=$1 label="Antibiotics (f_ab_anti rep flag)"; attrib ab_seiz length=$1 label="Seizures (f_ab_seiz rep flag)"; attrib ab_binj length=$1 label="Birth Injury (f_ab_binj rep flag)"; attrib ca_anen length=$1 label="Anencephaly (f_ca_anen rep flag)"; attrib ca_menin length=$1 label="Meningomyelocele / Spina Bifida R (f_ca_menin rep flag)"; attrib ca_heart length=$1 label="Cyonotic Congenital Heart Disease (f_ca_heart rep flag)"; attrib ca_hernia length=$1 label="Congenital Diaphragmatic Hernia (f_ca_hernia rep flag)"; attrib ca_omph length=$1 label="Omphalocele (f_ca_omph rep flag)"; attrib ca_gastro length=$1 label="Gastrochisis (f_ca_gastro rep flag)"; attrib ca_limb length=$1 label="Limb Reduction Defect (f_ca_limb rep flag)"; attrib ca_cleftlip length=$1 label="Cleft Lip w/ or w/o Cleft Palate (f_ca_cleftlip rep flag)"; attrib ca_cleftpal length=$1 label="Cleft Palate Alone (f_ca_cleftpal rep flag)"; attrib ca_downs length=$1 label="Down Syndrome (f_ca_down rep)"; attrib ca_chromo length=$1 label="Suspected Chromosonal Disorder (f_ca_chromo replag) "; attrib ca_hypo length=$1 label="Hypospadias (f_ca_hypo rep flag)"; attrib uca_anen length=3 label="Anencephalus U,R"; attrib uca_spina length=3 label="Spina bifida/Meningocele U,R"; attrib uca_omph length=3 label="Omphalocele/Gastroschisis U,R"; attrib uca_cleftlip length=3 label="Cleft Lip/Palate U,R"; attrib uca_hernia length=3 label="Diaphragmatic Hernia U,R"; attrib uca_downs length=3 label="Down Syndrome U,R"; attrib itran length=$1 label="Infant Transferred R"; attrib ilive length=$1 label="Infant Living at Time of Report R"; attrib bfed length=$1 label="Infant Being Breastfed 581 R"; attrib bmi_r length=3 label="Body Mass Index Recode 576 R"; attrib illb_r length=3 label="Interval of Last Live Birth Recode R"; attrib illb_r11 length=3 label="Interval of Last Live Birth Recode 11 R"; attrib ilop_r length=3 label="Interval of Last Other Pregnancy Recode R"; attrib ilop length=3 label="Interval of Last Other Pregnancy Recode 11 R"; attrib ilp_r length=3 label="Interval of Last Pregnancy Recode R"; attrib ilp_r11 length=3 label="Interval of Last Pregnancy Recode 11 R"; attrib pwgt_r length=3 label="Pre-pregnancy Weight Recode R"; attrib dwgt_r length=3 label="Delivery Weight Recode R"; attrib m_ht_in length=3 label="Mother's Height in Inches (f_m_ht_in rep flag)"; attrib setorder_r length=3 label="Set Order Recode R"; attrib f_morigin length=3 label="Origin of Mother U,R"; attrib f_forigin length=3 label="Origin of Father U,R"; attrib f_meduc length=3 label="Education of Mother R"; attrib f_feduc length=3 label="Education of Father R"; attrib f_clinest length=3 label="Clinical Estimate of Gestation U,R"; attrib f_apgar5 length=3 label="5 - minute Apgar U,R"; attrib f_tobaco length=3 label="Tobacco use R"; attrib f_m_ht_in length=3 label="Mother's Height R"; attrib f_pwgt_r length=3 label="Prepregnancy Weight R"; attrib f_dwgt_r length=3 label="Weight at Delivery R"; attrib f_wic length=3 label="WIC R"; attrib f_pay length=3 label="Source of Payment R"; attrib f_bfed length=3 label="Breastfed at Discharge R"; attrib f_rf_pdiab length=3 label="Prepregnancy Diabetes R"; attrib f_rf_gdiab length=3 label="Gestational Diabetes R"; attrib f_rf_phyper length=3 label="Prepregnancy Hypertension R"; attrib f_rf_ghyper length=3 label="Gestational Hypertension R"; attrib f_rf_eclam length=3 label="Hypertension Eclampsia R"; attrib f_rf_ppterm length=3 label="Previous Preterm Birth R"; attrib f_rf_ppoutc length=3 label="Poor Pregnancy Outcomes R"; attrib f_rf_inftr length=3 label="Infertility Treatment R"; attrib f_rf_fedrg length=3 label="Fertility Enhancement Drugs R"; attrib f_rf_artec length=3 label="Asst. Reproductive Technology R"; attrib f_rf_cesar length=3 label="Previous Cesarean R"; attrib f_rf_ncesar length=3 label="Number of Previous Cesareans R"; attrib f_ip_gono length=3 label="Gonorrhea R"; attrib f_ip_syph length=3 label="Syphilis R"; attrib f_ip_chlam length=3 label="Chlamydia R"; attrib f_ip_hepb length=3 label="Hepatitis B R"; attrib f_ip_hepc length=3 label="Hepatitis C R"; attrib f_op_cerv length=3 label="Cervical Cerclage R"; attrib f_op_tocol length=3 label="Tocolysis R"; attrib f_op_ecvs length=3 label="Successful External Cephalic Version R"; attrib f_op_ecvf length=3 label="Failed External Cephalic Version R"; attrib f_ol_ruptr length=3 label="Premature Rupture of the Membrane R"; attrib f_ol_precip length=3 label="Precipitous Labor R"; attrib f_ol_prol length=3 label="Prolonged Labor R"; attrib f_ld_indl length=3 label="Induction of Labor R"; attrib f_ld_augm length=3 label="Augmentation of Labor R"; attrib f_ld_ster length=3 label="Steroids R"; attrib f_ld_anti length=3 label="Antibiotics R"; attrib f_ld_chor length=3 label="Chorioamnionitis R"; attrib f_ld_meco length=3 label="Meconium Staining R"; attrib f_ld_fint length=3 label="Fetal Intolerance R"; attrib f_ld_anes length=3 label="Anesthesia R"; attrib f_md_pres length=3 label="Fetal Presentation R"; attrib f_md_rout length=3 label="Final Route and Method of Delivery R"; attrib f_md_trial length=3 label="Trial of Labor Attempted R"; attrib f_mm_mtr length=3 label="Maternal Transfusion R"; attrib f_mm_plac length=3 label="Perineal Laceration R"; attrib f_mm_rupt length=3 label="Ruptured Uterus R"; attrib f_mm_uhystr length=3 label="Unplanned Hysterectomy R"; attrib f_mm_icu length=3 label="Admission to Intensive Care R"; attrib f_mm_oper length=3 label="Unplanned Operating Room Procedure R"; attrib f_ab_vent length=3 label="Assisted Ventilation R"; attrib f_ab_vent6 length=3 label="Assisted Ventiliation > 6 hours R"; attrib f_ab_niuc length=3 label="Admission to NICH R"; attrib f_ab_surfac length=3 label="Surfactant R"; attrib f_ab_antibio length=3 label="Antibiotics R"; attrib f_ab_seiz length=3 label="Seizures R"; attrib f_ab_inj length=3 label="Birth Injury R"; attrib f_ca_anen length=3 label="Anencephaly R"; attrib f_ca_menin length=3 label="Meningomyelocele/Spina Bifida R"; attrib f_ca_heart length=3 label="Cyanotic Congenital Heart Disease R"; attrib f_ca_hernia length=3 label="Congenital Diaphragmatic Hernia R"; attrib f_ca_omph length=3 label="Omphalocele R"; attrib f_ca_gastro length=3 label="Gastroschisis R"; attrib f_ca_limb length=3 label="Limb Reduction Defect R"; attrib f_ca_cleftlip length=3 label="Cleft Lip with or without Cleft Palate R"; attrib f_ca_cleftpal length=3 label="Cleft Palate Alone R"; attrib f_ca_downs length=3 label="Down Syndrome R"; attrib f_ca_chromo length=3 label="Suspected Chromosonal Disorder R"; attrib f_ca_hypo length=3 label="Hypospadias R"; attrib f_wtgain length=3 label="Weight gain U,R"; attrib f_mar length=3 label="Mother's Marital Status R"; attrib f_mar_p length=3 label="Paternity Acknowledged R"; attrib f_mpcb length=3 label="Month Prenatal Care Began R"; attrib f_previs length=3 label="Total Number of Prenatal Visits U,R"; attrib f_cig_0 length=3 label="Cigarettes before Pregnancy R"; attrib f_cig_1 length=3 label="Cigarettes 1st Trimester R"; attrib f_cig_2 length=3 label="Cigarettes 2nd Trimester R"; attrib f_cig_3 length=3 label="Cigarettes 3rd Trimester R"; attrib f_facility length=3 label="Facility R"; attrib f_pay_rec length=3 label="Payment Recode R"; attrib f_rdmeth_rec length=3 label="Delivery Month Recode R "; attrib f_urf_diab length=3 label="Diabetes U"; attrib f_urf_herpes length=3 label="Genital Herpes U"; attrib f_urf_chyper length=3 label="Chronic Hypertension U"; attrib f_urf_phyper length=3 label="Pregnancy-Associated Hypertension U"; attrib f_urf_eclam length=3 label="Eclampsia U"; attrib f_uop_induct length=3 label="Induction of Labor U"; attrib f_uop_tocol length=3 label="Tocolysis U"; attrib f_uld_meco length=3 label="Meconium U"; attrib f_uld_precip length=3 label="Precipitous Labor U"; attrib f_uld_breech length=3 label="Breech U"; attrib f_u_forcep length=3 label="Forceps U"; attrib f_u_vac length=3 label="Vacuum U"; attrib f_uca_anen length=3 label="Anencephalus U"; attrib f_uca_spina length=3 label="Spina Bifida U"; attrib f_uca_omph length=3 label="Omphalocele/Gastrochisis U"; attrib f_uca_cleftlip length=3 label="Cleft Lip/Palate U"; attrib f_uca_hernia length=3 label="Diaphramatic Hernia U"; attrib f_uca_downs length=3 label="Down Syndrome U"; attrib matchs length=3 label="Match Status U,R"; attrib aged length=3 label="Age at Death in Days"; attrib ager5 length=3 label="Infant age recode 5"; attrib ager22 length=3 label="Infant age recode 22"; attrib manner length=3 label="Manner of Death"; attrib dispo length=$1 label="Method of Disposition"; attrib autopsy length=$1 label="Autopsy"; attrib place length=3 label="Place of injury for causes W00-Y34 except Y06 and Y07"; attrib ucod length=$4 label="ICD Code (10th Revision)"; attrib ucod130 length=3 label="130 Infant Cause Recode"; attrib recwt length=5 label="Record Weight"; attrib eanum length=3 label="Number of Entity-Axis Conditions"; attrib econdp_1 length=3 label="Part/line number on certificate 1"; attrib econds_1 length=$1 label="Sequence of condition within part/line 1"; attrib enicon_1 length=$4 label="Condition code 1 (ICD 10th Revision)"; attrib econdp_2 length=3 label="Part/line number on certificate 2"; attrib econds_2 length=$1 label="Sequence of condition within part/line 2"; attrib enicon_2 length=$4 label="Condition code 2 (ICD 10th Revision)"; attrib econdp_3 length=3 label="Part/line number on certificate 3"; attrib econds_3 length=$1 label="Sequence of condition within part/line 3"; attrib enicon_3 length=$4 label="Condition code 3 (ICD 10th Revision)"; attrib econdp_4 length=3 label="Part/line number on certificate 4"; attrib econds_4 length=$1 label="Sequence of condition within part/line 4"; attrib enicon_4 length=$4 label="Condition code 4 (ICD 10th Revision)"; attrib econdp_5 length=3 label="Part/line number on certificate 5"; attrib econds_5 length=$1 label="Sequence of condition within part/line 5"; attrib enicon_5 length=$4 label="Condition code 5 (ICD 10th Revision)"; attrib econdp_6 length=3 label="Part/line number on certificate 6"; attrib econds_6 length=$1 label="Sequence of condition within part/line 6"; attrib enicon_6 length=$4 label="Condition code 6 (ICD 10th Revision)"; attrib econdp_7 length=3 label="Part/line number on certificate 7"; attrib econds_7 length=$1 label="Sequence of condition within part/line 7"; attrib enicon_7 length=$4 label="Condition code 7 (ICD 10th Revision)"; attrib econdp_8 length=3 label="Part/line number on certificate 8"; attrib econds_8 length=$1 label="Sequence of condition within part/line 8"; attrib enicon_8 length=$4 label="Condition code 8 (ICD 10th Revision)"; attrib econdp_9 length=3 label="Part/line number on certificate 9"; attrib econds_9 length=$1 label="Sequence of condition within part/line 9"; attrib enicon_9 length=$4 label="Condition code 9 (ICD 10th Revision)"; attrib econdp_10 length=3 label="Part/line number on certificate 10"; attrib econds_10 length=$1 label="Sequence of condition within part/line 10"; attrib enicon_10 length=$4 label="Condition code 10 (ICD 10th Revision)"; attrib econdp_11 length=3 label="Part/line number on certificate 11"; attrib econds_11 length=$1 label="Sequence of condition within part/line 11"; attrib enicon_11 length=$4 label="Condition code 11 (ICD 10th Revision)"; attrib econdp_12 length=3 label="Part/line number on certificate 12"; attrib econds_12 length=$1 label="Sequence of condition within part/line 12"; attrib enicon_12 length=$4 label="Condition code 12 (ICD 10th Revision)"; attrib econdp_13 length=3 label="Part/line number on certificate 13"; attrib econds_13 length=$1 label="Sequence of condition within part/line 13"; attrib enicon_13 length=$4 label="Condition code 13 (ICD 10th Revision)"; attrib econdp_14 length=3 label="Part/line number on certificate 14"; attrib econds_14 length=$1 label="Sequence of condition within part/line 14"; attrib enicon_14 length=$4 label="Condition code 14 (ICD 10th Revision)"; attrib econdp_15 length=3 label="Part/line number on certificate 15"; attrib econds_15 length=$1 label="Sequence of condition within part/line 15"; attrib enicon_15 length=$4 label="Condition code 15 (ICD 10th Revision)"; attrib econdp_16 length=3 label="Part/line number on certificate 16"; attrib econds_16 length=$1 label="Sequence of condition within part/line 16"; attrib enicon_16 length=$4 label="Condition code 16 (ICD 10th Revision)"; attrib econdp_17 length=3 label="Part/line number on certificate 17"; attrib econds_17 length=$1 label="Sequence of condition within part/line 17"; attrib enicon_17 length=$4 label="Condition code 17 (ICD 10th Revision)"; attrib econdp_18 length=3 label="Part/line number on certificate 18"; attrib econds_18 length=$1 label="Sequence of condition within part/line 18"; attrib enicon_18 length=$4 label="Condition code 18 (ICD 10th Revision)"; attrib econdp_19 length=3 label="Part/line number on certificate 19"; attrib econds_19 length=$1 label="Sequence of condition within part/line 19"; attrib enicon_19 length=$4 label="Condition code 19 (ICD 10th Revision)"; attrib econdp_20 length=3 label="Part/line number on certificate 20"; attrib econds_20 length=$1 label="Sequence of condition within part/line 20"; attrib enicon_20 length=$4 label="Condition code 20 (ICD 10th Revision)"; attrib ranum length=3 label="Number of Record-Axis Conditions"; attrib record_1 length=$4 label="Record-Axis Condition Code 1 (ICD 10th Revision)"; attrib record_2 length=$4 label="Record-Axis Condition Code 2 (ICD 10th Revision)"; attrib record_3 length=$4 label="Record-Axis Condition Code 3 (ICD 10th Revision)"; attrib record_4 length=$4 label="Record-Axis Condition Code 4 (ICD 10th Revision)"; attrib record_5 length=$4 label="Record-Axis Condition Code 5 (ICD 10th Revision)"; attrib record_6 length=$4 label="Record-Axis Condition Code 6 (ICD 10th Revision)"; attrib record_7 length=$4 label="Record-Axis Condition Code 7 (ICD 10th Revision)"; attrib record_8 length=$4 label="Record-Axis Condition Code 8 (ICD 10th Revision)"; attrib record_9 length=$4 label="Record-Axis Condition Code 9 (ICD 10th Revision)"; attrib record_10 length=$4 label="Record-Axis Condition Code 10 (ICD 10th Revision)"; attrib record_11 length=$4 label="Record-Axis Condition Code 11 (ICD 10th Revision)"; attrib record_12 length=$4 label="Record-Axis Condition Code 12 (ICD 10th Revision)"; attrib record_13 length=$4 label="Record-Axis Condition Code 13 (ICD 10th Revision)"; attrib record_14 length=$4 label="Record-Axis Condition Code 14 (ICD 10th Revision)"; attrib record_15 length=$4 label="Record-Axis Condition Code 15 (ICD 10th Revision)"; attrib record_16 length=$4 label="Record-Axis Condition Code 16 (ICD 10th Revision)"; attrib record_17 length=$4 label="Record-Axis Condition Code 17 (ICD 10th Revision)"; attrib record_18 length=$4 label="Record-Axis Condition Code 18 (ICD 10th Revision)"; attrib record_19 length=$4 label="Record-Axis Condition Code 19 (ICD 10th Revision)"; attrib record_20 length=$4 label="Record-Axis Condition Code 20 (ICD 10th Revision)"; attrib d_restatus length=3 label="Death Resident Status"; attrib stoccfipd length=$2 label="State of Occurrence (FIPS) of Death"; attrib cntoccfipd length=$3 label="County of Occurrence (FIPS) of Death"; attrib stresfipd length=$2 label="State of Residennce (FIPS) of Death"; attrib drcnty length=$2 label="State/Country of Residence of Death Recode"; attrib cntyrfpd length=$3 label="County of Residence (FIPS) of Death"; attrib cntrsppd length=$1 label="Population Size of County of Residence of Death"; attrib hospd length=3 label="Place of Death and Decedent's Status"; attrib weekdayd length=3 label="Day of Week of Death"; attrib dthyr length=4 label="Year of Death"; attrib dthmon length=3 label="Month of Death"; INPUT @7 revision $1. @9 laterec 1. @15 dob_yy 4. @19 dob_mm 2. @25 dob_tt 4. @29 dob_wk 1. @30 ostate $2. @37 ocntyfips 3. @40 ocntypop 1. @41 bfacil 1. @42 ubfacil 1. @59 bfacil3 1. @87 mage_impflg 1. @88 mage_repflg 1. @89 mager41 2. @91 mager14 2. @93 mager9 1. @94 mbcntry $2. @109 mrstatefips $2. @114 mrcntyfips 3. @132 rcnty_pop $1. @137 rectype 1. @138 restatus 1. @139 mbrace 2. @141 mrace 2. @143 mracerec 1. @144 mraceimp $1. @148 umhisp 1. @149 mracehisp 1. @152 mar_p $1. @153 mar 1. @154 mar_imp 1. @155 meduc 1. @175 fagerpt_flg 1. @182 fagecomb 2. @184 ufagecomb 2. @186 fagerec11 2. @188 fbrace 2. @191 fracerec 1. @195 ufhisp 1. @196 fracehisp 1. @197 feduc 1. @199 frace 2. @208 priorterm 2. @212 lbo_rec 1. @217 tbo_rec 1. @245 precare 2. @247 precare_rec 1. @270 uprevis 2. @272 previs_rec 2. @276 wtgain 2. @278 wtgain_rec 1. @280 dfpc_imp 1. @281 wic $1. @282 cig_0 2. @284 cig_1 2. @286 cig_2 2. @288 cig_3 2. @294 cig_rec $1. @313 rf_diab $1. @314 rf_gdiab $1. @315 rf_phyper $1. @316 rf_ghyper $1. @317 rf_eclam $1. @318 rf_ppterm $1. @319 rf_ppoutc $1. @321 rf_inftr $1. @322 rf_fedrg $1. @323 rf_artec $1. @324 rf_cesar $1. @325 rf_cesarn $2. @331 urf_diab 1. @332 urf_gen 1. @333 urf_hydra 1. @334 urf_hemo 1. @335 urf_chyper 1. @336 urf_phyper 1. @337 urf_eclam 1. @345 ip_gono $1. @346 ip_syph $1. @348 ip_chlam $1. @349 ip_hepb $1. @350 ip_hepc $1. @351 op_cerv $1. @352 op_tocol $1. @353 op_ecvs $1. @354 op_ecvf $1. @357 uop_induc 1. @359 uop_tocol 1. @360 uop_ultra 1. @361 uop_otherob 1. @362 ol_ruptr $1. @363 ol_precip $1. @364 ol_prol $1. @365 ld_indl $1. @366 ld_augm $1. @368 ld_ster $1. @369 ld_anti $1. @370 ld_chor $1. @371 ld_mecs $1. @372 ld_fint $1. @373 ld_anes $1. @375 uld_meco 1. @381 uld_precip 1. @384 uld_breech 1. @392 me_pre 1. @393 me_rout 1. @394 me_trial $1. @399 ume_forcep 1. @400 ume_vac 1. @401 rdmeth_rec 1. @403 dmeth_rec 1. @404 mm_mtr $1. @405 mm_plac $1. @406 mm_rupt $1. @407 mm_uhyst $1. @408 mm_icu $1. @409 mm_uoper $1. @410 attend $1. @411 mm_tran $1. @412 pay $1. @413 payr $1. @415 apgar5 2. @417 apgar5r 1. @418 apgar10 2. @420 apgar10r 1. @423 dplural 1. @425 imp_plur 1. @436 sex $1. @437 imp_sex 1. @438 dlmp_mm 2. @440 dlmp_dd 2. @442 dlmp_yy 4. @446 estgest 2. @451 combgest 2. @453 gestrec10 2. @455 gestrec3 1. @456 obgest_flg 1. @457 gest_imp 1. @467 dbwt 4. @471 bwtr14 2. @473 bwtr4 1. @475 bwtimp 1. @476 ab_aven1 $1. @476 ab_aven6 $1. @478 ab_nicu $1. @479 ab_surf $1. @480 ab_anti $1. @481 ab_seiz $1. @482 ab_binj $1. @492 ca_anen $1. @493 ca_menin $1. @494 ca_heart $1. @495 ca_hernia $1. @496 ca_omph $1. @497 ca_gastro $1. @498 ca_limb $1. @499 ca_cleftlip $1. @500 ca_cleftpal $1. @501 ca_downs $1. @502 ca_chromo $1. @503 ca_hypo $1. @504 uca_anen 1. @505 uca_spina 1. @513 uca_omph 1. @518 uca_cleftlip 1. @521 uca_hernia 1. @523 uca_downs 1. @526 itran $1. @527 ilive $1. @528 bfed $1. @533 bmi_r 1. @534 illb_r 3. @537 illb_r11 2. @539 ilop_r 3. @542 ilop 2. @544 ilp_r 3. @547 ilp_r11 2. @549 pwgt_r 3. @552 dwgt_r 3. @555 m_ht_in 3. @557 setorder_r 1. @569 f_morigin 1. @570 f_forigin 1. @571 f_meduc 1. @572 f_feduc 1. @573 f_clinest 1. @574 f_apgar5 1. @575 f_tobaco 1. @576 f_m_ht_in 1. @577 f_pwgt_r 1. @578 f_dwgt_r 1. @579 f_wic 1. @580 f_pay 1. @581 f_bfed 1. @582 f_rf_pdiab 1. @583 f_rf_gdiab 1. @584 f_rf_phyper 1. @585 f_rf_ghyper 1. @586 f_rf_eclam 1. @587 f_rf_ppterm 1. @588 f_rf_ppoutc 1. @590 f_rf_inftr 1. @591 f_rf_fedrg 1. @592 f_rf_artec 1. @593 f_rf_cesar 1. @594 f_rf_ncesar 1. @595 f_ip_gono 1. @596 f_ip_syph 1. @598 f_ip_chlam 1. @599 f_ip_hepb 1. @600 f_ip_hepc 1. @601 f_op_cerv 1. @602 f_op_tocol 1. @603 f_op_ecvs 1. @604 f_op_ecvf 1. @605 f_ol_ruptr 1. @606 f_ol_precip 1. @607 f_ol_prol 1. @608 f_ld_indl 1. @609 f_ld_augm 1. @610 f_ld_ster 1. @611 f_ld_anti 1. @612 f_ld_chor 1. @614 f_ld_meco 1. @615 f_ld_fint 1. @616 f_ld_anes 1. @619 f_md_pres 1. @620 f_md_rout 1. @621 f_md_trial 1. @622 f_mm_mtr 1. @623 f_mm_plac 1. @624 f_mm_rupt 1. @625 f_mm_uhystr 1. @626 f_mm_icu 1. @627 f_mm_oper 1. @628 f_ab_vent 1. @629 f_ab_vent6 1. @630 f_ab_niuc 1. @631 f_ab_surfac 1. @632 f_ab_antibio 1. @633 f_ab_seiz 1. @634 f_ab_inj 1. @635 f_ca_anen 1. @636 f_ca_menin 1. @637 f_ca_heart 1. @638 f_ca_hernia 1. @639 f_ca_omph 1. @640 f_ca_gastro 1. @641 f_ca_limb 1. @642 f_ca_cleftlip 1. @643 f_ca_cleftpal 1. @644 f_ca_downs 1. @645 f_ca_chromo 1. @646 f_ca_hypo 1. @648 f_wtgain 1. @652 f_mar 1. @653 f_mar_p 1. @668 f_mpcb 1. @671 f_previs 1. @672 f_cig_0 1. @673 f_cig_1 1. @674 f_cig_2 1. @675 f_cig_3 1. @676 f_facility 1. @678 f_pay_rec 1. @679 f_rdmeth_rec 1. @684 f_urf_diab 1. @685 f_urf_herpes 1. @688 f_urf_chyper 1. @689 f_urf_phyper 1. @690 f_urf_eclam 1. @703 f_uop_induct 1. @705 f_uop_tocol 1. @712 f_uld_meco 1. @718 f_uld_precip 1. @721 f_uld_breech 1. @734 f_u_forcep 1. @735 f_u_vac 1. @752 f_uca_anen 1. @753 f_uca_spina 1. @761 f_uca_omph 1. @766 f_uca_cleftlip 1. @769 f_uca_hernia 1. @771 f_uca_downs 1. @868 matchs 1. @872 aged 3. @875 ager5 1. @876 ager22 2. @878 manner 1. @879 dispo $1. @880 autopsy $1. @882 place 1. @884 ucod $4. @889 ucod130 3. @893 recwt 8. @903 eanum 2. @905 econdp_1 1. @906 econds_1 $1. @907 enicon_1 $4. @912 econdp_2 1. @913 econds_2 $1. @914 enicon_2 $4. @919 econdp_3 1. @920 econds_3 $1. @921 enicon_3 $4. @926 econdp_4 1. @927 econds_4 $1. @928 enicon_4 $4. @933 econdp_5 1. @934 econds_5 $1. @935 enicon_5 $4. @940 econdp_6 1. @941 econds_6 $1. @942 enicon_6 $4. @947 econdp_7 1. @948 econds_7 $1. @949 enicon_7 $4. @954 econdp_8 1. @955 econds_8 $1. @956 enicon_8 $4. @961 econdp_9 1. @962 econds_9 $1. @963 enicon_9 $4. @968 econdp_10 1. @969 econds_10 $1. @970 enicon_10 $4. @975 econdp_11 1. @976 econds_11 $1. @977 enicon_11 $4. @982 econdp_12 1. @983 econds_12 $1. @984 enicon_12 $4. @989 econdp_13 1. @990 econds_13 $1. @991 enicon_13 $4. @996 econdp_14 1. @997 econds_14 $1. @998 enicon_14 $4. @1003 econdp_15 1. @1004 econds_15 $1. @1005 enicon_15 $4. @1010 econdp_16 1. @1011 econds_16 $1. @1012 enicon_16 $4. @1017 econdp_17 1. @1018 econds_17 $1. @1019 enicon_17 $4. @1024 econdp_18 1. @1025 econds_18 $1. @1026 enicon_18 $4. @1031 econdp_19 1. @1032 econds_19 $1. @1033 enicon_19 $4. @1038 econdp_20 1. @1039 econds_20 $1. @1040 enicon_20 $4. @1047 ranum 2. @1049 record_1 $4. @1054 record_2 $4. @1059 record_3 $4. @1064 record_4 $4. @1069 record_5 $4. @1074 record_6 $4. @1079 record_7 $4. @1084 record_8 $4. @1089 record_9 $4. @1094 record_10 $4. @1099 record_11 $4. @1104 record_12 $4. @1109 record_13 $4. @1114 record_14 $4. @1119 record_15 $4. @1124 record_16 $4. @1129 record_17 $4. @1134 record_18 $4. @1139 record_19 $4. @1144 record_20 $4. @1151 d_restatus 1. @1152 stoccfipd $2. @1154 cntoccfipd $3. @1160 stresfipd $2. @1164 drcnty $2. @1166 cntyrfpd $3. @1182 cntrsppd $1. @1186 hospd 1. @1187 weekdayd 1. @1188 dthyr 4. @1258 dthmon 2. ; proc print data=&dataset. (obs=6); proc contents data=&dataset.; ** Copyright 2017 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. ;