SAS User File for H178E 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 (H178E.SSP) or the ASCII data file (H178E.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 OR HIGHER.                            
                                                                                                    
******************************************************************************                      
                                                                                                    
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 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 SAS program that can be used to convert the SAS transport                         
file to a permanent SAS dataset (in a Windows environment, with SAS V8 or                           
higher).                                                                                            
                                                                                                    
     LIBNAME PUFLIB 'C:\MEPS\SASDATA';                                                              
     FILENAME IN1 'C:\MEPS\DOWNLOAD\H178E.SSP';                                                
                                                                                                    
     PROC XCOPY IN=IN1 OUT=PUFLIB IMPORT;                                                           
     RUN;                                                                                           
                                                                                                    
SAS transport files, SAS data files, and SAS program files each should be                           
stored in separate locations (directory names). Storing different types of                          
SAS files in one location can cause errors with converting                                          
or retrieving data.                                                                                 
                                                                                                    
Below are SAS statements to print a list of variables and a few sample records                      
from the permanent SAS dataset:                                                                     
                                                                                                    
     PROC CONTENTS DATA=PUFLIB.H178E;                                                          
     TITLE 'List of Variables in MEPS H178E SAS Dataset';                                      
     RUN;                                                                                           
                                                                                                    
     PROC PRINT DATA=PUFLIB.H178E (OBS=20);                                                    
     TITLE 'First 20 Observations in MEPS H178E 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) If you have an error reading a SAS data file you created, the problem                       
        may be a result of where you are storing and/or how you are retrieving                      
        the data.  First check the data library for multiple releases of SAS                        
        files (e.g., V8 or higher with file extensions of '.SAS7BDAT' and V6                        
        with file extensions of '.SD2') stored in the same location.                                
                                                                                                    
           a) You can avoid errors when reading these files by including                            
              the SAS release within the LIBNAME statement  - e.g.,                                 
                     LIBNAME PUFLIB V8 'C:\MEPS\SASDATA';                                           
           or                                                                                       
                                                                                                    
           b) Store SAS data files with different file extensions such as .SD2                      
              and .SAS7BDAT, in separate folders (do not co-mingle V8 and V6                        
              files in the same folder);                                                            
           or                                                                                       
                                                                                                    
           c) When importing transport files, output the SAS dataset to                             
              a different library than the one which contains the downloaded                        
              SAS transport file - e.g.,                                                            
                     LIBNAME PUFLIB 'C:\MEPS\SASDATA';                                              
                     FILENAME IN1 'C:\MEPS\DOWNLOAD\Hxxx.SSP';                                      
                     PROC XCOPY IN=IN1 OUT=PUBLIB IMPORT;                                           
                     RUN;                                                                           
                                                                                                    
     2)  The names used in the LIBNAME and FILENAME statements shown                                
     above (i.e., PUFLIB, IN1) are arbitrary; they are only temporary                               
     aliases.                                                                                       
                                                                                                    
     3)  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.                                                                                          
                                                                                                    
     4)  H178E 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                        
     H178E.SAS7BDAT will be created under the C:\MEPS\SASDATA directory when                   
     PROC XCOPY runs successfully.                                                                  
                                                                                                    
     5)  The SAS transport file H178E.SSP was created from a SAS V9                            
     data file, using PROC COPY.  This file has been tested for use with                            
     SAS V8 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 H178E.DAT to a SAS dataset as described in Section B.                           
                                                                                                    
                                                                                                    
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 H178E.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\SASDATA';                                                              
     FILENAME IN1 'C:\MEPS\DOWNLOAD\H178E.DAT';                                                
                                                                                                    
     DATA PUFLIB.H178E;                                                                        
     INFILE IN1 LRECL=342;                                                                     
     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                       
