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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PXRMSTS

Package: Clinical Reminders

Routine: PXRMSTS


Information

PXRMSTS ;SLC/PKR,AGP - Master File Server event handling routines. ;06/11/2013

Source Information

Source file <PXRMSTS.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
VA FileMan 5 $$GET1^DID  (,FILE,UPDATE)^DIE  IX^DIK  $$ROOT^DILFD  $$GET1^DIQ  
Clinical Reminders 4 ($$GETFOIEN,SETSTART)^PXRMCOPY  (DEFLIST,TERMLIST)^PXRMFRPT  SEND^PXRMMSG  (ACOPY,UPEHIST)^PXRMUTIL  
Health Data and Informatics 1 $$GETSTAT^HDISVF01  
Kernel 1 ($$FMTE,$$NOW)^XLFDT  
Toolkit 1 $$GETSTAT^XTID  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

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

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Clinical Reminders 1 PXRMFRPT  

Entry Points

Name Comments DBIA/ICR reference
AERRMSG(EMSG,NL) ;Add the UPDATE^DIE error message.
RFWT(IEN,FI,TERM,NL) ;Definition finding has a replacement; change the
ERROR(EVENT,NL) ;Error
GENTERM(FILENUM,IEN,REP,NL) ;Generate a term that contains the original
ATFND(IEN,FI,REP,NL) ;Add the replacement as a new finding to the term.
DEF(FILENUM,GBL,FIEN,REP,MAPACT,NL) ;Search all reminder definitions
STATUSTX(MAPACT,FILENUM,FIEN,REPA,REPB,STATUS,NL) ;Generate the status text.
NEW(EVENT,FILENUM,FIEN,STATUS,NL) ;New entry in file.
SEND
DIALOGX ;
BLDDLGEH(MSG,IEN,TEXT) ;
DIALUPD(OLDVALUE,NEWVALUE,GBL,FIELD,DIEN,FIEN,FILENUM,FIELDNAM,EDITHIST) ;
GENTNAME(FILENUM,IEN) ;Generate a new term name to use. Create it based on
EVDRVR ;Event driver for STS events.
BLDDLGTM(SUB) ;Build an index of dialog finding usage.
UNKNOWN(TYPE,NL) ;Unknown event type.
DIALOG(FILENUM,GBL,FIEN,REPA,REPB,MAPACT,DSUB,DLGUNMP,STATUS,NL) ;
TERM(FILENUM,GBL,FIEN,REP,MAPACT,NL) ;Search all reminder terms for any

External References

