Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Used in RPC
Print Page as PDF
Routine: ORBSMART

Package: Order Entry Results Reporting

Routine: ORBSMART


Information

ORBSMART ;SLC/JMH - SMART NOTIFICATIONS; Oct 4, 2022@11:23

Source Information

Source file <ORBSMART.m>

Entry Points

Name Comments DBIA/ICR reference
INSMALRT(ORY,ORAID) ;set what alert is being processed for smart
OUSMALRT(ORY,ORAID) ;clear what alert is being processed for smart
EN(ORY,ORDATA) ;
CLEAR(ORY,ORDATA) ;Clear SMART alert
CLRPROV(ORNOT,ORDFN) ;clear all alerts for notification ORNOT for patient ORDFN for the current user DUZ
CLRALL(ORNOT,ORDFN) ;clear all alerts for notification ORNOT for patient ORDFN for all users
CLRONE(ORDATA) ;clear only the alert matching ORDATA
SMALERTS(ORDFN,ORDUZ,ORGLOB) ;
PALERTS(ORDFN,ORGLOB) ;
UHASNOT(ORDFN,ORDUZ,ORNOT) ; returns 1 if user ORDUZ has notification ORNOT for patient ORDFN
PHASNOT(ORDFN,ORNOT) ; returns 1 patient ORDUZ has a notification ORNOT
SMIENS(ORY) ;
ISSMIEN(ORIEN) ;
ISSMNOT(ORY,ORIEN) ;
NCIMGNOT(ORDFN) ;Fire SMART NON-CRITICAL IMAGING RES alert
GETRMLST(ORLST,ORLNM,OVER,RETDATA) ;Get a list of patients from Reminder call
HOOK(ORN,ORBDFN,ORNUM,ORBADUZ,ORBPMSG,ORBPDATA) ;
GETNOTID(ORNOTNM) ;Get the OE/RR NOTIFICATIONS File IEN for the notification name
GENERATE ;generate the smart alerts
SCHCALL(ORRTN,ORSCH) ;Return 1 if ORRTN should be run now, 0 if not.
NIGHTLY ;nightly task to generate smart alerts
SMINSTDT() ;get SMART install date
SMARTON(USER,NOTIEN) ;

Used in RPC

RPC Name Call Tags
ORBSMART ISSMNOT ISSMNOT
ORBSMART INSMALRT INSMALRT
ORBSMART OUSMALRT OUSMALRT
Info |  Source |  Entry Points |  Used in RPC