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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PXRMORXR

Package: Clinical Reminders

Routine: PXRMORXR


Information

PXRMORXR ;SLC/AGP - Reminder Order Checks XREF;Apr 06, 2018@14:36

Source Information

Source file <PXRMORXR.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Clinical Reminders 3 $$GETOCINM^PXRMOCG  ORDERCHK^PXRMORCH  FORMAT^PXRMTEXT  
VA FileMan 1 ^DIC  

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: 2

Package Total Caller Graph
Clinical Reminders 1 PXRM ORDER CHECK TESTER  
PCE Patient Care Encounter 1 PXRM ORDER CHECK TESTER  

Entry Points

Name Comments DBIA/ICR reference
XREFCHK ;
BUILDMSG(NIN,TEXTIN,CNT,MESS) ;
CHKGROUP(CNT,OUTPUT) ;
CHKXFRF(GIEN,ITEM,NODE,RULES,CNT,OUTPUT) ;
CHKGDR(GIEN,TYPE,IEN,RIEN,CNT,OUTPUT) ;
CHKRULE(RIEN,CNT,OUTPUT) ;
ITEMKILL(DA,OLD) ;
ITEMSET(DA,NEW) ;
ITEMKWH ;
GETTYPE(TYPE) ;
GETFILE(TYPE) ;
RULEKITM(DA,OLD) ;
RULESITM(DA,NEW) ;
TESTER ;

External References

Name Field # of Occurrence
^DIC TESTER+2, TESTER+8, TESTER+13
$$GETOCINM^PXRMOCG CHKGROUP+6
ORDERCHK^PXRMORCH TESTER+21
FORMAT^PXRMTEXT BUILDMSG+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"No errors found"
  • Line Location: XREFCHK+32
Function Call: WRITE
  • Prompt: !,OUTPUT(CNT)
  • Line Location: XREFCHK+33
Function Call: WRITE
  • Prompt: !,"A Patient is required."
  • Line Location: TESTER+5
Function Call: WRITE
  • Prompt: !,"Select an Orderable Item or press ENTER to select a Drug."
  • Line Location: TESTER+7
Function Call: WRITE
  • Prompt: !,"An Orderable Item or a Drug is required."
  • Line Location: TESTER+17
Function Call: WRITE
  • Prompt: !!
  • Line Location: TESTER+18
Function Call: WRITE
  • Prompt: !,"No "_$S(TEST=0:"Production Rules",1:"Testing Rules")_" found."
  • Line Location: TESTER+22
Function Call: WRITE
  • Prompt: !,"No rules with a severity of "_$S(SEV=1:"High",SEV=2:"Medium",1:"Low")_" found."
  • Line Location: TESTER+25
Function Call: WRITE
  • Prompt: !!,NAME
  • Line Location: TESTER+29
