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

Package: Clinical Reminders

Routine: PXRMGECR


Information

PXRMGECR ;SLC/JVS GEC-Reports ;7/14/05 10:44

Source Information

Source file <PXRMGECR.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Clinical Reminders 2 E^PXRMGECV  COM^PXRMGECZ  
Kernel 2 ^%ZISC  ($$FMDIFF,$$FMTE)^XLFDT  
VA FileMan 2 $$GET1^DIQ  ^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: 5

Package Total Caller Graph
Clinical Reminders 5 PXRMGECM  PXRMGECN  PXRMGECO  PXRMGECP  PXRMGECZ  

Entry Points

Name Comments DBIA/ICR reference
LOC ;Referrals by Location
DR ;Referrals by Date Range
HS1 ;By Patient
HFCD ;Health Factor Category Detailed
LOCCNT ;Count Locations of Referrals
HFNAME(DA,NAME) ;Decide to split name into columns
PB ;PAGE BREAK

External References

Name Field # of Occurrence
^%ZISC HFCD+34
$$GET1^DIQ HS1+23
^DIR PB+5
E^PXRMGECV LOC+2, DR+2, HS1+2, HFCD+5
COM^PXRMGECZ HS1+42, HFCD+31
$$FMDIFF^XLFDT DR+24, DR+25
$$FMTE^XLFDT LOC+8, LOC+22, LOC+24, DR+8, DR+26, DR+27, DR+30, HS1+8, HS1+39, HS1+43
HFCD+9, HFCD+28, HFCD+32

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: LOC+5
Function Call: WRITE
  • Prompt: "=============================================================================="
  • Line Location: LOC+6
Function Call: WRITE
  • Prompt: !,"Complete GEC Referrals by Location"
  • Line Location: LOC+7
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: LOC+8
Function Call: WRITE
  • Prompt: !,"Location"
  • Line Location: LOC+9
Function Call: WRITE
  • Prompt: !,?5,"Patient",?50,"Finish Date"
  • Line Location: LOC+10
Function Call: WRITE
  • Prompt: !,"Location^Location Count^Patient^SSN^Finish Date"
  • Line Location: LOC+11
Function Call: WRITE
  • Prompt: !,"=============================================================================="
  • Line Location: LOC+12
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+13
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+16
Function Call: WRITE
  • Prompt: !,IOUON,LOCN,IOUOFF,?30,"Total # Patients Evaluated= ",$G(^TMP("PXRMGEC",$J,"REFLOCC",LOCN))
  • Line Location: LOC+17
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+18
Function Call: WRITE
  • Prompt: !,?5,DFNXX,?50,"Incomplete"
  • Line Location: LOC+21
Function Call: WRITE
  • Prompt: !,?5,$P(DFNXX," ",1,$L(DFNXX," ")-1)," ("_$P(DFNXX," ",$L(DFNXX," "))_")",?50,$P($$FMTE^XLFDT(VDT,"5ZM"),"@",1)
  • Line Location: LOC+22
Function Call: WRITE
  • Prompt: !,LOCN,"^",$G(^TMP("PXRMGEC",$J,"REFLOCC",LOCN)),"^",$P(DFNXX," ",1,$L(DFNXX," ")-1),"^",$P(DFNXX," ",$L(DFNXX," ")),"^",$P($$FMTE^XLFDT(VDT,"5ZM"),"@",1)
  • Line Location: LOC+24
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DR+5
Function Call: WRITE
  • Prompt: "=============================================================================="
  • Line Location: DR+6
Function Call: WRITE
  • Prompt: !,"Complete and/or Incomplete GEC Referrals by Date Range"
  • Line Location: DR+7
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: DR+8
Function Call: WRITE
  • Prompt: !,$S(INC=0:"Incomplete",INC=1:"Complete",INC=2:"Complete and Incomplete",1:"")_" Referrals"
  • Line Location: DR+9
