Exemple #1
0
        public void Post88305(YellowstonePathology.Business.Billing.Model.BillingComponentEnum billingComponent, string billTo, string billBy)
        {
            CptCode cpt88305 = Store.AppDataStore.Instance.CPTCodeCollection.GetClone("88305", null);

            int cpt88305Count = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetCodeQuantity(cpt88305.Code);

            if (cpt88305Count > 0)
            {
                string modifier = cpt88305.GetModifier(billingComponent);
                if (this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Exists(cpt88305.Code, modifier) == false)
                {
                    YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill panelSetOrderCPTCodeBill = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                    panelSetOrderCPTCodeBill.ClientId      = this.m_AccessionOrder.ClientId;
                    panelSetOrderCPTCodeBill.BillTo        = billTo;
                    panelSetOrderCPTCodeBill.BillBy        = billBy;
                    panelSetOrderCPTCodeBill.CPTCode       = cpt88305.Code;
                    panelSetOrderCPTCodeBill.CodeType      = cpt88305.CodeType.ToString();
                    panelSetOrderCPTCodeBill.Modifier      = modifier;
                    panelSetOrderCPTCodeBill.Quantity      = cpt88305Count;
                    panelSetOrderCPTCodeBill.MedicalRecord = this.m_AccessionOrder.SvhMedicalRecord;
                    panelSetOrderCPTCodeBill.Account       = this.m_AccessionOrder.SvhAccount;
                    this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(panelSetOrderCPTCodeBill);
                }
            }
        }
        private void SetG0145(YellowstonePathology.Business.Billing.Model.BillingComponentEnum billingComponent, string billTo, string billBy, string modifier)
        {
            CptCode cptG0145 = Store.AppDataStore.Instance.CPTCodeCollection.GetClone("G0145", null);

            YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill panelSetOrderCPTCodeBill = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
            panelSetOrderCPTCodeBill.ClientId      = this.m_AccessionOrder.ClientId;
            panelSetOrderCPTCodeBill.BillTo        = billTo;
            panelSetOrderCPTCodeBill.BillBy        = billBy;
            panelSetOrderCPTCodeBill.CPTCode       = cptG0145.Code;
            panelSetOrderCPTCodeBill.CodeType      = cptG0145.CodeType.ToString();
            panelSetOrderCPTCodeBill.Quantity      = 1;
            panelSetOrderCPTCodeBill.Modifier      = modifier;
            panelSetOrderCPTCodeBill.MedicalRecord = this.m_AccessionOrder.SvhMedicalRecord;
            panelSetOrderCPTCodeBill.Account       = this.m_AccessionOrder.SvhAccount;

            if (panelSetOrderCPTCodeBill.Modifier == null)
            {
                panelSetOrderCPTCodeBill.Modifier = cptG0145.GetModifier(billingComponent);
            }

            if (this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Exists(panelSetOrderCPTCodeBill.CPTCode, panelSetOrderCPTCodeBill.Modifier) == false)
            {
                this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(panelSetOrderCPTCodeBill);
            }
        }