Пример #1
0
        public FISHProbeComment(YellowstonePathology.Business.Test.PanelSetOrderCPTCodeCollection panelSetOrderCPTCodeCollection)
        {
            this.m_PanelSetOrderCPTCodeCollection = panelSetOrderCPTCodeCollection;
            Business.Billing.Model.CptCodeCollection allCPTCodes = Store.AppDataStore.Instance.CPTCodeCollection.Clone();
            this.m_FISHCPTCodes = allCPTCodes.GetFISHCPTCodeCollection();

            if (this.IsOKToCreateComment() == true)
            {
                StringBuilder result = new StringBuilder();
                StringBuilder temp   = new StringBuilder();

                int quantity88374 = panelSetOrderCPTCodeCollection.GetCodeQuantity("88374");
                int quantity88377 = panelSetOrderCPTCodeCollection.GetCodeQuantity("88377");
                int quantity88368 = panelSetOrderCPTCodeCollection.GetCodeQuantity("88368");
                int quantity88369 = panelSetOrderCPTCodeCollection.GetCodeQuantity("88369");
                int quantity88367 = panelSetOrderCPTCodeCollection.GetCodeQuantity("88367");
                int quantity88373 = panelSetOrderCPTCodeCollection.GetCodeQuantity("88373");

                GetCodeResult(temp, quantity88374, " of computer assisted, multiplex stains or probe sets");
                GetCodeResult(temp, quantity88377, " of manual, multiplex stains or probe sets");
                GetCodeResult(temp, quantity88368 + quantity88369, " of manual, single stains or probe sets");
                GetCodeResult(temp, quantity88367 + quantity88373, " of computer assisted, single stains or probe sets");

                if (temp.Length > 0)
                {
                    result.Append("This analysis was performed using ");
                    result.Append(temp);
                    result.Append(".");
                }

                this.m_Comment = result.ToString();
            }
        }
        public bool Exists(Business.Billing.Model.CptCodeCollection cptCodeCollection)
        {
            bool result = false;

            foreach (Business.Billing.Model.CptCode cptCode in cptCodeCollection)
            {
                foreach (PanelSetOrderCPTCode panelSetOrderCPTCode in this)
                {
                    if (panelSetOrderCPTCode.CPTCode == cptCode.Code)
                    {
                        result = true;
                        break;
                    }
                }
            }
            return(result);
        }
Пример #3
0
 public void LoadData()
 {
     this.m_CPTCodeCollection = new Business.Billing.Model.CptCodeCollection();
     this.m_CPTCodeCollection.Load();
 }