private void BuildIcdBillingCode(Test.AccessionOrder accessionOrder, XElement accessionOrderElement)
        {
            List <XElement> icd9BillingCodeElements = (from item in accessionOrderElement.Elements("ICD9BillingCodeCollection")
                                                       select item).ToList <XElement>();

            foreach (XElement icd9BillingCodeElement in icd9BillingCodeElements.Elements("ICD9BillingCode"))
            {
                YellowstonePathology.Business.Billing.ICD9BillingCode       icd9BillingCode   = new Billing.ICD9BillingCode();
                YellowstonePathology.Business.Persistence.XmlPropertyWriter xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(icd9BillingCodeElement, icd9BillingCode);
                xmlPropertyWriter.Write();
                accessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
            }
        }
 private void BuildIcdBillingCode(Test.AccessionOrder accessionOrder, XElement accessionOrderElement)
 {
     List<XElement> icd9BillingCodeElements = (from item in accessionOrderElement.Elements("ICD9BillingCodeCollection")
                                              select item).ToList<XElement>();
     foreach (XElement icd9BillingCodeElement in icd9BillingCodeElements.Elements("ICD9BillingCode"))
     {
         YellowstonePathology.Business.Billing.ICD9BillingCode icd9BillingCode = new Billing.ICD9BillingCode();
         YellowstonePathology.Business.Persistence.XmlPropertyWriter xmlPropertyWriter = new YellowstonePathology.Business.Persistence.XmlPropertyWriter(icd9BillingCodeElement, icd9BillingCode);
         xmlPropertyWriter.Write();
         accessionOrder.ICD9BillingCodeCollection.Add(icd9BillingCode);
     }
 }