Exemplo n.º 1
0
        private void CreateXmlBillingDocument(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
        {
            YellowstonePathology.Business.Domain.Billing.PSABillingDocument psaBillingDocument = new YellowstonePathology.Business.Domain.Billing.PSABillingDocument(accessionOrder, reportNo);
            psaBillingDocument.Build();

            YellowstonePathology.Business.OrderIdParser orderIdParser = new YellowstonePathology.Business.OrderIdParser(reportNo);
            string filePath = System.IO.Path.Combine(YellowstonePathology.Document.CaseDocumentPath.GetPath(orderIdParser), reportNo + ".BillingDetails.xml");

            psaBillingDocument.Save(filePath);
        }
        private void CreateXmlBillingDocument(YellowstonePathology.Business.Test.AccessionOrder accessionOrder, string reportNo)
        {
            YellowstonePathology.Business.Domain.Billing.PSABillingDocument psaBillingDocument = new YellowstonePathology.Business.Domain.Billing.PSABillingDocument(accessionOrder, reportNo);
            psaBillingDocument.Build();

            YellowstonePathology.Business.OrderIdParser orderIdParser = new YellowstonePathology.Business.OrderIdParser(reportNo);
            string filePath = System.IO.Path.Combine(YellowstonePathology.Document.CaseDocumentPath.GetPath(orderIdParser), reportNo + ".BillingDetails.xml");
            psaBillingDocument.Save(filePath);
        }