From 81582b5a16cda9185be50b70c30864a81cab63a2 Mon Sep 17 00:00:00 2001 From: Binal Patel Date: Mon, 11 May 2026 08:57:44 -0700 Subject: [PATCH 1/4] Ticket 54548: Header on reports (#691) --- .../resources/views/clinicalHistoryExport.html | 5 +++++ nirc_ehr/resources/views/necropsy.html | 4 ++++ nirc_ehr/resources/views/necropsy.view.xml | 2 +- .../nirc_ehr/images/ull-logo-main-subsite.png | Bin 0 -> 7359 bytes 4 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 nirc_ehr/resources/web/nirc_ehr/images/ull-logo-main-subsite.png diff --git a/nirc_ehr/resources/views/clinicalHistoryExport.html b/nirc_ehr/resources/views/clinicalHistoryExport.html index 8e15e246..d5470b84 100644 --- a/nirc_ehr/resources/views/clinicalHistoryExport.html +++ b/nirc_ehr/resources/views/clinicalHistoryExport.html @@ -1,3 +1,8 @@ +
+ ULL Logo + The University of Louisiana at Lafayette New Iberia Research Center
Animal Record
+
+ diff --git a/nirc_ehr/resources/views/acquisitionReport.view.xml b/nirc_ehr/resources/views/acquisitionReport.view.xml new file mode 100644 index 00000000..bbbab5f4 --- /dev/null +++ b/nirc_ehr/resources/views/acquisitionReport.view.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java b/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java index 2ecd4dfa..8339e493 100644 --- a/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java +++ b/nirc_ehr/src/org/labkey/nirc_ehr/NIRC_EHRModule.java @@ -193,6 +193,7 @@ protected void doStartupAfterSpringConfig(ModuleContext moduleContext) NotificationService.get().registerNotification(new NIRCPregnancyOutcomeNotification(this)); EHRService.get().registerReportLink(EHRService.REPORT_LINK_TYPE.moreReports, "Printable Necropsy Report", this, DetailsURL.fromString("/nirc_ehr-necropsy.view"), "Pathology"); + EHRService.get().registerReportLink(EHRService.REPORT_LINK_TYPE.moreReports, "Acquisition Report", this, DetailsURL.fromString("/nirc_ehr-acquisitionReport.view"), "Population Overview"); // Ensure N: is mounted if it's configured, as it's being mapped in via a symlink/shortcut, so we can't From a00c53171ce109c30beec958980bafc30946e0f6 Mon Sep 17 00:00:00 2001 From: Marty Pradere Date: Mon, 18 May 2026 09:33:37 -0700 Subject: [PATCH 4/4] Override editUIButtonHandler to set showImport to false (#699) --- nirc_ehr/resources/web/nirc_ehr/nircOverrides.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/nirc_ehr/resources/web/nirc_ehr/nircOverrides.js b/nirc_ehr/resources/web/nirc_ehr/nircOverrides.js index 67e2f5a4..39f89d19 100644 --- a/nirc_ehr/resources/web/nirc_ehr/nircOverrides.js +++ b/nirc_ehr/resources/web/nirc_ehr/nircOverrides.js @@ -1 +1,11 @@ -EHR.Utils.rowEditorPlugin = 'NIRC_EHR.plugin.RowEditor'; \ No newline at end of file +EHR.Utils.rowEditorPlugin = 'NIRC_EHR.plugin.RowEditor'; + +EHR.Utils.editUIButtonHandler = function(schemaName, queryName, dataRegionName, paramMap, copyFilters){ + var params = { + schemaName: schemaName, + 'query.queryName': queryName, + showImport: false + }; + + this.editUIButtonCore(schemaName, queryName, dataRegionName, paramMap, undefined, params); +}; \ No newline at end of file