_dta: 1. by Jean Roth , jroth@nber.org , 26 Jul 2014 obs: 29,402 vars: 227 26 Jul 2014 17:21 size: 18,258,642 (_dta has notes) ------------------------------------------------------------------------------------------------------------------------------------- storage display value variable name type format label variable label ------------------------------------------------------------------------------------------------------------------------------------- vmonth byte %9.0g vmonth month of visit vyear int %8.0g year of visit vdayr byte %9.0g vdayr day of week of visit - recode age byte %18.0g age patient age in years sex byte %8.0g sex patient sex pregnant byte %8.0g if female, is patient pregnant? race byte %28.0g race patient race ethnic byte %15.0g ethnic patient ethnicity refer byte %8.0g was pat referred by oth physician for visit? auth byte %8.0g was authorization required for care? primcare byte %8.0g are you the patient's primary care physician? paytype byte %17.0g paytype primary expected source of payment for this visit hmo byte %8.0g does patient belong to an hmo? capitate byte %8.0g is this a capitated visit? senbefor byte %24.0g senbefo has patient been seen in this clinic before? rfv1 long %12.0g patient's reason for visit #1 rfv2 long %12.0g patient's reason for visit #2 rfv3 long %12.0g patient's reason for visit #3 rfv13d int %8.0g patient's reason for visit #1 - broad rfv23d int %8.0g patient's reason for visit #2 - broad rfv33d int %8.0g patient's reason for visit #3 - broad major byte %36.0g major major reason for visit injury byte %8.0g is this visit related to injury or poisoning? place byte %36.0g place place of occurrence of injury intent byte %36.0g intent intentionality of injury from checkbox workrel byte %36.0g workrel is injury work related? cause1 str4 %4s cause of injury #1 cause2 str4 %4s cause of injury #2 cause3 str4 %4s cause of injury #3 cause13d str3 %3s cause of injury #1 - broad cause23d str3 %3s cause of injury #2 - broad cause33d str3 %3s cause of injury #3 - broad vcause str100 %100s verbatim cause of injury diag1 str5 %5s physician's diagnosis #1 diag2 str5 %5s physician's diagnosis #2 diag3 str5 %5s physician's diagnosis #3 diag13d str3 %3s physician's diagnosis #1 - broad diag23d str3 %3s physician's diagnosis #2 - broad diag33d str3 %3s physician's diagnosis #3 - broad prdiag1 byte %8.0g is diag1 probable, questionable or ruleout? prdiag2 byte %8.0g is diag2 probable, questionable or ruleout? prdiag3 byte %8.0g is diag3 probable, questionable or ruleout? diagscrn byte %9.0g diagscr were diag/screen services ordered/provided? breast byte %8.0g breast exam pelvic byte %8.0g pelvic exam rectal byte %8.0g rectal exam skin byte %8.0g skin exam visual byte %8.0g visual acuity exam glaucoma byte %8.0g glaucoma exam hearing byte %8.0g hearing exam blodpres byte %8.0g blood pressure test strep byte %8.0g strep test pap byte %8.0g pap test urine byte %8.0g urinalysis pregtest byte %8.0g pregnancy test psa byte %8.0g psa test blodlead byte %8.0g blood lead level cholest byte %8.0g cholesterol measure hivser byte %8.0g hiv serology otherstd byte %8.0g other std test hematocr byte %8.0g hematocrit/hemoglobin otherbld byte %8.0g other blood test ekg byte %8.0g ekg xray byte %8.0g x-ray catmri byte %8.0g catscan/mri mammo byte %8.0g mammography ultrasnd byte %8.0g ultrasound othdiag byte %8.0g all other diagnostic/screening services diagsc1 str4 %4s other diagnostic/screening service #1 diagsc2 str4 %4s other diagnostic/screening service #2 diagsc13 str3 %3s other diag/screen service #1 - 3 dgt diagsc23 str3 %3s other diag/screen service #2 - 3 dgt diagsc12 str2 %2s other diag/screen service #1 - 2 dgt diagsc22 str2 %2s other diag/screen service #2 - 2dgt totdiag byte %35.0g totdiag total # of diagnostic/screening services therprev byte %9.0g therpre were therapeutic/prev serv ordered/provided? dietnutr byte %8.0g diet/nutrition couns/educ exercise byte %8.0g exercise couns/educ hivstdtr byte %8.0g hiv/std transmission couns/educ famplan byte %8.0g family planning/contraception couns/educ prenatal byte %8.0g prenatal instructions couns/educ brstslfx byte %8.0g breast self-exam couns/educ tobacco byte %8.0g tobacco use/exposure couns/educ grwthdev byte %8.0g growth/development couns/educ mentlhlt byte %8.0g mental health couns/educ stress byte %8.0g stress management couns/educ skincanc byte %8.0g skin cancer prevention couns/educ injprev byte %8.0g injury prevention couns/educ psychoth byte %8.0g psychotherapy psychoph byte %8.0g psycho-pharmacotherapy physioth byte %8.0g physiotherapy othther byte %8.0g all other therapeutic/preventive services therpr1 str4 %4s other therapeutic/preventive service #1 therpr2 str4 %4s other therapeutic/preventive service #2 therpr13 str3 %3s other ther/prev service #1 - 3 dgt therpr23 str3 %3s other ther/prev service #2 - 3 dgt therpr12 str2 %2s other ther/prev service #1 - 2 dgt therpr22 str2 %2s other ther/prev service #2 - 2 dgt totther byte %35.0g totther total # of therapeutic/preventive services amb byte %10.0g amb were ambulatory surgical procs performed? amb1 str4 %4s ambulatory surgical procedure #1 amb2 str4 %4s ambulatory surgical procedure #2 amb13 str3 %3s ambulatory surg procedure #1 - 3 dgt amb23 str3 %3s ambulatory surg procedure #2 - 3 dgt amb12 str2 %2s ambulatory surg procedure #1 - 2 dgt amb22 str2 %2s ambulatory surg procedure #2 - 2 dgt totamb byte %35.0g totamb total # of ambulatory surgical procedures med byte %9.0g med were medications ordered/provided? med1 str5 %5s medication #1 med2 str5 %5s medication #2 med3 str5 %5s medication #3 med4 str5 %5s medication #4 med5 str5 %5s medication #5 med6 str5 %5s medication #6 nummed byte %8.0g number of medications coded noprovid byte %8.0g providers seen: no answer to item staffphy byte %8.0g staff physician seen resint byte %8.0g resident/intern seen otherphy byte %8.0g other physician seen physasst byte %8.0g physician assistant seen nursepr byte %8.0g nurse practitioner seen nursemid byte %8.0g nurse midwife seen rn byte %8.0g registered nurse seen lpn byte %8.0g licensed practical nurse seen mednurse byte %8.0g medical/nursing assistant seen otherprv byte %8.0g other provider seen timemd int %22.0g timemd time spent with physician in minutes patwt int %8.0g patient visit weight (rounded) region byte %9.0g region geographic region of hospital urban byte %35.0g urban metro/non-metro status of hospital location ownsmg byte %23.0g ownsmg hospital ownership hospcode int %8.0g hospital code clintype byte %21.0g clintyp clinic type patcode int %8.0g patient code vdatefl byte %8.0g was visit date imputed? bdatefl byte %8.0g was birth year imputed? sexfl byte %8.0g was sex imputed? racefl byte %8.0g was race imputed? timemdfl byte %8.0g was time spent with physician imputed? gen1 str5 %5s generic name code for medication #1 prescr1 byte %8.0g prescription status code for medication # contsub1 byte %8.0g controlled substance code for medication # comstat1 byte %8.0g composition status code for medication #1 drugcl1 str4 %4s drug class for medication #1 drg1ing1 str5 %5s ingredient code #1 for medication #1 drg1ing2 str5 %5s ingredient code #2 for medication #1 drg1ing3 str5 %5s ingredient code #3 for medication #1 drg1ing4 str5 %5s ingredient code #4 for medication #1 drg1ing5 str5 %5s ingredient code #5 for medication #1 gen2 str5 %5s generic name code for medication #2 prescr2 byte %8.0g prescription status code for medication #2 contsub2 byte %8.0g controlled substance code for medication #2 comstat2 byte %8.0g composition status code for medication #2 drugcl2 str4 %4s drug class for medication #2 drg2ing1 str5 %5s ingredient code #1 for medication #2 drg2ing2 str5 %5s ingredient code #2 for medication #2 drg2ing3 str5 %5s ingredient code #3 for medication #2 drg2ing4 str5 %5s ingredient code #4 for medication #2 drg2ing5 str5 %5s ingredient code #5 for medication #2 gen3 str5 %5s generic name code for medication #3 prescr3 byte %8.0g prescription status code for medication #3 contsub3 byte %8.0g controlled substance code for medication #3 comstat3 byte %8.0g composition status code for medication #3 drugcl3 str4 %4s drug class for medication #3 drg3ing1 str5 %5s ingredient code #1 for medication #3 drg3ing2 str5 %5s ingredient code #2 for medication #3 drg3ing3 str5 %5s ingredient code #3 for medication #3 drg3ing4 str5 %5s ingredient code #4 for medication #3 drg3ing5 str5 %5s ingredient code #5 for medication #3 gen4 str5 %5s generic name code for medication #4 prescr4 byte %8.0g prescription status code for medication #4 contsub4 byte %8.0g controlled substance code for medication #4 comstat4 byte %8.0g composition status code for medication #4 drugcl4 str4 %4s drug class for medication #4 drg4ing1 str5 %5s ingredient code #1 for medication #4 drg4ing2 str5 %5s ingredient code #2 for medication #4 drg4ing3 str5 %5s ingredient code #3 for medication #4 drg4ing4 str5 %5s ingredient code #4 for medication #4 drg4ing5 str5 %5s ingredient code #5 for medication #4 gen5 str5 %5s generic name code for medication #5 prescr5 byte %8.0g prescription status code for medication #5 contsub5 byte %8.0g controlled substance code for medication #5 comstat5 byte %8.0g composition status code for medication #5 drugcl5 str4 %4s drug class for medication 5 drg5ing1 str5 %5s ingredient code #1 for medication #5 drg5ing2 str5 %5s ingredient code #2 for medication #5 drg5ing3 str5 %5s ingredient code #3 for medication #5 drg5ing4 str5 %5s ingredient code #4 for medication #5 drg5ing5 str5 %5s ingredient code #5 for medication #5 gen6 str5 %5s generic name code for medication #6 prescr6 byte %8.0g prescription status code for medication #6 contsub6 byte %8.0g controlled substance code for medication #6 comstat6 byte %8.0g composition status code for medication #6 drugcl6 str4 %4s drug class for medication #6 drg6ing1 str5 %5s ingredient code #1 for medication #6 drg6ing2 str5 %5s ingredient code #2 for medication #6 drg6ing3 str5 %5s ingredient code #3 for medication #6 drg6ing4 str5 %5s ingredient code #4 for medication #6 drg6ing5 str5 %5s ingredient code #5 for medication #6 racer byte %8.0g racer patient race recode: white, black, other agedays int %18.0g agedays age in days for patients less than 1 year ager byte %17.0g ager patient age recode cause1r int %8.0g cause of injury #1 - numeric recode cause2r int %8.0g cause of injury #2 - numeric recode cause3r int %8.0g cause of injury #3 - numeric recode diag1r long %12.0g physician's diagnosis #1 - numeric recode diag2r long %12.0g physician's diagnosis #2 - numeric recode diag3r long %12.0g physician's diagnosis #3 - numeric recode diagsc1r int %8.0g other diag/screen serv #1 - numeric recode diagsc2r int %8.0g other diag/screen serv #2 - numeric recode therpr1r byte %8.0g other ther/prev serv #1 - numeric recode therpr2r byte %8.0g other ther/prev serv #2 - numeric recode amb1r int %8.0g ambulatory surg proc #1 - numeric recode amb2r int %8.0g ambulatory surg proc #2 - numeric recode stratm int %8.0g psu marker (masked) psum byte %8.0g psu stratum marker (masked) year int %8.0g survey year (1998) subfile byte %8.0g survey identifier (constant=2 for nhamcs) prostrat byte %8.0g provider stratum marker provider int %8.0g provider code dept byte %8.0g hospital deptartment code su int %8.0g hospital sampling unit code clinic byte %8.0g hospital clinic code poppsum byte %8.0g stratum counts of psus (masked) popsum int %8.0g # of clinic sampling units in hospital (masked) popvism byte %8.0g estimated provider visit volume (masked) popprovm int %8.0g est. # of inscope providers in psu (masked) ------------------------------------------------------------------------------------------------------------------------------------- Sorted by: vmonth: 1 January 2 February 3 March 4 April 5 May 6 June 7 July 8 August 9 September 10 October 11 November 12 December vdayr: 1 Sunday 2 Monday 3 Tuesday 4 Wednesday 5 Thursday 6 Friday 7 Saturday age: 0 Under one year 100 100 years and over sex: 1 Female 2 Male race: 1 White 2 Black 3 Asian/Other Pacific Islander 4 American Indian/Eskimo/Aleut ethnic: 1 Hispanic Origin 2 Not Hispanic 3 Blank paytype: 1 Private insurance 2 Medicare 3 Medicaid 5 Self-pay 6 No charge 7 Other 8 Unknown 9 Blank senbefo: 1 Yes, established patient 2 No, new patient 3 Blank major: 1 Acute problem 2 Chronic problem, routine 3 Chronic problem, flareup 4 Pre- or post-surgery/injury followup 5 Non-illness care 6 Blank or unknown place: 1 Residence 2 Recreation/sports area 3 Street/highway 4 School 5 Other public building 6 Industrial place 7 Other 8 Unknown 9 Not applicable (not an injury visit) intent: 1 Yes (self-inflicted) 2 Yes (assault) 3 No, Unintentional 4 Unknown 5 Not applicable (not an injury visit) workrel: 1 Yes 2 No 3 Unknown 4 Not applicable (not an injury visit) diagscr: 0 No 1 Yes 2 No answer totdiag: 99 All boxes blank, including None box therpre: 0 No 1 Yes 2 No answer totther: 99 All boxes blank, including None box amb: 0 No 1 Yes 2 Item blank totamb: 9 All fields blank including None box med: 0 No 1 Yes 2 No answer timemd: 0 0 minutes 1 1 minute 2 2 minutes 3 3 minutes 4 4 minutes 5 5 minutes 6 6 minutes 7 7 minutes 8 8 minutes 9 9 minutes 10 10 minutes 11 11 minutes 12 12 minutes 13 13 minutes 14 14 minutes 15 15 minutes 16 16 minutes 17 17 minutes 18 18 minutes 19 19 minutes 20 20 minutes 21 21 minutes 22 22 minutes 23 23 minutes 24 24 minutes 25 25 minutes 26 26 minutes 27 27 minutes 28 28 minutes 29 29 minutes 30 30 minutes 31 31 minutes 32 32 minutes 33 33 minutes 34 34 minutes 35 35 minutes 36 36 minutes 37 37 minutes 38 38 minutes 39 39 minutes 40 40 minutes 41 41 minutes 42 42 minutes 43 43 minutes 44 44 minutes 45 45 minutes 46 46 minutes 47 47 minutes 48 48 minutes 49 49 minutes 50 50 minutes 51 51 minutes 52 52 minutes 53 53 minutes 54 54 minutes 55 55 minutes 56 56 minutes 57 57 minutes 58 58 minutes 59 59 minutes 60 1 hour 61 1 hour and 1 minute 62 1 hour and 2 minutes 63 1 hour and 3 minutes 64 1 hour and 4 minutes 65 1 hour and 5 minutes 66 1 hour and 6 minutes 67 1 hour and 7 minutes 68 1 hour and 8 minutes 69 1 hour and 9 minutes 70 1 hour and 10 minutes 71 1 hour and 11 minutes 72 1 hour and 12 minutes 73 1 hour and 13 minutes 74 1 hour and 14 minutes 75 1 hour and 15 minutes 76 1 hour and 16 minutes 77 1 hour and 17 minutes 78 1 hour and 18 minutes 79 1 hour and 19 minutes 80 1 hour and 20 minutes 81 1 hour and 21 minutes 82 1 hour and 22 minutes 83 1 hour and 23 minutes 84 1 hour and 24 minutes 85 1 hour and 25 minutes 86 1 hour and 26 minutes 87 1 hour and 27 minutes 88 1 hour and 28 minutes 89 1 hour and 29 minutes 90 1 hour and 30 minutes 91 1 hour and 31 minutes 92 1 hour and 32 minutes 93 1 hour and 33 minutes 94 1 hour and 34 minutes 95 1 hour and 35 minutes 96 1 hour and 36 minutes 97 1 hour and 37 minutes 98 1 hour and 38 minutes 99 1 hour and 39 minutes 100 1 hour and 40 minutes 101 1 hour and 41 minutes 102 1 hour and 42 minutes 103 1 hour and 43 minutes 104 1 hour and 44 minutes 105 1 hour and 45 minutes 106 1 hour and 46 minutes 107 1 hour and 47 minutes 108 1 hour and 48 minutes 109 1 hour and 49 minutes 110 1 hour and 50 minutes 111 1 hour and 51 minutes 112 1 hour and 52 minutes 113 1 hour and 53 minutes 114 1 hour and 54 minutes 115 1 hour and 55 minutes 116 1 hour and 56 minutes 117 1 hour and 57 minutes 118 1 hour and 58 minutes 119 1 hour and 59 minutes 120 2 hours 121 2 hours and 1 minute 122 2 hours and 2 minutes 123 2 hours and 3 minutes 124 2 hours and 4 minutes 125 2 hours and 5 minutes 126 2 hours and 6 minutes 127 2 hours and 7 minutes 128 2 hours and 8 minutes 129 2 hours and 9 minutes 130 2 hours and 10 minutes 131 2 hours and 11 minutes 132 2 hours and 12 minutes 133 2 hours and 13 minutes 134 2 hours and 14 minutes 135 2 hours and 15 minutes 136 2 hours and 16 minutes 137 2 hours and 17 minutes 138 2 hours and 18 minutes 139 2 hours and 19 minutes 140 2 hours and 20 minutes 141 2 hours and 21 minutes 142 2 hours and 22 minutes 143 2 hours and 23 minutes 144 2 hours and 24 minutes 145 2 hours and 25 minutes 146 2 hours and 26 minutes 147 2 hours and 27 minutes 148 2 hours and 28 minutes 149 2 hours and 29 minutes 150 2 hours and 30 minutes 151 2 hours and 31 minutes 152 2 hours and 32 minutes 153 2 hours and 33 minutes 154 2 hours and 34 minutes 155 2 hours and 35 minutes 156 2 hours and 36 minutes 157 2 hours and 37 minutes 158 2 hours and 38 minutes 159 2 hours and 39 minutes 160 2 hours and 40 minutes 161 2 hours and 41 minutes 162 2 hours and 42 minutes 163 2 hours and 43 minutes 164 2 hours and 44 minutes 165 2 hours and 45 minutes 166 2 hours and 46 minutes 167 2 hours and 47 minutes 168 2 hours and 48 minutes 169 2 hours and 49 minutes 170 2 hours and 50 minutes 171 2 hours and 51 minutes 172 2 hours and 52 minutes 173 2 hours and 53 minutes 174 2 hours and 54 minutes 175 2 hours and 55 minutes 176 2 hours and 56 minutes 177 2 hours and 57 minutes 178 2 hours and 58 minutes 179 2 hours and 59 minutes 180 3 hours 181 3 hours and 1 minute 182 3 hours and 2 minutes 183 3 hours and 3 minutes 184 3 hours and 4 minutes 185 3 hours and 5 minutes 186 3 hours and 6 minutes 187 3 hours and 7 minutes 188 3 hours and 8 minutes 189 3 hours and 9 minutes 190 3 hours and 10 minutes 191 3 hours and 11 minutes 192 3 hours and 12 minutes 193 3 hours and 13 minutes 194 3 hours and 14 minutes 195 3 hours and 15 minutes 196 3 hours and 16 minutes 197 3 hours and 17 minutes 198 3 hours and 18 minutes 199 3 hours and 19 minutes 200 3 hours and 20 minutes 201 3 hours and 21 minutes 202 3 hours and 22 minutes 203 3 hours and 23 minutes 204 3 hours and 24 minutes 205 3 hours and 25 minutes 206 3 hours and 26 minutes 207 3 hours and 27 minutes 208 3 hours and 28 minutes 209 3 hours and 29 minutes 210 3 hours and 30 minutes 211 3 hours and 31 minutes 212 3 hours and 32 minutes 213 3 hours and 33 minutes 214 3 hours and 34 minutes 215 3 hours and 35 minutes 216 3 hours and 36 minutes 217 3 hours and 37 minutes 218 3 hours and 38 minutes 219 3 hours and 39 minutes 220 3 hours and 40 minutes 221 3 hours and 41 minutes 222 3 hours and 42 minutes 223 3 hours and 43 minutes 224 3 hours and 44 minutes 225 3 hours and 45 minutes 226 3 hours and 46 minutes 227 3 hours and 47 minutes 228 3 hours and 48 minutes 229 3 hours and 49 minutes 230 3 hours and 50 minutes 231 3 hours and 51 minutes 232 3 hours and 52 minutes 233 3 hours and 53 minutes 234 3 hours and 54 minutes 235 3 hours and 55 minutes 236 3 hours and 56 minutes 237 3 hours and 57 minutes 238 3 hours and 58 minutes 239 3 hours and 59 minutes 240 4 hours region: 1 Northeast 2 Midwest 3 South 4 West urban: 1 MSA (Metropolitan Statistical Area) 2 Non-MSA ownsmg: 1 Voluntary non-profit 2 Government, non-Federal 3 Proprietary clintyp: 1 General medicine 2 Surgery 3 Pediatrics 4 Obstetrics/Gynecology 5 Substance abuse 6 Other racer: 1 White 2 Black 3 Other agedays: 0 Less than one day 999 More than 365 days ager: 1 Under 15 years 2 15-24 years 3 25-44 years 4 45-64 years 5 65-74 years 6 75 years and over