Function Call: WRITE
  • Prompt: !,"Patient"
  • Line Location: DR+10
Function Call: WRITE
  • Prompt: !,?5,"Start Date",?20,"Finished",?35,"Elapsed Time"
  • Line Location: DR+11
Function Call: WRITE
  • Prompt: !,?5,"Start Date",?20,"Finished",?35,"Elapsed Time",?50,"Incomplete Status"
  • Line Location: DR+12
Function Call: WRITE
  • Prompt: !,"Patient^SS#^Count^Start Date^Finished Date^Elapsed Time"
  • Line Location: DR+13
Function Call: WRITE
  • Prompt: !,"=============================================================================="
  • Line Location: DR+14
Function Call: WRITE
  • Prompt: !
  • Line Location: DR+15
Function Call: WRITE
  • Prompt: !
  • Line Location: DR+17
Function Call: WRITE
  • Prompt: !,IOUON,$P(DFN," ",1,$L(DFN," ")-1)," ("_$P(DFN," ",$L(DFN," "))_")"," ",IOUOFF
  • Line Location: DR+18
Function Call: WRITE
  • Prompt: ?44,$G(^TMP("PXRMGEC",$J,"REFDFNN",$P(DFN," ",1,($L(DFN," ")-1))))," Referral(s)"
  • Line Location: DR+19
Function Call: WRITE
  • Prompt: !
  • Line Location: DR+20
Function Call: WRITE
  • Prompt: !,?5,$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1),?20,"",?35,$S(DIFF="":DIF_" Days",DIFF>0:DIFF_" Days",1:""),?50,$S(DIFF="":"Incomplete",1:"")
  • Line Location: DR+26
Function Call: WRITE
  • Prompt: !,?5,$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1),?20,$P($$FMTE^XLFDT(VDT,"5ZM"),"@",1),?35,$S(DIFF="":DIF_" Days",DIFF>0:DIFF_" Days",1:""),?50,$S(DIFF="":"Incomplete",1:"")
  • Line Location: DR+27
Function Call: WRITE
  • Prompt: !,$P(DFN," ",1,$L(DFN," ")-1),"^",$P(DFN," ",$L(DFN," ")),"^"
  • Line Location: DR+29
Function Call: WRITE
  • Prompt: $G(^TMP("PXRMGEC",$J,"REFDFNN",$P(DFN," ",1,$L(DFN," ")-1))),"^",$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1),"^",$P($$FMTE^XLFDT(VDT,"5ZM"),"@",1),"^",$S(DIFF="":DIF,DIFF>0:DIFF,1:"")
  • Line Location: DR+30
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HS1+5
Function Call: WRITE
  • Prompt: "=============================================================================="
  • Line Location: HS1+6
Function Call: WRITE
  • Prompt: !,"GEC Patient"
  • Line Location: HS1+7
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: HS1+8
Function Call: WRITE
  • Prompt: !,"Patient"
  • Line Location: HS1+9
Function Call: WRITE
  • Prompt: !," Category"
  • Line Location: HS1+10
Function Call: WRITE
  • Prompt: !," Health Factor",?44,"Value",?55,"Date of Evaluation"
  • Line Location: HS1+11
Function Call: WRITE
  • Prompt: !,"Patient^Category^Health Factor^Value^Date of Evaluation"
  • Line Location: HS1+12
Function Call: WRITE
  • Prompt: !,"=============================================================================="
  • Line Location: HS1+13
Function Call: WRITE
  • Prompt: !
  • Line Location: HS1+18
Function Call: WRITE
  • Prompt: !,CNT,") ",STATUS,", DIVISION:",DIV
  • Line Location: HS1+25
Function Call: WRITE
  • Prompt: !,CNT,") ",STATUS
  • Line Location: HS1+26
