Example #1
0
        public YellowstoneParkBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "YLWSTN";
            this.m_BillingRuleSetIdOld = "BCFC243C-8608-4F09-B8C7-173508A07BAD";
            this.m_BillingRuleSetName  = "Yellowstone Park Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Client;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 1;
            billingRule1.PatientType        = new RuleValueAny();
            billingRule1.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 2;
            billingRule2.PatientType        = new RuleValueAny();
            billingRule2.PrimaryInsurance   = new RuleValueString("Medicare");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 3;
            billingRule3.PatientType        = new RuleValueAny();
            billingRule3.PrimaryInsurance   = new RuleValueString("Commercial");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge      = new RuleValueAny();
            billingRule3.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);

            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 1, "Any", "Medicaid", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 1, "Any", "Medicare", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 0, "Any", "Any", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Client, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 1, "Any", "Commercial", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
        }
        public YellowstoneParkBillingRuleSet()
        {
            this.m_BillingRuleSetId = "YLWSTN";
            this.m_BillingRuleSetIdOld = "BCFC243C-8608-4F09-B8C7-173508A07BAD";
            this.m_BillingRuleSetName = "Yellowstone Park Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();
            billingRule0.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule0.Priority = 0;
            billingRule0.PatientType = new RuleValueAny();
            billingRule0.PrimaryInsurance = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge = new RuleValueAny();
            billingRule0.BillingType = BillingTypeEnum.Client;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();
            billingRule1.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule1.Priority = 1;
            billingRule1.PatientType = new RuleValueAny();
            billingRule1.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge = new RuleValueAny();
            billingRule1.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();
            billingRule2.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule2.Priority = 2;
            billingRule2.PatientType = new RuleValueAny();
            billingRule2.PrimaryInsurance = new RuleValueString("Medicare");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge = new RuleValueAny();
            billingRule2.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();
            billingRule3.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule3.Priority = 3;
            billingRule3.PatientType = new RuleValueAny();
            billingRule3.PrimaryInsurance = new RuleValueString("Commercial");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge = new RuleValueAny();
            billingRule3.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);

            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 1, "Any", "Medicaid", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 1, "Any", "Medicare", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 0, "Any", "Any", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Client, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("YLWSTN", 1, "Any", "Commercial", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
        }
