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

Package: Clinical Reminders

Routine: PXRMICHK


Information

PXRMICHK ;SLC/PKR - Integrity checking routines. ;11/14/2013

Source Information

Source file <PXRMICHK.m>

Call Graph

Call Graph Total: 12

Package Total Call Graph
Clinical Reminders 8 $$GETFNUM^PXRMEXPS  EVAL^PXRMFF  $$ARGTYPE^PXRMFFAT  $$DEF^PXRMICHK  (DEF,TERM)^PXRMLDR  ($$VALID,$$VALIDR)^PXRMLOG  POSTFIX^PXRMSTAC  FORMAT^PXRMTEXT  
Kernel 2 ^%ZIS  ^%ZISC  
VA Fileman 2 (,$$FIND1)^DIC  ^DIM  

Caller Graph

Caller Graph Total: 6

Package Total Caller Graph
Clinical Reminders 4 PXRM DEF INTEGRITY CHECK ALL  PXRM DEF INTEGRITY CHECK ONE  PXRMICHK  PXRMREDT  
PCE Patient Care Encounter 2 PXRM DEF INTEGRITY CHECK ALL  PXRM DEF INTEGRITY CHECK ONE  

Entry Points

Name Comments DBIA/ICR reference
CHECKALL ;Check all definitions.
CCRLOGIC(COHOK,RESOK,DEFARR) ;Check cohort and resolution logic.
DATECHK(FINDING,DATE,TYPE,DEFARR) ;Check Beginning and Ending Date/Times if
DEF(IEN) ;Definition integrity check.
LOGCHECK(NFI,FLIST,LOGSTR,TYPE,DEFARR) ;Verify logic strings. Make sure the
GETDEF ;Get the definition to check.
CFCHK(USAGE,IND,FIEN,DEF,DEFARR,TYPE) ;Check computed findings.
OUTPUT(NIN,TEXT) ;Format and output TEXT.
CHECKONE ;Check selected definitions.
TERMCHK(USAGE,TIEN,DEF,DEFARR) ;Check terms.
LCOHORTC(DEFARR) ;Check list type reminder cohort logic for special

External References

Name Field # of Occurrence
^%ZIS CHECKALL+3
^%ZISC CHECKALL+12
^DIC GETDEF+2
$$FIND1^DIC DEF+29, TERMCHK+20
^DIM LOGCHECK+21
$$GETFNUM^PXRMEXPS DEF+28, TERMCHK+19
EVAL^PXRMFF CCRLOGIC+14
$$ARGTYPE^PXRMFFAT DEF+59
$$DEF^PXRMICHK CHECKALL+11, GETDEF+7
DEF^PXRMLDR DEF+14
TERM^PXRMLDR TERMCHK+5
$$VALID^PXRMLOG DEF+92
$$VALIDR^PXRMLOG DEF+111
POSTFIX^PXRMSTAC LCOHORTC+30
FORMAT^PXRMTEXT OUTPUT+3

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: #!,"Check the integrity of all reminder definitions."
  • Line Location: CHECKALL+2
Function Call: WRITE
  • Prompt: !
  • Line Location: GETDEF+1
Function Call: WRITE
  • Prompt: #
  • Line Location: GETDEF+6
Function Call: WRITE
  • Prompt: !,TEXTOUT(IND)
  • Line Location: OUTPUT+6
Function Call: WRITE
  • Prompt: !,"Press ENTER to continue or '^' to exit: "
  • Line Location: OUTPUT+8
Function Call: WRITE
  • Prompt: #
  • Line Location: OUTPUT+11
Routine Call
  • DIC
  • Line Location:
    • DEF+29
    • TERMCHK+20
Routine Call
  • DIC
  • Line Location:
    • GETDEF+2
