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

Package: Clinical Reminders

Routine: PXRMCCHT


Information

PXRMCCHT ;BP/WAT; Report patients with Previous Enroll health factor ;06/03/16 08:14

Source Information

Source file <PXRMCCHT.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Kernel 4 $$S^%ZTLOAD  ($$FMTE,$$HTE)^XLFDT  ($$CJ,$$REPEAT)^XLFSTR  EN^XUTMDEVQ  
Registration 1 (DEM,KVA)^VADPT  
VA FileMan 1 ^DIR  

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

Package Total Caller Graph
Clinical Reminders 1 PXRM HT HEALTH FACTOR  

Entry Points

Name Comments DBIA/ICR reference
EN
PRINT ; output
HEADER(PG) ;header
FINDPAT ;find patients with HT ENROLLMENT-START DATE (PREV ENROLL) health factor
; find health factor

External References

Name Field # of Occurrence
$$S^%ZTLOAD FINDPAT+11
^DIR EN+12, PRINT+12, PRINT+20, PRINT+30
DEM^VADPT FINDPAT+12
KVA^VADPT FINDPAT+34
$$FMTE^XLFDT HEADER+4, FINDPAT+23
$$HTE^XLFDT PRINT+3
$$CJ^XLFSTR PRINT+38
$$REPEAT^XLFSTR HEADER+2, HEADER+6, HEADER+7, HEADER+9, FINDPAT+15, FINDPAT+24, FINDPAT+33
EN^XUTMDEVQ EN+17

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EN+11
Function Call: WRITE
  • Prompt: !," No data"
  • Line Location: PRINT+9
Function Call: WRITE
  • Prompt: !!,^TMP("PXRMPATS",$J,HFNAME,PATNAME,0)
  • Line Location: PRINT+25
Function Call: WRITE
  • Prompt: !,^TMP("PXRMPATS",$J,HFNAME,PATNAME,HFCOUNT)
  • Line Location: PRINT+35
Function Call: WRITE
  • Prompt: !!,PXRMTOT
  • Line Location: PRINT+37
Function Call: WRITE
  • Prompt: !,$$CJ^XLFSTR("END OF REPORT",$S(+$G(IOM)>0:(IOM-1),1:79)," "),!
  • Line Location: PRINT+38
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",IOM-2),!
  • Line Location: HEADER+2
Function Call: WRITE
  • Prompt: "Patients with (CC)HT ENROLLMENT-START DATE (PREV ENROLL) Health Factor"
  • Line Location: HEADER+3
Function Call: WRITE
  • Prompt: !,"DATE RANGE - FROM: "_$$FMTE^XLFDT($G(BDT))_" TO: "_$$FMTE^XLFDT(DT)
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: !,$G(RUNDATE)
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("-",IOM-2)
  • Line Location: HEADER+6
Function Call: WRITE
  • Prompt: !," NAME AND LAST 4 SSN"_$$REPEAT^XLFSTR(" ",28)_"ENCOUNTER DATE"
  • Line Location: HEADER+7
Function Call: WRITE
  • Prompt: !," PAGE: "_$G(PG)
  • Line Location: HEADER+8
Function Call: WRITE
  • Prompt: !,$$REPEAT^XLFSTR("=",IOM-2),!
  • Line Location: HEADER+9