Example #3
0
        public HospitalSplitAllBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "HSA";
            this.m_BillingRuleSetIdOld = "6040FB9A-6D25-4E3E-9922-A48BB8CEC8E3";
            this.m_BillingRuleSetName  = "Hospital Split All Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 1;
            billingRule1.PatientType        = new RuleValueString("OP");
            billingRule1.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 2;
            billingRule2.PatientType        = new RuleValueString("OP");
            billingRule2.PrimaryInsurance   = new RuleValueAny();
            billingRule2.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 3;
            billingRule3.PatientType        = new RuleValueAny();
            billingRule3.PrimaryInsurance   = new RuleValueAny();
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge      = new RuleValueBoolean(true);
            billingRule3.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);
        }
        public HospitalSplitAllBillingRuleSet()
        {
            this.m_BillingRuleSetId = "HSA";
            this.m_BillingRuleSetIdOld = "6040FB9A-6D25-4E3E-9922-A48BB8CEC8E3";
            this.m_BillingRuleSetName = "Hospital Split All Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();
            billingRule0.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule0.Priority = 0;
            billingRule0.PatientType = new RuleValueAny();
            billingRule0.PrimaryInsurance = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge = new RuleValueAny();
            billingRule0.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();
            billingRule1.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule1.Priority = 1;
            billingRule1.PatientType = new RuleValueString("OP");
            billingRule1.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge = new RuleValueAny();
            billingRule1.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();
            billingRule2.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule2.Priority = 2;
            billingRule2.PatientType = new RuleValueString("OP");
            billingRule2.PrimaryInsurance = new RuleValueAny();
            billingRule2.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule2.PostDischarge = new RuleValueAny();
            billingRule2.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();
            billingRule3.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule3.Priority = 3;
            billingRule3.PatientType = new RuleValueAny();
            billingRule3.PrimaryInsurance = new RuleValueAny();
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge = new RuleValueBoolean(true);
            billingRule3.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);
        }
        public GlobalBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "GLBL";
            this.m_BillingRuleSetIdOld = "187E6457-F908-41AF-8232-D7754CC3E0CC";
            this.m_BillingRuleSetName  = "Global Rule Set";

            BillingRule billingRule9 = new BillingRule();

            billingRule9.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule9.Priority           = 9;
            billingRule9.PatientType        = new RuleValueAny();
            billingRule9.PrimaryInsurance   = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge      = new RuleValueAny();
            billingRule9.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
        public GlobalBillingRuleSet()
        {
            this.m_BillingRuleSetId = "GLBL";
            this.m_BillingRuleSetIdOld = "187E6457-F908-41AF-8232-D7754CC3E0CC";
            this.m_BillingRuleSetName = "Global Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule9 = new BillingRule();
            billingRule9.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule9.Priority = 9;
            billingRule9.PatientType = new RuleValueAny();
            billingRule9.PrimaryInsurance = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge = new RuleValueAny();
            billingRule9.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
Example #7
0
        public HospitalSplitProfessionalBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "HSPRFSNL";
            this.m_BillingRuleSetIdOld = "334DDC95-CF41-4C13-9326-A2C85B20BCCB";
            this.m_BillingRuleSetName  = "Hospital Split Professional Rule Set";

            CptCodeCollection clinicalFeeScheduleCodes     = Store.AppDataStore.Instance.CPTCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Clinical);
            CptCodeCollection professionalFeeScheduleCodes = Store.AppDataStore.Instance.CPTCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Physician);

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Split;
            billingRule0.ReferenceLab       = new RuleValueAny();
            billingRule0.PanelSetIncludeOnlyList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule01 = new BillingRule();

            billingRule01.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule01.Priority           = 0;
            billingRule01.PatientType        = new RuleValueAny();
            billingRule01.PrimaryInsurance   = new RuleValueAny();
            billingRule01.SecondaryInsurance = new RuleValueAny();
            billingRule01.PostDischarge      = new RuleValueAny();
            billingRule01.BillingType        = BillingTypeEnum.Split;
            billingRule01.ReferenceLab       = new RuleValueBoolean(true);
            this.m_BillingRuleCollection.Add(billingRule01);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 1;
            billingRule1.PatientType        = new RuleValueAny();
            billingRule1.PrimaryInsurance   = new RuleValueAny();
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Global;
            billingRule1.ReferenceLab       = new RuleValueAny();
            billingRule1.PanelSetExcludeList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 2;
            billingRule2.PatientType        = new RuleValueString("OP");
            billingRule2.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Global;
            billingRule2.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 3;
            billingRule3.PatientType        = new RuleValueAny();
            billingRule3.PrimaryInsurance   = new RuleValueString("Governmental");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge      = new RuleValueAny();
            billingRule3.BillingType        = BillingTypeEnum.Split;
            billingRule3.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();

            billingRule4.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule4.Priority           = 4;
            billingRule4.PatientType        = new RuleValueAny();
            billingRule4.PrimaryInsurance   = new RuleValueString("Medicare");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge      = new RuleValueAny();
            billingRule4.BillingType        = BillingTypeEnum.Split;
            billingRule4.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();

            billingRule5.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule5.Priority           = 5;
            billingRule5.PatientType        = new RuleValueString("IP");
            billingRule5.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule5.SecondaryInsurance = new RuleValueAny();
            billingRule5.PostDischarge      = new RuleValueAny();
            billingRule5.BillingType        = BillingTypeEnum.Split;
            billingRule5.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule6 = new BillingRule();

            billingRule6.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule6.Priority           = 6;
            billingRule6.PatientType        = new RuleValueString("IP");
            billingRule6.PrimaryInsurance   = new RuleValueAny();
            billingRule6.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule6.PostDischarge      = new RuleValueAny();
            billingRule6.BillingType        = BillingTypeEnum.Split;
            billingRule6.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule6);

            BillingRule billingRule9 = new BillingRule();

            billingRule9.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule9.Priority           = 9;
            billingRule9.PatientType        = new RuleValueAny();
            billingRule9.PrimaryInsurance   = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge      = new RuleValueBoolean(true);
            billingRule9.BillingType        = BillingTypeEnum.Global;
            billingRule9.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule9);
        }
        public ClientBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "CLNT";
            this.m_BillingRuleSetIdOld = "B3A017F0-84C4-471D-8510-3ABC3DB9DE53";
            this.m_BillingRuleSetName  = "Client Billing Rule Set";

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Client;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 1;
            billingRule1.PatientType        = new RuleValueAny();
            billingRule1.PrimaryInsurance   = new RuleValueString("Commercial");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 2;
            billingRule2.PatientType        = new RuleValueAny();
            billingRule2.PrimaryInsurance   = new RuleValueString("BCHP");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 3;
            billingRule3.PatientType        = new RuleValueAny();
            billingRule3.PrimaryInsurance   = new RuleValueString("Medicare");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge      = new RuleValueAny();
            billingRule3.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();

            billingRule4.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule4.Priority           = 4;
            billingRule4.PatientType        = new RuleValueAny();
            billingRule4.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge      = new RuleValueAny();
            billingRule4.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();

            billingRule5.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule5.Priority           = 5;
            billingRule5.PatientType        = new RuleValueAny();
            billingRule5.PrimaryInsurance   = new RuleValueAny();
            billingRule5.SecondaryInsurance = new RuleValueString("BCHP");
            billingRule5.PostDischarge      = new RuleValueAny();
            billingRule5.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule6 = new BillingRule();

            billingRule6.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule6.Priority           = 6;
            billingRule6.PatientType        = new RuleValueAny();
            billingRule6.PrimaryInsurance   = new RuleValueAny();
            billingRule6.SecondaryInsurance = new RuleValueString("Medicare");
            billingRule6.PostDischarge      = new RuleValueAny();
            billingRule6.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule6);

            BillingRule billingRule7 = new BillingRule();

            billingRule7.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule7.Priority           = 7;
            billingRule7.PatientType        = new RuleValueAny();
            billingRule7.PrimaryInsurance   = new RuleValueAny();
            billingRule7.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule7.PostDischarge      = new RuleValueAny();
            billingRule7.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule7);

            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 0, "Any", "Any", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Client, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 1, "Any", "Commercial", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 2, "Any", "BCHP", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 3, "Any", "Medicare", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 4, "Any", "Medicaid", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 5, "Any", "Any", "BCHP", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 6, "Any", "Any", "Medicare", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 7, "Any", "Any", "Medicaid", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
        }
        public NonProviderBasedClinicBillingRuleSet()
        {
            this.m_BillingRuleSetId = "NPBCSPLT";
            this.m_BillingRuleSetIdOld = "187E6457-F908-41AF-8232-D7754CC3E0CC";
            this.m_BillingRuleSetName = "Non Provider Based Clinic Split";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();
            CptCodeCollection clinicalFeeScheduleCodes = CptCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Clinical);
            CptCodeCollection professionalFeeScheduleCodes = CptCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Physician);

            BillingRule billingRule0 = new BillingRule();
            billingRule0.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule0.Priority = 0;
            billingRule0.PatientType = new RuleValueAny();
            billingRule0.PrimaryInsurance = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge = new RuleValueAny();
            billingRule0.BillingType = BillingTypeEnum.Split;
            billingRule0.PanelSetIncludeOnlyList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();
            billingRule1.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule1.Priority = 1;
            billingRule1.PatientType = new RuleValueAny();
            billingRule1.PrimaryInsurance = new RuleValueAny();
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge = new RuleValueAny();
            billingRule1.BillingType = BillingTypeEnum.Global;
            billingRule1.PanelSetExcludeList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();
            billingRule2.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule2.Priority = 2;
            billingRule2.PatientType = new RuleValueString("OP");
            billingRule2.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge = new RuleValueAny();
            billingRule2.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();
            billingRule3.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule3.Priority = 3;
            billingRule3.PatientType = new RuleValueString("OP");
            billingRule3.PrimaryInsurance = new RuleValueAny();
            billingRule3.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule3.PostDischarge = new RuleValueAny();
            billingRule3.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();
            billingRule4.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule4.Priority = 4;
            billingRule4.PatientType = new RuleValueAny();
            billingRule4.PrimaryInsurance = new RuleValueString("Medicare");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge = new RuleValueAny();
            billingRule4.BillingType = BillingTypeEnum.Split;
            billingRule4.PanelSetIncludeOnlyList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();
            billingRule5.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule5.Priority = 5;
            billingRule5.PatientType = new RuleValueAny();
            billingRule5.PrimaryInsurance = new RuleValueAny();
            billingRule5.SecondaryInsurance = new RuleValueString("Governmental");
            billingRule5.PostDischarge = new RuleValueAny();
            billingRule5.BillingType = BillingTypeEnum.Split;
            billingRule5.PanelSetIncludeOnlyList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule9 = new BillingRule();
            billingRule9.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule9.Priority = 9;
            billingRule9.PatientType = new RuleValueAny();
            billingRule9.PrimaryInsurance = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge = new RuleValueBoolean(true);
            billingRule9.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