Function Call: WRITE
  • Prompt: !,CNT,") ",IOUON,$P(DFN," ",1,$L(DFN," ")-1)," (",$P(DFN," ",$L(DFN," "))_")",IOUOFF,?48,"Total # Complete referrals: ",$G(^TMP("PXRMGEC",$J,"REFDFNN",$P(DFN," ",1,$L(DFN," ")-1)))
  • Line Location: HS1+27
Function Call: WRITE
  • Prompt: !
  • Line Location: HS1+29
Function Call: WRITE
  • Prompt: !,IOUON,"Referral #"_REFNUM,IOUOFF
  • Line Location: HS1+31
Function Call: WRITE
  • Prompt: !,?1,$P(CAT," ",3,6)
  • Line Location: HS1+35
Function Call: WRITE
  • Prompt: !,?4,$P(HFN,"^",1),?44,$P(HFN,"^",2),?55,$P($$FMTE^XLFDT(DATEV,"5ZM"),"@",1)
  • Line Location: HS1+39
Function Call: WRITE
  • Prompt: !,$P(DFN," ",1,$L(DFN," ")-1)_"^"_$P(DFN," ",$L(DFN," ")),"^",$P(CAT," ",3,6),"^",$P(HFN,"^",1),"^",$P(HFN,"^",2),"^",$P($$FMTE^XLFDT(DATEV,"5ZM"),"@",1),"^",REFNUM
  • Line Location: HS1+43
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HFCD+6
Function Call: WRITE
  • Prompt: "=============================================================================="
  • Line Location: HFCD+7
Function Call: WRITE
  • Prompt: !,"GEC Health Factor Category Detailed Report"
  • Line Location: HFCD+8
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: HFCD+9
Function Call: WRITE
  • Prompt: !,"Complete and Incomplete Referrals"
  • Line Location: HFCD+10
Function Call: WRITE
  • Prompt: !,"Category"
  • Line Location: HFCD+11
Function Call: WRITE
  • Prompt: !,?2,"Patient Name"
  • Line Location: HFCD+12
Function Call: WRITE
  • Prompt: !,?4,"Health Factors",?45,$S($D(RPT7):"",1:"Value"),?52,"Date"
  • Line Location: HFCD+13
Function Call: WRITE
  • Prompt: !,"Category^Patient^SSN^Health Factor^"_$S($D(RPT7):"Date",1:"Value^Date")
  • Line Location: HFCD+14
Function Call: WRITE
  • Prompt: !,"=============================================================================="
  • Line Location: HFCD+15
Function Call: WRITE
  • Prompt: !
  • Line Location: HFCD+19
Function Call: WRITE
  • Prompt: !,IOUON,$P(CAT," ",3,6),IOUOFF
  • Line Location: HFCD+20
Function Call: WRITE
  • Prompt: !
  • Line Location: HFCD+24
Function Call: WRITE
  • Prompt: !,?2,$P($G(^DPT(DFN,0)),"^",1)_" ("_$P($G(^DPT(DFN,0)),"^",9)_")"
  • Line Location: HFCD+25
Function Call: WRITE
  • Prompt: !
  • Line Location: HFCD+25
Function Call: WRITE
  • Prompt: !,?4,$P(HFN,"^",1),?45,$S($D(RPT7):"",1:$P(HFN,"^",2)),?52,$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1)
  • Line Location: HFCD+28
