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));
        }
Example #2
0
        public CptCodeCollection Clone()
        {
            CptCodeCollection result = new CptCodeCollection();

            foreach (CptCode cptCode in this)
            {
                result.Add(cptCode.Clone(cptCode));
            }
            return(result);
        }
Example #3
0
        public static CptCodeCollection GetSorted(CptCodeCollection cptCodeCollection)
        {
            CptCodeCollection            result        = new CptCodeCollection();
            IOrderedEnumerable <CptCode> orderedResult = cptCodeCollection.OrderBy(i => i.Code);

            foreach (CptCode cptCode in orderedResult)
            {
                result.Add(cptCode);
            }
            return(result);
        }
Example #4
0
        public CptCodeCollection GetFISHCPTCodeCollection()
        {
            CptCodeCollection result = new CptCodeCollection();

            result.Add(this.GetCPTCode("88374"));
            result.Add(this.GetCPTCode("88377"));
            result.Add(this.GetCPTCode("88368"));
            result.Add(this.GetCPTCode("88369"));
            result.Add(this.GetCPTCode("88367"));
            result.Add(this.GetCPTCode("88373"));
            return(result);
        }
Example #5
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);
        }
Example #6
0
        public CptCodeCollection GetCptCodeCollection(FeeScheduleEnum feeSchedule)
        {
            CptCodeCollection result = new CptCodeCollection();

            foreach (CptCode cptCode in this)
            {
                if (cptCode.FeeSchedule == feeSchedule)
                {
                    result.Add(cptCode);
                }
            }
            return(result);
        }
Example #7
0
        public static CptCodeCollection GetCptCodeCollection(FeeScheduleEnum feeSchedule)
        {
            CptCodeCollection result   = new CptCodeCollection();
            CptCodeCollection allCodes = GetAll();

            foreach (CptCode cptCode in allCodes)
            {
                if (cptCode.FeeSchedule == feeSchedule)
                {
                    result.Add(cptCode);
                }
            }
            return(result);
        }
        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 #9
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);
        }
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);
        }
Example #11
0
        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 #13
