Пример #1
0
        public CaseListReport(YellowstonePathology.Business.Search.ReportSearchList reportSearchList)
        {
            this.m_ReportSearchList = reportSearchList;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Case List");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.SetGrid();
        }
Пример #2
0
        public CaseListReport(YellowstonePathology.Business.Search.ReportSearchList reportSearchList)
        {
            this.m_ReportSearchList = reportSearchList;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Case List");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.SetGrid();
        }
        public RetrospectiveReviewReport(YellowstonePathology.UI.RetrospectiveReviewList retrospectiveReviewList)
        {
            this.m_RetrospectiveReviewList = retrospectiveReviewList;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Retrospective Reviews");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.SetGrid();
        }
        public CytologyScreeningListReport(Data.CytologyScreeningListReportData cytologyScreeningListReportData)
        {
            this.m_CytologyScreeningListReportData = cytologyScreeningListReportData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Cytology Screening List");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.WriteHeaderGrid();
            this.WriteDetailInfo();
        }
Пример #5
0
        public TaskOrderDataSheet(YellowstonePathology.Business.Task.Model.TaskOrder taskOrder, YellowstonePathology.Business.Test.AccessionOrder accessionOrder)
        {
            this.m_TaskOrderView  = new YellowstonePathology.Business.Task.Model.TaskOrderView(taskOrder);
            this.m_AccessionOrder = accessionOrder;
            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Task Order Data Sheet");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(this.m_TaskOrderView.TaskOrder.ReportNo);

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

            this.SetTaskGrid();
            this.SetDetailGrid();
        }
Пример #6
0
        public ClientOrderDataSheet(Data.ClientOrderDataSheetData clientOrderDataSheetData)
        {
            this.m_ClientOrderDataSheetData = clientOrderDataSheetData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Client Order Data Sheet");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(this.m_ClientOrderDataSheetData.Element("PatientDisplayName").Value);

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

            this.SetupPatientInfoGrid();
            this.WriteSpecimenInfo();
        }
        public CytologyScreeningListReport(Data.CytologyScreeningListReportData cytologyScreeningListReportData)
        {
            this.m_CytologyScreeningListReportData = cytologyScreeningListReportData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Cytology Screening List");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.WriteHeaderGrid();
            this.WriteDetailInfo();
        }
Пример #8
0
        public ClientOrderDataSheet(Data.ClientOrderDataSheetData clientOrderDataSheetData)
        {
            this.m_ClientOrderDataSheetData = clientOrderDataSheetData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Client Order Data Sheet");
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(this.m_ClientOrderDataSheetData.Element("PatientDisplayName").Value);

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

            this.SetupPatientInfoGrid();
            this.WriteSpecimenInfo();
        }
Пример #9
0
        public PackingSlip(PackingSlipData packingSlipData)
        {
            this.m_PackingSlipData = packingSlipData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Packing Slip");
            YellowstonePathology.Document.Xps.NoFooter footer = new YellowstonePathology.Document.Xps.NoFooter();

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

            this.WriteHeader();
            this.WriteShipmentDetails();
            this.WritePatientDetails();
        }
Пример #10
0
        public PackingSlip(PackingSlipData packingSlipData)
        {
            this.m_PackingSlipData = packingSlipData;


            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Packing Slip");
            YellowstonePathology.Document.Xps.NoFooter    footer = new YellowstonePathology.Document.Xps.NoFooter();

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

            this.WriteHeader();
            this.WriteShipmentDetails();
            this.WritePatientDetails();
        }
        public ClientSupplyOrderReport(Data.ClientSupplyOrderReportData clientSupplyOrderReportData)
        {
            this.m_ClientSupplyOrderReportData = clientSupplyOrderReportData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader(string.Empty);
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.WriteClientName();
            this.WriteClientAddress();
            this.WriteClientCityStateZip();
            this.WriteComment();
            this.WriteDetailInfo();
        }
Пример #12
0
        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();
        }
Пример #13
0
        public ClientSupplyOrderReport(Data.ClientSupplyOrderReportData clientSupplyOrderReportData)
        {
            this.m_ClientSupplyOrderReportData = clientSupplyOrderReportData;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader(string.Empty);
            YellowstonePathology.Document.Xps.PlainFooter footer = new YellowstonePathology.Document.Xps.PlainFooter(string.Empty);

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

            this.WriteClientName();
            this.WriteClientAddress();
            this.WriteClientCityStateZip();
            this.WriteComment();
            this.WriteDetailInfo();
        }
Пример #14
0
        public AccessionOrderDataSheet(Data.AccessionOrderDataSheetData 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.Element("MasterAccessionNo").Value);

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

            this.SetupPatientInfoGrid();
            this.WriteSpecimenInfo();
            this.WriteClientOrderInfo();
            this.WriteContainerMatchingStatusInfo();
            this.WriteCaseNotesInfo();
        }
