*-------------------------------------------------------------------*;
* OT2013V2.TXT                                                      *;
*                                                                   *;
* SAS INPUT STATEMENTS FOR MAX 2013 OT FILE - ALL VARIABLES         *;
*                 AND BETA-MAX 2013 OT FILE - ALL VARIABLES         *;
*                                                                   *;
* NOTE: THE ICNO, INCA, ICNO-LINENO, AND ICNA-LINENO ARE NOT        *;
* INCLUDED IN THIS FILE                                             *;
*                                                                   *;
* LRECL = 270                                                       *;
*                                                                   *;
* MODIFICATIONS:                                                    *;
* -------------                                                     *;
* 2009/09/24: JSYKES                                                *;
* - RENAMED EL_MDCR_ANN_XOVR_99 TO EL_MDCR_DUAL_ANN                 *;
* 2011/01/18: JSYKES                                                *;
* - TYPE-CLM-CD IS NOW CHARACTER                                    *;
* 2012/04/20: SVERGESE                                              *;
* - ADDED HCBS_TAXONOMY_WAIVERS  AND LABEL                          *;
* - LRECL CHANGED FROM 265 TO 270                                   *;
* 2014/03/17: ASCHMITT                                              *;
* - DIAG_CD_1 THRU 2 IS NOW 7                                       *;
* - DIAG_CD_FLG_1 THRU 2 ADDED                                      *;
*-------------------------------------------------------------------*;
    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    HCBS_TAXONOMY_WAIVERS        $CHAR05.
        @92    PRVDR_ID_NMBR                $CHAR12.
        @104   NPI                          $CHAR12.
        @116   TAXONOMY                     $CHAR12.
        @128   TYPE_CLM_CD                  $CHAR01.
        @129   ADJUST_CD                         01.
        @130   PHP_TYPE                          02.
        @132   PHP_ID                       $CHAR12.
        @144   MDCD_PYMT_AMT                   ZD08.
        @152   TP_PYMT_AMT                     ZD08.
        @160   PYMT_DT                           08.
        @168   CHRG_AMT                        ZD08.
        @176   PHP_VAL                         ZD08.
        @184   MDCR_COINSUR_PYMT_AMT           ZD08.
        @192   MDCR_DED_PYMT_AMT               ZD08.
        @200   SRVC_BGN_DT                       08.
        @208   SRVC_END_DT                       08.
        @216   PRCDR_CD_SYS                 $CHAR02.
        @218   PRCDR_CD                     $CHAR08.
        @226   PRCDR_SRVC_MDFR_CD           $CHAR02.
        @228   DIAG_CD_1                    $CHAR07.
        @235   DIAG_CD_FLG_1                $CHAR01.
        @236   DIAG_CD_2                    $CHAR07.
        @243   DIAG_CD_FLG_2                $CHAR01.
        @244   QTY_SRVC_UNITS                    05.
        @249   SRVC_PRVDR_ID_NMBR           $CHAR12.
        @261   SRVC_PRVDR_SPEC_CD           $CHAR04.
        @265   PLC_OF_SRVC_CD                    02.
        @267   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"
 HCBS_TAXONOMY_WAIVERS      = "HCBS Taxonomy code for waiver claims"
 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"
 DIAG_CD_FLG_1              = "Diagnosis code Flag 1"
 DIAG_CD_FLG_2              = "Diagnosis code Flag 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"
 ;
