コード例 #1
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() };
 }
コード例 #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
ファイル: BillableObject.cs プロジェクト: waffle-iron/YPILIS
        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
ファイル: PQRSMeasure.cs プロジェクト: WilliamCopland/YPILIS
 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
ファイル: PQRSMeasure.cs プロジェクト: ericramses/YPILIS
 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
ファイル: CCCPAudit.cs プロジェクト: WilliamCopland/YPILIS
 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
ファイル: PDL1Audit.cs プロジェクト: ericramses/YPILIS
 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());
 }
コード例 #8
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 {
         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
ファイル: PDL1Audit.cs プロジェクト: ericramses/YPILIS
 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
ファイル: CCCPAudit.cs プロジェクト: ericramses/YPILIS
 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
ファイル: CCCPAudit.cs プロジェクト: waffle-iron/YPILIS
 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() };
 }
コード例 #14
0
        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;
        }
コード例 #15
0
        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;
        }
コード例 #16
0
        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);
        }
コード例 #17
0
        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);
        }
コード例 #18
0
        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
ファイル: BillableObject.cs プロジェクト: waffle-iron/YPILIS
 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)
     };
 }
コード例 #23
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();
                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();
 }