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

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

            YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.m_ReportNo,
                                                                                                                                                this.m_AccessionOrder.MasterAccessionNo, specimenOrderId, icd9Code, icd10Code, quantity);
            this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
        }
Exemplo n.º 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.ICD9BillingCode        icd9BillingCode  = this.AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.PanelSetOrderSurgical.ReportNo,
                                                                                                                                               this.AccessionOrder.MasterAccessionNo, surgicalSpecimen.SpecimenOrderId, null, null, 1);
     icd9BillingCode.SurgicalSpecimenId = surgicalSpecimen.SurgicalSpecimenId;
     this.AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
     this.RefreshBillingSpecimenViewCollection();
 }
Exemplo n.º 6
0
 public void ButtonRemoveICDCode_Click(object sender, RoutedEventArgs args)
 {
     if (this.ListViewICD9BillingCodeCollection.SelectedItem != null)
     {
         Save(false);
         YellowstonePathology.Business.Billing.ICD9BillingCode item = (YellowstonePathology.Business.Billing.ICD9BillingCode) this.ListViewICD9BillingCodeCollection.SelectedItem;
         this.m_FlowUI.RemoveICD9Code(item);
     }
 }
Exemplo n.º 7
0
        public void AddICD9Code(string icd9Code, string icd10Code)
        {
            int    quantity        = 1;
            string specimenOrderId = this.m_AccessionOrder.SpecimenOrderCollection.GetSpecimenOrder(this.PanelSetOrderLeukemiaLymphoma.OrderedOn, this.PanelSetOrderLeukemiaLymphoma.OrderedOnId).SpecimenOrderId;

            YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.PanelSetOrderLeukemiaLymphoma.ReportNo,
                                                                                                                                                this.m_AccessionOrder.MasterAccessionNo, specimenOrderId, icd9Code, icd10Code, quantity);
            this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
            this.m_ICD9BillingCodeCollection = this.m_AccessionOrder.ICD9BillingCodeCollection.GetReportCollection(this.PanelSetOrderLeukemiaLymphoma.ReportNo);
            this.NotifyPropertyChanged("ICD9BillingCodeCollection");
        }
Exemplo n.º 8
0
 public void MenuItemDeleteIcd9Code_Click(object sender, RoutedEventArgs args)
 {
     if (this.ListViewICD9BillingCodeCollection.SelectedItems.Count != 0)
     {
         YellowstonePathology.Business.Billing.ICD9BillingCode item = (YellowstonePathology.Business.Billing.ICD9BillingCode) this.ListViewICD9BillingCodeCollection.SelectedItem;
         MessageBoxResult result = MessageBox.Show("Delete ICD9 " + item.ICD9Code, "Delete Marker", MessageBoxButton.OKCancel);
         if (result == MessageBoxResult.OK)
         {
             this.m_FlowUI.RemoveICD9Code(item);
         }
     }
 }
Exemplo n.º 9
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>();

            foreach (XElement icd9BillingElement in collectionElements.Elements("ICD9BillingCode"))
            {
                YellowstonePathology.Business.Billing.ICD9BillingCode       icd9Billing       = new YellowstonePathology.Business.Billing.ICD9BillingCode();
                YellowstonePathology.Business.Persistence.XmlPropertyWriter xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(icd9BillingElement, icd9Billing);
                xmlPropertyWriter.Write();
                surgicalSpecimen.ICD9BillingCodeCollection.Add(icd9Billing);
            }
        }
Exemplo n.º 10
0
        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)
            {
                icd9Code  = "795.09";
                icd10Code = "R87.820";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisASCUS(resultCode) == true)
            {
                icd9Code  = "795.01";
                icd10Code = "R87.610";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisASCH(resultCode) == true)
            {
                icd9Code  = "795.02";
                icd10Code = "R87.611";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisLSIL(resultCode) == true)
            {
                icd9Code  = "795.03";
                icd10Code = "R87.612";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisHGSIL(resultCode) == true)
            {
                icd9Code  = "795.04";
                icd10Code = "R87.613";
            }
            else if (YellowstonePathology.Business.Cytology.Model.CytologyResultCode.IsDiagnosisAGUS(resultCode) == true)
            {
                icd9Code  = "795.00";
                icd10Code = "R87.619";
            }

            if (string.IsNullOrEmpty(icd9Code) == false)
            {
                if (this.m_AccessionOrder.ICD9BillingCodeCollection.CodeExists(icd9Code) == false)
                {
                    YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetNextItem(this.m_PanelSetOrder.ReportNo,
                                                                                                                                                        this.m_AccessionOrder.MasterAccessionNo, this.m_AccessionOrder.SpecimenOrderCollection[0].SpecimenOrderId, icd9Code, icd10Code, 1);
                    icd9BillingCode.DesignatedFor = "Signing Physician";
                    icd9BillingCode.Source        = "Cytology";
                    this.m_AccessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
                }
            }
        }
Exemplo n.º 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>();
     foreach (XElement icd9BillingElement in collectionElements.Elements("ICD9BillingCode"))
     {
         YellowstonePathology.Business.Billing.ICD9BillingCode icd9Billing = new YellowstonePathology.Business.Billing.ICD9BillingCode();
         YellowstonePathology.Business.Persistence.XmlPropertyWriter xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(icd9BillingElement, icd9Billing);
         xmlPropertyWriter.Write();
         surgicalSpecimen.ICD9BillingCodeCollection.Add(icd9Billing);
     }
 }
Exemplo n.º 12
0
 public ICD9BillingCodeView(YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode)
 {
     this.m_ICD9BillingCode = icd9BillingCode;
 }
Exemplo n.º 13
0
 public ICD9BillingCodeView(YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode)
 {
     this.m_ICD9BillingCode = icd9BillingCode;
 }
Exemplo n.º 14
0
 public void DeleteIcd9Code(string icd9BillingId)
 {
     YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode = this.m_AccessionOrder.ICD9BillingCodeCollection.GetCurrent(icd9BillingId);
     this.m_AccessionOrder.ICD9BillingCodeCollection.Remove(icd9BillingCode);
     this.RefreshBillingSpecimenViewCollection();
 }
Exemplo n.º 15
0
 public void RemoveICD9Code(YellowstonePathology.Business.Billing.ICD9BillingCode item)
 {
     this.m_AccessionOrder.ICD9BillingCodeCollection.Remove(item);
     this.m_ICD9BillingCodeCollection = this.m_AccessionOrder.ICD9BillingCodeCollection.GetReportCollection(this.PanelSetOrderLeukemiaLymphoma.ReportNo);
     this.NotifyPropertyChanged("ICD9BillingCodeCollection");
 }