*-------------------------------------------------------------------*;
* LT2007.TXT                                                        *;
*                                                                   *;
* SAS INPUT STATEMENTS FOR MAX 2007 LT FILE - ALL VARIABLES         *;
*                                                                   *;
* LRECL = 281                                                       *;
*                                                                   *;
* 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    PRVDR_ID_NMBR                $CHAR12.
        @97    NPI                          $CHAR12.
        @109   TAXONOMY                     $CHAR12.
        @121   TYPE_CLM_CD                       01.
        @122   ADJUST_CD                         01.
        @123   PHP_TYPE                          02.
        @125   PHP_ID                       $CHAR12.
        @137   MDCD_PYMT_AMT                   ZD08.
        @145   TP_PYMT_AMT                     ZD08.
        @153   PYMT_DT                           08.
        @161   CHRG_AMT                        ZD08.
        @169   PHP_VAL                         ZD08.
        @177   MDCR_COINSUR_PYMT_AMT           ZD08.
        @185   MDCR_DED_PYMT_AMT               ZD08.
        @193   ADMSN_DT                          08.
        @201   SRVC_BGN_DT                       08.
        @209   SRVC_END_DT                       08.
        @217   DIAG_CD_1                    $CHAR08.
        @225   DIAG_CD_2                    $CHAR08.
        @233   DIAG_CD_3                    $CHAR08.
        @241   DIAG_CD_4                    $CHAR08.
        @249   DIAG_CD_5                    $CHAR08.
        @257   MDCD_CVRD_MENTL_DAY_CNT         ZD03.
        @260   MDCD_CVRD_PSYCH_DAY_CNT         ZD03.
        @263   INTRMDT_FAC_MR_DAY_CNT          ZD03.
        @266   NRSNG_FAC_DAY_CNT               ZD03.
        @269   LT_CARE_LVE_DAY_CNT             ZD03.
        @272   PATIENT_STATUS_CD                 02.
        @274   PATIENT_LIB_AMT                 ZD08.
        ;

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)"
 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)"
 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"
 ADMSN_DT                   = "Institutional LT care admission date"
 SRVC_BGN_DT                = "Beginning date of service"
 SRVC_END_DT                = "Ending date of service"
 DIAG_CD_1                  = "Diagnosis code (1st diagnosis)"
 DIAG_CD_2                  = "Diagnosis code (2nd diagnosis)"
 DIAG_CD_3                  = "Diagnosis code (3rd diagnosis)"
 DIAG_CD_4                  = "Diagnosis code (4th diagnosis)"
 DIAG_CD_5                  = "Diagnosis code (5th diagnosis)"
 MDCD_CVRD_MENTL_DAY_CNT    = "Mental hospital for the aged days"
 MDCD_CVRD_PSYCH_DAY_CNT    = "Inpatient Psychiatric (age < 21) days"
 INTRMDT_FAC_MR_DAY_CNT     = "ICF-MR days"
 NRSNG_FAC_DAY_CNT          = "Nursing facility days"
 LT_CARE_LVE_DAY_CNT        = "Leave days"
 PATIENT_STATUS_CD          = "Patient status"
 PATIENT_LIB_AMT            = "Patient liability amount"
 ;
