Esempio n. 1
0
 public static Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2 GetAccessionOrderDataSheetData(string masterAccessionNo)
 {
     Test.AccessionOrder accessionOrder = GetAccessionOrder(masterAccessionNo);
     ClientOrder.Model.ClientOrderCollection clientOrderCollection     = YellowstonePathology.Business.Gateway.ClientOrderGateway.GetClientOrdersByMasterAccessionNo(masterAccessionNo);
     Domain.OrderCommentLogCollection        orderCommentLogCollection = Gateway.OrderCommentGateway.GetOrderCommentLogCollectionByMasterAccessionNo(masterAccessionNo);
     Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2 accessionOrderDataSheetData = new Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2(accessionOrder, clientOrderCollection, orderCommentLogCollection);
     return(accessionOrderDataSheetData);
 }
Esempio n. 2
0
        /*public static YellowstonePathology.Document.Result.Data.AccessionOrderDataSheetData GetAccessionOrderDataSheetData(string masterAccessionNo)
        {
            XElement accessionOrderDocument = XmlGateway.GetAccessionOrder(masterAccessionNo);
            XElement specimenOrderDocument = XmlGateway.GetSpecimenOrder(masterAccessionNo);
            XElement clientOrderDocument = XmlGateway.GetClientOrders(masterAccessionNo);
            XElement caseNotesDocument = XmlGateway.GetOrderComments(masterAccessionNo);

            YellowstonePathology.Document.Result.Data.AccessionOrderDataSheetData accessionOrderDataSheetData = new YellowstonePathology.Document.Result.Data.AccessionOrderDataSheetData(accessionOrderDocument, specimenOrderDocument, clientOrderDocument, caseNotesDocument);
            return accessionOrderDataSheetData;
        }*/
        public static Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2 GetAccessionOrderDataSheetData(string masterAccessionNo)
        {
            Test.AccessionOrder accessionOrder = GetAccessionOrder(masterAccessionNo);
            ClientOrder.Model.ClientOrderCollection clientOrderCollection = YellowstonePathology.Business.Gateway.ClientOrderGateway.GetClientOrdersByMasterAccessionNo(masterAccessionNo);
            Domain.OrderCommentLogCollection orderCommentLogCollection = Gateway.OrderCommentGateway.GetOrderCommentLogCollectionByMasterAccessionNo(masterAccessionNo);
            Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2 accessionOrderDataSheetData = new Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2(accessionOrder, clientOrderCollection, orderCommentLogCollection);
            return accessionOrderDataSheetData;
        }
        public AccessionOrderDataSheetV2(Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2 accessionOrderDataSheetData)
        {
            this.m_AccessionOrderDataSheetData = accessionOrderDataSheetData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Accession Order Data Sheet");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(this.m_AccessionOrderDataSheetData.AccessionOrderDataSheetDataAccessionOrder.MasterAccessionNo);

            this.m_ReportDocument = new YellowstonePathology.Document.Xps.ReportDocument(header, footer);

            this.SetupPatientInfoGrid();
            this.WriteSpecimenInfo();
            this.WriteClientOrderInfo();
            this.WriteContainerMatchingStatusInfo();
            this.WriteCaseNotesInfo();
        }
        public AccessionOrderDataSheetV2(Business.XPSDocument.Result.Data.AccessionOrderDataSheetDataV2 accessionOrderDataSheetData)
        {
            this.m_AccessionOrderDataSheetData = accessionOrderDataSheetData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Accession Order Data Sheet");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(this.m_AccessionOrderDataSheetData.AccessionOrderDataSheetDataAccessionOrder.MasterAccessionNo);

            this.m_ReportDocument = new YellowstonePathology.Document.Xps.ReportDocument(header, footer);

            this.SetupPatientInfoGrid();
            this.WriteSpecimenInfo();
            this.WriteClientOrderInfo();
            this.WriteContainerMatchingStatusInfo();
            this.WriteCaseNotesInfo();
        }