0
        public static CptCodeCollection GetAll()
        {
            CptCodeCollection result = new CptCodeCollection();

            result.Add(new CptCodeDefinition.CPT81210());
            result.Add(new CptCodeDefinition.CPT8121026());
            result.Add(new CptCodeDefinition.CPT81220());
            result.Add(new CptCodeDefinition.CPT8122026());
            result.Add(new CptCodeDefinition.CPT81235());
            result.Add(new CptCodeDefinition.CPT81240());
            result.Add(new CptCodeDefinition.CPT8124026());
            result.Add(new CptCodeDefinition.CPT81241());
            result.Add(new CptCodeDefinition.CPT8124126());
            result.Add(new CptCodeDefinition.CPT81261());
            result.Add(new CptCodeDefinition.CPT8126126());
            result.Add(new CptCodeDefinition.CPT81270());
            result.Add(new CptCodeDefinition.CPT8127026());
            result.Add(new CptCodeDefinition.CPT81275());
            result.Add(new CptCodeDefinition.CPT8127526());
            result.Add(new CptCodeDefinition.CPT8129126());
            result.Add(new CptCodeDefinition.CPT81342());
            result.Add(new CptCodeDefinition.CPT85055());
            result.Add(new CptCodeDefinition.CPT85060());
            result.Add(new CptCodeDefinition.CPT85097());
            result.Add(new CptCodeDefinition.CPT86023());
            result.Add(new CptCodeDefinition.CPT86356());
            result.Add(new CptCodeDefinition.CPT86367());
            result.Add(new CptCodeDefinition.CPT87491());
            result.Add(new CptCodeDefinition.CPT87591());
            result.Add(new CptCodeDefinition.CPT87621());
            result.Add(new CptCodeDefinition.CPT87798());
            result.Add(new CptCodeDefinition.CPT88104());
            result.Add(new CptCodeDefinition.CPT88108());
            result.Add(new CptCodeDefinition.CPT88112());
            result.Add(new CptCodeDefinition.CPT88141());
            result.Add(new CptCodeDefinition.CPT88142());
            result.Add(new CptCodeDefinition.CPT88155());
            result.Add(new CptCodeDefinition.CPT88160());
            result.Add(new CptCodeDefinition.CPT88161());
            result.Add(new CptCodeDefinition.CPT88172());
            result.Add(new CptCodeDefinition.CPT88173());
            result.Add(new CptCodeDefinition.CPT88175());
            result.Add(new CptCodeDefinition.CPT88177());
            result.Add(new CptCodeDefinition.CPT88182());
            result.Add(new CptCodeDefinition.CPT88184());
            result.Add(new CptCodeDefinition.CPT88185());
            result.Add(new CptCodeDefinition.CPT88187());
            result.Add(new CptCodeDefinition.CPT88188());
            result.Add(new CptCodeDefinition.CPT88189());
            result.Add(new CptCodeDefinition.CPT88237());
            result.Add(new CptCodeDefinition.CPT88262());
            result.Add(new CptCodeDefinition.CPT88264());
            result.Add(new CptCodeDefinition.CPT88280());
            result.Add(new CptCodeDefinition.CPT81287());
            result.Add(new CptCodeDefinition.CPT88291());
            result.Add(new CptCodeDefinition.CPT88300());
            result.Add(new CptCodeDefinition.CPT88302());
            result.Add(new CptCodeDefinition.CPT88304());
            result.Add(new CptCodeDefinition.CPT88305());
            result.Add(new CptCodeDefinition.CPT88307());
            result.Add(new CptCodeDefinition.CPT88309());
            result.Add(new CptCodeDefinition.CPT88311());
            result.Add(new CptCodeDefinition.CPT88312());
            result.Add(new CptCodeDefinition.CPT88312TC());
            result.Add(new CptCodeDefinition.CPT88313());
            result.Add(new CptCodeDefinition.CPT88313TC());
            result.Add(new CptCodeDefinition.CPT88321());
            result.Add(new CptCodeDefinition.CPT88323());
            result.Add(new CptCodeDefinition.CPT88325());
            result.Add(new CptCodeDefinition.CPT88329());
            result.Add(new CptCodeDefinition.CPT88331());
            result.Add(new CptCodeDefinition.CPT88332());
            result.Add(new CptCodeDefinition.CPT88333());
            result.Add(new CptCodeDefinition.CPT88334());
            result.Add(new CptCodeDefinition.CPT88342());
            result.Add(new CptCodeDefinition.CPT88342TC());
            result.Add(new CptCodeDefinition.CPT88343());
            result.Add(new CptCodeDefinition.CPT88343TC());
            result.Add(new CptCodeDefinition.CPT88360());
            result.Add(new CptCodeDefinition.CPT88360TC());
            result.Add(new CptCodeDefinition.CPT88363());
            result.Add(new CptCodeDefinition.CPT88365());
            result.Add(new CptCodeDefinition.CPT88367());
            result.Add(new CptCodeDefinition.CPT88368());
            result.Add(new CptCodeDefinition.CPT89060());
            result.Add(new CptCodeDefinition.CPT99000());
            result.Add(new CptCodeDefinition.CPT81406());
            result.Add(new CptCodeDefinition.CPT81403());
            result.Add(new CptCodeDefinition.CPT81402());
            result.Add(new CptCodeDefinition.CPT81401());
            result.Add(new CptCodeDefinition.CPT81479());
            result.Add(new CptCodeDefinition.CPT81245());
            result.Add(new CptCodeDefinition.CPT81310());
            result.Add(new CptCodeDefinition.CPT81301());
            result.Add(new CptCodeDefinition.CPT81404());
            result.Add(new CptCodeDefinition.CPT81206());
            result.Add(new CptCodeDefinition.CPT81207());
            result.Add(new CptCodeDefinition.CPT88261());
            result.Add(new CptCodeDefinition.CPT81315());
            result.Add(new CptCodeDefinition.CPT88285());
            result.Add(new CptCodeDefinition.CPT81321());
            result.Add(new CptCodeDefinition.CPT84179());
            result.Add(new CptCodeDefinition.CPT88327());
            result.Add(new CptCodeDefinition.CPT81407());
            result.Add(new CptCodeDefinition.CPT88361());
            result.Add(new CptCodeDefinition.CPT87624());
            result.Add(new CptCodeDefinition.CPT87625());
            result.Add(new CptCodeDefinition.CPT88341());
            result.Add(new CptCodeDefinition.CPT88346());
            result.Add(new CptCodeDefinition.CPT88347());
            result.Add(new CptCodeDefinition.CPT88348());
            result.Add(new CptCodeDefinition.CPT88377());
            result.Add(new CptCodeDefinition.CPT88374());
            result.Add(new CptCodeDefinition.CPT88373());
            result.Add(new CptCodeDefinition.CPT88369());
            result.Add(new CptCodeDefinition.CPT88120());
            result.Add(new CptCodeDefinition.CPT81288());
            result.Add(new CptCodeDefinition.CPT81263());
            result.Add(new CptCodeDefinition.CPT81445());
            result.Add(new CptCodeDefinition.CPT88233());
            result.Add(new CptCodeDefinition.CPT81450());
            result.Add(new CptCodeDefinition.CPT88239());
            result.Add(new CptCodeDefinition.CPT88230());
            result.Add(new CptCodeDefinition.CPT87661());
            result.Add(new CptCodeDefinition.CPT81170());
            result.Add(new CptCodeDefinition.CPT81219());
            result.Add(new CptCodeDefinition.CPT81218());
            result.Add(new CptCodeDefinition.CPT81276());
            result.Add(new CptCodeDefinition.CPT81311());
            result.Add(new CptCodeDefinition.CPT81314());
            result.Add(new CptCodeDefinition.CPT81272());
            result.Add(new CptCodeDefinition.CPT81264());

            result.Add(new GCodeDefinitions.CPTG0123());
            result.Add(new GCodeDefinitions.CPTG0124());
            result.Add(new GCodeDefinitions.CPTG0145());
            result.Add(new GCodeDefinitions.CPTG0461());
            result.Add(new GCodeDefinitions.CPTG0462());
            result.Add(new GCodeDefinitions.CPTG0416());

            result.Add(new PQRSCodeDefinitions.PQRS3125F());
            result.Add(new PQRSCodeDefinitions.PQRS3126F());
            result.Add(new PQRSCodeDefinitions.PQRS3126F1P());
            result.Add(new PQRSCodeDefinitions.PQRS3126F8P());
            result.Add(new PQRSCodeDefinitions.PQRS3250F());
            result.Add(new PQRSCodeDefinitions.PQRS3260());
            result.Add(new PQRSCodeDefinitions.PQRS3260F());
            result.Add(new PQRSCodeDefinitions.PQRS3267F());
            result.Add(new PQRSCodeDefinitions.PQRSG8721());
            result.Add(new PQRSCodeDefinitions.PQRSG8722());
            result.Add(new PQRSCodeDefinitions.PQRSG8723());
            result.Add(new PQRSCodeDefinitions.PQRSG8797());
            result.Add(new PQRSCodeDefinitions.PQRSG8798());
            result.Add(new PQRSCodeDefinitions.PQRS3394F());
            result.Add(new PQRSCodeDefinitions.PQRS3394F8P());
            result.Add(new PQRSCodeDefinitions.PQRS3395F());

            result.Add(new PQRSCodeDefinitions.PQRSG9418());
            result.Add(new PQRSCodeDefinitions.PQRSG9419());
            result.Add(new PQRSCodeDefinitions.PQRSG9420());
            result.Add(new PQRSCodeDefinitions.PQRSG9421());
            result.Add(new PQRSCodeDefinitions.PQRSG9422());
            result.Add(new PQRSCodeDefinitions.PQRSG9423());
            result.Add(new PQRSCodeDefinitions.PQRSG9424());
            result.Add(new PQRSCodeDefinitions.PQRSG9425());
            result.Add(new PQRSCodeDefinitions.PQRSG9428());
            result.Add(new PQRSCodeDefinitions.PQRSG9429());

            result.Add(new CptCodeDefinition.AutopsyBlock());

            return(GetSorted(result));
        }
Example #14
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);
        }