*pbp_Section_D.sas;

libname out '.\sas_data_sets\PBP';
options pageno=1 linesize = 200 nocenter;

data pbp_Section_D;

length
	pbp_a_hnumber                    $5
	pbp_a_plan_identifier            $3
	pbp_a_ben_cov                    $1
	pbp_a_plan_type                  $2
	orgtype                          $2
	bid_id                           $13
	pbp_d_ann_deduct_yn              $1
	pbp_d_ann_deduct_amt_type        $1
	pbp_d_ann_deduct_comb_type       $1
	pbp_d_ann_deduct_14a_yn          $1
	pbp_d_ann_deduct_bens            $3
	pbp_d_ann_deduct_inn_mc_yn       $1
	pbp_d_ann_deduct_inn_mc_cats     $255
	pbp_d_ann_deduct_inn_nmc_yn      $1
	pbp_d_ann_deduct_inn_nmc_cats    $255
	pbp_d_ann_deduct_oon_nmc_yn      $1
	pbp_d_ann_deduct_oon_nmc_cats    $255
	pbp_d_diff_deduct_yn             $1
	pbp_d_diff_deduct_cats           $255
	pbp_d_nmc_deduct_yn              $1
	pbp_d_nmc_deduct_cats            $255
	pbp_d_inn_deduct_yn              $1
	pbp_d_inn_deduct_partb_yn        $1
	pbp_d_inn_deduct_bens            $2
	pbp_d_inn_deduct_m_yn            $1
	pbp_d_inn_deduct_m_cats          $255
	pbp_d_inn_deduct_nm_yn           $1
	pbp_d_inn_deduct_nm_cats         $255
	pbp_d_comb_deduct_yn             $1
	pbp_d_comb_deduct_partb_yn       $1
	pbp_d_comb_deduct_bens           $4
	pbp_d_comb_deduct_inn_m_yn       $1
	pbp_d_comb_deduct_inn_m_cats     $255
	pbp_d_comb_deduct_inn_nm_yn      $1
	pbp_d_comb_deduct_inn_nm_cats    $255
	pbp_d_comb_deduct_oon_m_yn       $1
	pbp_d_comb_deduct_oon_m_cats     $255
	pbp_d_comb_deduct_oon_nm_yn      $1
	pbp_d_comb_deduct_oon_nm_cats    $255
	pbp_d_oon_deduct_yn              $1
	pbp_d_oon_deduct_partb_yn        $1
	pbp_d_oon_deduct_bens            $2
	pbp_d_oon_deduct_m_yn            $1
	pbp_d_oon_deduct_m_cats          $255
	pbp_d_oon_deduct_nm_yn           $1
	pbp_d_oon_deduct_nm_cats         $255
	pbp_d_non_deduct_yn              $1
	pbp_d_non_deduct_partb_yn        $1
	pbp_d_non_deduct_bens            $2
	pbp_d_non_deduct_m_yn            $1
	pbp_d_non_deduct_m_cats          $255
	pbp_d_non_deduct_nm_yn           $1
	pbp_d_non_deduct_nm_cats         $255
	pbp_d_out_pocket_amt_yn          $1
	pbp_d_out_pocket_amt_type        $1
	pbp_d_inn_max_enr_oopc_bens      $2
	pbp_d_inn_max_enr_m_yn           $1
	pbp_d_inn_max_enr_m_cat_ex       $255
	pbp_d_inn_max_enr_nm_yn          $1
	pbp_d_inn_max_enr_nm_cat_ex      $255
	pbp_d_comb_max_enr_amt_yn        $1
	pbp_d_comb_max_enr_amt_type      $1
	pbp_d_comb_max_enr_oopc_bens     $4
	pbp_d_comb_max_enr_inn_m_yn      $1
	pbp_d_comb_max_enr_inn_mcat_ex   $255
	pbp_d_comb_max_enr_inn_nm_yn     $1
	pbp_d_comb_max_enr_inn_nmcatex   $255
	pbp_d_comb_max_enr_oon_m_yn      $1
	pbp_d_comb_max_enr_oon_mcat_ex   $255
	pbp_d_comb_max_enr_oon_nm_yn     $1
	pbp_d_comb_max_enr_oon_nmcatex   $255
	pbp_d_oon_max_enr_oopc_yn        $1
	pbp_d_oon_max_enr_oopc_type      $1
	pbp_d_oon_max_enr_oopc_bens      $2
	pbp_d_oon_max_enr_m_yn           $1
	pbp_d_oon_max_enr_m_cat_ex       $255
	pbp_d_oon_max_enr_nm_yn          $1
	pbp_d_oon_max_enr_nm_cat_ex      $255
	pbp_d_maxenr_oopc_type           $1
	pbp_d_maxenr_oopc_bens           $2
	pbp_d_maxenr_oopc_m_cats_yn      $1
	pbp_d_maxenr_oopc_m_cats         $255
	pbp_d_maxenr_oopc_nm_cats_yn     $1
	pbp_d_maxenr_oopc_nm_cats        $255
	pbp_d_max_plan_ben_cov_yn        $1
	pbp_d_max_plan_period            $1
	pbp_d_max_plan_bens              $2
	pbp_d_inn_maxplan_nm_yn          $1
	pbp_d_inn_maxplan_nm_cats        $255
	pbp_d_oon_maxplan_nm_yn          $1
	pbp_d_oon_maxplan_nm_cats        $255
	pbp_d_non_maxplan_yn             $1
	pbp_d_non_maxplan_per            $1
	pbp_d_non_maxplan_nm_yn          $1
	pbp_d_non_maxplan_nm_cats        $255
	pbp_d_mco_pay_reduct_yn          $1
	pbp_d_mmp_nm_yn                  $1
	pbp_d_mmp_medcaid_bendesc_cats   $550
	pbp_d_mmp_plancov_bendesc_cats   $550
	pbp_d_balbill_yn                 $1
	pbp_d_balbill_prov_cats          $255
