///<summary>Can only be called if IsReconcile is true. This function is for EHR module b.4.</summary> private void butReconcileAllergies_Click(object sender,EventArgs e) { XmlDocument xmlDocCcd=new XmlDocument(); try { string strXmlText=File.ReadAllText(StrXmlFilePath); xmlDocCcd.LoadXml(strXmlText); } catch(Exception ex) { MessageBox.Show(Lan.g(this,"Error reading file")+": "+ex.Message); return; } FormReconcileAllergy formRA=new FormReconcileAllergy(_patCur); formRA.ListAllergyNew=new List<Allergy>(); formRA.ListAllergyDefNew=new List<AllergyDef>(); EhrCCD.GetListAllergies(xmlDocCcd,formRA.ListAllergyNew,formRA.ListAllergyDefNew); formRA.ShowDialog(); }
///<summary>Can only be called if IsReconcile is true. This function is for EHR module b.4.</summary> private void butReconcileAllergies_Click(object sender, EventArgs e) { XmlDocument xmlDocCcd = new XmlDocument(); try { string strXmlText = File.ReadAllText(StrXmlFilePath); xmlDocCcd.LoadXml(strXmlText); } catch (Exception ex) { MessageBox.Show(Lan.g(this, "Error reading file") + ": " + ex.Message); return; } FormReconcileAllergy formRA = new FormReconcileAllergy(_patCur); formRA.ListAllergyNew = new List <Allergy>(); formRA.ListAllergyDefNew = new List <AllergyDef>(); EhrCCD.GetListAllergies(xmlDocCcd, formRA.ListAllergyNew, formRA.ListAllergyDefNew); formRA.ShowDialog(); }