public PNHOnBoneMarrowSpecimenAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_KeyWords = new Surgical.KeyWordCollection { "anemia", "pancytopenia" };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection{ new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT85060(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT85097() };
 }
예제 #2
0
        public LynchSyndromeAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_AccessionOrder = accessionOrder;
            this.m_ColorectalDescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
                "colon", "cecum", "appendix", "rectum"
            };
            this.m_ColorectalDiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
                "carcinoma", "adenocarcinoma"
            };
            this.m_ColorectalCptCodeCollection = new Billing.Model.CptCodeCollection();
            this.m_ColorectalCptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309());

            this.m_EndometrialDescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
                "endometrium"
            };
            this.m_EndometrialDiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
                "endometrioid carcinoma", "endometrioid adenocarcinoma"
            };
            this.m_EndometrialCptCodeCollection = new Billing.Model.CptCodeCollection();
            this.m_EndometrialCptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88305());

            this.m_UterineDescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
                "uterus"
            };
            this.m_UterineDiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
                "endometrioid carcinoma", "endometrioid adenocarcinoma"
            };
            this.m_UterineCptCodeCollection = new Billing.Model.CptCodeCollection();
            this.m_UterineCptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309());
        }
예제 #3
0
        public virtual void PostTechnical(string billTo, string billby)
        {
            if (this.IsOkToPost() == true)
            {
                YellowstonePathology.Business.Billing.Model.CptCodeCollection     cptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
                YellowstonePathology.Business.Test.PanelSetOrderCPTCodeCollection panelSetOrderCPTCodeSummaryCollection = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetSummaryCollection();

                foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode in panelSetOrderCPTCodeSummaryCollection)
                {
                    YellowstonePathology.Business.Billing.Model.CptCode cptCode = cptCodeCollection.GetCptCode(panelSetOrderCPTCode.CPTCode);
                    if (cptCode.HasTechnicalComponent == true)
                    {
                        YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill item = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                        item.FromPanelSetOrderCPTCode(panelSetOrderCPTCode);
                        item.BillTo   = billTo;
                        item.BillBy   = billby;
                        item.Modifier = cptCode.GetModifier(YellowstonePathology.Business.Billing.Model.BillingComponentEnum.Technical);

                        if (this.m_AccessionOrder.PrimaryInsurance == "Medicare" && cptCode.HasMedicareQuantityLimit == true && billTo == "Patient")
                        {
                            item.Quantity = cptCode.MedicareQuantityLimit;
                        }
                        else
                        {
                            item.Quantity = panelSetOrderCPTCode.Quantity;
                        }

                        this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(item);
                    }
                }
            }
        }
예제 #4
0
 public PQRSMeasure()
 {
     this.m_PQRSAgeDefinition = PQRSAgeDefinitionEnum.AllPatients;
     this.m_PQRIKeyWordCollection = new PQRIKeyWordCollection();
     this.m_CptCodeCollection = new Business.Billing.Model.CptCodeCollection();
     this.m_PQRSCodeCollection = new Business.Billing.Model.PQRSCodeCollection();
 }
예제 #5
0
 public PQRSMeasure()
 {
     this.m_PQRSAgeDefinition     = PQRSAgeDefinitionEnum.AllPatients;
     this.m_PQRIKeyWordCollection = new PQRIKeyWordCollection();
     this.m_CptCodeCollection     = new Business.Billing.Model.CptCodeCollection();
     this.m_PQRSCodeCollection    = new Business.Billing.Model.PQRSCodeCollection();
 }
예제 #6
0
 public CCCPAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_DescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection { "colon", "cecum", "appendix", "rectum" };
     this.m_DiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection { "carcinoma", "adenocarcinoma" };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection();
     this.m_CptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309());
 }
예제 #7
0
 public PDL1Audit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_DescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection { "lung" };
     this.m_DiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection { "carcinoma" };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection();
     //this.m_CptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309());
 }
 public PNHOnBoneMarrowSpecimenAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_KeyWords       = new Surgical.KeyWordCollection {
         "anemia", "pancytopenia"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection {
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("85060", null),
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("85097", null)
     };
 }
예제 #9
0
 public PNHOnBoneMarrowSpecimenAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_KeyWords       = new Surgical.KeyWordCollection {
         "anemia", "pancytopenia"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection {
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT85060(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT85097()
     };
 }
예제 #10
0
 public PDL1Audit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder      = accessionOrder;
     this.m_DescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
         "lung"
     };
     this.m_DiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
         "carcinoma"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection();
     //this.m_CptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309());
 }
예제 #11
0
 public CCCPAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder      = accessionOrder;
     this.m_DescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
         "colon", "cecum", "appendix", "rectum"
     };
     this.m_DiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
         "carcinoma", "adenocarcinoma"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection();
     this.m_CptCodeCollection.Add(Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88309", null));
 }
