Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
d421f8e
Created a new Clinpath Chemistry email notification to alert lab valu…
Ohsudev Oct 7, 2025
fb88321
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Oct 10, 2025
3cf6ef1
Modified program to allow immediate notifcation when
Ohsudev Oct 13, 2025
32ecb6a
Modified Clinpath notification to include one set of recipeints.
Ohsudev Oct 17, 2025
d28209a
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Oct 17, 2025
30b31d1
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Oct 23, 2025
d26da5f
Created clinpath notification for Chemistry results that shows "Panic…
Ohsudev Oct 30, 2025
de5fcf6
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Oct 30, 2025
f24507a
Created clinpath notification for Chemistry results that shows "Panic…
Ohsudev Oct 31, 2025
935e8da
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Nov 3, 2025
4149404
Created clinpath notification for Chemistry results that shows "Panic…
Ohsudev Nov 3, 2025
321eb1c
Modified program implement Chemistry email notifications.
Ohsudev Nov 6, 2025
f61b730
Modified program implement Chemistry email notifications.
Ohsudev Nov 6, 2025
b3b435f
Modified program implement Chemistry email notifications.
Ohsudev Nov 6, 2025
8d8d00d
Merge branch 'refs/heads/release25.7-SNAPSHOT' into 25.7_fb_ClinpathP…
Ohsudev Nov 10, 2025
4326fbe
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Nov 12, 2025
ba75075
Modified Chemistry Results to flag Panic values.
Ohsudev Nov 13, 2025
69f6766
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 18, 2025
e11a13e
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 19, 2025
0118d49
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 19, 2025
1e8ffab
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 19, 2025
f398bc4
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 20, 2025
59294f3
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 20, 2025
1c6f7cf
Created a email notification for Chemistry entries that shows a "qual…
Ohsudev Nov 20, 2025
18ad4ad
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Dec 2, 2025
9c83687
Created Clinpath email notification
Ohsudev Dec 5, 2025
3e687ef
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Dec 9, 2025
9121e0e
Modified Clinpath panic value notifications.
Ohsudev Dec 10, 2025
2dd9407
Modified Clinpath panic value notifications.
Ohsudev Dec 10, 2025
db4fdb3
Modified Clinpath panic value notification to include task ids.
Ohsudev Dec 23, 2025
3cde11f
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Dec 23, 2025
41c39fb
Modified clinpath email notification vet name.
Ohsudev Jan 7, 2026
4d88009
Modified Clinpath email notification process.
Ohsudev Jan 9, 2026
0b9884c
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Jan 14, 2026
59e0860
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Jan 15, 2026
bff3ec2
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Jan 23, 2026
de65cd0
Modified Email notification to send email per "Panic values".
Ohsudev Jan 23, 2026
74ce716
Modified Email notification to send email per "Panic values".
Ohsudev Jan 24, 2026
edd7020
Modified Email notification to send email per "Panic values".
Ohsudev Jan 24, 2026
eec3a9a
Merge branch 'release25.7-SNAPSHOT' into 25.7_fb_ClinpathPanicNotific…
Ohsudev Feb 1, 2026
e342330
Merge remote-tracking branch 'refs/remotes/origin/25.7_fb_ClinpathPan…
Ohsudev Mar 13, 2026
f38d0c2
Merge branch 'refs/heads/release25.11-SNAPSHOT' into 25.11_fb_Clinpat…
Ohsudev Mar 18, 2026
d8540b2
Modified Chemistry panels to read "critical values" instead of "Panic…
Apr 2, 2026
3fd4124
Modified Clinpath Chemistry "Alert value" email notification program.
Apr 3, 2026
2ee50f8
Merge branch 'release25.11-SNAPSHOT' into 25.11_fb_ClinpathPanicNotif…
Ohsudev Apr 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ select a.Id,
from study.ClinpathRuns a, study.chemistryResults b
Where a.objectid = b.runid
And a.type = 'biochemistry'
And b.qualresult like '%panic%'
And b.qualresult like '%alert%'

And a.qcstate = 18
And b.qcstate = 18
6 changes: 4 additions & 2 deletions onprc_ehr/resources/scripts/onprc_ehr/onprc_triggers.js
Original file line number Diff line number Diff line change
Expand Up @@ -1381,8 +1381,10 @@ exports.init = function(EHR){
// Added: 10-6-2025
EHR.Server.TriggerManager.registerHandlerForQuery(EHR.Server.TriggerManager.Events.AFTER_UPSERT, 'study', 'chemistryResults', function (helper, scriptErrors, row, oldRow) {

if (row.Id && row.qualresult && row.qualresult.indexOf('panic') !== -1) {
console.log("panic values: " + row.qualresult);

if (row.Id && row.qualresult && row.qualresult.indexOf('alert') !== -1) {

console.log("alert values: " + row.qualresult);
triggerHelper.sendClinpathPanicEmail(row.Id, row.runid, row.objectid);
}
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2640,7 +2640,8 @@ public void exec(ResultSet object) throws SQLException

public void sendClinpathPanicEmail(String id, String runid, String objectid)
{
String subject = "Chemistry Results with Panic values";
String subject = "Chemistry Results with alert values";

Container c = getContainer();


Expand Down Expand Up @@ -2671,7 +2672,7 @@ public void sendClinpathPanicEmail(String id, String runid, String objectid)

if (ts.getRowCount() == 0)
{
html.append("There are no Chemistry Panlc Values to display");
html.append("There are no Chemistry Alert Values to display");

return;
}
Expand Down
Loading