;

infile '.\pbp\pbp_Section_D.txt' delimiter = '09'x
dsd lrecl = 30000 firstobs=2 missover;


input
	pbp_a_hnumber
	pbp_a_plan_identifier
	segment_id
	pbp_a_ben_cov
	pbp_a_plan_type
	orgtype
	bid_id
	version
	pbp_d_ann_deduct_yn
	pbp_d_ann_deduct_amt_type
	pbp_d_ann_deduct_amt
	pbp_d_ann_deduct_comb_type
	pbp_d_ann_deduct_14a_yn
	pbp_d_ann_deduct_bens
	pbp_d_ann_deduct_inn_mc_yn
	pbp_d_ann_deduct_inn_mc_cats
	pbp_d_ann_deduct_inn_nmc_yn
	pbp_d_ann_deduct_inn_nmc_cats
	pbp_d_ann_deduct_oon_nmc_yn
	pbp_d_ann_deduct_oon_nmc_cats
	pbp_d_diff_deduct_yn
	pbp_d_diff_deduct_cats
	pbp_d_diff_deduct_1a_t1_amt
	pbp_d_diff_deduct_1a_t2_amt
	pbp_d_diff_deduct_1a_t3_amt
	pbp_d_diff_deduct_1b_t1_amt
	pbp_d_diff_deduct_1b_t2_amt
	pbp_d_diff_deduct_1b_t3_amt
	pbp_d_diff_deduct_2_t1_amt
	pbp_d_diff_deduct_2_t2_amt
	pbp_d_diff_deduct_2_t3_amt
	pbp_d_diff_deduct_3_amt
	pbp_d_diff_deduct_4c_amt
	pbp_d_diff_deduct_5_amt
	pbp_d_diff_deduct_6_amt
	pbp_d_diff_deduct_7a_amt
	pbp_d_diff_deduct_7b_amt
	pbp_d_diff_deduct_7c_amt
	pbp_d_diff_deduct_7d_amt
	pbp_d_diff_deduct_7e_amt
	pbp_d_diff_deduct_7f_amt
	pbp_d_diff_deduct_7g_amt
	pbp_d_diff_deduct_7h_amt
	pbp_d_diff_deduct_7i_amt
	pbp_d_diff_deduct_8a_amt
	pbp_d_diff_deduct_8b_amt
	pbp_d_diff_deduct_9a_amt
	pbp_d_diff_deduct_9b_amt
	pbp_d_diff_deduct_9c_amt
	pbp_d_diff_deduct_9d_amt
	pbp_d_diff_deduct_10a_amt
	pbp_d_diff_deduct_10b_amt
	pbp_d_diff_deduct_11a_amt
	pbp_d_diff_deduct_11b_amt
	pbp_d_diff_deduct_11c_amt
	pbp_d_diff_deduct_12_amt
	pbp_d_diff_deduct_13a_amt
	pbp_d_diff_deduct_13b_amt
	pbp_d_diff_deduct_13c_amt
	pbp_d_diff_deduct_13d_amt
	pbp_d_diff_deduct_13e_amt
	pbp_d_diff_deduct_13f_amt
	pbp_d_diff_deduct_13g_amt
	pbp_d_diff_deduct_14b_amt
	pbp_d_diff_deduct_14c_amt
	pbp_d_diff_deduct_14d_amt
	pbp_d_diff_deduct_14e1_amt
	pbp_d_diff_deduct_14e2_amt
	pbp_d_diff_deduct_14e3_amt
	pbp_d_diff_deduct_15_amt
	pbp_d_diff_deduct_16a_amt
	pbp_d_diff_deduct_16b_amt
	pbp_d_diff_deduct_17a_amt
	pbp_d_diff_deduct_17b_amt
	pbp_d_diff_deduct_18a_amt
	pbp_d_diff_deduct_18b_amt
	pbp_d_nmc_deduct_yn
	pbp_d_nmc_deduct_cats
	pbp_d_deduct_iha_amt
	pbp_d_deduct_ihp_amt
	pbp_d_deduct_snf_amt
	pbp_d_deduct_cprs_amt
	pbp_d_deduct_weuc_amt
	pbp_d_deduct_chiro_amt
	pbp_d_deduct_pod_amt
	pbp_d_deduct_obs_amt
	pbp_d_deduct_trans_amt
	pbp_d_deduct_acupunc_amt
	pbp_d_deduct_otc_amt
	pbp_d_deduct_meal_amt
	pbp_d_deduct_other1_amt
	pbp_d_deduct_other2_amt
	pbp_d_deduct_other3_amt
	pbp_d_deduct_dsnp_his_amt
	pbp_d_deduct_ape_amt
	pbp_d_deduct_14c_amt
	pbp_d_deduct_prevdental_amt
	pbp_d_deduct_compdental_amt
	pbp_d_deduct_eyeexam_amt
	pbp_d_deduct_eyewear_amt
	pbp_d_deduct_hearexam_amt
	pbp_d_deduct_hearaid_amt
	pbp_d_inn_deduct_yn
	pbp_d_inn_deduct_partb_yn
	pbp_d_inn_deduct_amt
	pbp_d_inn_deduct_bens
	pbp_d_inn_deduct_m_yn
	pbp_d_inn_deduct_m_cats
	pbp_d_inn_deduct_nm_yn
	pbp_d_inn_deduct_nm_cats
	pbp_d_comb_deduct_yn
	pbp_d_comb_deduct_partb_yn
	pbp_d_comb_deduct_amt
	pbp_d_comb_deduct_bens
	pbp_d_comb_deduct_inn_m_yn
	pbp_d_comb_deduct_inn_m_cats
	pbp_d_comb_deduct_inn_nm_yn
	pbp_d_comb_deduct_inn_nm_cats
	pbp_d_comb_deduct_oon_m_yn
	pbp_d_comb_deduct_oon_m_cats
	pbp_d_comb_deduct_oon_nm_yn
	pbp_d_comb_deduct_oon_nm_cats
	pbp_d_oon_deduct_yn
	pbp_d_oon_deduct_partb_yn
	pbp_d_oon_deduct_amt
	pbp_d_oon_deduct_bens
	pbp_d_oon_deduct_m_yn
	pbp_d_oon_deduct_m_cats
	pbp_d_oon_deduct_nm_yn
	pbp_d_oon_deduct_nm_cats
	pbp_d_non_deduct_yn
	pbp_d_non_deduct_partb_yn
	pbp_d_non_deduct_amt
	pbp_d_non_deduct_bens
	pbp_d_non_deduct_m_yn
	pbp_d_non_deduct_m_cats
	pbp_d_non_deduct_nm_yn
	pbp_d_non_deduct_nm_cats
	pbp_d_out_pocket_amt_yn
	pbp_d_out_pocket_amt_type
	pbp_d_out_pocket_amt
	pbp_d_inn_max_enr_oopc_bens
	pbp_d_inn_max_enr_m_yn
	pbp_d_inn_max_enr_m_cat_ex
	pbp_d_inn_max_enr_nm_yn
	pbp_d_inn_max_enr_nm_cat_ex
	pbp_d_comb_max_enr_amt_yn
	pbp_d_comb_max_enr_amt_type
	pbp_d_comb_max_enr_amt
	pbp_d_comb_max_enr_oopc_bens
	pbp_d_comb_max_enr_inn_m_yn
	pbp_d_comb_max_enr_inn_mcat_ex
	pbp_d_comb_max_enr_inn_nm_yn
	pbp_d_comb_max_enr_inn_nmcatex
	pbp_d_comb_max_enr_oon_m_yn
	pbp_d_comb_max_enr_oon_mcat_ex
	pbp_d_comb_max_enr_oon_nm_yn
	pbp_d_comb_max_enr_oon_nmcatex
	pbp_d_oon_max_enr_oopc_yn
	pbp_d_oon_max_enr_oopc_type
	pbp_d_oon_max_enr_oopc_amt
	pbp_d_oon_max_enr_oopc_bens
	pbp_d_oon_max_enr_m_yn
	pbp_d_oon_max_enr_m_cat_ex
	pbp_d_oon_max_enr_nm_yn
	pbp_d_oon_max_enr_nm_cat_ex
	pbp_d_maxenr_oopc_type
	pbp_d_maxenr_oopc_amt
	pbp_d_maxenr_oopc_bens
	pbp_d_maxenr_oopc_m_cats_yn
	pbp_d_maxenr_oopc_m_cats
	pbp_d_maxenr_oopc_nm_cats_yn
	pbp_d_maxenr_oopc_nm_cats
	pbp_d_max_plan_ben_cov_yn
	pbp_d_max_plan_ben_cov
	pbp_d_max_plan_period
	pbp_d_max_plan_bens
	pbp_d_inn_maxplan_nm_yn
	pbp_d_inn_maxplan_nm_cats
	pbp_d_oon_maxplan_nm_yn
	pbp_d_oon_maxplan_nm_cats
	pbp_d_non_maxplan_yn
	pbp_d_non_maxplan_amt
	pbp_d_non_maxplan_per
	pbp_d_non_maxplan_nm_yn
	pbp_d_non_maxplan_nm_cats
	pbp_d_mplusc_premium
	pbp_d_mplusc_bonly_premium
	pbp_d_mco_pay_reduct_yn
	pbp_d_mco_pay_reduct_amt
	pbp_d_mmp_nm_yn
	pbp_d_mmp_medcaid_bendesc_cats
	pbp_d_mmp_plancov_bendesc_cats
	pbp_d_balbill_yn
	pbp_d_balbill_prov_cats
	pbp_d_balbill_min_pct
	pbp_d_balbill_max_pct
	pbp_d_msa_ded_amt
	pbp_d_msa_annual_amt