Routine Call
  • %ZIS
  • Line Location:
    • CHECKALL+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PXD(811.9 - [#811.9] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PXD(811.9 - [#811.9] CHECKALL+6, CHECKALL+7, DEF+7
^PXRMD(802.4 - [#802.4] DEF+56
^PXRMD(811.4 - [#811.4] CFCHK+4, CFCHK+5, CFCHK+15, CFCHK+18
^PXRMD(811.5 - [#811.5] TERMCHK+2

Label References

Name Line Occurrences
$$CFCHK DEF+39, TERMCHK+27
$$DATECHK DEF+35, DEF+37
$$LCOHORTC DEF+105
$$LOGCHECK DEF+95, DEF+114
$$TERMCHK DEF+41
CCRLOGIC DEF+124
GETDEF GETDEF+8
OUTPUT CCRLOGIC+31, CCRLOGIC+46, CFCHK+12, CFCHK+24, CFCHK+32, CHECKALL+10, DATECHK+10, DATECHK+21, DEF+12, DEF+26
, DEF+32, DEF+51, DEF+65, DEF+76, DEF+86, DEF+100, DEF+119, DEF+138, DEF+143, DEF+147
, LCOHORTC+38, LOGCHECK+6, LOGCHECK+12, LOGCHECK+18, LOGCHECK+24, TERMCHK+17, TERMCHK+24, TERMCHK+32

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AGE CCRLOGIC+1~, CCRLOGIC+23*
ANS OUTPUT+2~, OUTPUT+9*, OUTPUT+10
ARGS DATECHK+2~, DATECHK+4*, DATECHK+5, DATECHK+6, DATECHK+13
ARGTYPE DEF+1~, DEF+59*, DEF+60, DEF+67
BDT DEF+1~, DEF+34*, DEF+35
CFNAME CFCHK+1~, CFCHK+5*, CFCHK+8, CFCHK+9, CFCHK+18*, CFCHK+20, CFCHK+21, CFCHK+27, CFCHK+29, CFCHK+30
CFPAR CFCHK+1~, CFCHK+6*, CFCHK+7, CFCHK+27, CFCHK+31
CFPR CFCHK+1~, CFCHK+4*, CFCHK+7
CFTYPE CFCHK+1~, CFCHK+15*, CFCHK+16*, CFCHK+17, CFCHK+22
COHOK CCRLOGIC~, CCRLOGIC+15, DEF+1~, DEF+96*, DEF+97, DEF+105*, DEF+106, DEF+124
DATE DATECHK~, DATECHK+4
DEF CFCHK~, CFCHK+27, DEF+1~, DEF+15*, DEF+39, DEF+41, TERMCHK~, TERMCHK+27
DEFARR CCRLOGIC~, CCRLOGIC+14, CFCHK~, DATECHK~, DEF+1~, DEF+14, DEF+35, DEF+37, DEF+39, DEF+41
, DEF+95, DEF+105, DEF+114, DEF+124, LCOHORTC~, LOGCHECK~, TERMCHK~
DEFARR(0 DEF+15, LCOHORTC+24
DEFARR(20 CCRLOGIC+9, CCRLOGIC+11, CFCHK+6, DATECHK+7, DATECHK+15, DEF+18, DEF+19, DEF+62, DEF+69, DEF+83
, DEF+132, LOGCHECK+10
DEFARR(25 DEF+45, DEF+48, DEF+54, DEF+55, DEF+58, DEF+61, DEF+68, DEF+134, LOGCHECK+15
DEFARR(31 CCRLOGIC+19, DEF+90, LCOHORTC+4
DEFARR(32 CCRLOGIC+16, DEF+93, DEF+94
DEFARR(35 CCRLOGIC+36, DEF+109, DEF+127
DEFARR(36 CCRLOGIC+33, DEF+112, DEF+113
DEFARR(47 DEF+81, DEF+82
DEFARR(7 DEF+129, LCOHORTC+16, LCOHORTC+17, LCOHORTC+18
DFI DATECHK+2~, DATECHK+6*, DATECHK+7, DATECHK+9, DATECHK+15, DATECHK+19, DATECHK+20
DIC CHECKONE+1~, CHECKONE+2*
DIC("A" CHECKONE+4*
DIC(0 CHECKONE+3*
DTIME OUTPUT+9
DTOUT CHECKONE+1~, GETDEF+3
DTYPE DATECHK+2~, DATECHK+8*, DATECHK+9, DATECHK+18*, DATECHK+19
DUOUT CHECKONE+1~, GETDEF+3
EDT DEF+1~, DEF+36*, DEF+37
EXIT OUTPUT+2~, OUTPUT+4*, OUTPUT+10*, OUTPUT+11, OUTPUT+12, OUTPUT+13
FF CCRLOGIC+1~
FF( CCRLOGIC+25*, CCRLOGIC+40*
FFNUM DEF+2~, DEF+44*, DEF+45*, DEF+46, DEF+48, DEF+54, DEF+55, DEF+58, DEF+61, DEF+68
, LOGCHECK+2~, LOGCHECK+16*, LOGCHECK+17
FI DEF+2~, DEF+20*, DEF+21, DEF+22, DEF+61*, DEF+62, DEF+64, DEF+69, DEF+74, DEF+75
, DEF+82*, DEF+83, DEF+85, LOGCHECK+2~, LOGCHECK+8*, LOGCHECK+9, LOGCHECK+10, LOGCHECK+11, LOGCHECK+14, LOGCHECK+15
, LOGCHECK+16, TERMCHK+1~, TERMCHK+10*, TERMCHK+11, TERMCHK+12
FI( CCRLOGIC+26*, CCRLOGIC+41*
FIEN CFCHK~, CFCHK+4, CFCHK+5, CFCHK+15, CFCHK+18, DEF+2~, DEF+21*, DEF+23, DEF+29, DEF+31
, DEF+39, DEF+41, TERMCHK+1~, TERMCHK+11*, TERMCHK+13, TERMCHK+20, TERMCHK+22, TERMCHK+27
FIEVAL CCRLOGIC+1~, CCRLOGIC+14
FIEVAL( CCRLOGIC+10*, CCRLOGIC+12*, CCRLOGIC+25, CCRLOGIC+26, CCRLOGIC+40, CCRLOGIC+41
FIEVAL("AGE" CCRLOGIC+7*, CCRLOGIC+23
FIEVAL("SEX" CCRLOGIC+7*, CCRLOGIC+24
FINDING CCRLOGIC+1~, CCRLOGIC+22*, CCRLOGIC+23, CCRLOGIC+24, CCRLOGIC+25, CCRLOGIC+26, CCRLOGIC+39*, CCRLOGIC+40, CCRLOGIC+41, DATECHK~
, DATECHK+9, DATECHK+19
FLIST CCRLOGIC+1~, CCRLOGIC+20*, CCRLOGIC+22, CCRLOGIC+37*, CCRLOGIC+39, DEF+2~, DEF+94*, DEF+95, DEF+113*, DEF+114
, LOGCHECK~, LOGCHECK+8
FNUM DEF+2~, DEF+28*, DEF+29, DEF+31, TERMCHK+1~, TERMCHK+19*, TERMCHK+20, TERMCHK+22
FUNCTION DEF+2~, DEF+55*, DEF+56*, DEF+59
GBL DEF+2~, DEF+22*, DEF+23, DEF+28, DEF+39, DEF+41, TERMCHK+1~, TERMCHK+12*, TERMCHK+13, TERMCHK+19
, TERMCHK+27
IEN CHECKALL+1~, CHECKALL+7*, CHECKALL+9, CHECKALL+11, CHECKONE+1~, GETDEF+5*, GETDEF+7, DEF~, DEF+7, DEF+14
, DEF+92, DEF+111
IND CCRLOGIC+1~, CCRLOGIC+8*, CCRLOGIC+9*, CCRLOGIC+10, CCRLOGIC+11, CCRLOGIC+12, CCRLOGIC+21*, CCRLOGIC+22, CCRLOGIC+38*, CCRLOGIC+39
, CFCHK~, CFCHK+6, CFCHK+8, CFCHK+9, CFCHK+20, CFCHK+21, CFCHK+29, CFCHK+30, DEF+2~, DEF+17*
, DEF+18*, DEF+19, DEF+25, DEF+31, DEF+35, DEF+37, DEF+39, DEF+46*, DEF+50, DEF+64
, DEF+73, DEF+80*, DEF+81*, DEF+82, DEF+128*, DEF+129*, DEF+131*, DEF+132*, DEF+133*, DEF+134*
, LCOHORTC+2~, LCOHORTC+16*, LCOHORTC+17, LCOHORTC+18, LOGCHECK+2~, LOGCHECK+7*, LOGCHECK+8, OUTPUT+2~, OUTPUT+5*, OUTPUT+6
IO CHECKALL+4
IOSL OUTPUT+7
IOST OUTPUT+7
JND CCRLOGIC+1~, CCRLOGIC+12*, DEF+2~, DEF+53*, DEF+54*, DEF+55, DEF+58, DEF+61, DEF+68, TERMCHK+1~
, TERMCHK+7*, TERMCHK+8*, TERMCHK+9, TERMCHK+15, TERMCHK+22, TERMCHK+27
KND DEF+2~, DEF+57*, DEF+58*, DEF+59, DEF+61, DEF+68
LOGCHK DEF+3~, DEF+95*, DEF+96, DEF+114*, DEF+115
LOGINTR DEF+3~, DEF+92*, DEF+96, DEF+111*, DEF+115
LOGSTR DEF+3~, DEF+90*, DEF+92, DEF+95, DEF+99, DEF+109*, DEF+111, DEF+114, DEF+118, LOGCHECK~
, LOGCHECK+20
MAXAGE LCOHORTC+2~, LCOHORTC+18*, LCOHORTC+19
MINAGE LCOHORTC+2~, LCOHORTC+17*, LCOHORTC+19
NAME CHECKALL+1~, CHECKALL+5*, CHECKALL+6*, CHECKALL+7, CHECKALL+9
NBFREQ DEF+3~, DEF+128*, DEF+129*, DEF+130, DEF+135, DEF+140
NFFREQ DEF+3~, DEF+128*, DEF+132*, DEF+134*, DEF+135, DEF+140
NFI DEF+3~, DEF+93*, DEF+95, DEF+112*, DEF+114, LOGCHECK~, LOGCHECK+4, LOGCHECK+7
NIN OUTPUT~, OUTPUT+3
NL LCOHORTC+2~, LCOHORTC+3*, LCOHORTC+7*, LCOHORTC+8, LCOHORTC+11*, LCOHORTC+12, LCOHORTC+20*, LCOHORTC+21, LCOHORTC+25*, LCOHORTC+26
, LCOHORTC+33*, LCOHORTC+34, LCOHORTC+38
NOUT OUTPUT+2~, OUTPUT+3, OUTPUT+5
NUM CCRLOGIC+1~, CCRLOGIC+17*, CCRLOGIC+18, CCRLOGIC+21, CCRLOGIC+34*, CCRLOGIC+35, CCRLOGIC+38
OCC DATECHK+2~, DATECHK+15*, DATECHK+16*, DATECHK+17, DATECHK+20, DEF+3~, DEF+69*, DEF+70*, DEF+71, DEF+75
OCCN CCRLOGIC+1~, CCRLOGIC+11*, CCRLOGIC+12
OCN DATECHK+2~, DATECHK+13*, DATECHK+14, DATECHK+17, DATECHK+19, DEF+3~, DEF+68*, DEF+71, DEF+73
OK CFCHK+1~, CFCHK+2*, CFCHK+13*, CFCHK+25*, CFCHK+33*, CFCHK+34, CHECKALL+1~, CHECKALL+11*, CHECKONE+1~, GETDEF+7*
, DATECHK+2~, DATECHK+3*, DATECHK+5, DATECHK+11*, DATECHK+12, DATECHK+22*, DATECHK+23, DEF+3~, DEF+5*, DEF+27*
, DEF+33*, DEF+35*, DEF+37*, DEF+39*, DEF+41*, DEF+52*, DEF+66*, DEF+67, DEF+77*, DEF+87*
, DEF+101*, DEF+106*, DEF+120*, DEF+139*, DEF+145, DEF+148, LCOHORTC+2~, LCOHORTC+3*, LCOHORTC+9*, LCOHORTC+13*
, LCOHORTC+22*, LCOHORTC+27*, LCOHORTC+35*, LCOHORTC+36, LCOHORTC+39, LOGCHECK+2~, LOGCHECK+3*, LOGCHECK+4, LOGCHECK+13*, LOGCHECK+19*
, LOGCHECK+25*, LOGCHECK+26, TERMCHK+1~, TERMCHK+4*, TERMCHK+18*, TERMCHK+25*, TERMCHK+33*, TERMCHK+34
PCLOG CCRLOGIC+1~, CCRLOGIC+19*, CCRLOGIC+27, LCOHORTC+2~, LCOHORTC+4*, LCOHORTC+6, LCOHORTC+10, LCOHORTC+14, LCOHORTC+23, LCOHORTC+28
, LCOHORTC+30
PFSTACK LCOHORTC+29~, LCOHORTC+30
PFSTACK(1 LCOHORTC+31
PFSTACK(2 LCOHORTC+32
PFSTACK(3 LCOHORTC+32
POP CHECKALL+1~, CHECKALL+3
PXRMAGE CCRLOGIC+3~, CCRLOGIC+4*
PXRMDOB CCRLOGIC+3~, CCRLOGIC+4*
PXRMDOD CCRLOGIC+3~, CCRLOGIC+4*
PXRMDONE CHECKALL+1~, CHECKALL+5*, CHECKALL+6, OUTPUT+1, OUTPUT+13*
PXRMLAD CCRLOGIC+3~, CCRLOGIC+4*
PXRMSEX CCRLOGIC+3~, CCRLOGIC+5*
RESLOG CCRLOGIC+2~, CCRLOGIC+36*, CCRLOGIC+42
RESLSTR CCRLOGIC+2~, CCRLOGIC+36*
RESOK CCRLOGIC~, CCRLOGIC+32, DEF+3~, DEF+115*, DEF+116, DEF+124
SEX CCRLOGIC+2~, CCRLOGIC+24*
TEMP CCRLOGIC+2~, CCRLOGIC+16*, CCRLOGIC+17, CCRLOGIC+20, CCRLOGIC+25*, CCRLOGIC+33*, CCRLOGIC+34, CCRLOGIC+37, CCRLOGIC+40*
TERMARR TERMCHK+1~, TERMCHK+5, TERMCHK+27
TERMARR(20 TERMCHK+8, TERMCHK+9
TEST CCRLOGIC+2~, CCRLOGIC+28*, CCRLOGIC+29, CCRLOGIC+43*, CCRLOGIC+44
TEXT CCRLOGIC+2~, CCRLOGIC+31, CCRLOGIC+46, CFCHK+1~, CFCHK+12, CFCHK+19!, CFCHK+24, CFCHK+28!, CFCHK+32, CHECKALL+1~
, CHECKALL+10, DATECHK+2~, DATECHK+10, DATECHK+21, DEF+4~, DEF+10!, DEF+12, DEF+24!, DEF+26, DEF+30!
, DEF+32, DEF+49!, DEF+51, DEF+63!, DEF+65, DEF+72!, DEF+76, DEF+84!, DEF+86, DEF+100
, DEF+119, DEF+138, DEF+143, DEF+144!, DEF+147, LCOHORTC+2~, LCOHORTC+38, LOGCHECK+2~, LOGCHECK+6, LOGCHECK+12
, LOGCHECK+18, LOGCHECK+24, OUTPUT~, OUTPUT+3, TERMCHK+14!, TERMCHK+17, TERMCHK+21!, TERMCHK+24, TERMCHK+30!, TERMCHK+32
TEXT( LCOHORTC+8*, LCOHORTC+12*, LCOHORTC+21*, LCOHORTC+26*, LCOHORTC+34*
TEXT(1 CCRLOGIC+30*, CCRLOGIC+45*, CFCHK+8*, CFCHK+9*, CFCHK+20*, CFCHK+21*, CFCHK+29*, CFCHK+30*, CHECKALL+8*, DATECHK+9*
, DATECHK+19*, DEF+11*, DEF+25*, DEF+31*, DEF+50*, DEF+64*, DEF+73*, DEF+85*, DEF+98*, DEF+117*
, DEF+136*, DEF+141*, DEF+145*, DEF+146*, LCOHORTC+37*, LOGCHECK+5*, LOGCHECK+11*, LOGCHECK+17*, LOGCHECK+23*, TERMCHK+15*
, TERMCHK+22*, TERMCHK+31*
TEXT(2 CFCHK+10*, CFCHK+22*, CFCHK+31*, CHECKALL+9*, DATECHK+20*, DEF+74*, DEF+99*, DEF+118*, DEF+137*, DEF+142*
, TERMCHK+16*, TERMCHK+23*
TEXT(3 CFCHK+11*, CFCHK+23*, DEF+75*
TEXTOUT OUTPUT+2~, OUTPUT+3
TEXTOUT( OUTPUT+6
TIEN TERMCHK~, TERMCHK+2, TERMCHK+5
TNAME TERMCHK+1~, TERMCHK+2*, TERMCHK+3
TTEXT TERMCHK+1~, TERMCHK+3*, TERMCHK+16, TERMCHK+23, TERMCHK+31
TYPE CFCHK~, CFCHK+8, CFCHK+9, CFCHK+20, CFCHK+21, CFCHK+29, CFCHK+30, DATECHK~, DATECHK+8, DATECHK+18
, LOGCHECK~, LOGCHECK+5, LOGCHECK+11, LOGCHECK+17, LOGCHECK+23
U CCRLOGIC+11, CCRLOGIC+17, CCRLOGIC+20, CCRLOGIC+34, CCRLOGIC+37, CFCHK+4, CFCHK+5, CFCHK+6, CFCHK+15, CFCHK+18
, GETDEF+5, DATECHK+15, DEF+8, DEF+9, DEF+15, DEF+20, DEF+34, DEF+36, DEF+55, DEF+56
, DEF+69, DEF+82, DEF+93, DEF+94, DEF+112, DEF+113, DEF+132, DEF+134, LCOHORTC+17, LCOHORTC+18
, LCOHORTC+24, TERMCHK+2, TERMCHK+10
USAGE CFCHK~, CFCHK+17, DEF+4~, DEF+8*, DEF+9, DEF+39, DEF+41, DEF+105, TERMCHK~, TERMCHK+27
X LOGCHECK+2~, LOGCHECK+20*, LOGCHECK+22
Y CHECKONE+1~, GETDEF+4, GETDEF+5
ZNODE DEF+4~, DEF+7*, DEF+8, DEF+9, DEF+19*, DEF+20, DEF+34, DEF+36, TERMCHK+1~, TERMCHK+9*
, TERMCHK+10
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All