Routine Call
  • DIR
  • Line Location:
    • EN+12
    • PRINT+12
    • PRINT+20
    • PRINT+30

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUTTHF("B" FINDPAT+7
^PXRMINDX(9000010.23 FINDPAT+10, FINDPAT+18
^TMP("PXRMPATS" EN+2!, PRINT+9, PRINT+17, PRINT+25, PRINT+27, PRINT+35, FINDPAT+9*, FINDPAT+16*, FINDPAT+27*, FINDPAT+30*
FINDPAT+32!

Label References

Name Line Occurrences
FINDPAT PRINT+1
HEADER PRINT+5, PRINT+15, PRINT+23, PRINT+33

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BDT EN+1~, EN+14*, HEADER+4, FINDPAT+20
DFN FINDPAT+5~, FINDPAT+12*
DIR EN+1~, PRINT+12~, PRINT+20~, PRINT+30~
DIR("A" EN+4*, EN+5*, EN+6*, EN+7*, EN+8*, EN+9*
DIR("B" EN+10*
DIR(0 EN+3*, PRINT+12*, PRINT+20*, PRINT+30*
DIROUT EN+1~
DIRUT EN+1~, EN+13
DONE PRINT+2~, PRINT+6, PRINT+13*, PRINT+14, PRINT+16, PRINT+17, PRINT+21*, PRINT+22, PRINT+24, PRINT+27
PRINT+31*, PRINT+32, PRINT+34, PRINT+36
DT HEADER+4
DTOUT EN+1~
DUOUT EN+1~
EXVISDT FINDPAT+5~*, FINDPAT+22*, FINDPAT+23*, FINDPAT+24*, FINDPAT+25*, FINDPAT+27, FINDPAT+29*, FINDPAT+30
FOUND FINDPAT+4~, FINDPAT+19*, FINDPAT+27*, FINDPAT+30*, FINDPAT+31
HFCOUNT PRINT+2~, PRINT+26*, PRINT+27*, PRINT+35, FINDPAT+4~, FINDPAT+17*, FINDPAT+26, FINDPAT+27*, FINDPAT+28, FINDPAT+30*
HFIEN FINDPAT+5~*, FINDPAT+7*, FINDPAT+8, FINDPAT+10, FINDPAT+18
HFNAME PRINT+2~, PRINT+3*, PRINT+6*, PRINT+7, PRINT+8, PRINT+9, PRINT+17, PRINT+25, PRINT+27, PRINT+35
FINDPAT+5~, FINDPAT+6*, FINDPAT+7, FINDPAT+9, FINDPAT+16, FINDPAT+27, FINDPAT+30, FINDPAT+32
IOF EN+11, PRINT+4, HEADER+1
IOM PRINT+38, HEADER+2, HEADER+6, HEADER+9
IOSL PRINT+10, PRINT+18, PRINT+28
IOST PRINT+4, PRINT+11, PRINT+19, PRINT+29
NAMEL4 FINDPAT+4~, FINDPAT+14*, FINDPAT+15*, FINDPAT+16
PATNAME PRINT+2~, PRINT+3*, PRINT+17*, PRINT+25, PRINT+27, PRINT+35
PG HEADER~, HEADER+8
POP EN+1~
PTDFN FINDPAT+5~*, FINDPAT+10*, FINDPAT+12, FINDPAT+18
PTNAME FINDPAT+5~, FINDPAT+12*, FINDPAT+14
PTSSN FINDPAT+5~, FINDPAT+12*, FINDPAT+13*, FINDPAT+14
PXRMPAGE PRINT+2~, PRINT+3*, PRINT+5*, PRINT+15*, PRINT+23*, PRINT+33*
PXRMSAVE EN+1~, EN+17
PXRMSAVE("*" EN+16*
PXRMTASK EN+15~*, EN+17, EN+18
PXRMTOT EN+1~, PRINT+37, FINDPAT+33*
RUNDATE PRINT+2~, PRINT+3*, HEADER+5
TOTPAT FINDPAT+4~*, FINDPAT+11, FINDPAT+27*, FINDPAT+33
U FINDPAT+12
>> VADM(1 FINDPAT+12, FINDPAT+16, FINDPAT+27, FINDPAT+30, FINDPAT+32
>> VADM(2 FINDPAT+12
VHFIEN FINDPAT+5~
VISDATE FINDPAT+5~*, FINDPAT+18*, FINDPAT+20, FINDPAT+22, FINDPAT+23
X EN+1~, FINDPAT+11~*
Y EN+1~, EN+14, PRINT+13, PRINT+21, PRINT+31
>> ZTSTOP FINDPAT+4*, FINDPAT+10, FINDPAT+11*
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All