예제 #12
0
 public CCCPAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder      = accessionOrder;
     this.m_DescriptionKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
         "colon", "cecum", "appendix", "rectum"
     };
     this.m_DiagnosisKeyWords = new YellowstonePathology.Business.Surgical.KeyWordCollection {
         "carcinoma", "adenocarcinoma"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection();
     this.m_CptCodeCollection.Add(new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309());
 }
예제 #13
0
 public HPV1618ForSiteAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_SpecimenDescriptionKeyWords = new Surgical.KeyWordCollection { "head", "neck" };
     this.m_ExcludeWords = new Surgical.KeyWordCollection { "skin" };
     this.m_DiagnosisKeyWords = new Surgical.KeyWordCollection { "squamous cell carcinoma" };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection { new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88304(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88305(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88307(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88173() };
 }
        public PanelSetOrderCPTCodeEntryPage(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, int clientId)
        {
            this.m_PanelSetOrder = panelSetOrder;
            this.m_PanelSetOrderCPTCode = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetNextItem(panelSetOrder.ReportNo);
            this.m_PanelSetOrderCPTCode.Quantity = 1;
            this.m_PanelSetOrderCPTCode.ClientId = clientId;
            this.m_PanelSetOrderCPTCode.EntryType = "Manual Entry";
            this.m_PanelSetOrderCPTCode.CodeableType = "Billable Test";

            this.m_CptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();

            InitializeComponent();
            DataContext = this;
        }
        public PanelSetOrderCPTCodeEntryPage(YellowstonePathology.Business.Test.PanelSetOrder panelSetOrder, int clientId)
        {
            this.m_PanelSetOrder                     = panelSetOrder;
            this.m_PanelSetOrderCPTCode              = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetNextItem(panelSetOrder.ReportNo);
            this.m_PanelSetOrderCPTCode.Quantity     = 1;
            this.m_PanelSetOrderCPTCode.ClientId     = clientId;
            this.m_PanelSetOrderCPTCode.EntryType    = "Manual Entry";
            this.m_PanelSetOrderCPTCode.CodeableType = "Billable Test";

            this.m_CptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();

            InitializeComponent();
            DataContext = this;
        }
        public bool HasPQRSCodes()
        {
            bool result = false;

            YellowstonePathology.Business.Billing.Model.CptCodeCollection cptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
            foreach (PanelSetOrderCPTCodeBill panelSetOrderCPTCodeBill in this)
            {
                YellowstonePathology.Business.Billing.Model.CptCode cptCode = cptCodeCollection.GetCptCode(panelSetOrderCPTCodeBill.CPTCode);
                if (cptCode is YellowstonePathology.Business.Billing.Model.PQRSCode == true)
                {
                    result = true;
                    break;
                }
            }
            return(result);
        }
        public bool HasCodesWithMedicareQuantityLimit()
        {
            bool result = false;

            YellowstonePathology.Business.Billing.Model.CptCodeCollection allCptCodes = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
            foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode in this)
            {
                YellowstonePathology.Business.Billing.Model.CptCode cptCode = allCptCodes.GetCptCode(panelSetOrderCPTCode.CPTCode);
                if (cptCode.HasMedicareQuantityLimit == true)
                {
                    result = true;
                    break;
                }
            }
            return(result);
        }
        public bool DoesCollectionHaveCodes(YellowstonePathology.Business.Billing.Model.CptCodeCollection cptCodeCollection)
        {
            bool result = false;

            foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode item in this)
            {
                foreach (YellowstonePathology.Business.Billing.Model.CptCode cptCode in cptCodeCollection)
                {
                    if (item.CPTCode == cptCode.Code)
                    {
                        result = true;
                        break;
                    }
                }
            }
            return(result);
        }
예제 #19
0
        public override void PostTechnical(string billTo, string billBy)
        {
            if (this.IsOkToPost() == true)
            {
                YellowstonePathology.Business.Billing.Model.CptCodeCollection cptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
                foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode in this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection)
                {
                    YellowstonePathology.Business.Billing.Model.CptCode cptCode = cptCodeCollection.GetCptCode(panelSetOrderCPTCode.CPTCode);
                    if (cptCode.IsBillable == true)
                    {
                        if (cptCode.HasTechnicalComponent == true)
                        {
                            YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill bill = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                            bill.ClientId = this.m_AccessionOrder.ClientId;
                            bill.FromPanelSetOrderCPTCode(panelSetOrderCPTCode);
                            bill.BillTo = billTo;
                            bill.BillBy = billBy;

                            if (panelSetOrderCPTCode.Modifier == null)
                            {
                                bill.Modifier = cptCode.GetModifier(YellowstonePathology.Business.Billing.Model.BillingComponentEnum.Technical);
                            }
                            else
                            {
                                bill.Modifier = panelSetOrderCPTCode.Modifier;
                            }

                            if (billTo == BillToEnum.Patient.ToString())
                            {
                                if (this.m_AccessionOrder.ICD9BillingCodeCollection.PapMedicareCodesExist() == true)
                                {
                                    bill.CPTCode = cptCode.GCode;
                                }
                            }

                            if (this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Exists(bill.CPTCode, bill.Modifier) == false)
                            {
                                this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(bill);
                            }
                        }
                    }
                }
            }
        }