;


label
	pbp_a_hnumber                    = 'H Number'
	pbp_a_plan_identifier            = 'Plan ID'
	segment_id                       = 'Segment ID'
	pbp_a_ben_cov                    = 'Coverage Criteria'
	pbp_a_plan_type                  = 'Plan Type'
	orgtype                          = 'Organization Type'
	bid_id                           = 'Bid ID'
	version                          = 'Version Number'
	pbp_d_ann_deduct_yn              = 'Deductibl YN?'
	pbp_d_ann_deduct_amt_type        = 'Deduct Amt Type'
	pbp_d_ann_deduct_amt             = 'Deduct Amt'
	pbp_d_ann_deduct_comb_type       = 'Annual Deduct Combined AB Type'
	pbp_d_ann_deduct_14a_yn          = 'Deduct 14a Y/N'
	pbp_d_ann_deduct_bens            = 'Deduct Ben Cats'
	pbp_d_ann_deduct_inn_mc_yn       = 'Annual Deduct INN MC YN'
	pbp_d_ann_deduct_inn_mc_cats     = 'Deduct INN MC Cats'
	pbp_d_ann_deduct_inn_nmc_yn      = 'Annual Deduct INN NMC YN'
	pbp_d_ann_deduct_inn_nmc_cats    = 'Deduct INN NMC Cats'
	pbp_d_ann_deduct_oon_nmc_yn      = 'Annual Deduct OON NMC YN'
	pbp_d_ann_deduct_oon_nmc_cats    = 'Deduct OON NMC Cats'
	pbp_d_diff_deduct_yn             = 'Differential Deduct YN'
	pbp_d_diff_deduct_cats           = 'Differential Deduct Serv Cats'
	pbp_d_diff_deduct_1a_t1_amt      = 'Differential Deduct Amt 1a T1'
	pbp_d_diff_deduct_1a_t2_amt      = 'Differential Deduct Amt 1a T2'
	pbp_d_diff_deduct_1a_t3_amt      = 'Differential Deduct Amt 1a T3'
	pbp_d_diff_deduct_1b_t1_amt      = 'Differential Deduct Amt 1b T1'
	pbp_d_diff_deduct_1b_t2_amt      = 'Differential Deduct Amt 1b T2'
	pbp_d_diff_deduct_1b_t3_amt      = 'Differential Deduct Amt 1b T3'
	pbp_d_diff_deduct_2_t1_amt       = 'Differential Deduct Amt 2 T1'
	pbp_d_diff_deduct_2_t2_amt       = 'Differential Deduct Amt 2 T2'
	pbp_d_diff_deduct_2_t3_amt       = 'Differential Deduct Amt 2 T3'
	pbp_d_diff_deduct_3_amt          = 'Differential Deduct Amt 3'
	pbp_d_diff_deduct_4c_amt         = 'Differential Deduct Amt 4C'
	pbp_d_diff_deduct_5_amt          = 'Differential Deduct Amt 5'
	pbp_d_diff_deduct_6_amt          = 'Differential Deduct Amt 6'
	pbp_d_diff_deduct_7a_amt         = 'Differential DeductAmt 7a'
	pbp_d_diff_deduct_7b_amt         = 'Differential Deduct Amt 7b'
	pbp_d_diff_deduct_7c_amt         = 'Differential Deduct Amt 7c'
	pbp_d_diff_deduct_7d_amt         = 'Differential Deduct Amt 7d'
	pbp_d_diff_deduct_7e_amt         = 'Differential Deduct Amt 7e'
	pbp_d_diff_deduct_7f_amt         = 'Differential Deduct Amt 7f'
	pbp_d_diff_deduct_7g_amt         = 'Differential Deduct Amt 7g'
	pbp_d_diff_deduct_7h_amt         = 'Differential Deduct Amt 7h'
	pbp_d_diff_deduct_7i_amt         = 'Differential Deduct Amt 2'
	pbp_d_diff_deduct_8a_amt         = 'Differential Deduct Amt 8a'
	pbp_d_diff_deduct_8b_amt         = 'Differential Deduct Amt 8b'
	pbp_d_diff_deduct_9a_amt         = 'Differential Deduct Amt 9a'
	pbp_d_diff_deduct_9b_amt         = 'Differential Deduct Amt 9b'
	pbp_d_diff_deduct_9c_amt         = 'Differential Deduct Amt 9c'
	pbp_d_diff_deduct_9d_amt         = 'Differential Deduct Amt 9d'
	pbp_d_diff_deduct_10a_amt        = 'Differential Deduct Amt 10a'
	pbp_d_diff_deduct_10b_amt        = 'Differential Deduct Amt 10b'
	pbp_d_diff_deduct_11a_amt        = 'Differential Deduct Amt 11a'
	pbp_d_diff_deduct_11b_amt        = 'Differential Deduct Amt 11b'
	pbp_d_diff_deduct_11c_amt        = 'Differential Deduct Amt 11c'
	pbp_d_diff_deduct_12_amt         = 'Differential Deduct Amt 12'
	pbp_d_diff_deduct_13a_amt        = 'Differential Deduct Amt 131'
	pbp_d_diff_deduct_13b_amt        = 'Differential Deduct Amt 13b'
	pbp_d_diff_deduct_13c_amt        = 'Differential Deduct Amt 13c'
	pbp_d_diff_deduct_13d_amt        = 'Differential Deduct Amt 13d'
	pbp_d_diff_deduct_13e_amt        = 'Differential Deduct Amt 13e'
	pbp_d_diff_deduct_13f_amt        = 'Differential Deduct Amt 13f'
	pbp_d_diff_deduct_13g_amt        = 'Differential Deduct Amt 13g'
	pbp_d_diff_deduct_14b_amt        = 'Differential Deduct Amt 14b'
	pbp_d_diff_deduct_14c_amt        = 'Differential Deduct Amt 14c'
	pbp_d_diff_deduct_14d_amt        = 'Differential Deduct Amt 14d'
	pbp_d_diff_deduct_14e1_amt       = 'Different Deduct Amt 14e glauc'
	pbp_d_diff_deduct_14e2_amt       = 'Different Deduct Amt 14e diab'
	pbp_d_diff_deduct_14e3_amt       = 'Different Deduct Amt 14e oth'
	pbp_d_diff_deduct_15_amt         = 'Differential Deduct Amt 15'
	pbp_d_diff_deduct_16a_amt        = 'Differential Deduct Amt 16a'
	pbp_d_diff_deduct_16b_amt        = 'Differential Deduct Amt 16b'
	pbp_d_diff_deduct_17a_amt        = 'Differential Deduct Amt 17a'
	pbp_d_diff_deduct_17b_amt        = 'Differential Deduct Amt 17b'
	pbp_d_diff_deduct_18a_amt        = 'Differential Deduct Amt 18a'
	pbp_d_diff_deduct_18b_amt        = 'Differential Deduct Amt 18b'
	pbp_d_nmc_deduct_yn              = 'Mandatory enhanced deduct YN'
	pbp_d_nmc_deduct_cats            = 'NMC Deductible Categories'
	pbp_d_deduct_iha_amt             = 'IHA Deduct'
	pbp_d_deduct_ihp_amt             = 'IHP Deduct'
	pbp_d_deduct_snf_amt             = 'SNF Deduct'
	pbp_d_deduct_cprs_amt            = 'CPRS Deduct'
	pbp_d_deduct_weuc_amt            = 'WEUC Deduct'
	pbp_d_deduct_chiro_amt           = 'CHIRO Deduct'
	pbp_d_deduct_pod_amt             = 'POD Deduct'
	pbp_d_deduct_obs_amt             = 'OBS Deduct'
	pbp_d_deduct_trans_amt           = 'TRANS Deduct'
	pbp_d_deduct_acupunc_amt         = 'ACUPUNC Deduct amt'
	pbp_d_deduct_otc_amt             = 'OTC Deduct amt'
	pbp_d_deduct_meal_amt            = 'MEAL Deduct amt'
	pbp_d_deduct_other1_amt          = 'OTHER1 Deduct amt'
	pbp_d_deduct_other2_amt          = 'OTHER2 Deduct amt'
	pbp_d_deduct_other3_amt          = 'OTHER3 Deduct amt'
	pbp_d_deduct_dsnp_his_amt        = 'DSNP HIS Deduct amt'
	pbp_d_deduct_ape_amt             = 'APE Deduct amt'
	pbp_d_deduct_14c_amt             = 'Eligible 14C Deduct amt'
	pbp_d_deduct_prevdental_amt      = 'PREVDENTAL Deduct amt'
	pbp_d_deduct_compdental_amt      = 'COMPDENTAL Deduct amt'
	pbp_d_deduct_eyeexam_amt         = 'EYEEXAM Deduct amt'
	pbp_d_deduct_eyewear_amt         = 'EYEWEAR Deduct amt'
	pbp_d_deduct_hearexam_amt        = 'HEAREXAM Deduct amt'
	pbp_d_deduct_hearaid_amt         = 'KDES Deduct amt'
	pbp_d_inn_deduct_yn              = 'In-Ntwk Plan Deductible YN'
	pbp_d_inn_deduct_partb_yn        = 'In-Ntwk Ded Mdcr PartB YN'
	pbp_d_inn_deduct_amt             = 'In-Ntwk Ded Amt'
	pbp_d_inn_deduct_bens            = 'In-Ntwk Ded benefit'
	pbp_d_inn_deduct_m_yn            = 'In-Ntwk Ded All Inn Mdcr YN'
	pbp_d_inn_deduct_m_cats          = 'In-Ntwk Ded Serv Cats Med-Cov'
	pbp_d_inn_deduct_nm_yn           = 'In-Ntwk Ded All Inn NM YN'
	pbp_d_inn_deduct_nm_cats         = 'In-Ntwk Ded Cats Non Med-Cov'
	pbp_d_comb_deduct_yn             = 'Comb Ded YN'
	pbp_d_comb_deduct_partb_yn       = 'Comb Ded Mdcr PartB YN'
	pbp_d_comb_deduct_amt            = 'Comb Ded Amt'
	pbp_d_comb_deduct_bens           = 'Comb Ded benefit'
	pbp_d_comb_deduct_inn_m_yn       = 'Comb Ded All Inn Mdcr YN'
	pbp_d_comb_deduct_inn_m_cats     = 'Comb Ded Serv Cats Med-Cov'
	pbp_d_comb_deduct_inn_nm_yn      = 'Comb Ded All Inn NM YN'
	pbp_d_comb_deduct_inn_nm_cats    = 'Comb Ded Serv Cats Non Med-Cov'
	pbp_d_comb_deduct_oon_m_yn       = 'Comb Ded All OON Mdcr YN'
	pbp_d_comb_deduct_oon_m_cats     = 'Comb Ded OON Serv Cats Med-Cov'
	pbp_d_comb_deduct_oon_nm_yn      = 'Comb Ded All OON NM YN'
	pbp_d_comb_deduct_oon_nm_cats    = 'Comb Ded OON Cats Non Med-Cov'
	pbp_d_oon_deduct_yn              = 'OON Ded YN'
	pbp_d_oon_deduct_partb_yn        = 'OON Ded Mdcr PartB YN'
	pbp_d_oon_deduct_amt             = 'OON Ded Amt'
	pbp_d_oon_deduct_bens            = 'OON Ded benefit'
	pbp_d_oon_deduct_m_yn            = 'OON Ded All OON Mdcr YN'
	pbp_d_oon_deduct_m_cats          = 'OON Ded Serv Cats Med-Cov'
	pbp_d_oon_deduct_nm_yn           = 'OON Ded All OON NM YN'
	pbp_d_oon_deduct_nm_cats         = 'OON Ded Srev Cats Non Med-Cov'
	pbp_d_non_deduct_yn              = 'NON Ded YN'
	pbp_d_non_deduct_partb_yn        = 'NON Ded In-Net Mdcr PartB YN'
	pbp_d_non_deduct_amt             = 'NON Ded Amt'
	pbp_d_non_deduct_bens            = 'NON Ded In Net Ded benefit'
	pbp_d_non_deduct_m_yn            = 'NON Ded All Inn Mdcr YN'
	pbp_d_non_deduct_m_cats          = 'NON Ded Serv Cats Med-Cov'
	pbp_d_non_deduct_nm_yn           = 'NON Ded All Inn NM YN'
	pbp_d_non_deduct_nm_cats         = 'NON Ded Serv Cats Non Med-Cov'
	pbp_d_out_pocket_amt_yn          = 'In-Ntwk Max Enr Amt YN'
	pbp_d_out_pocket_amt_type        = 'In-Ntwk Max Enr Amt Type'
	pbp_d_out_pocket_amt             = 'In-Ntwk Max Enr Amt'
	pbp_d_inn_max_enr_oopc_bens      = 'In-Ntwk Max Enr In Net benefit'
	pbp_d_inn_max_enr_m_yn           = 'In-Ntwk Max Enr In-Net OOP'
	pbp_d_inn_max_enr_m_cat_ex       = 'In-Ntwk Max Enr Inn Inn M Cats'
	pbp_d_inn_max_enr_nm_yn          = 'In-Ntwk Max Enr In-Net Non'
	pbp_d_inn_max_enr_nm_cat_ex      = 'In-Ntwk Max Enr Serv Cats'
	pbp_d_comb_max_enr_amt_yn        = 'Combined Max Enrolee OON YN?'
	pbp_d_comb_max_enr_amt_type      = 'Comb Max Enr Amt TYPE'
	pbp_d_comb_max_enr_amt           = 'Comb Max Enr Amt'
	pbp_d_comb_max_enr_oopc_bens     = 'Comb Max Enr benefit'
	pbp_d_comb_max_enr_inn_m_yn      = 'Comb Max Enr In-Net'
	pbp_d_comb_max_enr_inn_mcat_ex   = 'Comb Max Enr INN M Cats'
	pbp_d_comb_max_enr_inn_nm_yn     = 'Comb Max Enr  OOPC In-Net Non'
	pbp_d_comb_max_enr_inn_nmcatex   = 'Comb Max Enr Serv Cats'
	pbp_d_comb_max_enr_oon_m_yn      = 'Comb Max Enr Out-Net'
	pbp_d_comb_max_enr_oon_mcat_ex   = 'Comb Max Enr OON M Cats'
	pbp_d_comb_max_enr_oon_nm_yn     = 'Comb Max Enr Out-Net Non'
	pbp_d_comb_max_enr_oon_nmcatex   = 'Comb Max Enr OON NM Cats'
	pbp_d_oon_max_enr_oopc_yn        = 'OON Max Enr Amt YN'
	pbp_d_oon_max_enr_oopc_type      = 'OON Max Enr Amt TYPE'
	pbp_d_oon_max_enr_oopc_amt       = 'OON Max Enr Amt'
	pbp_d_oon_max_enr_oopc_bens      = 'OON Max Enr benefit'
	pbp_d_oon_max_enr_m_yn           = 'OON Max Enr YN'
	pbp_d_oon_max_enr_m_cat_ex       = 'OON Max Enr Med-Cov Cats'
	pbp_d_oon_max_enr_nm_yn          = 'OON Max Enr OOPC Non Med-Cov'
	pbp_d_oon_max_enr_nm_cat_ex      = 'OON Max Enr Non Med-Cov Cats'
	pbp_d_maxenr_oopc_type           = 'OOPC Max Enr Amt Type'
	pbp_d_maxenr_oopc_amt            = 'OOPC Max Enr Amt'
	pbp_d_maxenr_oopc_bens           = 'OOPC Max Non Net PFFS benfit'
	pbp_d_maxenr_oopc_m_cats_yn      = 'OOPC Max enr All Mdcr YN'
	pbp_d_maxenr_oopc_m_cats         = 'OOPC Max Enr Med-Cov Serv Cats'
	pbp_d_maxenr_oopc_nm_cats_yn     = 'OOPC Max Enr All NM YN'
	pbp_d_maxenr_oopc_nm_cats        = 'OOPC Max Non Med-Cov Serv Cats'
	pbp_d_max_plan_ben_cov_yn        = 'Max Plan YN'
	pbp_d_max_plan_ben_cov           = 'Max Plan Amt (non-POS)'
	pbp_d_max_plan_period            = 'Max Plan Per (non-POS)'
	pbp_d_max_plan_bens              = 'Max Plan Ben Cov benefit'
	pbp_d_inn_maxplan_nm_yn          = 'INN Mx Pln Inn All Inn Mdcr YN'
	pbp_d_inn_maxplan_nm_cats        = 'INN Mx Pln Non Med-Cov Cats'
	pbp_d_oon_maxplan_nm_yn          = 'OON Mx Pln All Inn Mdcr YN'
	pbp_d_oon_maxplan_nm_cats        = 'OON Mx Pln Non Med-Cov Cats'
	pbp_d_non_maxplan_yn             = 'NON Max Plan YN'
	pbp_d_non_maxplan_amt            = 'NON Max Plan Amt (non-POS)'
	pbp_d_non_maxplan_per            = 'NON Max Plan Per (non-POS)'
	pbp_d_non_maxplan_nm_yn          = 'NON Max Ben Cov All NM YN'
	pbp_d_non_maxplan_nm_cats        = 'NON Max Non Med-Cov Cats'
	pbp_d_mplusc_premium             = 'Indicate Plan Premium Amt (AB)'
	pbp_d_mplusc_bonly_premium       = 'Indicate Plan Premium Amt (B)'
	pbp_d_mco_pay_reduct_yn          = 'MA Reduce Part B Premium YN'
	pbp_d_mco_pay_reduct_amt         = 'Part B Premium Reduction Amt'
	pbp_d_mmp_nm_yn                  = 'Non-Medicare Benefits'
	pbp_d_mmp_medcaid_bendesc_cats   = 'MMP Benefits Medicaid'
	pbp_d_mmp_plancov_bendesc_cats   = 'MMP Benefits Plan Covered'
	pbp_d_balbill_yn                 = 'Balance Bill YN'
	pbp_d_balbill_prov_cats          = 'Balance Bill Serv Cats Pln Ded'
	pbp_d_balbill_min_pct            = 'Balance Bill Min'
	pbp_d_balbill_max_pct            = 'Balance Bill Max'
	pbp_d_msa_ded_amt                = 'MSA Ded Amt'
	pbp_d_msa_annual_amt             = 'MSA Annual Deposit Amt'
