SAS User File for H85G Data This file contains information and sample SAS programs to create a permanent SAS dataset, for users who want to use SAS in processing the MEPS data provided in this PUF release. There are two ways to create a permanent SAS dataset, using either the SAS transport data file (H85G.SSP) or the ASCII data file (H85G.DAT) supplied in this PUF release. Section A provides a sample SAS program for the first alternative, which is to convert the SAS transport data file to a regular SAS dataset, using the SAS PROCedure: XCOPY. Section B provides a sample SAS program for the second alternative, which is to read data from the ASCII data file, using a SAS DATA step with INFILE, INPUT, and LABEL statements. Section C explains format-related SAS statements that a user may optionally use when working with the SAS dataset. Examples of SAS programs (DATA step or PROC) are provided in all three sections, primarily for the benefit of inexperienced users. Section D contains complete SAS statements that must be used in the programs described in Sections B and C. INCLUDED BELOW ARE NOTES APPLICABLE TO USERS OF SAS VERSION 8. ****************************************************************************** The sample SAS programs provided in Sections A and B show how to create a permanent SAS dataset from the data files provided in this PUF release. A. A Sample SAS Program for Converting the SAS Transport File to a Permanent SAS Dataset The SAS PROCedure XCOPY will read a SAS transport data file and convert the data to regular SAS format, storing the output in a permanent SAS dataset. This permanent SAS dataset can then be used for all future processing and analyses. Below is a sample PC-SAS program that can be used to convert the SAS transport file to a permanent PC SAS dataset (in a Windows environment, with SAS V6.12). LIBNAME PUFLIB 'C:\MEPS'; FILENAME IN1 'C:\MEPS\H85G.SSP'; PROC XCOPY IN=IN1 OUT=PUFLIB IMPORT; RUN; If the user wants a list of variables and a few sample records in the permanent SAS dataset, following are the SAS statements to accomplish these. PROC CONTENTS DATA=PUFLIB.H85G; TITLE 'List of Variables in MEPS H85G SAS Dataset'; RUN; PROC PRINT DATA=PUFLIB.H85G (OBS=20); TITLE 'First 20 Observations in MEPS H85G SAS Dataset'; RUN; The LIBNAME statement tells SAS the location (directory name) to store the permanent SAS dataset which is output by PROC XCOPY. The FILENAME statement tells SAS the location (complete directory and file name) of the input SAS transport data file. NOTES: 1) The names used in the LIBNAME and FILENAME statements shown above (i.e., PUFLIB, IN1) are arbitrary; they are only temporary aliases. 2) The directory and file names used in the LIBNAME and FILENAME statements shown above are Windows syntax and may need to be modified for other operating systems such as UNIX, MAC/OS, VMS, or OS/2. 3) H85G is the internal SAS dataset name (also the PC file name, without the extension) prior to the creation of the SAS transport data file. After running PROC XCOPY, the output SAS dataset assumes the same dataset name (or file name). Hence, in the example above, a file named H85G.SAS7BDAT will be created under the C:\MEPS directory when PROC XCOPY runs successfully. 4) The SAS transport file H85G.SSP was created from a PC-SAS Version 6.12 data file, using PROC COPY. This file has been tested for use with PC-SAS version 6.10 or higher, or with mainframe SAS version 6.08 or higher. This file may work with earlier versions of SAS, although it has not been tested with those versions. Users who are unable to use this SAS Transport file should instead convert the ASCII data file H85G.DAT to a SAS data set as described in Section B. ADDITIONAL NOTE TO USERS OF SAS VERSION 8: One of the following procedures should be used to avoid a SAS error when using the downloaded SAS Transport file: 1) Add V8 to LIBNAME statement - e.g., LIBNAME PUFLIB V8 'C:\MEPS'; OR 2) Output the SAS data set to a different library than the one which contains the downloaded SAS Transport file - e.g., LIBNAME PUFLIB 'C:\MEPS'; FILENAME IN1 'C:\DOWNLOAD\H85G.SSP'; PROC XCOPY IN=IN1 OUT=PUFLIB IMPORT RUN; B. A Sample SAS Program for Converting the ASCII Data File to a Permanent SAS Dataset The complete SAS statements (INPUT and LABEL) included in Section D are intended to save time for those users wishing to create a permanent SAS dataset from the H85G.DAT ASCII data file. These statements must be used in combination with other SAS statements to create the appropriate SAS program, as shown below. To use the statements provided in Section D to create a SAS program, you will need an ASCII text editor. If you are using an interactive form of SAS (Windows, UNIX, OS2, etc.), use the editor provided as part of the SAS software. Following is a sample SAS program that will convert the ASCII data file to SAS format. LIBNAME PUFLIB 'C:\MEPS'; FILENAME IN1 'C:\MEPS\H85G.DAT'; DATA PUFLIB.H85G; INFILE IN1 LRECL=271; INPUT .....; * to user: insert the complete INPUT statement that is provided in Section D; LABEL .....; * to user: insert the complete LABEL statement that is provided in Section D; RUN; Here is an explanation of the SAS statements used in the program above. LIBNAME statement: This tells SAS the location (directory name) of the permanent SAS dataset. FILENAME statement: This tells SAS the location of the input ASCII data file. DATA statement: This signifies the beginning of a SAS DATA step and specifies describes the output SAS dataset, referencing the LIBNAME entry (PUFLIB) and assigning an internal SAS dataset name (H85G). In the example, after the successful completion of the DATA step, a PC file named H85G.SAS7BDAT would have been created in the C:\MEPS directory. INFILE statement: This tells SAS the location (directory and file name) of the input ASCII data file. Also provided is the logical record length (271 bytes), with the default of RECFM=V implied when this parameter is omitted. LRECL and RECFM are optional parameters in the INFILE statement. With regard to these options, please note the following: the ASCII data file H85G.DAT contains a 2-byte carriage return/line feed at the end of each record. When converting to a PC-SAS file, the LRECL option should be used to specify the record length to avoid use of a default record length by PC-SAS. If the RECFM=V option is used, the LRECL option must be specified as the logical record length (e.g., 271 for H85G.DAT). If RECFM=F is used, then the LRECL value must be specified as the logical record length plus 2 (273 for H85G.DAT). Note that if the RECFM option is omitted, then the default option of RECFM=V is automatically used, and LRECL should be specified as the logical record (271 for H85G.DAT). INPUT statement: This specifies the input record layout, giving names and the beginning and ending column positions for data items (which become SAS variables) in the ASCII data file (H85G.DAT). Variable type (numeric or character) is also defined via the INPUT statement. LABEL statement: This associates descriptive names with the SAS variables. RUN statement: This tells SAS to execute all commands up to this point. ADDITIONAL NOTE TO USERS OF SAS VERSION 8: One of the following procedures should be used to avoid a SAS error when using the downloaded ASCII data file: 1) Add V8 to LIBNAME statement - e.g., LIBNAME PUFLIB V8 'C:\MEPS'; OR 2) Output the SAS data set to a different library than the one which contains the downloaded SAS Transport file - e.g., LIBNAME PUFLIB 'C:\MEPS'; FILENAME IN1 'C:\DOWNLOAD\H85G.SSP'; PROC XCOPY IN=IN1 OUT=PUFLIB IMPORT RUN; C. Optional Format-related SAS Statements If a user wants to use formats for the SAS variables, a SAS format library must first be created. Below is a SAS program that will accomplish this. LIBNAME PUFLIB 'C:\MEPS'; PROC FORMAT LIBRARY=PUFLIB; VALUE .....; * to user: insert the complete set of VALUE statements found in Section D; VALUE .....; .......... ; RUN; Below is an example of how to use the SAS formats defined by the PROC FORMAT procedure. LIBNAME PUFLIB 'C:\MEPS'; OPTIONS FMTSEARCH=(PUFLIB); PROC FREQ DATA=PUFLIB.H85G; TABLES .... / LIST MISSING; FORMAT varnam1 fmtnam1. Varnam2 fmtnam2. .... ; * to user: substitute varnami and fmtnami with actual variable names and format names; * Insert the FORMAT statement provided in Section D, if you are using all the variables; * in the TABLES statement; TITLE 'Frequency Distributions ....'; RUN; Here is an explanation of the SAS statements used above. LIBNAME statement: This tells SAS the location (directory name) of the SAS format library. Please note that SAS datasets (file name extension is 'SAS7BDAT') and format libraries (file name extension is 'SAS7BCAT') can be stored under the same directory. OPTIONS FMTSEARCH=...: This specifies the SAS format library. PROC FORMAT statement: This identifies the SAS procedure that will make SAS formats according to VALUE statements. Formats will be stored in a file named FORMATS.SAS7BCAT. Please note that the option 'LIBRARY=...' can be omitted, if the user does not want to create a permanent SAS format library. When simply 'PROC FORMAT;' is used, the formats are defined only for the duration of the batch SAS program or an interactive SAS session. VALUE statement: This gives a) names to formats; and b) descriptive labels for individual values, or range of values. The format names can then be invoked using a FORMAT statement, if desired. PROC FREQ statement: This identifies the SAS procedure that will generate frequency distributions of variables specified in the TABLES statement, formatted if a FORMAT statement is used. The input SAS dataset is specified in the 'DATA=' option. FORMAT statement: This associates existing formats with variables. When using this statement, the formats must have already been created with a PROC FORMAT procedure. RUN statement: This tells SAS to execute all commands up to this point. NOTES: 1) Use of formats is entirely optional, and depends on the type of analyses that you are doing. It is recommended that you create and use them as appropriate. 2) The names used in the LIBNAME and FILENAME statements shown above (i.e., PUFLIB, IN1) are arbitrary; they are only temporary aliases. 3) You only create the permanent SAS data set once. Additional analyses can be run using this permanent dataset. 4) The file and directory specifications in the LIBNAME and FILENAME statements are Windows syntax and may need to be modified for other operating systems such as UNIX, MAC/OS, VMS, or OS/2. D. SAS Statements This section contains SAS INPUT, LABEL, FORMAT and VALUE statements for use in converting the ASCII H85G.DAT file into a SAS data set, and for creating SAS formats. * INPUT STATEMENTS; INFILE IN LRECL=271; INPUT @1 DUID 5.0 @6 PID 3.0 @9 DUPERSID $8.0 @17 EVNTIDX $12.0 @29 EVENTRN 1.0 @30 FFEEIDX $12.0 @42 MPCELIG 1.0 @43 MPCDATA 1.0 @44 OBDATEYR 4.0 @48 OBDATEMM 2.0 @50 OBDATEDD 2.0 @52 SEETLKPV 2.0 @54 MVPLACE 2.0 @56 SEEDOC 2.0 @58 DRSPLTY 2.0 @60 MEDPTYPE 2.0 @62 DOCATLOC 2.0 @64 VSTCTGRY 2.0 @66 VSTRELCN 2.0 @68 PHYSTH 2.0 @70 OCCUPTH 2.0 @72 SPEECHTH 2.0 @74 CHEMOTH 2.0 @76 RADIATTH 2.0 @78 KIDNEYD 2.0 @80 IVTHER 2.0 @82 DRUGTRT 2.0 @84 RCVSHOT 2.0 @86 PSYCHOTH 2.0 @88 LABTEST 2.0 @90 SONOGRAM 2.0 @92 XRAYS 2.0 @94 MAMMOG 2.0 @96 MRI 2.0 @98 EKG 2.0 @100 EEG 2.0 @102 RCVVAC 2.0 @104 ANESTH 2.0 @106 OTHSVCE 2.0 @108 SURGPROC 2.0 @110 MEDPRESC 2.0 @112 VAPLACE 1.0 @113 OBICD1X $3.0 @116 OBICD2X $3.0 @119 OBICD3X $3.0 @122 OBICD4X $3.0 @125 OBPRO1X $2.0 @127 OBPRO2X $2.0 @129 OBPRO3X $2.0 @131 OBCCC1X $3.0 @134 OBCCC2X $3.0 @137 OBCCC3X $3.0 @140 OBCCC4X $3.0 @143 FFOBTYPE 2.0 @145 FFBEF04 2.0 @147 FFTOT05 2.0 @149 OBSF04X 8.2 @157 OBMR04X 8.2 @165 OBMD04X 7.2 @172 OBPV04X 8.2 @180 OBVA04X 7.2 @187 OBTR04X 7.2 @194 OBOF04X 7.2 @201 OBSL04X 8.2 @209 OBWC04X 7.2 @216 OBOR04X 8.2 @224 OBOU04X 7.2 @231 OBOT04X 7.2 @238 OBXP04X 8.2 @246 OBTC04X 9.2 @255 IMPFLAG 1.0 @256 PERWT04F 12.6 @268 VARSTR 3.0 @271 VARPSU 1.0 ; * FORMAT STATEMENTS; FORMAT DUID DUID. PID PID. DUPERSID $DUPERS. EVNTIDX $EVNTIDX. EVENTRN EVENTRNF. FFEEIDX $FFEEIDX. MPCELIG MPCELIGF. MPCDATA MPCDATAF. OBDATEYR OBDATEYF. OBDATEMM OBDATEMF. OBDATEDD OBDATEDF. SEETLKPV SEETLKPF. MVPLACE MVPLACEF. SEEDOC SEEDOCF. DRSPLTY DRSPLTYF. MEDPTYPE MEDPTYPF. DOCATLOC DOCATLOF. VSTCTGRY VSTCTGRF. VSTRELCN VSTRELCF. PHYSTH PHYSTHF. OCCUPTH OCCUPTHF. SPEECHTH SPEECHTF. CHEMOTH CHEMOTHF. RADIATTH RADIATTF. KIDNEYD KIDNEYDF. IVTHER IVTHERF. DRUGTRT DRUGTRTF. RCVSHOT RCVSHOTF. PSYCHOTH PSYCHOTF. LABTEST LABTESTF. SONOGRAM SONOGRMF. XRAYS XRAYSF. MAMMOG MAMMOGF. MRI MRIF. EKG EKGF. EEG EEGF. RCVVAC RCVVACF. ANESTH ANESTHF. OTHSVCE OTHSVCEF. SURGPROC SURGPROF. MEDPRESC MEDPRESF. VAPLACE VAPLACEF. OBICD1X $OBICD1X. OBICD2X $OBICD2X. OBICD3X $OBICD3X. OBICD4X $OBICD4X. OBPRO1X $OBPRO1X. OBPRO2X $OBPRO2X. OBPRO3X $OBPRO3X. OBCCC1X $OBCCC1X. OBCCC2X $OBCCC2X. OBCCC3X $OBCCC3X. OBCCC4X $OBCCC4X. FFOBTYPE FFOBTYPF. FFBEF04 FFBEF04F. FFTOT05 FFTOT05F. OBSF04X OBSF04XF. OBMR04X OBMR04XF. OBMD04X OBMD04XF. OBPV04X OBPV04XF. OBVA04X OBVA04XF. OBTR04X OBTR04XF. OBOF04X OBOF04XF. OBSL04X OBSL04XF. OBWC04X OBWC04XF. OBOR04X OBOR04XF. OBOU04X OBOU04XF. OBOT04X OBOT04XF. OBXP04X OBXP04XF. OBTC04X OBTC04XF. IMPFLAG IMPFLAGF. PERWT04F PERWT04F. VARSTR VARSTRF. VARPSU VARPSUF. ; * LABEL STATEMENTS; LABEL DUID ='DWELLING UNIT ID' PID ='PERSON NUMBER' DUPERSID='PERSON ID (DUID + PID)' EVNTIDX ='EVENT ID' EVENTRN ='EVENT ROUND NUMBER' FFEEIDX ='FLAT FEE ID' MPCELIG ='MPC ELIGIBILITY FLAG' MPCDATA ='MPC DATA FLAG' OBDATEYR='EVENT DATE - YEAR' OBDATEMM='EVENT DATE - MONTH' OBDATEDD='EVENT DATE - DAY' SEETLKPV='DID P VISIT PROV IN PERSON OR TELEPHONE' MVPLACE ='KIND OF PLACE PATIENT SAW MV PROVIDER' SEEDOC ='DID P TALK TO MD THIS VISIT/PHONE CALL' DRSPLTY ='MVIS DOCTOR S SPECIALTY' MEDPTYPE='TYPE OF MED PERSON P TALKED TO ON VST DT' DOCATLOC='ANY MD WORK AT LOCATION WHERE P SAW PROV' VSTCTGRY='BEST CATEGORY FOR CARE P RECV ON VST DT' VSTRELCN='THIS VST/PHONE CALL RELATED TO SPEC COND' PHYSTH ='THIS VISIT DID P HAVE PHYSICAL THERAPY' OCCUPTH ='THIS VIS DID P HAVE OCCUPATIONAL THERAPY' SPEECHTH='THIS VISIT DID P HAVE SPEECH THERAPY' CHEMOTH ='THIS VISIT DID P HAVE CHEMOTHERAPY' RADIATTH='THIS VISIT DID P HAVE RADIATION THERAPY' KIDNEYD ='THIS VISIT DID P HAVE KIDNEY DIALYSIS' IVTHER ='THIS VISIT DID P HAVE IV THERAPY' DRUGTRT ='THIS VIS DID P HAVE TRT FOR DRUG/ALCOHOL' RCVSHOT ='THIS VISIT DID P RECEIVE AN ALLERGY SHOT' PSYCHOTH='DID P HAVE PSYCHOTHERAPY/COUNSELING' LABTEST ='THIS VISIT DID P HAVE LAB TESTS' SONOGRAM='THIS VISIT DID P HAVE SONOGRAM OR ULTRSD' XRAYS ='THIS VISIT DID P HAVE X-RAYS' MAMMOG ='THIS VISIT DID P HAVE A MAMMOGRAM' MRI ='THIS VISIT DID P HAVE AN MRI/CATSCAN' EKG ='THIS VISIT DID P HAVE AN EKG OR ECG' EEG ='THIS VISIT DID P HAVE AN EEG' RCVVAC ='THIS VISIT DID P RECEIVE A VACCINATION' ANESTH ='THIS VISIT DID P RECEIVE ANESTHESIA' OTHSVCE ='THIS VISIT DID P HAVE OTH DIAG TEST/EXAM' SURGPROC='WAS SURG PROC PERFORMED ON P THIS VISIT' MEDPRESC='ANY MEDICINE PRESCRIBED FOR P THIS VISIT' VAPLACE ='VA FACILITY FLAG' OBICD1X ='3-DIGIT ICD-9-CM CONDITION CODE' OBICD2X ='3-DIGIT ICD-9-CM CONDITION CODE' OBICD3X ='3-DIGIT ICD-9-CM CONDITION CODE' OBICD4X ='3-DIGIT ICD-9-CM CONDITION CODE' OBPRO1X ='2-DIGIT ICD-9-CM PROCEDURE CODE' OBPRO2X ='2-DIGIT ICD-9-CM PROCEDURE CODE' OBPRO3X ='2-DIGIT ICD-9-CM PROCEDURE CODE' OBCCC1X ='MODIFIED CLINICAL CLASSIFICATION CODE' OBCCC2X ='MODIFIED CLINICAL CLASSIFICATION CODE' OBCCC3X ='MODIFIED CLINICAL CLASSIFICATION CODE' OBCCC4X ='MODIFIED CLINICAL CLASSIFICATION CODE' FFOBTYPE='FLAT FEE BUNDLE' FFBEF04 ='TOTAL # OF VISITS IN FF BEFORE 2004' FFTOT05 ='TOTAL # OF VISITS IN FF AFTER 2004' OBSF04X ='AMOUNT PAID, FAMILY (IMPUTED)' OBMR04X ='AMOUNT PAID, MEDICARE (IMPUTED)' OBMD04X ='AMOUNT PAID, MEDICAID (IMPUTED)' OBPV04X ='AMOUNT PAID, PRIVATE INSURANCE (IMPUTED)' OBVA04X ='AMOUNT PAID, VETERANS (IMPUTED)' OBTR04X ='AMOUNT PAID, TRICARE (IMPUTED)' OBOF04X ='AMOUNT PAID, OTHER FEDERAL (IMPUTED)' OBSL04X ='AMOUNT PAID, STATE & LOCAL GOV (IMPUTED)' OBWC04X ='AMOUNT PAID, WORKERS COMP (IMPUTED)' OBOR04X ='AMOUNT PAID, OTHER PRIVATE (IMPUTED)' OBOU04X ='AMOUNT PAID, OTHER PUBLIC (IMPUTED)' OBOT04X ='AMOUNT PAID, OTHER INSURANCE (IMPUTED)' OBXP04X ='SUM OF OBSF04X - OBOT04X (IMPUTED)' OBTC04X ='HHLD REPORTED TOTAL CHARGE (IMPUTED)' IMPFLAG ='IMPUTATION STATUS' PERWT04F='EXPENDITURE FILE PERSON WEIGHT, 2004' VARSTR ='VARIANCE ESTIMATION STRATUM, 2004' VARPSU ='VARIANCE ESTIMATION PSU, 2004' ; * VALUE STATEMENTS; VALUE ANESTHF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE CHEMOTHF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE DOCATLOF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' ; VALUE DRSPLTYF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 ALLERGY/IMMUNOLOGY' 2 = '2 ANESTHESIOLOGY' 3 = '3 CARDIOLOGY (HEART)' 4 = '4 DERMATOLOGY (SKIN)' 5 = '5 ENDOCRINOLOGY/METABOLISM' 6 = '6 FAMILY PRACTICE' 7 = '7 GASTROENTEROLOGY' 8 = '8 GENERAL PRACTICE' 9 = '9 GENERAL SURGERY' 10 = '10 GERIATRICS (ELDERLY)' 11 = '11 GYNECOLOGY/OBSTETRICS' 12 = '12 HEMATOLOGY (BLOOD)' 13 = '13 HOSPITAL RESIDENCE' 14 = '14 INTERNAL MEDICINE' 15 = '15 NEPHROLOGY (KIDNEYS)' 16 = '16 NEUROLOGY' 17 = '17 NUCLEAR MEDICINE' 18 = '18 ONCOLOGY' 19 = '19 OPTHALMOLOGY' 20 = '20 ORTHOPEDICS' 21 = '21 OSTEOPATHY' 22 = '22 OTORHINOLARYNGOLOGY' 23 = '23 PATHOLOGY' 24 = '24 PEDIATRICIAN' 25 = '25 PHYSICAL MEDICINE/REHAB' 26 = '26 PLASTIC SURGERY' 27 = '27 PROCTOLOGY' 28 = '28 PSYCHIATRY' 29 = '29 PULMONARY' 30 = '30 RADIOLOGY' 31 = '31 RHEUMATOLOGY (ARTHRITIS)' 32 = '32 THORACIC SURGERY' 33 = '33 UROLOGY' 91 = '91 OTHER DR SPECIALTY' ; VALUE DRUGTRTF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE DUID OTHER = 'VALID ID' ; VALUE $DUPERS OTHER = 'VALID ID' ; VALUE EEGF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE EKGF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE EVENTRNF 1 = 'ROUND 1' 2 = 'ROUND 2' 3 = 'ROUND 3' 4 = 'ROUND 4' 5 = 'ROUND 5' ; VALUE $EVNTIDX OTHER = 'VALID ID' ; VALUE FFBEF04F (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 0 = '0' 1 - 30 = '1 - 30' ; VALUE $FFEEIDX '-1' = '-1 INAPPLICABLE' OTHER = 'VALID ID' ; VALUE FFOBTYPF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 FLAT FEE STEM' 2 = '2 FLAT FEE LEAF' ; VALUE FFTOT05F (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 0 = '0' 1 - 15 = '1 - 15' ; VALUE IMPFLAGF -1 = '-1 INAPPLICABLE' 0 = '0 NOT ELIGIBLE FOR IMPUTATION' 1 = '1 COMPLETE HC DATA' 2 = '2 COMPLETE MPC DATA' 3 = '3 FULLY IMPUTED' 4 = '4 PARTIALLY IMPUTED' 5 = '5 CAPITATION IMPUTATION' ; VALUE IVTHERF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE KIDNEYDF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE LABTESTF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE MAMMOGF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE MEDPRESF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' ; VALUE MEDPTYPF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 CHIROPRACTOR' 2 = '2 DENTIST/DENTAL CARE PERSON' 3 = '3 MIDWIFE' 4 = '4 NURSE/NURSE PRACTITIONER' 5 = '5 OPTOMETRIST' 6 = '6 PODIATRIST' 7 = "7 PHYSICIAN'S ASSISTANT" 8 = '8 PHYSICAL THERAPIST' 9 = '9 OCCUPATIONAL THERAPIST' 10 = '10 PSYCHOLOGIST' 11 = '11 SOCIAL WORKER' 12 = '12 TECHNICIAN' 13 = '13 RECEPTIONIST/CLERK/SECRETARY' 14 = '14 ACUPUNCTURIST' 15 = '15 MASSAGE THERAPIST' 16 = '16 HOMEOPATHIC/NATUROPATHIC/HERBALIST' 17 = '17 OTHER ALTERNATIVE/COMPLEMENTARY CARE PRO' 91 = '91 OTHER' ; VALUE MPCDATAF 1 = '1 HAS MPC DATA' 2 = '2 NO MPC DATA' ; VALUE MPCELIGF 1 = '1 MPC ELIGIBLE' 2 = '2 NOT MPC ELIGIBLE' ; VALUE MRIF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE MVPLACEF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = "1 DOCTOR'S OFFICE/GROUP PRACTICE" 2 = '2 MEDICAL CLINIC' 3 = '3 MANAGED CARE PLAN CTR/HMO' 4 = '4 NEIGHBORHOOD/FAMILY HEALTH CENTER' 5 = '5 LASER EYE SURGERY CENTER' 6 = '6 OTHER FREESTANDING SURGICAL CENTER' 7 = '7 RURAL HEALTH CLINIC' 8 = '8 COMPANY CLINIC' 9 = '9 SCHOOL CLINIC' 10 = '10 OTHER CLINIC' 11 = '11 WALK-IN URGENT CENTER' 12 = '12 VA FACILITY' 13 = '13 COMMUNITY HEALTH CENTER' 14 = '14 LABORATORY/X-RAY FACILITY' 91 = '91 SOME OTHER PLACE' ; VALUE $OBCCC1X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '064' = '001-064' '076' - '260' = '076-260' '650' - '663' = '650-663' ; VALUE $OBCCC2X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '064' = '001-064' '076' - '260' = '076-260' '650' - '663' = '650-663' ; VALUE $OBCCC3X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '064' = '001-064' '076' - '260' = '076-260' '650' - '663' = '650-663' ; VALUE $OBCCC4X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '064' = '001-064' '076' - '260' = '076-260' '650' - '663' = '650-663' ; VALUE OBDATEDF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 - 31 = '1 - 31 DAY' ; VALUE OBDATEMF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 - 12 = '1 - 12 MONTH' ; VALUE OBDATEYF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 2004 = '2004' ; VALUE $OBICD1X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '139' = '001 - 139' '140' - '239' = '140 - 239' '240' - '279' = '240 - 279' '280' - '289' = '280 - 289' '290' - '319' = '290 - 319' '320' - '389' = '320 - 389' '390' - '459' = '390 - 459' '460' - '519' = '460 - 519' '520' - '579' = '520 - 579' '580' - '629' = '580 - 629' '630' - '677' = '630 - 677' '680' - '709' = '680 - 709' '710' - '739' = '710 - 739' '740' - '759' = '740 - 759' '760' - '779' = '760 - 779' '780' - '799' = '780 - 799' '800' - '999' = '800 - 999' 'V01' - 'V83' = 'V01 - V83' ; VALUE $OBICD2X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '139' = '001 - 139' '140' - '239' = '140 - 239' '240' - '279' = '240 - 279' '280' - '289' = '280 - 289' '290' - '319' = '290 - 319' '320' - '389' = '320 - 389' '390' - '459' = '390 - 459' '460' - '519' = '460 - 519' '520' - '579' = '520 - 579' '580' - '629' = '580 - 629' '630' - '677' = '630 - 677' '680' - '709' = '680 - 709' '710' - '739' = '710 - 739' '740' - '759' = '740 - 759' '760' - '779' = '760 - 779' '780' - '799' = '780 - 799' '800' - '999' = '800 - 999' 'V01' - 'V83' = 'V01 - V83' ; VALUE $OBICD3X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '139' = '001 - 139' '140' - '239' = '140 - 239' '240' - '279' = '240 - 279' '280' - '289' = '280 - 289' '290' - '319' = '290 - 319' '320' - '389' = '320 - 389' '390' - '459' = '390 - 459' '460' - '519' = '460 - 519' '520' - '579' = '520 - 579' '580' - '629' = '580 - 629' '630' - '677' = '630 - 677' '680' - '709' = '680 - 709' '710' - '739' = '710 - 739' '740' - '759' = '740 - 759' '760' - '779' = '760 - 779' '780' - '799' = '780 - 799' '800' - '999' = '800 - 999' 'V01' - 'V83' = 'V01 - V83' ; VALUE $OBICD4X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '001' - '139' = '001 - 139' '140' - '239' = '140 - 239' '240' - '279' = '240 - 279' '280' - '289' = '280 - 289' '290' - '319' = '290 - 319' '320' - '389' = '320 - 389' '390' - '459' = '390 - 459' '460' - '519' = '460 - 519' '520' - '579' = '520 - 579' '580' - '629' = '580 - 629' '630' - '677' = '630 - 677' '680' - '709' = '680 - 709' '710' - '739' = '710 - 739' '740' - '759' = '740 - 759' '760' - '779' = '760 - 779' '780' - '799' = '780 - 799' '800' - '999' = '800 - 999' 'V01' - 'V83' = 'V01 - V83' ; VALUE OBMD04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.01 - 28.56 = '$0.01 - $28.56' 28.57 - 50.04 = '$28.57 - $50.04' 50.05 - 90.41 = '$50.05 - $90.41' 90.42 - 8392.83 = '$90.42 - $8,392.83' ; VALUE OBMR04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.01 - 35.79 = '$0.01 - $35.79' 35.8 - 56 = '$35.80 - $56.00' 56.01 - 102.87 = '$56.01 - $102.87' 102.88 - 11621 = '$102.88 - $11,621.00' ; VALUE OBOF04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 2.4 - 27.65 = '$2.40 - $27.65' 27.66 - 63 = '$27.66 - $63.00' 63.01 - 137.17 = '$63.01 - $137.17' 137.18 - 4845 = '$137.18 - $4,845.00' ; VALUE OBOR04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.17 - 13 = '$0.17 - $13.00' 13.01 - 34 = '$13.01 - $34.00' 34.01 - 80 = '$34.01 - $80.00' 80.01 - 10537.48 = '$80.01 - $10,537.48' ; VALUE OBOT04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.14 - 28.39 = '$0.14 - $28.39' 28.4 - 45 = '$28.40 - $45.00' 45.01 - 83.14 = '$45.01 - $83.14' 83.15 - 9689.76 = '$83.15 - $9,689.76' ; VALUE OBOU04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.06 - 36.76 = '$0.06 - $36.76' 36.77 - 62.71 = '$36.77 - $62.71' 62.72 - 106.85 = '$62.72 - $106.85' 106.86 - 1662.94 = '$106.86 - $1,662.94' ; VALUE $OBPRO1X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '01' - '05' = '01 - 05' '06' - '07' = '06 - 07' '08' - '16' = '08 - 16' '18' - '20' = '18 - 20' '21' - '29' = '21 - 29' '30' - '34' = '30 - 34' '35' - '39' = '35 - 39' '40' - '41' = '40 - 41' '42' - '54' = '42 - 54' '55' - '59' = '55 - 59' '60' - '64' = '60 - 64' '65' - '71' = '65 - 71' '72' - '75' = '72 - 75' '76' - '84' = '76 - 84' '85' - '86' = '85 - 86' '87' - '99' = '87 - 99' ; VALUE $OBPRO2X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '01' - '05' = '01 - 05' '06' - '07' = '06 - 07' '08' - '16' = '08 - 16' '18' - '20' = '18 - 20' '21' - '29' = '21 - 29' '30' - '34' = '30 - 34' '35' - '39' = '35 - 39' '40' - '41' = '40 - 41' '42' - '54' = '42 - 54' '55' - '59' = '55 - 59' '60' - '64' = '60 - 64' '65' - '71' = '65 - 71' '72' - '75' = '72 - 75' '76' - '84' = '76 - 84' '85' - '86' = '85 - 86' '87' - '99' = '87 - 99' ; VALUE $OBPRO3X '-1' = '-1 INAPPLICABLE' '-7' = '-7 REFUSED' '-8' = '-8 DK' '-9' = '-9 NOT ASCERTAINED' '01' - '05' = '01 - 05' '06' - '07' = '06 - 07' '08' - '16' = '08 - 16' '18' - '20' = '18 - 20' '21' - '29' = '21 - 29' '30' - '34' = '30 - 34' '35' - '39' = '35 - 39' '40' - '41' = '40 - 41' '42' - '54' = '42 - 54' '55' - '59' = '55 - 59' '60' - '64' = '60 - 64' '65' - '71' = '65 - 71' '72' - '75' = '72 - 75' '76' - '84' = '76 - 84' '85' - '86' = '85 - 86' '87' - '99' = '87 - 99' ; VALUE OBPV04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.01 - 29.51 = '$0.01 - $29.51' 29.52 - 53.85 = '$29.52 - $53.85' 53.86 - 103 = '$53.86 - $103.00' 103.01 - 42644 = '$103.01 - $42,644.00' ; VALUE OBSF04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.01 - 23000 = '$0.01 - $23,000.00' ; VALUE OBSL04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.12 - 49.22 = '$0.12 - $49.22' 49.23 - 89.84 = '$49.23 - $89.84' 89.85 - 136.26 = '$89.85 - $136.26' 136.27 - 22990 = '$136.27 - $22,990.00' ; VALUE OBTC04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.16 - 63 = '$0.16 - $63.00' 63.01 - 100 = '$63.01 - $100.00' 100.01 - 190 = '$100.01 - $190.00' 190.01 - 165284 = '$190.01 - $165,284.00' ; VALUE OBTR04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.76 - 14.35 = '$0.76 - $14.35' 14.36 - 30.96 = '$14.36 - $30.96' 30.97 - 62.48 = '$30.97 - $62.48' 62.49 - 7891 = '$62.49 - $7,891.00' ; VALUE OBVA04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.11 - 39.35 = '$0.11 - $39.35' 39.36 - 80 = '$39.36 - $80.00' 80.01 - 152.34 = '$80.01 - $152.34' 152.35 - 8500 = '$152.35 - $8,500.00' ; VALUE OBWC04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 1.67 - 46.4 = '$1.67 - $46.40' 46.41 - 71.31 = '$46.41 - $71.31' 71.32 - 123.45 = '$71.32 - $123.45' 123.46 - 5049 = '$123.46 - $5,049.00' ; VALUE OBXP04XF (DEFAULT=40) -9 = '-9 NOT ASCERTAINED' -1 = '-1 INAPPLICABLE' 0 = '0' 0.01 - 45 = '$0.01 - $45.00' 45.01 - 69.49 = '$45.01 - $69.49' 69.5 - 121.04 = '$69.50 - $121.04' 121.05 - 42869 = '$121.05 - $42,869.00' ; VALUE OCCUPTHF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE OTHSVCEF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE PERWT04F (DEFAULT=40 FUZZ=1E-6) 0 = '0.000000 WEIGHT' 451.721568 - 63727.504985 = '451.721568 - 63727.504985 WEIGHT' ; VALUE PHYSTHF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE PID OTHER = 'VALID ID' ; VALUE PSYCHOTF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE RADIATTF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE RCVSHOTF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE RCVVACF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE SEEDOCF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' ; VALUE SEETLKPF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 SAW PROVIDER' 2 = '2 TELEPHONE CALL' ; VALUE SONOGRMF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ; VALUE SPEECHTF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO TREATMENT RECEIVED' ; VALUE SURGPROF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' ; VALUE VAPLACEF -1 = '-1 INAPPLICABLE' 0 = '0 NO' 1 = '1 YES' ; VALUE VARPSUF (DEFAULT=40) 1 - 3 = '1 - 3' ; VALUE VARSTRF (DEFAULT=40) 1 - 203 = '1 - 203' ; VALUE VSTCTGRF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 GENERAL CHECKUP' 2 = '2 DIAGNOSIS OR TREATMENT' 3 = '3 EMERGENCY (E.G., ACCIDENT OR INJURY)' 4 = '4 PSYCHOTHERAPY/MENTAL HEALTH COUNSELING' 5 = '5 FOLLOW-UP OR POST-OPERATIVE VISIT' 6 = '6 IMMUNIZATIONS OR SHOTS' 7 = '7 VISION EXAM' 8 = '8 MATERNITY CARE (PRE/POSTNATAL)' 9 = '9 WELL CHILD EXAM' 10 = '10 LASER EYE SURGERY' 91 = '91 OTHER' ; VALUE VSTRELCF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' ; VALUE XRAYSF -9 = '-9 NOT ASCERTAINED' -8 = '-8 DK' -7 = '-7 REFUSED' -1 = '-1 INAPPLICABLE' 1 = '1 YES' 2 = '2 NO' 95 = '95 NO SERVICES RECEIVED' ;