Routine Call
  • DIC
  • Line Location:
    • TESTER+2
    • TESTER+8
    • TESTER+13

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXD(801 - [#801] XREFCHK+7, XREFCHK+8, XREFCHK+9, XREFCHK+12, XREFCHK+13, XREFCHK+20, XREFCHK+22, XREFCHK+23, XREFCHK+26, XREFCHK+27
, CHKGROUP+2, CHKGROUP+3, CHKGROUP+4, CHKGROUP+7, CHKGROUP+10, CHKGROUP+13, CHKGROUP+14, CHKGROUP+19, CHKGROUP+24, CHKXFRF+4
, CHKGDR+2, CHKGDR+5, CHKGDR+8, CHKGDR+11, CHKGDR+12, ITEMKILL+4, ITEMKILL+5, ITEMKILL+6!, ITEMSET+4, ITEMSET+5*
ITEMKWH+1!, RULEKITM+5, RULEKITM+8!, RULESITM+3, RULESITM+6*
^PXD(801.1 - [#801.1] CHKRULE+2
^TMP($J TESTER+22, TESTER+25, TESTER+28, TESTER+30, TESTER+31

Label References

Name Line Occurrences
$$GETFILE CHKGDR+3
$$GETTYPE CHKXFRF+2, ITEMKILL+2, ITEMSET+2, RULEKITM+6, RULESITM+4
BUILDMSG XREFCHK+16, CHKGROUP+9, CHKGROUP+12, CHKGROUP+15, CHKGROUP+22, CHKGROUP+27, CHKXFRF+9, CHKGDR+7, CHKGDR+10, CHKGDR+15
, CHKRULE+4
CHKGDR XREFCHK+17
CHKGROUP XREFCHK+30
CHKRULE XREFCHK+10
CHKXFRF XREFCHK+28

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ACTIVE XREFCHK+1~
CNT XREFCHK+1~, XREFCHK+3*, XREFCHK+10, XREFCHK+16, XREFCHK+17, XREFCHK+28, XREFCHK+30, XREFCHK+33*, BUILDMSG~, BUILDMSG+3*
, BUILDMSG+4*, CHKGROUP~, CHKGROUP+9, CHKGROUP+12, CHKGROUP+15, CHKGROUP+22, CHKGROUP+27, CHKXFRF~, CHKXFRF+9, CHKGDR~
, CHKGDR+7, CHKGDR+10, CHKGDR+15, CHKRULE~, CHKRULE+4, TESTER+1~, TESTER+30*, TESTER+31
DA ITEMKILL~, ITEMSET~, RULEKITM~, RULESITM~
DA(1 ITEMKILL+4, ITEMKILL+5, ITEMKILL+6, ITEMSET+4, ITEMSET+5, RULEKITM+5, RULEKITM+8, RULESITM+3, RULESITM+6
DFN TESTER+1~, TESTER+5*, TESTER+21
DIC TESTER+1~, TESTER+2*, TESTER+8*, TESTER+13*
DIC("A" TESTER+2*, TESTER+8*, TESTER+13*
DIC(0 TESTER+2*, TESTER+8*, TESTER+13*
DIEN RULEKITM+2~, RULEKITM+5*, RULEKITM+6, RULEKITM+8, RULESITM+1~, RULESITM+3*, RULESITM+4, RULESITM+6
DIROUT TESTER+1~, TESTER+3, TESTER+9, TESTER+14
DIRUT TESTER+1~, TESTER+3, TESTER+9, TESTER+14
DRUG TESTER+1~, TESTER+6*, TESTER+16*, TESTER+17, TESTER+19, TESTER+21
DTOUT TESTER+1~, TESTER+4, TESTER+10, TESTER+15
DUOUT TESTER+1~, TESTER+4, TESTER+10, TESTER+15
FOUND CHKGDR+1~, CHKGDR+11*, CHKGDR+12*, CHKGDR+13
GIEN XREFCHK+1~, XREFCHK+11*, XREFCHK+12*, XREFCHK+13, XREFCHK+15, XREFCHK+17, XREFCHK+20*, XREFCHK+22, XREFCHK+23, XREFCHK+26
XREFCHK+27, XREFCHK+28, CHKGROUP+1~, CHKGROUP+2*, CHKGROUP+3, CHKGROUP+4, CHKGROUP+7, CHKGROUP+8, CHKGROUP+10, CHKGROUP+11
, CHKGROUP+13, CHKGROUP+14, CHKGROUP+19, CHKGROUP+21, CHKGROUP+24, CHKGROUP+26, CHKXFRF~, CHKXFRF+4, CHKXFRF+7, CHKGDR~
, CHKGDR+2, CHKGDR+5, CHKGDR+8, CHKGDR+11, CHKGDR+12
GNAME XREFCHK+1~, CHKGDR+1~, CHKGDR+2*
ICNT CHKGROUP+1~, CHKGROUP+3*, CHKGROUP+5*, CHKGROUP+20, CHKGROUP+21, CHKGROUP+25, CHKGROUP+26
IEN XREFCHK+6~, XREFCHK+8*, XREFCHK+9, XREFCHK+12, XREFCHK+17, CHKXFRF+1~, CHKXFRF+3*, CHKXFRF+4, CHKXFRF+7, CHKGDR~
, CHKGDR+3, ITEMKILL+1~, ITEMKILL+4*, ITEMKILL+5
ITEM XREFCHK+27*, XREFCHK+28, CHKGROUP+1~, CHKGROUP+4*, CHKGROUP+6, CHKGROUP+8, CHKXFRF~, CHKXFRF+2, CHKXFRF+7, CHKGDR+1~
, CHKGDR+3*, CHKGDR+4, CHKGDR+5, CHKGDR+6
ITMNAME CHKGROUP+1~, CHKGROUP+6*, CHKGROUP+7, CHKGROUP+13, CHKGROUP+14
LINE BUILDMSG+1~, BUILDMSG+4*
MESS BUILDMSG~
MESS( BUILDMSG+3*, BUILDMSG+4*
NAME CHKXFRF+1~, TESTER+1~, TESTER+27*, TESTER+28*, TESTER+29, TESTER+30, TESTER+31
NEW ITEMSET~, ITEMSET+2, ITEMSET+5, RULESITM~
NEW(1 RULESITM+6
NIN BUILDMSG~, BUILDMSG+2
NODE CHKXFRF~, CHKRULE+1~
NOUT BUILDMSG+1~, BUILDMSG+2, BUILDMSG+4
OCINCNT CHKGROUP+1~, CHKGROUP+17*, CHKGROUP+18, CHKGROUP+19*, CHKGROUP+20, CHKGROUP+21
OCIOCNT CHKGROUP+1~, CHKGROUP+23*, CHKGROUP+24*, CHKGROUP+25, CHKGROUP+26
OI XREFCHK+1~, XREFCHK+3*, RULEKITM+2~, RULESITM+1~, TESTER+1~, TESTER+6*, TESTER+11*, TESTER+12, TESTER+17, TESTER+19
TESTER+21
OINAME XREFCHK+1~
OLD ITEMKILL~, ITEMKILL+2, ITEMKILL+6, RULEKITM~
OLD(1 RULEKITM+8
ONAME TESTER+1~, TESTER+27*, TESTER+29*
OUTPUT XREFCHK+1~, XREFCHK+10, XREFCHK+16, XREFCHK+17, XREFCHK+28, XREFCHK+30, XREFCHK+32, CHKGROUP~, CHKGROUP+9, CHKGROUP+12
, CHKGROUP+15, CHKGROUP+22, CHKGROUP+27, CHKXFRF~, CHKXFRF+9, CHKGDR~, CHKGDR+7, CHKGDR+10, CHKGDR+15, CHKRULE~
, CHKRULE+4
OUTPUT( XREFCHK+33
PHARMITM XREFCHK+6~
PIEN CHKXFRF+1~, CHKXFRF+2*, CHKXFRF+4
RESULT GETTYPE+1~, GETTYPE+2*, GETTYPE+3
RIEN XREFCHK+1~, XREFCHK+9*, XREFCHK+10, XREFCHK+12, XREFCHK+17, XREFCHK+23*, XREFCHK+24, CHKGDR~, CHKGDR+8, CHKGDR+9
, CHKGDR+12, CHKGDR+14, CHKRULE~, CHKRULE+2, CHKRULE+3, ITEMKILL+1~, ITEMKILL+5*, ITEMKILL+6, ITEMSET+1~, ITEMSET+4*
, ITEMSET+5
RNAME XREFCHK+1~, CHKRULE+1~
RULES XREFCHK+1~, XREFCHK+21!, XREFCHK+25, XREFCHK+28, CHKXFRF~
RULES( XREFCHK+24*, CHKXFRF+3
SEV TESTER+1~, TESTER+24*, TESTER+25, TESTER+26, TESTER+28, TESTER+30, TESTER+31
SUB TESTER+1~, TESTER+19*, TESTER+22, TESTER+25, TESTER+28, TESTER+30, TESTER+31
TEST XREFCHK+1~, TESTER+1~, TESTER+20*, TESTER+21, TESTER+22, TESTER+23
TEXTIN XREFCHK+1~, XREFCHK+14!, XREFCHK+16, BUILDMSG~, BUILDMSG+2, CHKGROUP+1~, CHKGROUP+9, CHKGROUP+12, CHKGROUP+15, CHKGROUP+22
, CHKGROUP+27, CHKXFRF+5!, CHKXFRF+9, CHKGDR+1~, CHKGDR+7, CHKGDR+10, CHKGDR+15, CHKRULE+1~, CHKRULE+4
TEXTIN(1 XREFCHK+15*, CHKGROUP+8*, CHKGROUP+11*, CHKGROUP+14*, CHKGROUP+21*, CHKGROUP+26*, CHKXFRF+6*, CHKGDR+6*, CHKGDR+9*, CHKGDR+14*
, CHKRULE+3*
TEXTIN(2 CHKXFRF+7*
TEXTIN(3 CHKXFRF+8*
TEXTOUT BUILDMSG+1~, BUILDMSG+2
TEXTOUT( BUILDMSG+4
TYPE XREFCHK+6~, XREFCHK+7*, XREFCHK+8, XREFCHK+9, XREFCHK+12, XREFCHK+17, CHKXFRF+1~, CHKXFRF+2*, CHKXFRF+4, CHKGDR~
, CHKGDR+3, ITEMKILL+1~, ITEMKILL+2*, ITEMKILL+3, ITEMKILL+6, ITEMSET+1~, ITEMSET+2*, ITEMSET+3, ITEMSET+5, GETTYPE~
, GETTYPE+2, GETFILE~, GETFILE+1, RULEKITM+2~, RULEKITM+6*, RULEKITM+7, RULEKITM+8, RULESITM+1~, RULESITM+4*, RULESITM+5
, RULESITM+6
U CHKGDR+2, ITEMKILL+5, TESTER+5, TESTER+11, TESTER+16
X XREFCHK+1~, XREFCHK+26*, XREFCHK+27, CHKGROUP+1~, CHKGROUP+3*, CHKGROUP+4, CHKGROUP+7, CHKGROUP+10, CHKGROUP+11, CHKGROUP+13
, CHKGROUP+14, CHKGROUP+17*, CHKGROUP+19*, CHKGROUP+23*, CHKGROUP+24*, CHKGDR+1~, CHKGDR+11*, CHKGDR+12, TESTER+1~
Y XREFCHK+1~, XREFCHK+22*, XREFCHK+23, TESTER+1~, TESTER+5, TESTER+11, TESTER+16
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All