Пример #1
0
 public void AddICDCode(string icd10Code, YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen)
 {
     YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.m_SurgicalTestOrder.ReportNo,
                                                                                                                                               this.m_AccessionOrder.MasterAccessionNo, surgicalSpecimen.SpecimenOrderId, icd10Code, 1);
     icd9BillingCode.SurgicalSpecimenId = surgicalSpecimen.SurgicalSpecimenId;
     this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
 }
Пример #2
0
        private void ButtonDeleteIcd9Code_Click(object sender, RoutedEventArgs args)
        {
            string icd9BillingId = ((YellowstonePathology.Business.Billing.Model.ICD9BillingCode)((Button)sender).Tag).Icd9BillingId;

            YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = this.AccessionOrder.ICD9BillingCodeCollection.GetCurrent(icd9BillingId);
            this.AccessionOrder.ICD9BillingCodeCollection.Remove(icd9BillingCode);
            this.RefreshBillingSpecimenViewCollection();
        }
Пример #3
0
 private void MenuItemDeleteICDCode_Click(object sender, RoutedEventArgs e)
 {
     if (this.ListViewICD9BillingCodes.SelectedItem != null)
     {
         YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = (YellowstonePathology.Business.Billing.Model.ICD9BillingCode) this.ListViewICD9BillingCodes.SelectedItem;
         this.m_AccessionOrder.ICD9BillingCodeCollection.Remove(icd9BillingCode);
     }
 }
Пример #4
0
        private void AddICD9Code(string icd10Code, int quantity)
        {
            string specimenOrderId = this.m_AccessionOrder.SpecimenOrderCollection[0].SpecimenOrderId;

            YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.m_ReportNo,
                                                                                                                                                      this.m_AccessionOrder.MasterAccessionNo, specimenOrderId, icd10Code, quantity);
            this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
        }
Пример #5
0
 private void ButtonAddIcd9Code_Click(object sender, RoutedEventArgs args)
 {
     YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen = (YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen)((Button)sender).Tag;
     YellowstonePathology.Business.Billing.Model.ICD9BillingCode  icd9BillingCode  = this.AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.PanelSetOrderSurgical.ReportNo,
                                                                                                                                               this.AccessionOrder.MasterAccessionNo, surgicalSpecimen.SpecimenOrderId, null, 1);
     icd9BillingCode.SurgicalSpecimenId = surgicalSpecimen.SurgicalSpecimenId;
     this.AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
     this.RefreshBillingSpecimenViewCollection();
 }
Пример #6
0
        public void AddICD10Code(string icd10Code)
        {
            int    quantity        = 1;
            string specimenOrderId = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.PanelSetOrderLeukemiaLymphoma.OrderedOn, this.PanelSetOrderLeukemiaLymphoma.OrderedOnId).SpecimenOrderId;

            YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.PanelSetOrderLeukemiaLymphoma.ReportNo,
                                                                                                                                                      this.m_AccessionOrder.MasterAccessionNo, specimenOrderId, icd10Code, quantity);
            this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
            this.m_ICD9BillingCodeCollection = this.m_AccessionOrder.ICD9BillingCodeCollection.GetReportCollection(this.PanelSetOrderLeukemiaLymphoma.ReportNo);
            this.NotifyPropertyChanged("ICD9BillingCodeCollection");
        }
        private void SetICD9Codes()
        {
            string resultCode = ((YellowstonePathology.Business.Test.ThinPrepPap.PanelSetOrderCytology) this.m_PanelSetOrder).ResultCode;
            string icd9Code   = string.Empty;
            string icd10Code  = string.Empty;

            if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsResultCodeReactive(resultCode) == true)
            {
                icd10Code = "R87.820";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisASCUS(resultCode) == true)
            {
                icd10Code = "R87.610";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisASCH(resultCode) == true)
            {
                icd10Code = "R87.611";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisLSIL(resultCode) == true)
            {
                icd10Code = "R87.612";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisHGSIL(resultCode) == true)
            {
                icd10Code = "R87.613";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisAGUS(resultCode) == true)
            {
                icd10Code = "R87.619";
            }

            if (string.IsNullOrEmpty(icd9Code) == false)
            {
                if (this.m_AccessionOrder.ICD9BillingCodeCollection.CodeExists(icd9Code) == false)
                {
                    YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.m_PanelSetOrder.ReportNo,
                                                                                                                                                              this.m_AccessionOrder.MasterAccessionNo, this.m_AccessionOrder.SpecimenOrderCollection[0].SpecimenOrderId, icd10Code, 1);
                    icd9BillingCode.DesignatedFor = "Signing Physician";
                    icd9BillingCode.Source        = "Cytology";
                    this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
                }
            }
        }
Пример #8
0
 public ICD9BillingCodeView(YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode)
 {
     this.m_ICD9BillingCode = icd9BillingCode;
 }
Пример #9
0
 public void DeleteIcd9Code(string icd9BillingId)
 {
     YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetCurrent(icd9BillingId);
     this.m_AccessionOrder.ICD9BillingCodeCollection.Remove(icd9BillingCode);
     this.RefreshBillingSpecimenViewCollection();
 }
Пример #10
0
 public void RemoveICD9Code(YellowstonePathology.Business.Billing.Model.ICD9BillingCode item)
 {
     this.m_AccessionOrder.ICD9BillingCodeCollection.Remove(item);
     this.m_ICD9BillingCodeCollection = this.m_AccessionOrder.ICD9BillingCodeCollection.GetReportCollection(this.PanelSetOrderLeukemiaLymphoma.ReportNo);
     this.NotifyPropertyChanged("ICD9BillingCodeCollection");
 }
Пример #11
0
        private void BuildICD9Code(YellowstonePathology.Business.Test.Surgical.SurgicalSpecimen surgicalSpecimen, XElement surgicalSpecimenElement)
        {
            List<XElement> collectionElements = (from item in surgicalSpecimenElement.Elements("ICD9BillingCodeCollection")
                                                 select item).ToList<XElement>();

            surgicalSpecimen.ICD9BillingCodeCollection.RemoveDeleted(collectionElements.Elements("ICD9BillingCode"));
            foreach (XElement icd9BillingElement in collectionElements.Elements("ICD9BillingCode"))
            {
                string icd9BillingId = icd9BillingElement.Element("Icd9BillingId").Value;
                YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9Billing = null;
                if (surgicalSpecimen.ICD9BillingCodeCollection.Exists(icd9BillingId) == true)
                {
                    surgicalSpecimen.ICD9BillingCodeCollection.Get(icd9BillingId);
                }
                else
                {
                    icd9Billing = new YellowstonePathology.Business.Billing.Model.ICD9BillingCode();
                    surgicalSpecimen.ICD9BillingCodeCollection.Add(icd9Billing);
                }

                YellowstonePathology.Business.Persistence.XmlPropertyWriter xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(icd9BillingElement, icd9Billing);
                xmlPropertyWriter.Write();
            }
        }
Пример #12
0
 public ICD9BillingCodeView(YellowstonePathology.Business.Billing.Model.ICD9BillingCode icd9BillingCode)
 {
     this.m_ICD9BillingCode = icd9BillingCode;
 }