Пример #15
0
        public AccessionOrderDataSheet(Data.AccessionOrderDataSheetData 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.Element("MasterAccessionNo").Value);

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

            this.SetupPatientInfoGrid();
            this.WriteSpecimenInfo();
            this.WriteClientOrderInfo();
            this.WriteContainerMatchingStatusInfo();
            this.WriteCaseNotesInfo();
        }
Пример #16
0
        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 MaterialTrackingBatchSummary(YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingBatch materialTrackingBatch,
                                            YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLogViewCollection materialTrackingLogViewCollection)
        {
            this.m_MaterialTrackingBatch             = materialTrackingBatch;
            this.m_MaterialTrackingLogViewCollection = materialTrackingLogViewCollection;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Yellowstone Pathology Institute - Material Distribution Report");
            YellowstonePathology.Document.Xps.NoFooter    footer = new YellowstonePathology.Document.Xps.NoFooter();

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

            int totalMaterialCount = 0;

            MaterialTrackingSummaryCollection materialTrackingSummaryCollection = new MaterialTrackingSummaryCollection();

            List <string> materialTypeList      = this.m_MaterialTrackingLogViewCollection.GetDistinctMaterialTypes();
            List <string> masterAccessionNoList = this.m_MaterialTrackingLogViewCollection.GetMasterAccessionNoList();

            foreach (string masterAccessionNo in masterAccessionNoList)
            {
                MaterialTrackingSummary materialTrackingSummary = new MaterialTrackingSummary(masterAccessionNo, false);

                foreach (string materialType in materialTypeList)
                {
                    int materialCount = this.m_MaterialTrackingLogViewCollection.GetMaterialCount(masterAccessionNo, materialType);
                    MaterialTrackingSummaryColumn materialTrackingSummaryColumn = new MaterialTrackingSummaryColumn(materialType, materialCount);
                    materialTrackingSummary.ColumnList.Add(materialTrackingSummaryColumn);
                    totalMaterialCount += materialCount;
                }
                materialTrackingSummaryCollection.Add(materialTrackingSummary);
            }

            this.WriteHeadingsGrid(materialTypeList);
            foreach (MaterialTrackingSummary materialTrackingSummary in materialTrackingSummaryCollection)
            {
                this.WriteReportLine(materialTrackingSummary);
            }

            if (materialTrackingSummaryCollection.Count > 0)
            {
                materialTrackingSummaryCollection.SetTotals();
                this.WriteTotalLine(materialTrackingSummaryCollection[materialTrackingSummaryCollection.Count - 1]);
            }
        }
        public MaterialTrackingBatchSummary(YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingBatch materialTrackingBatch,
			YellowstonePathology.Business.MaterialTracking.Model.MaterialTrackingLogViewCollection materialTrackingLogViewCollection)
        {
            this.m_MaterialTrackingBatch = materialTrackingBatch;
            this.m_MaterialTrackingLogViewCollection = materialTrackingLogViewCollection;

            YellowstonePathology.Document.Xps.PlainHeader header = new YellowstonePathology.Document.Xps.PlainHeader("Yellowstone Pathology Institute - Material Distribution Report");
            YellowstonePathology.Document.Xps.NoFooter footer = new YellowstonePathology.Document.Xps.NoFooter();

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

            int totalMaterialCount = 0;

            MaterialTrackingSummaryCollection materialTrackingSummaryCollection = new MaterialTrackingSummaryCollection();

            List<string> materialTypeList = this.m_MaterialTrackingLogViewCollection.GetDistinctMaterialTypes();
            List<string> masterAccessionNoList = this.m_MaterialTrackingLogViewCollection.GetMasterAccessionNoList();

            foreach (string masterAccessionNo in masterAccessionNoList)
            {
                MaterialTrackingSummary materialTrackingSummary = new MaterialTrackingSummary(masterAccessionNo, false);

                foreach (string materialType in materialTypeList)
                {
                    int materialCount = this.m_MaterialTrackingLogViewCollection.GetMaterialCount(masterAccessionNo, materialType);
                    MaterialTrackingSummaryColumn materialTrackingSummaryColumn = new MaterialTrackingSummaryColumn(materialType, materialCount);
                    materialTrackingSummary.ColumnList.Add(materialTrackingSummaryColumn);
                    totalMaterialCount += materialCount;
                }
                materialTrackingSummaryCollection.Add(materialTrackingSummary);
            }

            this.WriteHeadingsGrid(materialTypeList);
            foreach (MaterialTrackingSummary materialTrackingSummary in materialTrackingSummaryCollection)
            {
                this.WriteReportLine(materialTrackingSummary);
            }

            if (materialTrackingSummaryCollection.Count > 0)
            {
                materialTrackingSummaryCollection.SetTotals();
                this.WriteTotalLine(materialTrackingSummaryCollection[materialTrackingSummaryCollection.Count - 1]);
            }
        }