Name Field # of Occurrence
$$GET1^DID ATFND+2, EVDRVR+15, NEW+2, STATUSTX+2, STATUSTX+10, STATUSTX+16
^DIE DIALOG+46
FILE^DIE RFWT+5
UPDATE^DIE DIALUPD+6, GENTERM+21
IX^DIK ATFND+11
$$ROOT^DILFD GENTERM+9
$$GET1^DIQ DIALOG+47, DIALUPD+10, DIALUPD+11, GENTNAME+3, STATUSTX+3, STATUSTX+11, STATUSTX+17
$$GETSTAT^HDISVF01 DIALOG+27, EVDRVR+14
$$GETFOIEN^PXRMCOPY ATFND+8, GENTERM+6
SETSTART^PXRMCOPY ATFND+7, GENTERM+5
DEFLIST^PXRMFRPT EVDRVR+40
TERMLIST^PXRMFRPT EVDRVR+42
SEND^PXRMMSG SEND
ACOPY^PXRMUTIL AERRMSG+2
UPEHIST^PXRMUTIL ATFND+15, DIALOGX+6, RFWT+13
$$FMTE^XLFDT GENTNAME+7
$$NOW^XLFDT GENTERM+18, GENTNAME+7
$$GETSTAT^XTID EVDRVR+24

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PXRMD(801.41 - [#801.41] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD(811.902 GENTNAME+5, GENTNAME+6
^PXD(811.9 - [#811.9] DEF+10
^PXRMD(801.41 - [#801.41] BLDDLGTM+3, BLDDLGTM+4, BLDDLGTM+6, BLDDLGTM+13, BLDDLGTM+16, BLDDLGTM+17, DIALOG+14, DIALOG+35, DIALOG+58, DIALOG+59
^PXRMD(811.5 - [#811.5] ATFND+5, ATFND+9*, ATFND+10*, TERM+9
^TMP("PXRMXMZ" AERRMSG+4*, ATFND+12*, ATFND+17*, DEF+4*, DEF+5*, DEF+6*, DEF+11*, DEF+12*, DEF+15*, DIALOG+1*
, DIALOG+5*, DIALOG+10*, DIALOG+11*, DIALOG+21*, DIALOG+23*, DIALOG+51*, DIALOG+61*, DIALOG+70*, DIALOG+74*, DIALOGX+8*
, DIALUPD+8*, ERROR+2*, ERROR+3*, ERROR+6*, EVDRVR+4!, EVDRVR+6*, SEND+1!, GENTERM+23*, NEW+4*, NEW+5*
, NEW+6*, RFWT+8*, RFWT+10*, RFWT+15*, STATUSTX+4*, STATUSTX+5*, STATUSTX+6*, STATUSTX+12*, STATUSTX+18*, STATUSTX+19*
, TERM+4*, TERM+5*, TERM+6*, TERM+10*, TERM+11*, TERM+14*, UNKNOWN+1*
^TMP($J BLDDLGTM+2!, BLDDLGTM+11*, BLDDLGTM+12*, BLDDLGTM+14*, BLDDLGTM+19*, DEF+6, DEF+9, DEF+14, DIALOG+11, DIALOG+13
, DIALOG+23, DIALOG+34, DIALOG+57, DIALOG+64, DIALOG+68, EVDRVR+4!, SEND+1!, TERM+6, TERM+8, TERM+13
^XTMP( ERROR+3, ERROR+5, ERROR+6, EVDRVR+8, EVDRVR+10, EVDRVR+17, EVDRVR+20, EVDRVR+29, EVDRVR+30, SEND+1!
, NEW+3

Label References

Name Line Occurrences
$$GENTERM DEF+7
$$GENTNAME GENTERM+3
AERRMSG ATFND+18, DIALOGX+9, DIALUPD+9, GENTERM+24, RFWT+9, RFWT+16
ATFND TERM+15
BLDDLGEH DIALOG+49, DIALUPD+13
BLDDLGTM EVDRVR+5
DEF EVDRVR+41
DIALOG EVDRVR+44
DIALOGX DIALOG+32
DIALUPD DIALOG+69, DIALOG+73
ERROR EVDRVR+8
NEW EVDRVR+26
RFWT DEF+16
SEND EVDRVR+8
STATUSTX EVDRVR+34
TERM EVDRVR+43
UNKNOWN EVDRVR+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ABBR GENTNAME+2~, GENTNAME+6*, GENTNAME+10, GENTNAME+11, STATUSTX+1~
AFIND BLDDLGTM+1~, BLDDLGTM+15*, BLDDLGTM+16*, BLDDLGTM+17, BLDDLGTM+18
AIEN BLDDLGTM+1~, BLDDLGTM+17*, BLDDLGTM+19, DIALOG+2~, DIALOG+67*, DIALOG+68*, DIALOG+69
CNT BLDDLGEH+1~, BLDDLGEH+3*, BLDDLGEH+4*, BLDDLGEH+5*, DIALOGX+2~, DIALOGX+5*
DA ATFND+1~, ATFND+8*, ATFND+9, ATFND+10, ATFND+12, ATFND+14, DIALOG+2~, DIALOG+12*, DIALOG+13*, DIALOG+14
, DIALOG+20, DIALOG+33*, DIALOG+34*, DIALOG+35, DIALOG+49, DIALOG+50, DIALOG+56*, DIALOG+57*, DIALOG+58, DIALOG+59
, DIALOG+64, DIALOG+68, DIALOG+69, DIALOG+73, DIALOGX+3*, DIALOGX+5, DIALOGX+6
DA(1 ATFND+6*
DEF DEF+3~, DEF+10*, DEF+12
DEFL EVDRVR+1~
DIAL EVDRVR+1~
DIE DIALOG+2~, DIALOG+24*
DIEN DIALOG+2~, DIALUPD~, DIALUPD+4, DIALUPD+13
DIK ATFND+1~, ATFND+6*, ATFND+7, ATFND+8
DISABLE DIALOG+2~, DIALOG+24*
DISTXT DIALOG+2~, DIALOG+18*, DIALOG+20, DIALOG+39*, DIALOG+45*, DIALOG+50
DLGUNMP DIALOG~, DIALOG+9, EVDRVR+1~, EVDRVR+35*, EVDRVR+44
DR DIALOG+2~, DIALOG+25*
DSUB DIALOG~, DIALOG+11, DIALOG+13, DIALOG+23, DIALOG+34, DIALOG+57, DIALOG+64, DIALOG+68
DT GENTERM+12
DUZ SEND, GENTERM+19
EDITHIS DIALOG+2~, DIALOG+49, DIALOG+69, DIALOG+73, DIALOGX+1
EDITHIS( DIALOGX+3, DIALOGX+5
EDITHIST DIALUPD~, DIALUPD+13
EDTEXT DIALOG+2~, DIALOG+48*, DIALOG+49
EMSG AERRMSG~, ATFND+1~, ATFND+15, ATFND+16, ATFND+18, DIALOGX+2~, DIALOGX+4!, DIALOGX+6, DIALOGX+7, DIALOGX+9
, DIALUPD+1~, DIALUPD+9, GENTERM+2~, GENTERM+22, GENTERM+24, RFWT+3~, RFWT+9, RFWT+13, RFWT+14, RFWT+16
ERRMSG AERRMSG+1~, RFWT+7~
ERRMSG( AERRMSG+4
EVENT ERROR~, ERROR+3, ERROR+5, ERROR+6, EVDRVR+8, EVDRVR+10, EVDRVR+17, EVDRVR+20, EVDRVR+26, EVDRVR+29
, EVDRVR+30, SEND+1, NEW~, NEW+3
FDA DIALUPD+1~, GENTERM+2~, RFWT+3~
FDA( DIALUPD+5*, GENTERM+11*, GENTERM+12*, GENTERM+13*, GENTERM+14*, GENTERM+16*, GENTERM+17*, GENTERM+18*, GENTERM+19*, GENTERM+20*
, RFWT+4*
FI ATFND~, ATFND+9, DEF+3~, DEF+13*, DEF+14*, DEF+15, DEF+16, RFWT~, RFWT+4, RFWT+10
, RFWT+12, TERM+3~, TERM+12*, TERM+13*, TERM+14, TERM+15
FIELD BLDDLGTM+1~, DIALOG+2~, DIALOG+63*, DIALOG+64*, DIALOG+66, DIALOG+68, DIALOG+69, DIALOG+72, DIALOG+73, DIALUPD~
, DIALUPD+3*, DIALUPD+5
FIELDNAM DIALOG+2~, DIALOG+72*, DIALOG+73, DIALOG+74, DIALUPD~, DIALUPD+12
FIEN BLDDLGTM+1~, BLDDLGTM+10*, BLDDLGTM+11, BLDDLGTM+18*, BLDDLGTM+19, DEF~, DEF+6, DEF+7, DEF+9, DEF+14
, DIALOG~, DIALOG+23, DIALOG+34, DIALOG+47, DIALOG+57, DIALOG+64, DIALOG+68, DIALOG+69, DIALOG+73, DIALUPD~
, DIALUPD+2, DIALUPD+4, EVDRVR+1~, EVDRVR+19*, EVDRVR+20*, EVDRVR+22, EVDRVR+26, EVDRVR+29, EVDRVR+30, EVDRVR+33
, EVDRVR+34, EVDRVR+40, EVDRVR+41, EVDRVR+42, EVDRVR+43, EVDRVR+44, GENTERM+16, NEW~, NEW+3, STATUSTX~
, STATUSTX+3, TERM~, TERM+6, TERM+8, TERM+13
FIENS DIALUPD+1~, DIALUPD+4*, DIALUPD+5, EVDRVR+1~, EVDRVR+22*, EVDRVR+24
FILE DIALUPD+1~, DIALUPD+2*, DIALUPD+3, DIALUPD+5
FILENUM DEF~, DEF+6, DEF+7, DEF+9, DEF+14, DIALOG~, DIALOG+27, DIALOG+47, DIALOG+69, DIALOG+73
, DIALUPD~, DIALUPD+10, DIALUPD+11, EVDRVR+1~, EVDRVR+9*, EVDRVR+10*, EVDRVR+13, EVDRVR+14, EVDRVR+15, EVDRVR+17
, EVDRVR+20, EVDRVR+24, EVDRVR+26, EVDRVR+29, EVDRVR+30, EVDRVR+33, EVDRVR+34, EVDRVR+40, EVDRVR+41, EVDRVR+42
, EVDRVR+43, EVDRVR+44, GENTERM~, GENTERM+3, GENTERM+9, GENTNAME~, GENTNAME+3, GENTNAME+5, NEW~, NEW+2
, NEW+3, STATUSTX~, STATUSTX+2, STATUSTX+3, TERM~, TERM+6, TERM+8, TERM+13
FILES EVDRVR+1~
FILESTAT DIALOG+3~, DIALOG+27*, DIALOG+28, DIALOG+54
FIND BLDDLGTM+1~, BLDDLGTM+7*, BLDDLGTM+9, BLDDLGTM+10
FINDING GENTERM+2~, GENTERM+8*, GENTERM+10*, GENTERM+17
FINDNAME DIALOG+3~, DIALOG+47*, DIALOG+48
FNAME GENTNAME+2~, GENTNAME+3*, GENTNAME+11, NEW+1~, NEW+2*, NEW+6, STATUSTX+1~, STATUSTX+2*, STATUSTX+6
FSTAT EVDRVR+1~, EVDRVR+14*, EVDRVR+37
GBL ATFND+1~, ATFND+2*, ATFND+3, BLDDLGTM+1~, BLDDLGTM+10*, BLDDLGTM+11, BLDDLGTM+18*, BLDDLGTM+19, DEF~, DIALOG~
, DIALOG+11, DIALOG+13, DIALOG+23, DIALOG+34, DIALOG+57, DIALOG+64, DIALOG+68, DIALOG+69, DIALOG+73, DIALUPD~
, DIALUPD+5, EVDRVR+1~, EVDRVR+15*, EVDRVR+40, EVDRVR+41, EVDRVR+42, EVDRVR+43, EVDRVR+44, TERM~
IEN ATFND~, ATFND+5, ATFND+6, ATFND+9, ATFND+10, ATFND+15, BLDDLGEH~, BLDDLGEH+2, BLDDLGEH+4, BLDDLGEH+5
, BLDDLGTM+1~, BLDDLGTM+3*, BLDDLGTM+4, BLDDLGTM+6, BLDDLGTM+11, BLDDLGTM+12, BLDDLGTM+13, BLDDLGTM+14, BLDDLGTM+16, BLDDLGTM+17
, BLDDLGTM+19, DEF+3~, DEF+8*, DEF+9*, DEF+10, DEF+12, DEF+14, DEF+16, GENTERM~, GENTERM+3
, GENTNAME~, GENTNAME+3, RFWT~, RFWT+4, RFWT+13, TERM+3~, TERM+7*, TERM+8*, TERM+9, TERM+11
, TERM+13, TERM+15
IND AERRMSG+1~, AERRMSG+3*, AERRMSG+4*, ERROR+1~, ERROR+4*, ERROR+5*, ERROR+6, RFWT+7~
ISLOCK DIALOG+3~, DIALOG+16*, DIALOG+18, DIALOG+37*, DIALOG+39, DIALOG+44
LOCK DIALOG+3~, DIALOG+28*, DIALOG+44
MAPACT DEF~, DEF+7, DEF+16, DIALOG~, DIALOG+5, DIALOG+32, EVDRVR+1~, EVDRVR+33*, EVDRVR+34, EVDRVR+35
, EVDRVR+37*, EVDRVR+41, EVDRVR+43, EVDRVR+44, STATUSTX~, STATUSTX+7, STATUSTX+13, TERM~, TERM+15
MESTXT DIALOGX+2~, DIALOGX+4!, DIALOGX+6
MESTXT( DIALOGX+5*
MH BLDDLGTM+1~, BLDDLGTM+13*, BLDDLGTM+14
MSG BLDDLGEH~, DIALUPD+7, RFWT+6
MSG( BLDDLGEH+2*, BLDDLGEH+4, BLDDLGEH+5*
NAME DIALOG+3~, DIALOG+15*, DIALOG+20, DIALOG+36*, DIALOG+50, DIALOG+58*, DIALOG+60, NEW+1~, NEW+3*, NEW+6
, STATUSTX+1~, STATUSTX+3*, STATUSTX+6
NEWFI ATFND+1~, ATFND+3*, ATFND+5, ATFND+10
NEWNAME DIALUPD+1~, DIALUPD+11*, DIALUPD+12
NEWVALUE DIALUPD~, DIALUPD+5, DIALUPD+11
NL AERRMSG~, AERRMSG+4*, ATFND~, ATFND+12*, ATFND+17*, ATFND+18, DEF~, DEF+4*, DEF+5*, DEF+6*
, DEF+7, DEF+11*, DEF+12*, DEF+15*, DEF+16, DIALOG~, DIALOG+1*, DIALOG+5*, DIALOG+10*, DIALOG+11*
, DIALOG+21*, DIALOG+23*, DIALOG+51*, DIALOG+61*, DIALOG+70*, DIALOG+74*, DIALOGX+8*, DIALOGX+9, DIALUPD+8*, DIALUPD+9
, ERROR~, ERROR+2*, ERROR+3*, ERROR+6*, EVDRVR+1~, EVDRVR+6*, EVDRVR+8, EVDRVR+26, EVDRVR+28, EVDRVR+34
, EVDRVR+41, EVDRVR+43, EVDRVR+44, GENTERM~, GENTERM+23*, GENTERM+24, NEW~, NEW+4*, NEW+5*, NEW+6*
, RFWT~, RFWT+8*, RFWT+9, RFWT+10*, RFWT+15*, RFWT+16, STATUSTX~, STATUSTX+4*, STATUSTX+5*, STATUSTX+6*
, STATUSTX+12*, STATUSTX+18*, STATUSTX+19*, TERM~, TERM+4*, TERM+5*, TERM+6*, TERM+10*, TERM+11*, TERM+14*
, TERM+15, UNKNOWN~, UNKNOWN+1*
NLEN GENTNAME+2~, GENTNAME+10*, GENTNAME+11
NODE BLDDLGTM+1~, BLDDLGTM+6*, BLDDLGTM+7, BLDDLGTM+8, DIALOG+3~, DIALOG+14*, DIALOG+15, DIALOG+16, DIALOG+17, DIALOG+35*
, DIALOG+36, DIALOG+37, DIALOG+38
OLDNAME DIALUPD+1~, DIALUPD+10*, DIALUPD+12
OLDVALUE DIALUPD~, DIALUPD+10
ORD BLDDLGTM+1~, BLDDLGTM+8*, BLDDLGTM+12
REP ATFND~, ATFND+2, ATFND+3, DEF~, DEF+7, GENTERM~, GENTERM+8, TERM~, TERM+15
REPA DIALOG~, DIALOG+69, DIALOG+73, EVDRVR+2~, EVDRVR+29*, EVDRVR+33, EVDRVR+34, EVDRVR+41, EVDRVR+43, EVDRVR+44
, STATUSTX~, STATUSTX+8, STATUSTX+9
REPB DIALOG~, DIALOG+11, DIALOG+13, EVDRVR+2~, EVDRVR+30*, EVDRVR+33, EVDRVR+34, EVDRVR+44, STATUSTX~, STATUSTX+14
, STATUSTX+15
RFNAME STATUSTX+1~, STATUSTX+10*, STATUSTX+12, STATUSTX+16*, STATUSTX+18
RFNUM STATUSTX+1~, STATUSTX+9*, STATUSTX+10, STATUSTX+11, STATUSTX+15*, STATUSTX+16, STATUSTX+17
RIEN STATUSTX+1~, STATUSTX+8*, STATUSTX+11, STATUSTX+14*, STATUSTX+17
RNAME STATUSTX+1~, STATUSTX+11*, STATUSTX+12, STATUSTX+17*, STATUSTX+18
ROOT GENTERM+2~, GENTERM+9*, GENTERM+10, GENTERM+16
STATUS DIALOG~, DIALOG+44, EVDRVR+2~, EVDRVR+24*, EVDRVR+25*, EVDRVR+26, EVDRVR+34, EVDRVR+44, NEW~, NEW+6
, STATUSTX~, STATUSTX+6
SUB BLDDLGTM~, BLDDLGTM+2, BLDDLGTM+11, BLDDLGTM+12, BLDDLGTM+14, BLDDLGTM+19
>> SUBJECT SEND
TEMP GENTERM+2~, GENTERM+4*, GENTERM+5, GENTERM+6, GENTNAME+2~, GENTNAME+5*, GENTNAME+6, STATUSTX+1~
TERM DEF+3~, DEF+7*, DEF+16, RFWT~, RFWT+4, RFWT+10, RFWT+12, TERM+3~, TERM+9*, TERM+11
TEXT ATFND+1~, ATFND+15, BLDDLGEH~, BLDDLGEH+2, BLDDLGEH+5, DIALOG+3~, DIALOG+19*, DIALOG+20*, DIALOG+21, DIALOG+40*
, DIALOG+50*, DIALOG+51, DIALOG+60*, DIALOG+61, DIALUPD+1~, DIALUPD+12*, DIALUPD+13, GENTERM+2~, RFWT+3~, RFWT+13
TEXT(1 ATFND+13*, RFWT+11*
TEXT(2 ATFND+14*, RFWT+12*
TIEN GENTERM+2~, GENTERM+6*, GENTERM+7, GENTERM+25
TIENS GENTERM+2~, GENTERM+7*, GENTERM+11, GENTERM+12, GENTERM+13, GENTERM+14, GENTERM+16, GENTERM+17, GENTERM+18, GENTERM+19
, GENTERM+20
TNAME GENTERM+2~, GENTERM+3*, GENTERM+11, GENTERM+25, GENTNAME+2~, GENTNAME+11*, GENTNAME+12
TSTAMP GENTNAME+2~, GENTNAME+7*, GENTNAME+10, GENTNAME+11
TYPE BLDDLGTM+1~, BLDDLGTM+4*, BLDDLGTM+5, DIALOG+3~, DIALOG+17*, DIALOG+19, DIALOG+38*, DIALOG+40, DIALOG+59*, DIALOG+60
, EVDRVR+2~, EVDRVR+16*, EVDRVR+17*, EVDRVR+18, EVDRVR+20, EVDRVR+26, EVDRVR+27, EVDRVR+28, UNKNOWN~, UNKNOWN+1
U ATFND+2, ATFND+10, BLDDLGTM+4, BLDDLGTM+7, BLDDLGTM+8, BLDDLGTM+13, DEF+10, DIALOG+15, DIALOG+16, DIALOG+17
, DIALOG+36, DIALOG+37, DIALOG+38, DIALOG+58, DIALOG+59, EVDRVR+14, EVDRVR+15, EVDRVR+25, GENTNAME+6, NEW+3
, NEW+6, STATUSTX+6, TERM+9
WPTMP GENTERM+2~
WPTMP(1 GENTERM+15*
>> ZTREQ EVDRVR+3*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All