_dta: 1. by Jean Roth , jroth@nber.org , 26 Jul 2014 obs: 28,393 vars: 225 26 Jul 2014 17:21 size: 14,253,286 (_dta has notes) ------------------------------------------------------------------------------------------------------------------------------------- storage display value variable name type format label variable label ------------------------------------------------------------------------------------------------------------------------------------- vmonth byte %9.0g vmonth month of visit vday byte %8.0g day of visit - 1-31 vyear byte %8.0g year of visit age int %8.0g patient age in years sex byte %8.0g sex patient sex race byte %28.0g race patient race ethnic byte %15.0g ethnic patient ethnicity smokcig byte %8.0g smokcig does patient smoke cigarettes? typepay byte %55.0g typepay expected type of payment for visit bcbs byte %8.0g blue cross/blue shield othpriv byte %8.0g other private insurance medicare byte %8.0g medicare medicaid byte %8.0g medicaid workcomp byte %8.0g worker's compensation othins byte %8.0g other insurance unkins byte %8.0g unknown insurance 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 injury byte %8.0g injury is visit related to injury or poisoning? 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 place byte %36.0g place place of occurrence of injury workrel byte %36.0g workrel is injury work related? 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 arthrit byte %8.0g does patient have - arthritis athero byte %8.0g does patient have - atherosclerosis copd byte %8.0g does patient have - copd renal byte %8.0g does patient have - chronic renal failure depress byte %8.0g does patient have - depression diabetes byte %8.0g does patient have - diabetes hivaids byte %8.0g does patient have - hiv/aids hyperac byte %8.0g does patient have - hyperactivity/add hypertn byte %8.0g does patient have - hypertension obesity byte %8.0g does patient have - obesity none byte %8.0g does patient have - none of the above amb byte %8.0g amb were ambulatory surgical procs performed amb1 str4 %4s ambulatory surgical proc #1 - 4 dgt amb2 str4 %4s ambulatory surgical proc #2 - 4 dgt amb13 str3 %3s ambulatory surgical proc #1 - 3 dgt amb23 str3 %3s ambulatory surgical proc #2 - 3 dgt amb12 str2 %2s ambulatory surgical proc #1 - 2 dgt amb22 str2 %2s ambulatory surgical proc #2 - 2 dgt diagscrn byte %8.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 visual byte %8.0g visual acuity mental byte %8.0g mental status othexm byte %8.0g other exam othexm1 str4 %4s other exam - icd-9-cm procedure - 4 dgt othexm13 str3 %3s other exam - icd-9-cm procedure - 3 dgt othexm12 str2 %2s other exam - icd-9-cm procedure - 2 dgt blodpres byte %8.0g blood pressure test urine byte %8.0g urinalysis tbskin byte %8.0g tb skin test blodlead byte %8.0g blood lead level cholest byte %8.0g cholesterol measure psa byte %8.0g psa test hivser byte %8.0g hiv serology otherbld byte %8.0g other blood test othtst byte %8.0g other test othtst1 str4 %4s other test - icd-9-cm procedure - 4 dgt othtst13 str3 %3s other test - icd-9-cm procedure - 3 dgt othtst12 str2 %2s other test - icd-9-cm procedure - 2 dgt xray byte %8.0g x-ray cat byte %8.0g cat scan mri byte %8.0g mri ultrasnd byte %8.0g ultrasound othimg byte %8.0g other imaging othimg1 str4 %4s other imaging - icd-9-cm procedure - 4dgt othimg13 str3 %3s other imaging - icd-9-cm procedure - 3dgt othimg12 str2 %2s other imaging - icd-9-cm procedure - 2dgt othdiag byte %8.0g any other diag/screen services diagsc1 str4 %4s other diag/screen service #1 - 4 dgt diagsc13 str3 %3s other diag/screen service #1 - 3 dgt diagsc12 str2 %2s other diag/screen service #1 - 2 dgt totdiag byte %8.0g total # of diagnostic/screening services therprev byte %8.0g therpre were ther/prev services ordered/provided? diet byte %8.0g diet couns/educ weight byte %8.0g weight reduction couns/educ cholred byte %8.0g cholesterol reduction couns/educ hivtr byte %8.0g hiv transmission couns/educ injprev byte %8.0g injury prevention 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 othcoun byte %8.0g other counseling psychoth byte %8.0g psychotherapy corrlens byte %8.0g corrective lenses physioth byte %8.0g physiotherapy othther byte %8.0g other therapy med byte %8.0g med were medications/injections ordered/prov? nummed byte %8.0g number of medications coded 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 resint byte %8.0g resident/intern seen staffphy byte %8.0g staff physician seen otherphy byte %8.0g other physician seen physasst byte %8.0g physician assistant seen nursepr byte %8.0g nurse practitioner seen rn byte %8.0g registered nurse seen lpn byte %8.0g licensed practical nurse seen medasst byte %8.0g medical assistant seen otherprv byte %8.0g other provider seen senbefor byte %8.0g senbefo has patient been seen in this clinic before? ifyes byte %14.0g ifyes if seen before, for diagnosis in item 11a? refer byte %8.0g refer was pat referred by oth physician for visit? nofollow byte %8.0g no follow-up planned retprn byte %8.0g return if needed, p.r.n. retappt byte %8.0g return at specified time telephon byte %8.0g telephone followup planned refphys byte %8.0g return to referring physician refothph byte %8.0g refer to other physician/clinic admithos byte %8.0g admitted to hospital otherdis byte %8.0g other disposition 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 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 patient's visit date imputed? bdatefl byte %8.0g was patient's birth year imputed? racefl byte %8.0g was patient's race imputed? sexfl byte %8.0g was patient's sex imputed? ethnicfl byte %8.0g was patient's ethnicity imputed? provfl byte %8.0g was provider seen imputed? senbefl byte %8.0g was `was patient seen before?` imputed? ifyesfl byte %8.0g was `if seen before...` imputed? referfl byte %8.0g was patient's referral status imputed? dispfl byte %8.0g was visit disposition imputed? gen1 str5 %5s generic name code for medication #1 prescr1 byte %8.0g prescription status code for medication #1 contsub1 byte %8.0g controlled substance code for medication #1 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 stratm int %8.0g psu stratum marker (masked) psum byte %8.0g psu marker (masked) year int %8.0g survey year (1995) 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 dept 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 byte %8.0g # of clinic sampling units in hospital (masked) popvism byte %8.0g estimated provider visit volume (masked) popprovm int %8.0g estimated # 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 sex: 1 Female 2 Male race: 1 White 2 Black 3 Asian/Pacific Islander 4 American Indian/Eskimo/Aleut ethnic: 1 Hispanic Origin 2 Not Hispanic 3 Blank smokcig: 0 Blank 1 Yes 2 No 3 Unknown typepay: 0 No answer, both parts A and B were blank 1 Preferred Provider Option 2 Insured, fee-for-service 3 HMO/Other prepaid 4 Self-pay 5 No charge 6 Other 7 Type of payment unspec, but insurance checked in part B injury: 1 Yes 2 No place: 0 Not applicable (not an injury visit) 1 Home 2 School 3 Sports/Athletics Area 4 Street/highway 5 Other place 6 Unknown place workrel: 0 Not applicable (not an injury visit) 1 Yes 2 No 3 Unknown amb: 1 Yes 2 No diagscr: 1 Yes 2 No therpre: 1 Yes 2 No med: 1 Yes 2 No senbefo: 1 Yes 2 No ifyes: 0 Not applicable 1 Yes 2 No refer: 1 Yes 2 No 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