;

run;

proc sort data = pbp_Section_D out=out.pbp_Section_D;
  by Pbp_a_hnumber pbp_a_plan_identifier segment_id;
run;

proc print data = out.pbp_Section_D(obs = 10);
  title 'pbp_Section_D file ';
run;

proc means data = out.pbp_Section_D;
  title 'pbp_Section_D file ';
run;

proc freq data = out.pbp_Section_D;
table
	pbp_a_ben_cov
	pbp_a_plan_type
	orgtype
	pbp_d_ann_deduct_yn
	pbp_d_ann_deduct_amt_type
	pbp_d_ann_deduct_comb_type
	pbp_d_ann_deduct_14a_yn
	pbp_d_ann_deduct_bens
	pbp_d_ann_deduct_inn_mc_yn
	pbp_d_ann_deduct_inn_nmc_yn
	pbp_d_ann_deduct_oon_nmc_yn
	pbp_d_diff_deduct_yn
	pbp_d_nmc_deduct_yn
	pbp_d_inn_deduct_yn
	pbp_d_inn_deduct_partb_yn
	pbp_d_inn_deduct_bens
	pbp_d_inn_deduct_m_yn
	pbp_d_inn_deduct_nm_yn
	pbp_d_comb_deduct_yn
	pbp_d_comb_deduct_partb_yn
	pbp_d_comb_deduct_bens
	pbp_d_comb_deduct_inn_m_yn
	pbp_d_comb_deduct_inn_nm_yn
	pbp_d_comb_deduct_oon_m_yn
	pbp_d_comb_deduct_oon_nm_yn
	pbp_d_oon_deduct_yn
	pbp_d_oon_deduct_partb_yn
	pbp_d_oon_deduct_bens
	pbp_d_oon_deduct_m_yn
	pbp_d_oon_deduct_nm_yn
	pbp_d_non_deduct_yn
	pbp_d_non_deduct_partb_yn
	pbp_d_non_deduct_bens
	pbp_d_non_deduct_m_yn
	pbp_d_non_deduct_nm_yn
	pbp_d_out_pocket_amt_yn
	pbp_d_out_pocket_amt_type
	pbp_d_inn_max_enr_oopc_bens
	pbp_d_inn_max_enr_m_yn
	pbp_d_inn_max_enr_nm_yn
	pbp_d_comb_max_enr_amt_yn
	pbp_d_comb_max_enr_amt_type
	pbp_d_comb_max_enr_oopc_bens
	pbp_d_comb_max_enr_inn_m_yn
	pbp_d_comb_max_enr_inn_nm_yn
	pbp_d_comb_max_enr_oon_m_yn
	pbp_d_comb_max_enr_oon_nm_yn
	pbp_d_oon_max_enr_oopc_yn
	pbp_d_oon_max_enr_oopc_type
	pbp_d_oon_max_enr_oopc_bens
	pbp_d_oon_max_enr_m_yn
	pbp_d_oon_max_enr_nm_yn
	pbp_d_maxenr_oopc_type
	pbp_d_maxenr_oopc_bens
	pbp_d_maxenr_oopc_m_cats_yn
	pbp_d_maxenr_oopc_nm_cats_yn
	pbp_d_max_plan_ben_cov_yn
	pbp_d_max_plan_period
	pbp_d_max_plan_bens
	pbp_d_inn_maxplan_nm_yn
	pbp_d_oon_maxplan_nm_yn
	pbp_d_non_maxplan_yn
	pbp_d_non_maxplan_per
	pbp_d_non_maxplan_nm_yn
	pbp_d_mco_pay_reduct_yn
	pbp_d_mmp_nm_yn
	pbp_d_balbill_yn
/ missing;
run;

proc contents data = out.pbp_Section_D;
  title 'pbp_Section_D data';
run;