Example #10
0
        public NonProviderBasedClinicBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "NPBCSPLT";
            this.m_BillingRuleSetIdOld = "187E6457-F908-41AF-8232-D7754CC3E0CC";
            this.m_BillingRuleSetName  = "Non Provider Based Clinic Split";

            CptCodeCollection clinicalFeeScheduleCodes     = Store.AppDataStore.Instance.CPTCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Clinical);
            CptCodeCollection professionalFeeScheduleCodes = Store.AppDataStore.Instance.CPTCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Physician);

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Split;
            billingRule0.PanelSetIncludeOnlyList.Add(13);
            billingRule0.PanelSetIncludeOnlyList.Add(138);
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 1;
            billingRule1.PatientType        = new RuleValueAny();
            billingRule1.PrimaryInsurance   = new RuleValueAny();
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Global;
            billingRule1.PanelSetExcludeList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 2;
            billingRule2.PatientType        = new RuleValueString("OP");
            billingRule2.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 3;
            billingRule3.PatientType        = new RuleValueString("OP");
            billingRule3.PrimaryInsurance   = new RuleValueAny();
            billingRule3.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule3.PostDischarge      = new RuleValueAny();
            billingRule3.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();

            billingRule4.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule4.Priority           = 4;
            billingRule4.PatientType        = new RuleValueAny();
            billingRule4.PrimaryInsurance   = new RuleValueString("Medicare");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge      = new RuleValueAny();
            billingRule4.BillingType        = BillingTypeEnum.Split;
            billingRule4.PanelSetIncludeOnlyList.Add(13);
            billingRule4.PanelSetIncludeOnlyList.Add(138);
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();

            billingRule5.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule5.Priority           = 5;
            billingRule5.PatientType        = new RuleValueAny();
            billingRule5.PrimaryInsurance   = new RuleValueAny();
            billingRule5.SecondaryInsurance = new RuleValueString("Governmental");
            billingRule5.PostDischarge      = new RuleValueAny();
            billingRule5.BillingType        = BillingTypeEnum.Split;
            billingRule5.PanelSetIncludeOnlyList.Add(13);
            billingRule4.PanelSetIncludeOnlyList.Add(138);
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule9 = new BillingRule();

            billingRule9.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule9.Priority           = 9;
            billingRule9.PatientType        = new RuleValueAny();
            billingRule9.PrimaryInsurance   = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge      = new RuleValueBoolean(true);
            billingRule9.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
        public HospitalGlobalBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "HGLBL";
            this.m_BillingRuleSetIdOld = "20FC3546-B829-4F35-9571-D6EFE7A9954C";
            this.m_BillingRuleSetName  = "Hospital Global Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 1;
            billingRule1.PatientType        = new RuleValueAny();
            billingRule1.PrimaryInsurance   = new RuleValueString("Medicare");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 2;
            billingRule2.PatientType        = new RuleValueAny();
            billingRule2.PrimaryInsurance   = new RuleValueString("Governmental");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 3;
            billingRule3.PatientType        = new RuleValueString("IP");
            billingRule3.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge      = new RuleValueAny();
            billingRule3.BillingType        = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();

            billingRule4.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule4.Priority           = 4;
            billingRule4.PatientType        = new RuleValueString("IP");
            billingRule4.PrimaryInsurance   = new RuleValueAny();
            billingRule4.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule4.PostDischarge      = new RuleValueAny();
            billingRule4.BillingType        = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule9 = new BillingRule();

            billingRule9.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule9.Priority           = 9;
            billingRule9.PatientType        = new RuleValueAny();
            billingRule9.PrimaryInsurance   = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge      = new RuleValueBoolean(true);
            billingRule9.BillingType        = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
        public ClientBillingRuleSet()
        {
            this.m_BillingRuleSetId = "CLNT";
            this.m_BillingRuleSetIdOld = "B3A017F0-84C4-471D-8510-3ABC3DB9DE53";
            this.m_BillingRuleSetName = "Client Billing Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();
            billingRule0.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule0.Priority = 0;
            billingRule0.PatientType = new RuleValueAny();
            billingRule0.PrimaryInsurance = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge = new RuleValueAny();
            billingRule0.BillingType = BillingTypeEnum.Client;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();
            billingRule1.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule1.Priority = 1;
            billingRule1.PatientType = new RuleValueAny();
            billingRule1.PrimaryInsurance = new RuleValueString("Commercial");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge = new RuleValueAny();
            billingRule1.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();
            billingRule2.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule2.Priority = 2;
            billingRule2.PatientType = new RuleValueAny();
            billingRule2.PrimaryInsurance = new RuleValueString("BCHP");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge = new RuleValueAny();
            billingRule2.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();
            billingRule3.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule3.Priority = 3;
            billingRule3.PatientType = new RuleValueAny();
            billingRule3.PrimaryInsurance = new RuleValueString("Medicare");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge = new RuleValueAny();
            billingRule3.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();
            billingRule4.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule4.Priority = 4;
            billingRule4.PatientType = new RuleValueAny();
            billingRule4.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge = new RuleValueAny();
            billingRule4.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();
            billingRule5.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule5.Priority = 5;
            billingRule5.PatientType = new RuleValueAny();
            billingRule5.PrimaryInsurance = new RuleValueAny();
            billingRule5.SecondaryInsurance = new RuleValueString("BCHP");
            billingRule5.PostDischarge = new RuleValueAny();
            billingRule5.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule6 = new BillingRule();
            billingRule6.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule6.Priority = 6;
            billingRule6.PatientType = new RuleValueAny();
            billingRule6.PrimaryInsurance = new RuleValueAny();
            billingRule6.SecondaryInsurance = new RuleValueString("Medicare");
            billingRule6.PostDischarge = new RuleValueAny();
            billingRule6.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule6);

            BillingRule billingRule7 = new BillingRule();
            billingRule7.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule7.Priority = 7;
            billingRule7.PatientType = new RuleValueAny();
            billingRule7.PrimaryInsurance = new RuleValueAny();
            billingRule7.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule7.PostDischarge = new RuleValueAny();
            billingRule7.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule7);

            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 0, "Any", "Any", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Client, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 1, "Any", "Commercial", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 2, "Any", "BCHP", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 3, "Any", "Medicare", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 4, "Any", "Medicaid", "Any", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 5, "Any", "Any", "BCHP", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 6, "Any", "Any", "Medicare", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
            //this.m_BillingRuleCollection.Add(new BillingRule("CLNT", 7, "Any", "Any", "Medicaid", "Any", YellowstonePathology.Business.Billing.Model.BillingTypeEnum.Global, "All Codes", allCptCodes));
        }
        public HospitalGlobalBillingRuleSet()
        {
            this.m_BillingRuleSetId = "HGLBL";
            this.m_BillingRuleSetIdOld = "20FC3546-B829-4F35-9571-D6EFE7A9954C";
            this.m_BillingRuleSetName = "Hospital Global Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();

            BillingRule billingRule0 = new BillingRule();
            billingRule0.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule0.Priority = 0;
            billingRule0.PatientType = new RuleValueAny();
            billingRule0.PrimaryInsurance = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge = new RuleValueAny();
            billingRule0.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();
            billingRule1.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule1.Priority = 1;
            billingRule1.PatientType = new RuleValueAny();
            billingRule1.PrimaryInsurance = new RuleValueString("Medicare");
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge = new RuleValueAny();
            billingRule1.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();
            billingRule2.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule2.Priority = 2;
            billingRule2.PatientType = new RuleValueAny();
            billingRule2.PrimaryInsurance = new RuleValueString("Governmental");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge = new RuleValueAny();
            billingRule2.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();
            billingRule3.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule3.Priority = 3;
            billingRule3.PatientType = new RuleValueString("IP");
            billingRule3.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge = new RuleValueAny();
            billingRule3.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();
            billingRule4.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule4.Priority = 4;
            billingRule4.PatientType = new RuleValueString("IP");
            billingRule4.PrimaryInsurance = new RuleValueAny();
            billingRule4.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule4.PostDischarge = new RuleValueAny();
            billingRule4.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule9 = new BillingRule();
            billingRule9.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule9.Priority = 9;
            billingRule9.PatientType = new RuleValueAny();
            billingRule9.PrimaryInsurance = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge = new RuleValueBoolean(true);
            billingRule9.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
Example #14
0
        public YellowstonePathology.Business.Billing.Model.BillingTypeEnum GetBillingType(string patientType, string primaryInsurance, string secondaryInsurance, bool postDischarge, int panelSetId)
        {
            BillingRule matchedBillingRule = this.m_BillingRuleCollection.GetMatch(patientType, primaryInsurance, secondaryInsurance, postDischarge, panelSetId);

            return(matchedBillingRule.BillingType);
        }
        public HospitalSplitProfessionalBillingRuleSet()
        {
            this.m_BillingRuleSetId = "HSPRFSNL";
            this.m_BillingRuleSetIdOld = "334DDC95-CF41-4C13-9326-A2C85B20BCCB";
            this.m_BillingRuleSetName = "Hospital Split Professional Rule Set";

            CptCodeCollection allCptCodes = CptCodeCollection.GetAll();
            CptCodeCollection clinicalFeeScheduleCodes = CptCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Clinical);
            CptCodeCollection professionalFeeScheduleCodes = CptCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Physician);

            BillingRule billingRule0 = new BillingRule();
            billingRule0.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule0.Priority = 0;
            billingRule0.PatientType = new RuleValueAny();
            billingRule0.PrimaryInsurance = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge = new RuleValueAny();
            billingRule0.BillingType = BillingTypeEnum.Split;
            billingRule0.PanelSetIncludeOnlyList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule1 = new BillingRule();
            billingRule1.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule1.Priority = 1;
            billingRule1.PatientType = new RuleValueAny();
            billingRule1.PrimaryInsurance = new RuleValueAny();
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge = new RuleValueAny();
            billingRule1.BillingType = BillingTypeEnum.Global;
            billingRule1.PanelSetExcludeList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();
            billingRule2.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule2.Priority = 2;
            billingRule2.PatientType = new RuleValueString("OP");
            billingRule2.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge = new RuleValueAny();
            billingRule2.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();
            billingRule3.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule3.Priority = 3;
            billingRule3.PatientType = new RuleValueAny();
            billingRule3.PrimaryInsurance = new RuleValueString("Governmental");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge = new RuleValueAny();
            billingRule3.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();
            billingRule4.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule4.Priority = 4;
            billingRule4.PatientType = new RuleValueAny();
            billingRule4.PrimaryInsurance = new RuleValueString("Medicare");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge = new RuleValueAny();
            billingRule4.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();
            billingRule5.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule5.Priority = 5;
            billingRule5.PatientType = new RuleValueString("IP");
            billingRule5.PrimaryInsurance = new RuleValueString("Medicaid");
            billingRule5.SecondaryInsurance = new RuleValueAny();
            billingRule5.PostDischarge = new RuleValueAny();
            billingRule5.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule6 = new BillingRule();
            billingRule6.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule6.Priority = 6;
            billingRule6.PatientType = new RuleValueString("IP");
            billingRule6.PrimaryInsurance = new RuleValueAny();
            billingRule6.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule6.PostDischarge = new RuleValueAny();
            billingRule6.BillingType = BillingTypeEnum.Split;
            this.m_BillingRuleCollection.Add(billingRule6);

            BillingRule billingRule9 = new BillingRule();
            billingRule9.BillingRuleSetId = this.m_BillingRuleSetId;
            billingRule9.Priority = 9;
            billingRule9.PatientType = new RuleValueAny();
            billingRule9.PrimaryInsurance = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge = new RuleValueBoolean(true);
            billingRule9.BillingType = BillingTypeEnum.Global;
            this.m_BillingRuleCollection.Add(billingRule9);
        }