예제 #20
0
 public HPV1618ForSiteAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_SpecimenDescriptionKeyWords = new Surgical.KeyWordCollection {
         "head", "neck"
     };
     this.m_ExcludeWords = new Surgical.KeyWordCollection {
         "skin"
     };
     this.m_DiagnosisKeyWords = new Surgical.KeyWordCollection {
         "squamous cell carcinoma"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection {
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88304(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88305(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88307(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88309(),
         new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88173()
     };
 }
예제 #21
0
 public void PostPQRICodes()
 {
     if (this.IsOkToPost() == true)
     {
         YellowstonePathology.Business.Billing.Model.CptCodeCollection cptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
         foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode in this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection)
         {
             YellowstonePathology.Business.Billing.Model.CptCode cptCode = cptCodeCollection.GetCptCode(panelSetOrderCPTCode.CPTCode);
             if (cptCode is YellowstonePathology.Business.Billing.Model.PQRSCode == true)
             {
                 YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill pqriCode = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                 pqriCode.ClientId = this.m_AccessionOrder.ClientId;
                 pqriCode.FromPanelSetOrderCPTCode(panelSetOrderCPTCode);
                 pqriCode.BillTo = null;
                 pqriCode.BillBy = null;
                 this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(pqriCode);
             }
         }
     }
 }
예제 #22
0
 public HPV1618ForSiteAudit(YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
 {
     this.m_AccessionOrder = accessionOrder;
     this.m_SpecimenDescriptionKeyWords = new Surgical.KeyWordCollection {
         "head", "neck"
     };
     this.m_ExcludeWords = new Surgical.KeyWordCollection {
         "skin"
     };
     this.m_DiagnosisKeyWords = new Surgical.KeyWordCollection {
         "squamous cell carcinoma"
     };
     this.m_CptCodeCollection = new Billing.Model.CptCodeCollection {
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88304", null),
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88305", null),
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88307", null),
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88309", null),
         Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88173", null)
     };
 }
        public override void PostTechnical(string billTo, string billby)
        {
            if (this.IsOkToPost() == true)
            {
                YellowstonePathology.Business.Billing.Model.CptCodeCollection     cptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
                YellowstonePathology.Business.Test.PanelSetOrderCPTCodeCollection panelSetOrderCPTCodeSummaryCollection = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetSummaryCollection();

                foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode in panelSetOrderCPTCodeSummaryCollection)
                {
                    YellowstonePathology.Business.Billing.Model.CptCode cptCode = cptCodeCollection.GetCptCode(panelSetOrderCPTCode.CPTCode);
                    if (cptCode.HasTechnicalComponent == true)
                    {
                        YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill item = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                        item.FromPanelSetOrderCPTCode(panelSetOrderCPTCode);
                        item.BillTo   = billTo;
                        item.BillBy   = billby;
                        item.Modifier = null;
                        this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(item);
                    }
                }
            }
        }
예제 #24
0
        private void SetCptCodeNodes()
        {
            XElement cptListElement = new XElement("CPTCodes");

            YellowstonePathology.Business.Billing.Model.CptCodeCollection cptCodeCollection = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();

            foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill panelSetOrderCPTCodeBill in this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection)
            {
                YellowstonePathology.Business.Billing.Model.CptCode cptCode = cptCodeCollection.GetCptCode(panelSetOrderCPTCodeBill.CPTCode);
                if (panelSetOrderCPTCodeBill.BillTo == "Patient" && panelSetOrderCPTCodeBill.BillBy != "CLNT" ||
                    cptCode is YellowstonePathology.Business.Billing.Model.PQRSCode == true)
                {
                    XElement cptElement = new XElement("CPTCode",
                                                       new XElement("Code", panelSetOrderCPTCodeBill.CPTCode),
                                                       new XElement("Quantity", panelSetOrderCPTCodeBill.Quantity.ToString()),
                                                       new XElement("Modifier", panelSetOrderCPTCodeBill.Modifier),
                                                       new XElement("PostDate", panelSetOrderCPTCodeBill.PostDate),
                                                       new XElement("BillTo", panelSetOrderCPTCodeBill.BillTo));
                    cptListElement.Add(cptElement);
                }
            }
            this.Add(cptListElement);
        }
예제 #25
0
 public ClientBillingRule()
 {
     this.m_AllCptCodes = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
 }
예제 #26
0
 public ClientBillingRule()
 {
     this.m_AllCptCodes = YellowstonePathology.Business.Billing.Model.CptCodeCollection.GetAll();
 }