*-------------------------------------------------------------------*;
* OT2008.TXT                                                        *;
*                                                                   *;
* SAS INPUT STATEMENTS FOR MAX 2008 OT FILE - ALL VARIABLES         *;
*                                                                   *;
* LRECL = 265                                                       *;
*                                                                   *;
* MODIFICATIONS:                                                    *;
* -------------                                                     *;
*-------------------------------------------------------------------*;
    INPUT			
        @1     MSIS_ID                      $CHAR20.
        @21    STATE_CD                     $CHAR02.
        @23    EL_SSN                       $CHAR09.
        @32    MDCD_HIC_NUM                 $CHAR12.
        @44    EL_DOB                            08.
        @52    EL_SEX_CD                    $CHAR01.
        @53    EL_RACE_ETHNCY_CD            $CHAR01.
        @54    RACE_CODE_1                  $CHAR01.
        @55    RACE_CODE_2                  $CHAR01.
        @56    RACE_CODE_3                  $CHAR01.
        @57    RACE_CODE_4                  $CHAR01.
        @58    RACE_CODE_5                  $CHAR01.
        @59    ETHNICITY_CODE               $CHAR01.
        @60    EL_SS_ELGBLTY_CD_LTST        $CHAR06.
        @66    EL_SS_ELGBLTY_CD_MO          $CHAR06.
        @72    EL_MAX_ELGBLTY_CD_LTST       $CHAR02.
        @74    EL_MAX_ELGBLTY_CD_MO         $CHAR02.
        @76    MSNG_ELG_DATA                $CHAR01.
        @77    EL_MDCR_XOVR_CLM_BSD_CD           01.
        @78    EL_MDCR_DUAL_ANN             $CHAR02.
        @80    MSIS_TOS                          02.
        @82    MSIS_TOP                          01.
        @83    MAX_TOS                           02.
        @85    CLTC_FLAG                    $CHAR02.
        @87    PRVDR_ID_NMBR                $CHAR12.
        @99    NPI                          $CHAR12.
        @111   TAXONOMY                     $CHAR12.
        @123   TYPE_CLM_CD                       01.
        @124   ADJUST_CD                         01.
        @125   PHP_TYPE                          02.
        @127   PHP_ID                       $CHAR12.
        @139   MDCD_PYMT_AMT                   ZD08.
        @147   TP_PYMT_AMT                     ZD08.
        @155   PYMT_DT                           08.
        @163   CHRG_AMT                        ZD08.
        @171   PHP_VAL                         ZD08.
        @179   MDCR_COINSUR_PYMT_AMT           ZD08.
        @187   MDCR_DED_PYMT_AMT               ZD08.
        @195   SRVC_BGN_DT                       08.
        @203   SRVC_END_DT                       08.
        @211   PRCDR_CD_SYS                 $CHAR02.
        @213   PRCDR_CD                     $CHAR08.
        @221   PRCDR_SRVC_MDFR_CD           $CHAR02.
        @223   DIAG_CD_1                    $CHAR08.
        @231   DIAG_CD_2                    $CHAR08.
        @239   QTY_SRVC_UNITS                    05.
        @244   SRVC_PRVDR_ID_NMBR           $CHAR12.
        @256   SRVC_PRVDR_SPEC_CD           $CHAR04.
        @260   PLC_OF_SRVC_CD                    02.
        @262   UB_92_REV_CD                      04.
        ;

LABEL
 MSIS_ID                    = "MSIS identification number"
 STATE_CD                   = "State"
 EL_SSN                     = "Social Security Number (SSN)"
 MDCD_HIC_NUM               = "Medicare HIC number"
 EL_DOB                     = "Birth date"
 EL_SEX_CD                  = "Sex"
 EL_RACE_ETHNCY_CD          = "Race/ethnicity (from MSIS)"
 EL_RACE_ETHNCY_CD          = "Race/ethnicity (from MSIS)"
 RACE_CODE_1                = "Race - White (from MSIS)"
 RACE_CODE_2                = "Race - Black (from MSIS)"
 RACE_CODE_3                = "Race - Am Indian/Alaskan (from MSIS)"
 RACE_CODE_4                = "Race - Asian (from MSIS)"
 RACE_CODE_5                = "Race - Hawaiian/Pac) Islands (from MSIS)"
 ETHNICITY_CODE             = "Ethnicity - Hispanic (from MSIS)"
 EL_SS_ELGBLTY_CD_LTST      = "State specific eligiblity - most recent"
 EL_SS_ELGBLTY_CD_MO        = "State specific eligiblity - mo of svc"
 EL_MAX_ELGBLTY_CD_LTST     = "MAX eligibility - most recent"
 EL_MAX_ELGBLTY_CD_MO       = "MAX eligibility - mo of svc"
 MSNG_ELG_DATA              = "Missing eligibility data"
 EL_MDCR_XOVR_CLM_BSD_CD    = "Crossover code (from claims only)"
 EL_MDCR_DUAL_ANN           = "Medicare dual code (Annual)"
 MSIS_TOS                   = "MSIS Type of Service (TOS)"
 MSIS_TOP                   = "MSIS Type of Program (TOP)"
 MAX_TOS                    = "MAX Type of Service (TOS)"
 CLTC_FLAG                  = "Community-based LT care (CLTC) flag"
 PRVDR_ID_NMBR              = "Billing provider identification number"
 NPI                        = "National Provider Identifier"
 TAXONOMY                   = "Provider Taxonomy"
 TYPE_CLM_CD                = "Type of claim"
 ADJUST_CD                  = "Adjustment code"
 PHP_TYPE                   = "Managed care type of plan code"
 PHP_ID                     = "Managed care plan identification code"
 MDCD_PYMT_AMT              = "Medicaid payment amount"
 TP_PYMT_AMT                = "Third party payment amount"
 PYMT_DT                    = "Payment/adjudication date"
 CHRG_AMT                   = "Charge amount"
 PHP_VAL                    = "Prepaid plan value"
 MDCR_COINSUR_PYMT_AMT      = "Medicare coinsurance payment amount"
 MDCR_DED_PYMT_AMT          = "Medicare deductible payment amount"
 SRVC_BGN_DT                = "Beginning date of service"
 SRVC_END_DT                = "Ending date of service"
 PRCDR_CD_SYS               = "Procedure (service) coding system"
 PRCDR_CD                   = "Procedure (service) code"
 PRCDR_SRVC_MDFR_CD         = "Procedure (service) code modifier"
 DIAG_CD_1                  = "Diagnosis code 1"
 DIAG_CD_2                  = "Diagnosis code 2"
 QTY_SRVC_UNITS             = "Quantity of service"
 SRVC_PRVDR_ID_NMBR         = "Servicing provider identification number"
 SRVC_PRVDR_SPEC_CD         = "Servicing provider specialty code"
 PLC_OF_SRVC_CD             = "Place of service"
 UB_92_REV_CD               = "UB-92 revenue code"
 ;