Function Call: WRITE
  • Prompt: !,$P(CAT," ",3,5),"^",$P($G(^DPT(DFN,0)),"^",1)_"^"_$P($G(^DPT(DFN,0)),"^",9),"^",$P(HFN,"^",1),$S($D(RPT7):"",1:"^"_$P(HFN,"^",2)),"^",$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1)
  • Line Location: HFCD+32
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: PB+6
Routine Call
  • DIR
  • Line Location:
    • PB+5

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVHF - [#9000010.23] HS1+41, HFCD+30, HFNAME+3
^AUTTHF - [#9999999.64] HFNAME+3
^DPT - [#2] HS1+22, HFCD+25, HFCD+32
^DPT("B" HS1+20
^TMP("PXRMGEC" LOC+14, LOC+17, LOC+19, LOC+20, LOC+24, LOC+25!, DR+16, DR+19, DR+21, DR+22
DR+23, DR+30, DR+31!, HS1+16, HS1+27, HS1+28, HS1+32, HS1+33, HS1+34, HS1+36
HS1+37, HS1+44!, HFCD+4!, HFCD+17, HFCD+21, HFCD+22, HFCD+23, HFCD+27, HFCD+33!, LOCCNT+2
LOCCNT+3, LOCCNT+4*, LOCCNT+5*

Label References

Name Line Occurrences
$$HFNAME HS1+38, HFCD+26
PB LOC+13, LOC+16, LOC+17, LOC+18, LOC+23, DR+15, DR+17, DR+19, DR+20, DR+28
HS1+18, HS1+25, HS1+26, HS1+27, HS1+29, HS1+31, HS1+35, HS1+40, HFCD+16, HFCD+19
HFCD+20, HFCD+24, HFCD+25, HFCD+29

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BDT LOC+2, LOC+8, DR+2, DR+8, HS1+2, HS1+8, HFCD+5, HFCD+9
CAT LOC+1~, DR+1~, HS1+1~, HS1+34*, HS1+35, HS1+36, HS1+37, HS1+43, HFCD+1~, HFCD+17*
HFCD+20, HFCD+21, HFCD+22, HFCD+23, HFCD+27, HFCD+32
CNT HS1+1~, HS1+14*, HS1+24*, HS1+25, HS1+26, HS1+27
CNTREF DR+1~, DR+21*, DR+22, DR+23, HS1+1~, HS1+28*, HS1+32, HS1+33, HS1+34, HS1+36
HS1+37
COMMENT HS1+41*, HS1+42, HFCD+1~, HFCD+30*, HFCD+31
DA HS1+37*, HS1+38, HS1+41, HFNAME~, HFNAME+2, HFNAME+3
DATE LOC+1~, DR+1~, DR+22*, DR+23, DR+24, DR+25, DR+26, DR+27, DR+30, HS1+1~
HS1+32*, HS1+33, HS1+34, HS1+36, HS1+37, HFCD+1~, HFCD+23*, HFCD+27, HFCD+28, HFCD+32
>> DATEV HS1+36*, HS1+37, HS1+39, HS1+43
DFN LOC+1~, DR+1~, DR+16*, DR+18, DR+19, DR+21, DR+22, DR+23, DR+29, DR+30
HS1+1~, HS1+16*, HS1+19, HS1+27, HS1+28, HS1+32, HS1+33, HS1+34, HS1+36, HS1+37
HS1+43, HFCD+1~, HFCD+21*, HFCD+22, HFCD+23, HFCD+24, HFCD+25, HFCD+27, HFCD+32
DFN1 HFCD+1~, HFCD+18*, HFCD+24, HFCD+25*
DFNN HS1+17~, HS1+20*, HS1+21, HS1+22, HS1+23
>> DFNONLY DR+2, HS1+2, HFCD+5
DFNXX LOC+1~, LOC+19*, LOC+20, LOC+21, LOC+22, LOC+24
DIF DR+1~, DR+25*, DR+26, DR+27, DR+30
DIFF DR+1~, DR+24*, DR+26, DR+27, DR+30
DIR PB+3!, PB+7!
DIR(0 PB+4*
DIV HS1+1~, HS1+17~, HS1+23*, HS1+25
DT DR+25
>> EDT LOC+2, LOC+8, DR+2, DR+8, HS1+2, HS1+8, HFCD+5, HFCD+9
FIRST HFNAME+1~, HFNAME+11*, HFNAME+13
FOR LOC+3*, LOC+4*, LOC+9, LOC+10, LOC+11, LOC+16, LOC+17, LOC+18, LOC+21, LOC+22
LOC+23, LOC+24, DR+3*, DR+4*, DR+10, DR+11, DR+12, DR+13, DR+17, DR+18
DR+19, DR+20, DR+26, DR+27, DR+28, DR+29, DR+30, HS1+3*, HS1+4*, HS1+9
HS1+10, HS1+11, HS1+12, HS1+18, HS1+25, HS1+26, HS1+27, HS1+29, HS1+31, HS1+35
HS1+39, HS1+40, HS1+42, HS1+43, HFCD+1~, HFCD+2*, HFCD+3*, HFCD+11, HFCD+12, HFCD+13
HFCD+14, HFCD+19, HFCD+20, HFCD+24, HFCD+25, HFCD+28, HFCD+29, HFCD+31, HFCD+32
>> FORMAT LOC+3, LOC+4, DR+3, DR+4, HS1+3, HS1+4, HFCD+2, HFCD+3
HF LOC+1~, DR+1~, HS1+1~, HFCD+1~, HFCD+22*, HFCD+23, HFCD+26, HFCD+27
HFDA HFCD+1~, HFCD+27*, HFCD+30
HFN LOC+1~, DR+1~, HS1+1~, HS1+38*, HS1+39, HS1+43, HFCD+26*, HFCD+28, HFCD+32
>> INC DR+2, DR+9, DR+11
IOF LOC+5, DR+5, HS1+5, HFCD+6, PB+6
IOSL PB+2
>> IOUOFF LOC+17, DR+18, HS1+27, HS1+31, HFCD+20
>> IOUON LOC+17, DR+18, HS1+27, HS1+31, HFCD+20
LOC LOCCNT+1~, LOCCNT+2*, LOCCNT+3, LOCCNT+4, LOCCNT+5
>> LOCN LOC+14*, LOC+15, LOC+17, LOC+19, LOC+20, LOC+24
>> LOCNP LOC+15
NAME HS1+1~, HS1+17~, HS1+19*, HS1+20, HFNAME~, HFNAME+4
REF HFNAME+1~, HFNAME+9*, HFNAME+13
REF2 HFNAME+1~, HFNAME+10*, HFNAME+15
REFNUM HS1+1~, HS1+28*, HS1+30*, HS1+31, HS1+43
RESULT HFNAME+1~, HFNAME+8*, HFNAME+13*, HFNAME+14*, HFNAME+15*, HFNAME+16
>> RPT7 HFCD+13, HFCD+14, HFCD+28, HFCD+32, HFNAME+5
SECOND HFNAME+1~, HFNAME+12*, HFNAME+13, HFNAME+15
STATUS HS1+1~, HS1+17~, HS1+22*, HS1+25, HS1+26
VDT LOC+20*, LOC+21, LOC+22, LOC+24, DR+23*, DR+24, DR+26, DR+27, DR+30, HS1+33*
HS1+34, HS1+36, HS1+37, LOCCNT+1~, LOCCNT+3*
WHOLE HFNAME+1~, HFNAME+3*, HFNAME+4*, HFNAME+6, HFNAME+7*, HFNAME+11, HFNAME+12, HFNAME+14, HFNAME+15
X HS1+1~
Y LOC+1~, LOC+13, LOC+14, LOC+16, LOC+17, LOC+18, LOC+19, LOC+20, LOC+23, DR+1~
DR+15, DR+16, DR+17, DR+19, DR+20, DR+21, DR+22, DR+23, DR+28, HS1+1~
HS1+15*, HS1+16, HS1+18, HS1+25, HS1+26, HS1+27, HS1+28, HS1+29, HS1+31, HS1+32
HS1+33, HS1+34, HS1+35, HS1+36, HS1+37, HS1+40, HFCD+16, HFCD+17, HFCD+19, HFCD+20
HFCD+21, HFCD+22, HFCD+23, HFCD+24, HFCD+25, HFCD+29, PB+1*, PB+6
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