the output SAS dataset, referencing the LIBNAME entry (PUFLIB) and assigning                        
an internal SAS dataset name (H178E).  In the example, after the successful                    
completion of the DATA step, a PC file named H178E.SAS7BDAT would have                         
been created in the C:\MEPS\SASDATA 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 (342                        
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 H178E.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., 342 for H178E.DAT).  If RECFM=F is used, then the                    
LRECL value must  be specified as the logical record length plus 2 (344 for            
H178E.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 (342 for H178E.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 (H178E.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.                             
                                                                                                    
See Section A.1 above for tips on retrieving and storing the permanent SAS                          
data files.                                                                                         
                                                                                                    
                                                                                                    
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\SASDATA';                                                              
                                                                                                    
     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\SASDATA';                                                              
     OPTIONS FMTSEARCH=(PUFLIB);                                                                    
                                                                                                    
     PROC FREQ DATA=PUFLIB.H178E;                                                              
     TABLES .... / LIST MISSING;                                                                    
     FORMAT varnam1 fmtnam1.  Varnam2 fmtnam2.  .... ;                                              
     * to user: substitute varnam1 and fmtnam1 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' for SAS V8 or higher and 'SD2' for SAS V6) and format libraries                          
(file name extension is 'SAS7BCAT' for SAS V8 or higher and 'SC2' for SAS                           
V6) 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 generates                               
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 types                              
     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 dataset 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 H178E.DAT file into a SAS dataset, and for creating                       
SAS formats.                                                                                        
                                                                                                    
* INPUT STATEMENTS;
INFILE IN LRECL=342;

INPUT @1      DUID      5.0
      @6      PID       3.0
      @9      DUPERSID $8.0
      @17     EVNTIDX  $12.0
      @29     EVENTRN   1.0
      @30     ERHEVIDX $12.0
      @42     FFEEIDX  $12.0
      @54     PANEL     2.0
      @56     MPCDATA   1.0
      @57     ERDATEYR  4.0
      @61     ERDATEMM  2.0
      @63     VSTCTGRY  2.0
      @65     VSTRELCN  2.0
      @67     LABTEST   2.0
      @69     SONOGRAM  2.0
      @71     XRAYS     2.0
      @73     MAMMOG    2.0
      @75     MRI       2.0
      @77     EKG       2.0
      @79     EEG       2.0
      @81     RCVVAC    2.0
      @83     ANESTH    2.0
      @85     THRTSWAB  2.0
      @87     OTHSVCE   2.0
      @89     SURGPROC  2.0
      @91     MEDPRESC  2.0
      @93     ERCCC1X  $3.0
      @96     ERCCC2X  $3.0
      @99     ERCCC3X  $3.0
      @102    ERCCC4X  $3.0
      @105    FFERTYPE  2.0
      @107    FFTOT16   2.0
      @109    ERXP15X   8.2
      @117    ERTC15X   9.2
      @126    ERFSF15X  8.2
      @134    ERFMR15X  8.2
      @142    ERFMD15X  8.2
      @150    ERFPV15X  8.2
      @158    ERFVA15X  7.2
      @165    ERFTR15X  7.2
      @172    ERFOF15X  7.2
      @179    ERFSL15X  7.2
      @186    ERFWC15X  7.2
      @193    ERFOR15X  8.2
      @201    ERFOU15X  7.2
      @208    ERFOT15X  8.2
      @216    ERFXP15X  8.2
      @224    ERFTC15X  9.2
      @233    ERDSF15X  7.2
      @240    ERDMR15X  7.2
      @247    ERDMD15X  7.2
      @254    ERDPV15X  7.2
      @261    ERDVA15X  6.2
      @267    ERDTR15X  6.2
      @273    ERDOF15X  4.2
      @277    ERDSL15X  5.2
      @282    ERDWC15X  7.2
      @289    ERDOR15X  7.2
      @296    ERDOU15X  7.2
      @303    ERDOT15X  7.2
      @310    ERDXP15X  7.2
      @317    ERDTC15X  8.2
      @325    IMPFLAG   1.0
      @326    PERWT15F  12.6
      @338    VARSTR    4.0
      @342    VARPSU    1.0
;


* FORMAT STATEMENTS;
FORMAT DUID     DUID.
       PID      PID.
       DUPERSID $DUPERS.
       EVNTIDX  $EVNTIDX.
       EVENTRN  EVENTRNF.
       ERHEVIDX $ERHEIDF.
       FFEEIDX  $FFEEIDX.
       PANEL    PANELF.
       MPCDATA  MPCDATAF.
       ERDATEYR ERDTEYRF.
       ERDATEMM ERDTEMMF.
       VSTCTGRY VSTCTGRF.
       VSTRELCN VSTRELCF.
       LABTEST  LABTESTF.
       SONOGRAM SONOGRMF.
       XRAYS    XRAYSF.
       MAMMOG   MAMMOGF.
       MRI      MRIF.
       EKG      EKGF.
       EEG      EEGF.
       RCVVAC   RCVVACF.
       ANESTH   ANESTHF.
       THRTSWAB THRSWABF.
       OTHSVCE  OTHSVCEF.
       SURGPROC SURGPROF.
       MEDPRESC MEDPRESF.
       ERCCC1X  $ERCCC1X.
       ERCCC2X  $ERCCC2X.
       ERCCC3X  $ERCCC3X.
       ERCCC4X  $ERCCC4X.
       FFERTYPE FFERTYPF.
       FFTOT16  FFTOT16F.
       ERXP15X  ERXP15XF.
       ERTC15X  ERTC15XF.
       ERFSF15X ERFSF15F.
       ERFMR15X ERFMR15F.
       ERFMD15X ERFMD15F.
       ERFPV15X ERFPV15F.
       ERFVA15X ERFVA15F.
       ERFTR15X ERFTR15F.
       ERFOF15X ERFOF15F.
       ERFSL15X ERFSL15F.
       ERFWC15X ERFWC15F.
       ERFOR15X ERFOR15F.
       ERFOU15X ERFOU15F.
       ERFOT15X ERFOT15F.
       ERFXP15X ERFXP15F.
       ERFTC15X ERFTC15F.
       ERDSF15X ERDSF15F.
       ERDMR15X ERDMR15F.
       ERDMD15X ERDMD15F.
       ERDPV15X ERDPV15F.
       ERDVA15X ERDVA15F.
       ERDTR15X ERDTR15F.
       ERDOF15X ERDOF15F.
       ERDSL15X ERDSL15F.
       ERDWC15X ERDWC15F.
       ERDOR15X ERDOR15F.
       ERDOU15X ERDOU15F.
       ERDOT15X ERDOT15F.
       ERDXP15X ERDXP15F.
       ERDTC15X ERDTC15F.
       IMPFLAG  IMPFLAGF.
       PERWT15F PERWT15F.
       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'
      ERHEVIDX='EVENT ID FOR CORRESPONDING HOSPITAL STAY'
      FFEEIDX ='FLAT FEE ID'
      PANEL   ='PANEL NUMBER'
      MPCDATA ='MPC DATA FLAG'
      ERDATEYR='EVENT DATE - YEAR'
      ERDATEMM='EVENT DATE - MONTH'
      VSTCTGRY='BEST CATEGORY FOR CARE P RECV ON VST DT'
      VSTRELCN='THIS VST RELATED TO SPEC CONDITION'
      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'
      THRTSWAB='THIS VISIT DID P HAVE A THROAT SWAB'
      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'
      ERCCC1X ='MODIFIED CLINICAL CLASSIFICATION CODE'
      ERCCC2X ='MODIFIED CLINICAL CLASSIFICATION CODE'
      ERCCC3X ='MODIFIED CLINICAL CLASSIFICATION CODE'
      ERCCC4X ='MODIFIED CLINICAL CLASSIFICATION CODE'
      FFERTYPE='FLAT FEE BUNDLE'
      FFTOT16 ='TOTAL # OF VISITS IN FF AFTER 2015'
      ERXP15X ='TOT EXP FOR EVENT (ERFXP15X + ERDXP15X)'
      ERTC15X ='TOTAL CHG FOR EVENT (ERFTC15X+ERDTC15X)'
      ERFSF15X='FACILITY AMT PD, FAMILY (IMPUTED)'
      ERFMR15X='FACILITY AMT PD, MEDICARE (IMPUTED)'
      ERFMD15X='FACILITY AMT PD, MEDICAID (IMPUTED)'
      ERFPV15X='FACILITY AMT PD, PRIV INSUR (IMPUTED)'
      ERFVA15X='FAC AMT PD,VETERANS/CHAMPVA(IMPUTED)'
      ERFTR15X='FACILITY AMT PD,TRICARE(IMPUTED)'
      ERFOF15X='FACILITY AMT PD, OTH FEDERAL (IMPUTED)'
      ERFSL15X='FACILITY AMT PD, STATE/LOC GOV (IMPUTED)'
      ERFWC15X='FACILITY AMT PD, WORKERS COMP (IMPUTED)'
      ERFOR15X='FACILITY AMT PD, OTH PRIV (IMPUTED)'
      ERFOU15X='FACILITY AMT PD, OTH PUB (IMPUTED)'
      ERFOT15X='FACILITY AMT PD, OTH INSUR (IMPUTED)'
      ERFXP15X='FACILITY SUM PAYMENTS ERFSF15X-ERFOT15X'
      ERFTC15X='TOTAL FACILITY CHARGE (IMPUTED)'
      ERDSF15X='DOCTOR AMOUNT PAID, FAMILY (IMPUTED)'
      ERDMR15X='DOCTOR AMOUNT PD, MEDICARE (IMPUTED)'
      ERDMD15X='DOCTOR AMOUNT PAID, MEDICAID (IMPUTED)'
      ERDPV15X='DOCTOR AMT PD, PRIV INSUR (IMPUTED)'
      ERDVA15X='DR AMT PD,VETERANS/CHAMPVA(IMPUTED)'
      ERDTR15X='DOCTOR AMT PD,TRICARE(IMPUTED)'
      ERDOF15X='DOCTOR AMT PAID, OTH FEDERAL (IMPUTED)'
      ERDSL15X='DOCTOR AMT PD, STATE/LOC GOV (IMPUTED)'
      ERDWC15X='DOCTOR AMOUNT PD, WORKERS COMP (IMPUTED)'
      ERDOR15X='DOCTOR AMT PD, OTH PRIVATE (IMPUTED)'
      ERDOU15X='DOCTOR AMT PD, OTH PUB (IMPUTED)'
      ERDOT15X='DOCTOR AMT PD, OTH INSUR (IMPUTED)'
      ERDXP15X='DOCTOR SUM PAYMENTS ERDSF15X - ERDOT15X'
      ERDTC15X='TOTAL DOCTOR CHARGE (IMPUTED)'
      IMPFLAG ='IMPUTATION STATUS'
      PERWT15F='EXPENDITURE FILE PERSON WEIGHT, 2015'
      VARSTR  ='VARIANCE ESTIMATION STRATUM, 2015'
      VARPSU  ='VARIANCE ESTIMATION PSU, 2015'
;


* 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 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 $ERCCC1X  
  '-1' = '-1 INAPPLICABLE'
  '-7' = '-7 REFUSED'
  '-8' = '-8 DK'
  '-9' = '-9 NOT ASCERTAINED'
  '001' - '064' = '001-064'
  '076' - '260' = '076-260'
  '650' - '670' = '650-670'
  ;
VALUE $ERCCC2X  
  '-1' = '-1 INAPPLICABLE'
  '-7' = '-7 REFUSED'
  '-8' = '-8 DK'
  '-9' = '-9 NOT ASCERTAINED'
  '001' - '064' = '001-064'
  '076' - '260' = '076-260'
  '650' - '670' = '650-670'
  ;
VALUE $ERCCC3X  
  '-1' = '-1 INAPPLICABLE'
  '-7' = '-7 REFUSED'
  '-8' = '-8 DK'
  '-9' = '-9 NOT ASCERTAINED'
  '001' - '064' = '001-064'
  '076' - '260' = '076-260'
  '650' - '670' = '650-670'
  ;
VALUE $ERCCC4X  
  '-1' = '-1 INAPPLICABLE'
  '-7' = '-7 REFUSED'
  '-8' = '-8 DK'
  '-9' = '-9 NOT ASCERTAINED'
  '001' - '064' = '001-064'
  '076' - '260' = '076-260'
  '650' - '670' = '650-670'
  ;
VALUE ERDMD15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.2 - 35.55 = '$0.20 - $35.55'
  35.56 - 70 = '$35.56 - $70.00'
  70.01 - 125.06 = '$70.01 - $125.06'
  125.07 - 2687.65 = '$125.07 - $2,687.65'
  ;
VALUE ERDMR15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  2.84 - 50.8 = '$2.84 - $50.80'
  50.81 - 117.46 = '$50.81 - $117.46'
  117.47 - 191.53 = '$117.47 - $191.53'
  191.54 - 2323.72 = '$191.54 - $2,323.72'
  ;
VALUE ERDOF15F  
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.01 - 99999999.99 = '.01 - 99999999.99'
  ;
VALUE ERDOR15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.17 - 22.62 = '$0.17 - $22.62'
  22.63 - 65.32 = '$22.63 - $65.32'
  65.33 - 210.94 = '$65.33 - $210.94'
  210.95 - 1083.42 = '$210.95 - $1,083.42'
  ;
VALUE ERDOT15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  3.05 - 15 = '$3.05 - $15.00'
  15.01 - 62.24 = '$15.01 - $62.24'
  62.25 - 130.29 = '$62.25 - $130.29'
  130.3 - 1213 = '$130.30 - $1,213.00'
  ;
VALUE ERDOU15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  1.84 - 16 = '$1.84 - $16.00'
  16.01 - 64.69 = '$16.01 - $64.69'
  64.7 - 114.6 = '$64.70 - $114.60'
  114.61 - 1742.86 = '$114.61 - $1,742.86'
  ;
VALUE ERDPV15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  1.39 - 43.59 = '$1.39 - $43.59'
  43.6 - 148.16 = '$43.60 - $148.16'
  148.17 - 338.65 = '$148.17 - $338.65'
  338.66 - 3647.39 = '$338.66 - $3,647.39'
  ;
VALUE ERDSF15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  1.67 - 22.48 = '$1.67 - $22.48'
  22.49 - 57.28 = '$22.49 - $57.28'
  57.29 - 170 = '$57.29 - $170.00'
  170.01 - 2514.51 = '$170.01 - $2,514.51'
  ;
VALUE ERDSL15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  17.27 - 27.26 = '$17.27 - $27.26'
  27.27 - 44.6 = '$27.27 - $44.60'
  44.61 - 86.82 = '$44.61 - $86.82'
  86.83 - 93.23 = '$86.83 - $93.23'
  ;
VALUE ERDTC15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  6 - 229 = '$6.00 - $229.00'
  229.01 - 498 = '$229.01 - $498.00'
  498.01 - 980 = '$498.01 - $980.00'
  980.01 - 22224.83 = '$980.01 - $22,224.83'
  ;
VALUE ERDTEMMF  
  -9 = '-9 NOT ASCERTAINED'
  -8 = '-8 DK'
  -7 = '-7 REFUSED'
  -1 = '-1 INAPPLICABLE'
  1 - 12 = '1 - 12 MONTH'
  ;
VALUE ERDTEYRF  
  -9 = '-9 NOT ASCERTAINED'
  -8 = '-8 DK'
  -7 = '-7 REFUSED'
  -1 = '-1 INAPPLICABLE'
  2015 = '2015'
  ;
VALUE ERDTR15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  2.01 - 10.67 = '$2.01 - $10.67'
  10.68 - 25.11 = '$10.68 - $25.11'
  25.12 - 56.07 = '$25.12 - $56.07'
  56.08 - 180.72 = '$56.08 - $180.72'
  ;
VALUE ERDVA15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  4.9 - 10.89 = '$4.90 - $10.89'
  10.9 - 84.99 = '$10.90 - $84.99'
  85 - 277.4 = '$85.00 - $277.40'
  277.41 - 694 = '$277.41 - $694.00'
  ;
VALUE ERDWC15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  7.53 - 64.5 = '$7.53 - $64.50'
  64.51 - 167.18 = '$64.51 - $167.18'
  167.19 - 309.1 = '$167.19 - $309.10'
  309.11 - 1358.07 = '$309.11 - $1,358.07'
  ;
VALUE ERDXP15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  1.7 - 52.34 = '$1.70 - $52.34'
  52.35 - 118.25 = '$52.35 - $118.25'
  118.26 - 245.33 = '$118.26 - $245.33'
  245.34 - 3647.39 = '$245.34 - $3,647.39'
  ;
VALUE ERFMD15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.06 - 89.18 = '$0.06 - $89.18'
  89.19 - 184 = '$89.19 - $184.00'
  184.01 - 373.85 = '$184.01 - $373.85'
  373.86 - 13031 = '$373.86 - $13,031.00'
  ;
VALUE ERFMR15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  2.8 - 148.17 = '$2.80 - $148.17'
  148.18 - 316.86 = '$148.18 - $316.86'
  316.87 - 581.64 = '$316.87 - $581.64'
  581.65 - 21026.17 = '$581.65 - $21,026.17'
  ;
VALUE ERFOF15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  18 - 79.04 = '$18.00 - $79.04'
  79.05 - 259.39 = '$79.05 - $259.39'
  259.4 - 487.17 = '$259.40 - $487.17'
  487.18 - 3221.19 = '$487.18 - $3,221.19'
  ;
VALUE ERFOR15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  2.46 - 95.49 = '$2.46 - $95.49'
  95.5 - 236.49 = '$95.50 - $236.49'
  236.5 - 861.61 = '$236.50 - $861.61'
  861.62 - 19544.38 = '$861.62 - $19,544.38'
  ;
VALUE ERFOT15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.11 - 176.66 = '$0.11 - $176.66'
  176.67 - 492.79 = '$176.67 - $492.79'
  492.8 - 1652.79 = '$492.80 - $1,652.79'
  1652.8 - 19351.16 = '$1,652.80 - $19,351.16'
  ;
VALUE ERFOU15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  9.76 - 177.25 = '$9.76 - $177.25'
  177.26 - 350.15 = '$177.26 - $350.15'
  350.16 - 595.19 = '$350.16 - $595.19'
  595.2 - 7770.2 = '$595.20 - $7,770.20'
  ;
VALUE ERFPV15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.11 - 190.52 = '$0.11 - $190.52'
  190.53 - 627 = '$190.53 - $627.00'
  627.01 - 1337.61 = '$627.01 - $1,337.61'
  1337.62 - 94704.1 = '$1,337.62 - $94,704.10'
  ;
VALUE ERFSF15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  1 - 15000 = '$1.00 - $15,000.00'
  ;
VALUE ERFSL15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  26.23 - 3515.12 = '$26.23 - $3,515.12'
  ;
VALUE ERFTC15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  8 - 764.35 = '$8.00 - $764.35'
  764.36 - 1683 = '$764.36 - $1,683.00'
  1683.01 - 3552 = '$1,683.01 - $3,552.00'
  3552.01 - 139000 = '$3,552.01 - $139,000.00'
  ;
VALUE ERFTR15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  2 - 87.18 = '$2.00 - $87.18'
  87.19 - 148.9 = '$87.19 - $148.90'
  148.91 - 424.2 = '$148.91 - $424.20'
  424.21 - 6245.79 = '$424.21 - $6,245.79'
  ;
VALUE ERFVA15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  14.87 - 171 = '$14.87 - $171.00'
  171.01 - 328.27 = '$171.01 - $328.27'
  328.28 - 854.41 = '$328.28 - $854.41'
  854.42 - 9316.04 = '$854.42 - $9,316.04'
  ;
VALUE ERFWC15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  53.55 - 418.81 = '$53.55 - $418.81'
  418.82 - 603.98 = '$418.82 - $603.98'
  603.99 - 1152 = '$603.99 - $1,152.00'
  1152.01 - 6469.68 = '$1,152.01 - $6,469.68'
  ;
VALUE ERFXP15F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.59 - 160.34 = '$0.59 - $160.34'
  160.35 - 373.4 = '$160.35 - $373.40'
  373.41 - 851.51 = '$373.41 - $851.51'
  851.52 - 94779.1 = '$851.52 - $94,779.10'
  ;
VALUE $ERHEIDF  
  '-1' = '-1 INAPPLICABLE'
  OTHER = 'VALID ID'
  ;
VALUE ERTC15XF (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  9 - 947.95 = '$9.00 - $947.95'
  947.96 - 2032 = '$947.96 - $2,032.00'
  2032.01 - 4061.42 = '$2,032.01 - $4,061.42'
  4061.43 - 139886 = '$4,061.43 - $139,886.00'
  ;
VALUE ERXP15XF (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  0.59 - 187.64 = '$0.59 - $187.64'
  187.65 - 437.32 = '$187.65 - $437.32'
  437.33 - 950.03 = '$437.33 - $950.03'
  950.04 - 96767.9 = '$950.04 - $96,767.90'
  ;
VALUE EVENTRNF  
  1 = 'ROUND 1'
  2 = 'ROUND 2'
  3 = 'ROUND 3'
  4 = 'ROUND 4'
  5 = 'ROUND 5'
  ;
VALUE $EVNTIDX  
  OTHER = 'VALID ID'
  ;
VALUE $FFEEIDX  
  '-1' = '-1 INAPPLICABLE'
  OTHER = 'VALID ID'
  ;
VALUE FFERTYPF  
  -9 = '-9 NOT ASCERTAINED'
  -8 = '-8 DK'
  -7 = '-7 REFUSED'
  -1 = '-1 INAPPLICABLE'
  1 = '1 FLAT FEE STEM'
  2 = '2 FLAT FEE LEAF'
  ;
VALUE FFTOT16F (DEFAULT=40)
  -9 = '-9 NOT ASCERTAINED'
  -8 = '-8 DK'
  -7 = '-7 REFUSED'
  -1 = '-1 INAPPLICABLE'
  0 = '0'
  1 = '1'
  ;
VALUE IMPFLAGF  
  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 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 MPCDATAF  
  1 = '1 HAS MPC DATA'
  2 = '2 NO MPC DATA'
  ;
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 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 PANELF  
  19 = 'PANEL 19'
  20 = 'PANEL 20'
  ;
VALUE PERWT15F (DEFAULT=40 FUZZ=1E-6)
  0 = '0.000000 WEIGHT'
  637.170836 - 94264.071559 = '637.170836 - 94264.071559 WEIGHT'
  ;
VALUE PID  
  OTHER = 'VALID ID'
  ;
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 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 SURGPROF  
  -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 THRSWABF  
  -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 VARPSUF (DEFAULT=40)
  1 - 3 = '1 - 3'
  ;
VALUE VARSTRF (DEFAULT=40)
  1001 - 1165 = '1,001 - 1,165'
  ;
VALUE VSTCTGRF  
  -9 = '-9 NOT ASCERTAINED'
  -8 = '-8 DK'
  -7 = '-7 REFUSED'
  -1 = '-1 INAPPLICABLE'
  1 = '1 DIAGNOSIS OR TREATMENT'
  2 = '2 EMERGENCY (E.G., ACCIDENT OR INJURY)'
  3 = '3 PSYCHOTHERAPY/MENTAL HEALTH COUNSELING'
  4 = '4 FOLLOW-UP OR POST-OPERATIVE VISIT'
  5 = '5 IMMUNIZATIONS OR SHOTS'
  6 = '6 PREGNANCY-RELATED (INC PRENATAL/ DELV)'
  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'
  ;