Example #16
0
        public HospitalSplitSurgicalAndReferenceLabBillingRuleSet()
        {
            this.m_BillingRuleSetId    = "HSSRGCLRL";
            this.m_BillingRuleSetIdOld = "ceb64127-9d7e-4f61-be5e-3fec67e00fb9";
            this.m_BillingRuleSetName  = "Hospital Split Surgical And Reference Lab Rule Set";

            CptCodeCollection clinicalFeeScheduleCodes     = Store.AppDataStore.Instance.CPTCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Clinical);
            CptCodeCollection professionalFeeScheduleCodes = Store.AppDataStore.Instance.CPTCodeCollection.GetCptCodeCollection(FeeScheduleEnum.Physician);

            BillingRule billingRule0 = new BillingRule();

            billingRule0.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule0.Priority           = 0;
            billingRule0.PatientType        = new RuleValueAny();
            billingRule0.PrimaryInsurance   = new RuleValueAny();
            billingRule0.SecondaryInsurance = new RuleValueAny();
            billingRule0.PostDischarge      = new RuleValueAny();
            billingRule0.BillingType        = BillingTypeEnum.Split;
            billingRule0.ReferenceLab       = new RuleValueAny();
            billingRule0.PanelSetIncludeOnlyList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule0);

            BillingRule billingRule01 = new BillingRule();

            billingRule01.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule01.Priority           = 1;
            billingRule01.PatientType        = new RuleValueAny();
            billingRule01.PrimaryInsurance   = new RuleValueAny();
            billingRule01.SecondaryInsurance = new RuleValueAny();
            billingRule01.PostDischarge      = new RuleValueAny();
            billingRule01.BillingType        = BillingTypeEnum.Split;
            billingRule01.ReferenceLab       = new RuleValueBoolean(true);
            this.m_BillingRuleCollection.Add(billingRule01);

            BillingRule billingRule1 = new BillingRule();

            billingRule1.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule1.Priority           = 2;
            billingRule1.PatientType        = new RuleValueAny();
            billingRule1.PrimaryInsurance   = new RuleValueAny();
            billingRule1.SecondaryInsurance = new RuleValueAny();
            billingRule1.PostDischarge      = new RuleValueAny();
            billingRule1.BillingType        = BillingTypeEnum.Global;
            billingRule1.ReferenceLab       = new RuleValueBoolean(false);
            billingRule1.PanelSetExcludeList.Add(13);
            this.m_BillingRuleCollection.Add(billingRule1);

            BillingRule billingRule2 = new BillingRule();

            billingRule2.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule2.Priority           = 4;
            billingRule2.PatientType        = new RuleValueString("OP");
            billingRule2.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule2.SecondaryInsurance = new RuleValueAny();
            billingRule2.PostDischarge      = new RuleValueAny();
            billingRule2.BillingType        = BillingTypeEnum.Global;
            billingRule2.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule2);

            BillingRule billingRule3 = new BillingRule();

            billingRule3.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule3.Priority           = 5;
            billingRule3.PatientType        = new RuleValueAny();
            billingRule3.PrimaryInsurance   = new RuleValueString("Governmental");
            billingRule3.SecondaryInsurance = new RuleValueAny();
            billingRule3.PostDischarge      = new RuleValueAny();
            billingRule3.BillingType        = BillingTypeEnum.Split;
            billingRule3.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule3);

            BillingRule billingRule4 = new BillingRule();

            billingRule4.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule4.Priority           = 6;
            billingRule4.PatientType        = new RuleValueAny();
            billingRule4.PrimaryInsurance   = new RuleValueString("Medicare");
            billingRule4.SecondaryInsurance = new RuleValueAny();
            billingRule4.PostDischarge      = new RuleValueAny();
            billingRule4.BillingType        = BillingTypeEnum.Split;
            billingRule4.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule4);

            BillingRule billingRule5 = new BillingRule();

            billingRule5.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule5.Priority           = 7;
            billingRule5.PatientType        = new RuleValueString("IP");
            billingRule5.PrimaryInsurance   = new RuleValueString("Medicaid");
            billingRule5.SecondaryInsurance = new RuleValueAny();
            billingRule5.PostDischarge      = new RuleValueAny();
            billingRule5.BillingType        = BillingTypeEnum.Split;
            billingRule5.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule5);

            BillingRule billingRule6 = new BillingRule();

            billingRule6.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule6.Priority           = 8;
            billingRule6.PatientType        = new RuleValueString("IP");
            billingRule6.PrimaryInsurance   = new RuleValueAny();
            billingRule6.SecondaryInsurance = new RuleValueString("Medicaid");
            billingRule6.PostDischarge      = new RuleValueAny();
            billingRule6.BillingType        = BillingTypeEnum.Split;
            billingRule6.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule6);

            BillingRule billingRule9 = new BillingRule();

            billingRule9.BillingRuleSetId   = this.m_BillingRuleSetId;
            billingRule9.Priority           = 9;
            billingRule9.PatientType        = new RuleValueAny();
            billingRule9.PrimaryInsurance   = new RuleValueAny();
            billingRule9.SecondaryInsurance = new RuleValueAny();
            billingRule9.PostDischarge      = new RuleValueBoolean(true);
            billingRule9.BillingType        = BillingTypeEnum.Global;
            billingRule9.ReferenceLab       = new RuleValueAny();
            this.m_BillingRuleCollection.Add(billingRule9);
        }