public override void SetPanelSetOrderCPTCodes()
        {
            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);

            billableObjectStains.SetPanelSetOrderCPTCodes();
            this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.UpdateCodeType();
        }
Exemple #2
0
        public override void PostTechnical(string billTo, string billBy)
        {
            base.PostManualEntriesTechnical(billTo, billBy);
            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);

            billableObjectStains.PostTechnical(billTo, billBy);
        }
Exemple #3
0
        public override void SetPanelSetOrderCPTCodes()
        {
            int blockCount  = this.m_AccessionOrder.SpecimenOrderCollection.GetBlockCount();
            int billedCount = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetCodeQuantity("AUTOPSYBLOCK");

            YellowstonePathology.Business.Billing.Model.CptCode autopsyBlock = Store.AppDataStore.Instance.CPTCodeCollection.GetClone("AUTOPSYBLOCK", null);

            if (this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Exists(autopsyBlock.Code, blockCount) == false)
            {
                YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                panelSetOrderCPTCode.Quantity            = blockCount - billedCount;
                panelSetOrderCPTCode.CPTCode             = autopsyBlock.Code;
                panelSetOrderCPTCode.Modifier            = CptCodeModifier.TechnicalComponent;
                panelSetOrderCPTCode.CodeableDescription = "Autopsy Block";
                panelSetOrderCPTCode.CodeableType        = "BillableTest";
                panelSetOrderCPTCode.EntryType           = YellowstonePathology.Business.Billing.Model.PanelSetOrderCPTCodeEntryType.SystemGenerated;
                panelSetOrderCPTCode.ClientId            = this.m_AccessionOrder.ClientId;
                panelSetOrderCPTCode.MedicalRecord       = this.m_AccessionOrder.SvhMedicalRecord;
                panelSetOrderCPTCode.Account             = this.m_AccessionOrder.SvhAccount;
                this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Add(panelSetOrderCPTCode);
            }

            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);

            billableObjectStains.SetPanelSetOrderCPTCodes();

            this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.UpdateCodeType();
        }
Exemple #4
0
        public override void PostGlobal(string billTo, string billBy)
        {
            if (billTo == "Client")
            {
                this.Post88305(YellowstonePathology.Business.Billing.Model.BillingComponentEnum.Global, billTo, billBy);
            }
            else
            {
                this.PostG0416(YellowstonePathology.Business.Billing.Model.BillingComponentEnum.Global, billTo, billBy);
            }

            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);

            billableObjectStains.PostGlobal(billTo, billBy);
        }
        public override void SetPanelSetOrderCPTCodes()
        {
            int blockCount = this.m_AccessionOrder.SpecimenOrderCollection.GetBlockCount();
            YellowstonePathology.Business.Billing.Model.CptCodeDefinition.AutopsyBlock autopsyBlock = new Business.Billing.Model.CptCodeDefinition.AutopsyBlock();
            if (this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Exists(autopsyBlock.Code, blockCount) == false)
            {
                YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode = this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                panelSetOrderCPTCode.Quantity = blockCount;
                panelSetOrderCPTCode.CPTCode = autopsyBlock.Code;
                panelSetOrderCPTCode.Modifier = autopsyBlock.Modifier;
                panelSetOrderCPTCode.CodeableDescription = "Autopsy Block";
                panelSetOrderCPTCode.CodeableType = "BillableTest";
                panelSetOrderCPTCode.EntryType = YellowstonePathology.Business.Billing.Model.PanelSetOrderCPTCodeEntryType.SystemGenerated;
                panelSetOrderCPTCode.ClientId = this.m_AccessionOrder.ClientId;
                this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection.Add(panelSetOrderCPTCode);
            }

            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);
            billableObjectStains.SetPanelSetOrderCPTCodes();
        }
        public override void PostTechnical(string billTo, string billBy)
        {
            int blockCount = this.m_AccessionOrder.SpecimenOrderCollection.GetBlockCount();
            YellowstonePathology.Business.Billing.Model.CptCodeDefinition.AutopsyBlock autopsyBlock = new Business.Billing.Model.CptCodeDefinition.AutopsyBlock();
            foreach (YellowstonePathology.Business.Test.PanelSetOrderCPTCode panelSetOrderCPTCode in this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection)
            {
                if(panelSetOrderCPTCode.CPTCode == autopsyBlock.Code)
                {
                    YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill item = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                    item.FromPanelSetOrderCPTCode(panelSetOrderCPTCode);
                    item.BillTo = billTo;
                    item.BillBy = billBy;
                    item.Quantity = blockCount;
                    item.Modifier = autopsyBlock.Modifier;
                    this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(item);
                }
            }

            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);
            billableObjectStains.PostTechnical(billTo, billBy);

            this.m_PanelSetOrder.TechnicalComponentBillingFacilityId = "YPIBLGS";
        }
Exemple #7
0
        public override void PostTechnical(string billTo, string billBy)
        {
            int blockCount  = this.m_AccessionOrder.SpecimenOrderCollection.GetBlockCount();
            int billedCount = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetBilledCount("AUTOPSYBLOCK", "TC");

            YellowstonePathology.Business.Billing.Model.CptCode autopsyBlock = Store.AppDataStore.Instance.CPTCodeCollection.GetClone("AUTOPSYBLOCK", null);
            if (billedCount < blockCount)
            {
                YellowstonePathology.Business.Test.PanelSetOrderCPTCodeBill item = this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.GetNextItem(this.m_PanelSetOrder.ReportNo);
                item.FromPanelSetOrderCPTCode(this.m_PanelSetOrder.PanelSetOrderCPTCodeCollection[0]);
                item.BillTo   = billTo;
                item.BillBy   = billBy;
                item.Quantity = blockCount - billedCount;
                item.Modifier = "TC";
                this.m_PanelSetOrder.PanelSetOrderCPTCodeBillCollection.Add(item);
            }

            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);

            billableObjectStains.PostTechnical(billTo, billBy);

            this.m_PanelSetOrder.TechnicalComponentBillingFacilityId = "YPIBLGS";
        }
 public override void SetPanelSetOrderCPTCodes()
 {
     BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);
     billableObjectStains.SetPanelSetOrderCPTCodes();
 }
 public override void PostTechnical(string billTo, string billBy)
 {
     BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);
     billableObjectStains.PostTechnical(billTo, billBy);
 }
 public override void PostClientGCodes(YellowstonePathology.Business.Billing.Model.BillingComponentEnum billingComponent)
 {
     BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);
     billableObjectStains.PostClientGCodes(billingComponent);
 }
Exemple #11
0
        public override void PostClientGCodes(YellowstonePathology.Business.Billing.Model.BillingComponentEnum billingComponent)
        {
            BillableObjectStains billableObjectStains = new BillableObjectStains(this.m_AccessionOrder, this.m_PanelSetOrder.ReportNo);

            billableObjectStains.PostClientGCodes(billingComponent);
        }