var FormRouting = { result:"cancel", DoDialog: function(){return app.execDialog(this);}, b0194_KMHP_Chk1:false, b0194_AMH_PA_Chk2:false, b0194_AMH_NW_Chk3:false, b0194_AMH_NE_Chk4:false, b0218_SH_Chk5:false, b0397_CCHP_Chk6:false, b0603_ACLA_Chk7:false, b0611_AMH_Vista_Chk8:false, b0618_SCHA_Chk9:false, b0619_SCHA_Chk10:false, b0620_AMH_NE_Chk11:false, b0621_BCC_Chk12:false, b0628_AMH_DC_Chk13:false, b0630_SFHP_Chk14:false, b0632_AAH_Chk15:false, b0636_AAHD_Chk16:false, b0647_NHPRI_Chk17:false, b0648_PHP_MMP_Chk18:false, b0650_AMH_VIPCP_Chk19:false, b0651_FC_VIPCP_Chk20:false, b0708_PHP_Chk21:false, b0729_FRSHP_Chk22:false, b0739_AMH_IA_Chk23:false, b0740_HSI_Chk24:false, b0755_PHC_Chk25:false, b0763_PCHC_Chk26:false, b0771_AMH_DE_Chk27:false, b0774_Ascella_PACE_Chk28:false, b0786_PHP_CP_Chk29:false, b0800_AMH_NH_Chk30:false, b0801_NC_Chk31:false, b0802_Troy_HP_Chk32:false, b0803_GHP_MCR_Chk33:false, b0803_GHP_PACE_Chk34:false, b0804_GHP_MCD_Chk35:false, b0805_GHP_COM_Chk36:false, b0806_GHP_TPA_Chk37:false, b0807_GHP_EXCH_Chk38:false, initialize: function(dialog) { var dlgInit = { "Chk1": this.b0194_KMHP_Chk1, "Chk2": this.b0194_AMH_PA_Chk2, "Chk3": this.b0194_AMH_NW_Chk3, "Chk4": this.b0194_AMH_NE_Chk4, "Chk5": this.b0218_SH_Chk5, "Chk6": this.b0397_CCHP_Chk6, "Chk7": this.b0603_ACLA_Chk7, "Chk8": this.b0611_AMH_Vista_Chk8, "Chk9": this.b0618_SCHA_Chk9, "Chk10": this.b0619_SCHA_Chk10, "Chk11": this.b0620_AMH_NE_Chk11, "Chk12": this.b0621_BCC_Chk12, "Chk13": this.b0628_AMH_DC_Chk13, "Chk14": this.b0630_SFHP_Chk14, "Chk15": this.b0632_AAH_Chk15, "Chk16": this.b0636_AAHD_Chk16, "Chk17": this.b0647_NHPRI_Chk17, "Chk18": this.b0648_PHP_MMP_Chk18, "Chk19": this.b0650_AMH_VIPCP_Chk19, "Chk20": this.b0651_FC_VIPCP_Chk20, "Chk21": this.b0708_PHP_Chk21, "Chk22": this.b0729_FRSHP_Chk22, "Chk23": this.b0739_AMH_IA_Chk23, "Chk24": this.b0740_HSI_Chk24, "Chk25": this.b0755_PHC_Chk25, "Chk26": this.b0763_PCHC_Chk26, "Chk27": this.b0771_AMH_DE_Chk27, "Chk28": this.b0774_Ascella_PACE_Chk28, "Chk29": this.b0786_PHP_CP_Chk29, "Chk30": this.b0800_AMH_NH_Chk30, "Chk31": this.b0801_NC_Chk31, "Chk32": this.b0802_Troy_HP_Chk32, "Chk33": this.b0803_GHP_MCR_Chk33, "Chk34": this.b0803P_GHP_PACE_Chk34, "Chk35": this.b0804_GHP_MCD_Chk35, "Chk36": this.b0805_GHP_COM_Chk36, "Chk37": this.b0806_GHP_TPA_Chk37, "Chk38": this.b0807_GHP_EXCH_Chk38 }; dialog.load(dlgInit); }, commit: function(dialog) { var oRslt = dialog.store(); this.b0194_KMHP_Chk1 = oRslt["Chk1"]; this.b0194_AMH_PA_Chk2 = oRslt["Chk2"]; this.b0194_AMH_NW_Chk3 = oRslt["Chk3"]; this.b0194_AMH_NE_Chk4 = oRslt["Chk4"]; this.b0218_SH_Chk5 = oRslt["Chk5"]; this.b0397_CCHP_Chk6 = oRslt["Chk6"]; this.b0603_ACLA_Chk7 = oRslt["Chk7"]; this.b0611_AMH_Vista_Chk8 = oRslt["Chk8"]; this.b0618_SCHA_Chk9 = oRslt["Chk9"]; this.b0619_SCHA_Chk10 = oRslt["Chk10"]; this.b0620_AMH_NE_Chk11 = oRslt["Chk11"]; this.b0621_BCC_Chk12 = oRslt["Chk12"]; this.b0628_AMH_DC_Chk13 = oRslt["Chk13"]; this.b0630_SFHP_Chk14 = oRslt["Chk14"]; this.b0632_AAH_Chk15 = oRslt["Chk15"]; this.b0636_AAHD_Chk16 = oRslt["Chk16"]; this.b0647_NHPRI_Chk17 = oRslt["Chk17"]; this.b0648_PHP_MMP_Chk18 = oRslt["Chk18"]; this.b0650_AMH_VIPCP_Chk19 = oRslt["Chk19"]; this.b0651_FC_VIPCP_Chk20 = oRslt["Chk20"]; this.b0708_PHP_Chk21 = oRslt["Chk21"]; this.b0729_FRSHP_Chk22 = oRslt["Chk22"]; this.b0739_AMH_IA_Chk23 = oRslt["Chk23"]; this.b0740_HSI_Chk24 = oRslt["Chk24"]; this.b0755_PHC_Chk25 = oRslt["Chk25"]; this.b0763_PCHC_Chk26 = oRslt["Chk26"]; this.b0771_AMH_DE_Chk27 = oRslt["Chk27"]; this.b0774_Ascella_PACE_Chk28 = oRslt["Chk28"]; this.b0786_PHP_CP_Chk29 = oRslt["Chk29"]; this.b0800_AMH_NH_Chk30 = oRslt["Chk30"]; this.b0801_NC_Chk31 = oRslt["Chk31"]; this.b0802_Troy_HP_Chk32 = oRslt["Chk32"]; this.b0803_GHP_MCR_Chk33 = oRslt["Chk33"]; this.b0803P_GHP_PACE_Chk34 = oRslt["Chk34"]; this.b0804_GHP_MCD_Chk35 = oRslt["Chk35"]; this.b0805_GHP_COM_Chk36 = oRslt["Chk36"]; this.b0806_GHP_TPA_Chk37 = oRslt["Chk37"]; this.b0807_GHP_EXCH_Chk38 = oRslt["Chk38"]; }, description: { name: "PRx Contracted Lines of Business", elements: [ { type: "view", elements: [ { type: "view", char_height: 10, elements: [ { type: "static_text", item_id: "stat", name: "Please Select All Contracted Lines of Business (LOBs):", char_width: 15, alignment: "align_fill", font: "dialog", }, { type: "view", char_width: 8, char_height: 8, align_children: "align_top", elements: [ { type: "view", char_width: 8, char_height: 8, elements: [ { type: "check_box", item_id: "Chk1", name: "0194 -- Keystone First Health Plan -- Medicare", }, { type: "check_box", item_id: "Chk2", name: "0194 -- AmeriHealth Caritas PA", }, { type: "check_box", item_id: "Chk3", name: "0194 -- AmeriHealth Caritas (North West) NW", }, { type: "check_box", item_id: "Chk4", name: " 0194 -- AmeriHealth Caritas (North East) NE - Medicaid", }, { type: "check_box", item_id: "Chk5", name: " 0218 -- Select Health - Medicaid", }, { type: "check_box", item_id: "Chk6", name: " 0397 -- Contra Costa Health Plan (CA)", }, { type: "check_box", item_id: "Chk7", name: " 0603 -- AmeriHealth Caritas Louisiana (LA) - Medicaid", }, { type: "check_box", item_id: "Chk8", name: " 0611 -- Vista Health Plan Part D - All National Part D Plans (Medicare)", }, { type: "check_box", item_id: "Chk9", name: " 0618 -- South Country Health Alliance - Medicaid", }, { type: "check_box", item_id: "Chk10", name: " 0619 -- South Country Health Alliance Part D - Medicare", }, { type: "check_box", item_id: "Chk11", name: " 0620 -- AmeriHealth Caritas (North East) NE - Medicaid", }, { type: "check_box", item_id: "Chk12", name: " 0621 -- Blue Cross Blue Shield Complete of Michigan (MI) - Medicaid", }, { type: "check_box", item_id: "Chk13", name: " 0628 -- AmeriHealth Caritas DC", }, ] }, { type: "view", char_width: 8, char_height: 8, elements: [ { type: "check_box", item_id: "Chk14", name: " 0630 -- San Francisco Health Plan (CA) - Medicaid", }, { type: "check_box", item_id: "Chk15", name: " 0632 -- Alameda Alliance Group Care - Medicaid", }, { type: "check_box", item_id: "Chk16", name: " 0636 -- Alameda Alliance Group Care Part D - Medicare", }, { type: "check_box", item_id: "Chk17", name: " 0647 -- Neighborhood Health Plan of Rhode Island MMP - Terminated", }, { type: "check_box", item_id: "Chk18", name: " 0648 -- Partners Health Plan MMP", }, { type: "check_box", item_id: "Chk19", name: " 0650 -- AmeriHealth VIP Care Plus/Michigan - (Dual Medicare & Medicaid)", }, { type: "check_box", item_id: "Chk20", name: " 0651 -- First Choice VIP Care Plus/South Carolina - (Dual Medicare & Medicaid)", }, { type: "check_box", item_id: "Chk21", name: " 0708 -- Prominence Health Plan", }, { type: "check_box", item_id: "Chk22", name: " 0729 -- Fresenius Health Plans", }, { type: "check_box", item_id: "Chk23", name: " 0739 -- AmeriHealth Caritas Iowa (IA)", }, { type: "check_box", item_id: "Chk24", name: " 0740 -- NextGen RCM Services (HSI)", }, { type: "check_box", item_id: "Chk25", name: " 0755 -- Prestige Health Choice - Medicaid", }, { type: "check_box", item_id: "Chk26", name: " 0763 -- Pennsylvania Community Health Choices", }, ] }, { type: "view", char_width: 8, char_height: 8, elements: [ { type: "check_box", item_id: "Chk27", name: " 0771 -- AmeriHealth Caritas Delaware - Medicaid", }, { type: "check_box", item_id: "Chk28", name: " 0774 -- Ascella Health PACE of Pittsburgh", }, { type: "check_box", item_id: "Chk29", name: "0786 -- Partners Health Plan Care Preferred", }, { type: "check_box", item_id: "Chk30", name: "0800 -- AmeriHealth Caritas New Hampshire (NH)", }, { type: "check_box", item_id: "Chk31", name: "0801 -- AmeriHealth Caritas North Carolina (NC)", }, { type: "check_box", item_id: "Chk32", name: "0802 -- Troy Health Plan", }, { type: "check_box", item_id: "Chk33", name: "0803 -- Geisinger Health Plan – Medicare", }, { type: "check_box", item_id: "Chk34", name: "0803P -- Geisinger Health Plan - PACE", }, { type: "check_box", item_id: "Chk35", name: "0804 -- Geisinger Health Plan – Medicaid", }, { type: "check_box", item_id: "Chk36", name: "0805 -- Geisinger Health Plan – Commercial", }, { type: "check_box", item_id: "Chk37", name: "0806 -- Geisinger Health Plan - Third Party Administrator (TPA)", }, { type: "check_box", item_id: "Chk38", name: "0807 -- Geisinger Health Plan – Exchange", }, ] }, ] }, ] }, { type: "ok_cancel", }, ] }, ] } }; // Example Code FormRouting.b0194_KMHP_Chk1 = false; FormRouting.b0194_AMH_PA_Chk2 = false; FormRouting.b0194_AMH_NW_Chk3 = false; FormRouting.b0194_AMH_NE_Chk4 = false; FormRouting.b0218_SH_Chk5 = false; FormRouting.b0397_CCHP_Chk6 = false; FormRouting.b0603_ACLA_Chk7 = false; FormRouting.b0611_AMH_Vista_Chk8 = false; FormRouting.b0618_SCHA_Chk9 = false; FormRouting.b0619_SCHA_Chk10 = false; FormRouting.b0620_AMH_NE_Chk11 = false; FormRouting.b0621_BCC_Chk12 = false; FormRouting.b0628_AMH_DC_Chk13 = false; FormRouting.b0630_SFHP_Chk14 = false; FormRouting.b0632_AAH_Chk15 = false; FormRouting.b0636_AAHD_Chk16 = false; FormRouting.b0647_NHPRI_Chk17 = false; FormRouting.b0648_PHP_MMP_Chk18 = false; FormRouting.b0650_AMH_VIPCP_Chk19 = false; FormRouting.b0651_FC_VIPCP_Chk20 = false; FormRouting.b0708_PHP_Chk21 = false; FormRouting.b0729_FRSHP_Chk22 = false; FormRouting.b0739_AMH_IA_Chk23 = false; FormRouting.b0740_HSI_Chk24 = false; FormRouting.b0755_PHC_Chk25 = false; FormRouting.b0763_PCHC_Chk26 = false; FormRouting.b0771_AMH_DE_Chk27 = false; FormRouting.b0774_Ascella_PACE_Chk28 = false; FormRouting.b0786_PHP_CP_Chk29 = false; FormRouting.b0800_AMH_NH_Chk30 = false; FormRouting.b0801_NC_Chk31 = false; FormRouting.b0802_Troy_HP_Chk32 = false; FormRouting.b0803_GHP_MCR_Chk33 = false; FormRouting.b0803_GHP_PACE_Chk34 = false; FormRouting.b0804_GHP_MCD_Chk35 = false; FormRouting.b0805_GHP_COM_Chk36 = false; FormRouting.b0806_GHP_TPA_Chk37 = false; FormRouting.b0807_GHP_EXCH_Chk38 = false; if("ok" == FormRouting.DoDialog()) { console.println("Chk1:" + FormRouting.b0194_KMHP_Chk1); console.println("Chk2:" + FormRouting.b0194_AMH_PA_Chk2); console.println("Chk3:" + FormRouting.b0194_AMH_NW_Chk3); console.println("Chk4:" + FormRouting.b0194_AMH_NE_Chk4); console.println("Chk5:" + FormRouting.b0218_SH_Chk5); console.println("Chk6:" + FormRouting.b0397_CCHP_Chk6); console.println("Chk7:" + FormRouting.b0603_ACLA_Chk7); console.println("Chk8:" + FormRouting.b0611_AMH_Vista_Chk8); console.println("Chk9:" + FormRouting.b0618_SCHA_Chk9); console.println("Chk10:" + FormRouting.b0619_SCHA_Chk10); console.println("Chk11:" + FormRouting.b0620_AMH_NE_Chk11); console.println("Chk12:" + FormRouting.b0621_BCC_Chk12); console.println("Chk13:" + FormRouting.b0628_AMH_DC_Chk13); console.println("Chk14:" + FormRouting.b0630_SFHP_Chk14); console.println("Chk15:" + FormRouting.b0632_AAH_Chk15); console.println("Chk16:" + FormRouting.b0636_AAHD_Chk16); console.println("Chk17:" + FormRouting.b0647_NHPRI_Chk17); console.println("Chk18:" + FormRouting.b0648_PHP_MMP_Chk18); console.println("Chk19:" + FormRouting.b0650_AMH_VIPCP_Chk19); console.println("Chk20:" + FormRouting.b0651_FC_VIPCP_Chk20); console.println("Chk21:" + FormRouting.b0708_PHP_Chk21); console.println("Chk22:" + FormRouting.b0729_FRSHP_Chk22); console.println("Chk23:" + FormRouting.b0739_AMH_IA_Chk23); console.println("Chk24:" + FormRouting.b0740_HSI_Chk24); console.println("Chk25:" + FormRouting.b0755_PHC_Chk25); console.println("Chk26:" + FormRouting.b0763_PCHC_Chk26); console.println("Chk27:" + FormRouting.b0771_AMH_DE_Chk27); console.println("Chk28:" + FormRouting.b0774_Ascella_PACE_Chk28); console.println("Chk29:" + FormRouting.b0786_PHP_CP_Chk29); console.println("Chk30:" + FormRouting.b0800_AMH_NH_Chk30); console.println("Chk31:" + FormRouting.b0801_NC_Chk31); console.println("Chk32:" + FormRouting.b0802_Troy_HP_Chk32); console.println("Chk33:" + FormRouting.b0803_GHP_MCR_Chk33); console.println("Chk34:" + FormRouting.b0803_GHP_PACE_Chk34); console.println("Chk35:" + FormRouting.b0804_GHP_MCD_Chk35); console.println("Chk36:" + FormRouting.b0805_GHP_COM_Chk36); console.println("Chk37:" + FormRouting.b0806_GHP_TPA_Chk37); console.println("Chk38:" + FormRouting.b0807_GHP_EXCH_Chk38); this.getField("Text1").value = FormRouting.b0194_KMHP_Chk1; this.getField("Text2").value = FormRouting.b0194_AMH_PA_Chk2; this.getField("Text3").value = FormRouting.b0194_AMH_NW_Chk3; this.getField("Text4").value = FormRouting.b0194_AMH_NE_Chk4; this.getField("Text5").value = FormRouting.b0218_SH_Chk5; this.getField("Text6").value = FormRouting.b0397_CCHP_Chk6; this.getField("Text7").value = FormRouting.b0603_ACLA_Chk7; this.getField("Text8").value = FormRouting.b0611_AMH_Vista_Chk8; this.getField("Text9").value = FormRouting.b0618_SCHA_Chk9; this.getField("Text10").value = FormRouting.b0619_SCHA_Chk10; this.getField("Text11").value = FormRouting.b0620_AMH_NE_Chk11; this.getField("Text12").value = FormRouting.b0621_BCC_Chk12; this.getField("Text13").value = FormRouting.b0628_AMH_DC_Chk13; this.getField("Text14").value = FormRouting.b0630_SFHP_Chk14; this.getField("Text15").value = FormRouting.b0632_AAH_Chk15; this.getField("Text16").value = FormRouting.b0636_AAHD_Chk16; this.getField("Text17").value = FormRouting.b0647_NHPRI_Chk17; this.getField("Text18").value = FormRouting.b0648_PHP_MMP_Chk18; this.getField("Text19").value = FormRouting.b0650_AMH_VIPCP_Chk19; this.getField("Text20").value = FormRouting.b0651_FC_VIPCP_Chk20; this.getField("Text21").value = FormRouting.b0708_PHP_Chk21; this.getField("Text22").value = FormRouting.b0729_FRSHP_Chk22; this.getField("Text23").value = FormRouting.b0739_AMH_IA_Chk23; this.getField("Text24").value = FormRouting.b0740_HSI_Chk24; this.getField("Text25").value = FormRouting.b0755_PHC_Chk25; this.getField("Text26").value = FormRouting.b0763_PCHC_Chk26; this.getField("Text27").value = FormRouting.b0771_AMH_DE_Chk27; this.getField("Text28").value = FormRouting.b0774_Ascella_PACE_Chk28; this.getField("Text29").value = FormRouting.b0786_PHP_CP_Chk29; this.getField("Text30").value = FormRouting.b0800_AMH_NH_Chk30; this.getField("Text31").value = FormRouting.b0801_NC_Chk31; this.getField("Text32").value = FormRouting.b0802_Troy_HP_Chk32; this.getField("Text33").value = FormRouting.b0803_GHP_MCR_Chk33; this.getField("Text34").value = FormRouting.b0803_GHP_PACE_Chk34; this.getField("Text35").value = FormRouting.b0804_GHP_MCD_Chk35; this.getField("Text36").value = FormRouting.b0805_GHP_COM_Chk36; this.getField("Text37").value = FormRouting.b0806_GHP_TPA_Chk37; this.getField("Text38").value = FormRouting.b0807_GHP_EXCH_Chk38; }