public void Post88313(YellowstonePathology.Business.Billing.Model.BillingComponentEnum billingComponent, string billTo, string billBy) { YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88313 cpt88313 = new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88313(); string modifier = cpt88313.GetModifier(billingComponent); int cpt88313Count = this.m_StainSpecimenCollection.GetBillable88313Count() - this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetBilledCount(cpt88313.Code, modifier); if (cpt88313Count > 0) { 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 = cpt88313.Code; panelSetOrderCPTCodeBill.CodeType = cpt88313.CodeType.ToString(); panelSetOrderCPTCodeBill.Modifier = modifier; panelSetOrderCPTCodeBill.Quantity = cpt88313Count; this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(panelSetOrderCPTCodeBill); } }
public void Post88313(YellowstonePathology.Business.Billing.Model.BillingComponentEnum billingComponent, string billTo, string billBy) { YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88313 cpt88313 = new YellowstonePathology.Business.Billing.Model.CptCodeDefinition.CPT88313(); int cpt88313Count = this.m_StainSpecimenCollection.GetBillable88313Count(); if (cpt88313Count > 0) { string modifier = cpt88313.GetModifier(billingComponent); if (this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Exists(cpt88313.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 = cpt88313.Code; panelSetOrderCPTCodeBill.CodeType = cpt88313.CodeType.ToString(); panelSetOrderCPTCodeBill.Modifier = modifier; panelSetOrderCPTCodeBill.Quantity = cpt88313Count; this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(panelSetOrderCPTCodeBill); } } }