Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: WVTDALRT

Package: Womens Health

Routine: WVTDALRT


Information

WVTDALRT ;ISP/RFR - TDRUGS STATUS CHANGE ALERTS;Dec 01, 2020@12:39

Source Information

Source file <WVTDALRT.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Order Entry Results Reporting 2 EN^ORB3  $$GETNOTID^ORBSMART  
Womens Health 2 ($$COBP,$$FMERROR)^WVUTL11  $$GETORDRS^WVUTL12  
Kernel 1 (DELETE,PATIENT)^XQALERT  
VA FileMan 1 (FILE,UPDATE)^DIE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Womens Health 4 WVMGRP2  WVRPCPT  WVTIU  WVUTL3  

Entry Points

Name Comments DBIA/ICR reference
ALERT(WVDFN,WVRECIP,WVMSG,WVCOUN,WVORDERS) ;Create and send alert
; EN^ORB3 (IA #1362): This component generates the CPRS alert
; INPUT: WVDFN - Patient IEN file #2
; WVRECIP - Array of alert recipients IEN file #200
; WVRECIP(IEN)=""
; WVMSG - Text of the alert
; WVCOUN - 1 to include "Counsel rist/benefit." in alert text
; 0 (default) to not include the text
; WVORDER - Caret-delimited list of orders to display
DELALERT(WVMSG,WVDFN) ;Delete existing alerts containing a specific message
; DELETE^XQALERT (IA #10081): This component deletes a single alert
; INPUT: WVMSG - Partial text of the alert
; WVDFN - Patient IEN file #2
GETALRTS(WVRETURN,WVMSG,WVDFN) ;Return alert IDs that contain a specific message
; PATIENT^XQALERT (IA #10081): This component retrieves all alerts for a patient
; INPUT: WVRETURN - reference to array in which to return alert IDs
; WVMSG - Partial text of the alert
; WVDFN - Patient IEN file #2
; RETURN: WVRETURN(0)=Number of alert IDs found
; WVRETURN(N)=Alert ID
; where N is a whole number starting at 1 and incrementing by 1
LACT(WVDFN,WVLASTAT) ;Entry point for processing lactation status change
; CALLED BY: LACTATION STATUS field (#21) of the LACTATIONS multiple field
; (#50) in the WV PATIENT file (#790)
; INPUT: WVDFN - Patient IEN file #2
; WVLASTAT - New lacation status
METHOD(WVDFN,WVDA,WVNEWREC,WVNCON)
MTEXT() ;Entry point to return starting text of notifications sent when the likelihood of
; becoming pregnant changes
PREG(WVDFN,WVPGSTAT) ;Entry point for processing pregnancy status change
; CALLED BY: PREGNANCY STATUS field (#11) of the PREGNANCIES multiple field
; (#40) in the WV PATIENT file (#790)
; INPUT: WVDFN - Patient IEN file #2
; WVPGSTAT - New pregnancy status
REVIEW(WVDFN,WVTEXT,WVCOUN,WVLAC,WVPRG) ;Entry point for reviewing patient's orders
; INPUT: WVDFN - Patient IEN file #2
; WVTEXT - The first sentence of the alert text.
; WVCOUN - 1 to include "Counsel rist/benefit." in alert text
; 0 (default) to not include the text
; WVLAC - 1 to indicate calling context is lactation
; 0 (default) to indicate calling context is not lactation
; WVPRG - 1 to indicate calling context is pregnancy
; 0 (default) to indicate calling context is not pregnancy
TRY(WVDFN,WVTSTAT)

External References

Name Field # of Occurrence
FILE^DIE METHOD+27
UPDATE^DIE METHOD+29
EN^ORB3 ALERT+12
$$GETNOTID^ORBSMART ALERT+11
$$COBP^WVUTL11 METHOD+17, METHOD+33
$$FMERROR^WVUTL11 METHOD+28, METHOD+30
$$GETORDRS^WVUTL12 REVIEW+12
DELETE^XQALERT DELALERT+6
PATIENT^XQALERT GETALRTS+12

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP($J GETALRTS+11!, GETALRTS+12, GETALRTS+13, GETALRTS+14, GETALRTS+15, GETALRTS+16!
^WV(790 - [#790] METHOD+14, METHOD+16, METHOD+20, METHOD+32, METHOD+38

Label References

Name Line Occurrences
$$MTEXT METHOD+32, METHOD+39, METHOD+40
ALERT REVIEW+28
DELALERT LACT+9, METHOD+32, METHOD+40, PREG+8, REVIEW+25, TRY+9
GETALRTS DELALERT+5
REVIEW LACT+8, METHOD+39, PREG+7, TRY+8

Naked Globals

Name Field # of Occurrence
^( GETALRTS+14

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
INPUT REVIEW+11~
U GETALRTS+14, GETALRTS+15, LACT+6, METHOD+13, METHOD+14, METHOD+15, METHOD+18, METHOD+28, METHOD+30, METHOD+32
, METHOD+34, METHOD+38, PREG+6, REVIEW+21, REVIEW+22, TRY+7
WVALERTS DELALERT+4~, DELALERT+5, METHOD+12~, REVIEW+11~, REVIEW+24
WVALERTS( DELALERT+6, REVIEW+22*, REVIEW+23*, REVIEW+26, REVIEW+28
WVALERTS(0 DELALERT+6
WVCMUSED REVIEW+11~
WVCOUN ALERT~, ALERT+11*, ALERT+12, REVIEW~, REVIEW+10*, REVIEW+16*, REVIEW+17*, REVIEW+23
WVDA METHOD~, METHOD+15, METHOD+16, METHOD+32
WVDA(1 METHOD+15
WVDFN ALERT~, ALERT+9, ALERT+12, DELALERT~, DELALERT+5, GETALRTS~, GETALRTS+9, GETALRTS+12, GETALRTS+14, LACT~
, LACT+6, LACT+8, LACT+9, METHOD~, METHOD+13, METHOD+14, METHOD+16, METHOD+17, METHOD+20, METHOD+21
, METHOD+32, METHOD+33, METHOD+38, METHOD+39, METHOD+40, PREG~, PREG+6, PREG+7, PREG+8, REVIEW~
, REVIEW+9, REVIEW+12, REVIEW+25, REVIEW+28, TRY~, TRY+7, TRY+8, TRY+9
WVECON METHOD+12~, METHOD+27
WVECON( METHOD+21*, METHOD+24*
WVENTRY METHOD+12~
WVERROR METHOD+12~, METHOD+28, METHOD+30
WVFILE METHOD+12~, METHOD+25*
WVIEN METHOD+12~, METHOD+20*, METHOD+21, METHOD+23*, METHOD+24
WVLAC REVIEW~, REVIEW+10*, REVIEW+12, REVIEW+15
WVLASTAT LACT~, LACT+6, LACT+7, LACT+9
WVMSG ALERT~, ALERT+9, ALERT+12, DELALERT~, DELALERT+5, GETALRTS~, GETALRTS+9, GETALRTS+14
WVNCON METHOD~, METHOD+29
WVNCON( METHOD+20, METHOD+23, METHOD+24!
WVNEWREC METHOD~, METHOD+16
WVNLESS METHOD+12~, METHOD+33*, METHOD+34, METHOD+36, METHOD+40
>> WVNOALRT LACT+5, METHOD+38, PREG+5, TRY+6
WVNUM DELALERT+4~, DELALERT+6*, GETALRTS+10~, GETALRTS+13*, GETALRTS+14, GETALRTS+15
WVOIN REVIEW+11~
WVOLESS METHOD+12~, METHOD+17*, METHOD+18, METHOD+36, METHOD+40
WVORDCHK REVIEW+11~, REVIEW+13*, REVIEW+15, REVIEW+17, REVIEW+18, REVIEW+19
WVORDERS ALERT~, ALERT+9, ALERT+12
WVORIEN ALERT+10~, ALERT+11*, ALERT+12
WVORN REVIEW+11~, REVIEW+13*, REVIEW+16, REVIEW+21, REVIEW+22
WVPGSTAT PREG~, PREG+6, PREG+7, PREG+8
WVPIEN METHOD+12~, METHOD+16*, METHOD+17, METHOD+20, METHOD+21, METHOD+33, METHOD+38
WVPIEN("PREVIOUS" METHOD+16*, METHOD+17
WVPRG REVIEW~, REVIEW+10*, REVIEW+18
WVPROV REVIEW+11~, REVIEW+21*, REVIEW+22, REVIEW+26*, REVIEW+27, REVIEW+28
WVPROVS REVIEW+27~, REVIEW+28
WVPROVS( REVIEW+27*
WVRECIP ALERT~, ALERT+9, ALERT+12
WVRETURN GETALRTS~, REVIEW+11~, REVIEW+12*, REVIEW+13, REVIEW+16, REVIEW+21, REVIEW+29
WVRETURN( GETALRTS+15*
WVRETURN(0 GETALRTS+8*, GETALRTS+15*
WVTEXT REVIEW~, REVIEW+9, REVIEW+10*, REVIEW+14, REVIEW+25
WVTSTAT TRY~, TRY+7, TRY+8, TRY+9
WVTXT REVIEW+11~, REVIEW+14*, REVIEW+16*, REVIEW+17*, REVIEW+19*, REVIEW+20*, REVIEW+22, REVIEW+23, REVIEW+26*, REVIEW+28
XQAID DELALERT+4~, DELALERT+6*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All