public ClientOrderFNADataSheet(XElement reportData) { m_AccessionOrderData = reportData; if (m_AccessionOrderData == null) { throw new ApplicationException("XML data file missing \"AccessionOrder\" node"); } m_ClientOrderData = reportData.Descendants("ClientOrder").FirstOrDefault(); if (m_ClientOrderData == null) { throw new ApplicationException("XML data file missing \"ClientOrder\" node"); } m_ClientOrderFNAData = reportData.Descendants("ClientOrderFNAProperty").FirstOrDefault(); if (m_ClientOrderFNAData == null) { throw new ApplicationException("XML data file missing \"ClientOrderFNAProperty\" node"); } YellowstonePathology.Document.Xps.NoHeader header = new Document.Xps.NoHeader(); YellowstonePathology.Document.Xps.NoFooter footer = new Document.Xps.NoFooter(); m_ReportDocument = new Document.Xps.ReportDocument(header, footer); SetupDocumentLayout(); WriteClientOrderSection(); WriteFNAPropertySection(); }
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 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(); }
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(); }
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(); }
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 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 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(); }
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 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(); }
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(); }
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(); }
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 ClientOrderFNADataSheet(XElement reportData) { m_AccessionOrderData = reportData; if (m_AccessionOrderData == null) throw new ApplicationException("XML data file missing \"AccessionOrder\" node"); m_ClientOrderData = reportData.Descendants("ClientOrder").FirstOrDefault(); if (m_ClientOrderData == null) throw new ApplicationException("XML data file missing \"ClientOrder\" node"); m_ClientOrderFNAData = reportData.Descendants("ClientOrderFNAProperty").FirstOrDefault(); if (m_ClientOrderFNAData == null) throw new ApplicationException("XML data file missing \"ClientOrderFNAProperty\" node"); YellowstonePathology.Document.Xps.NoHeader header = new Document.Xps.NoHeader(); YellowstonePathology.Document.Xps.NoFooter footer = new Document.Xps.NoFooter(); m_ReportDocument = new Document.Xps.ReportDocument(header, footer); SetupDocumentLayout(); WriteClientOrderSection(); WriteFNAPropertySection(); }
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]); } }