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

Package: Clinical Reminders

Routine: PXRMGECQ


Information

PXRMGECQ ;SLC/JVS GEC-QUEUE'D Reports ;7/14/05 10:44

Source Information

Source file <PXRMGECQ.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Clinical Reminders 3 $$CNT^PXRMGECL  E^PXRMGECV  (COMQ,PAGE)^PXRMGECZ  
Kernel 2 ^%ZISC  ($$FMDIFF,$$FMTE)^XLFDT  
VA Fileman 1 $$GET1^DIQ  

Entry Points

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

External References

Name Field # of Occurrence
^%ZISC HS1+45, HFCD+33
$$GET1^DIQ HS1+23, DFN2+20, DFN2+29
$$CNT^PXRMGECL DFN2+24
E^PXRMGECV LOC+2, DR+2, HS1+2, HFCD+4, DFN2+17
COMQ^PXRMGECZ HS1+40, HFCD+29
PAGE^PXRMGECZ LOC+19, LOC+20, LOC+23, LOC+24, DR+19, DR+20, DR+21, DR+27, DR+28, DR+30
, HS1+18, HS1+25, HS1+26, HS1+27, HS1+29, HS1+30, HS1+34, HS1+38, HFCD+19, HFCD+23
, HFCD+24, HFCD+27, HFCD+30, DFN2+20, DFN2+24, DFN2+25, DFN2+30
$$FMDIFF^XLFDT DR+25, DR+26
$$FMTE^XLFDT LOC+10, LOC+24, LOC+25, DR+9, DR+27, DR+28, DR+30, HS1+9, HS1+38, HS1+42
, HFCD+9, HFCD+27, HFCD+30, DFN2+9, DFN2+27, DFN2+30

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: LOC+6
Function Call: WRITE
  • Prompt: "="
  • Line Location: LOC+7
Function Call: WRITE
  • Prompt: !,"Complete GEC Referrals by Location"
  • Line Location: LOC+9
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: LOC+10
Function Call: WRITE
  • Prompt: !,"Location"
  • Line Location: LOC+11
Function Call: WRITE
  • Prompt: !,?5,"Patient",?50,"Finish Date",!
  • Line Location: LOC+12
Function Call: WRITE
  • Prompt: !,"Location^Location Count^Patient^SSN^Finish Date",!
  • Line Location: LOC+13
Function Call: WRITE
  • Prompt: "="
  • Line Location: LOC+14
Function Call: WRITE
  • Prompt: !,LOCN,?30,"Total # Patients Evaluated= ",$G(^TMP("PXRMGEC",$J,"LOCBB",LOCN))
  • Line Location: LOC+19
Function Call: WRITE
  • Prompt: !
  • Line Location: LOC+20
Function Call: WRITE
  • Prompt: !,?5,DFNXX,?50,"Incomplete"
  • Line Location: LOC+23
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+24
Function Call: WRITE
  • Prompt: !,LOCN,"^",$G(^TMP("PXRMGEC",$J,"LOCBB",LOCN)),"^",$P(DFNXX," ",1,$L(DFNXX," ")-1),"^",$P(DFNXX," ",$L(DFNXX," ")),"^",$P($$FMTE^XLFDT(VDT,"5ZM"),"@",1)
  • Line Location: LOC+25
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DR+5
Function Call: WRITE
  • Prompt: "="
  • Line Location: DR+6
Function Call: WRITE
  • Prompt: !,"Complete GEC Referrals by Date Range"
  • Line Location: DR+8
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: DR+9
Function Call: WRITE
  • Prompt: !,$S(INC=0:"Incomplete",INC=1:"Complete",INC=2:"Complete and Incomplete",1:"")_" Referrals"
  • Line Location: DR+10
Function Call: WRITE
  • Prompt: !,"Patient"
  • Line Location: DR+11
Function Call: WRITE
  • Prompt: !,?5,"Start Date",?20,"",?35,"Elapsed Time"
  • Line Location: DR+12
Function Call: WRITE
  • Prompt: !,?5,"Start Date",?20,"Finished",?35,"Elapsed Time",?50,"Incomplete Status",!
  • Line Location: DR+13
Function Call: WRITE
  • Prompt: !,"Patient^SSN^Count^Start Date^Finished Date^Status",!
  • Line Location: DR+14
Function Call: WRITE
  • Prompt: "="
  • Line Location: DR+15
Function Call: WRITE
  • Prompt: !
  • Line Location: DR+19
Function Call: WRITE
  • Prompt: !,$P(DFN," ",1,$L(DFN," ")-1)," ("_$P(DFN," ",$L(DFN," "))_")",?31,"Total= ",$G(^TMP("PXRMGEC",$J,"REFDFNN",$P(DFN," ")))
  • Line Location: DR+20
Function Call: WRITE
  • Prompt: !
  • Line Location: DR+21
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+27
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+28
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," "))),"^",$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: !
  • Line Location: HS1+5
Function Call: WRITE
  • Prompt: "="
  • Line Location: HS1+6
Function Call: WRITE
  • Prompt: !,"GEC Patient"
  • Line Location: HS1+8
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: HS1+9
Function Call: WRITE
  • Prompt: !,"Patient"
  • Line Location: HS1+10
Function Call: WRITE
  • Prompt: !," Category"
  • Line Location: HS1+11
Function Call: WRITE
  • Prompt: !," Health Factor",?44,"Value",?55,"Date of Evaluation",!
  • Line Location: HS1+12
Function Call: WRITE
  • Prompt: !,"Patient^SSN^Eval Count^Category^Health Factor^Value^Date of Evaluation",!
  • Line Location: HS1+13
Function Call: WRITE
  • Prompt: "="
  • Line Location: HS1+14
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,") ",$P(DFN," ",1,$L(DFN," ")-1)," (",$P(DFN," ",$L(DFN," "))_")",?50,"Total Number of referrals: ",$G(^TMP("PXRMGEC",$J,"REFDFNN",$P(DFN," ")))
  • Line Location: HS1+27
Function Call: WRITE
  • Prompt: !
  • Line Location: HS1+29
Function Call: WRITE
  • Prompt: !,"Next Referral"
  • Line Location: HS1+30
Function Call: WRITE
  • Prompt: !,?1,$P(CAT," ",3,6)
  • Line Location: HS1+34
Function Call: WRITE
  • Prompt: !,?4,$P(HFN,"^",1),?44,$P(HFN,"^",2),?55,$P($$FMTE^XLFDT(DATEV,"5ZM"),"@",1)
  • Line Location: HS1+38
Function Call: WRITE
  • Prompt: !,$P(DFN," ",1,$L(DFN," ")-1),"^",$P(DFN," ",$L(DFN," "))
  • Line Location: HS1+41
Function Call: WRITE
  • Prompt: "^",$G(^TMP("PXRMGEC",$J,"REFDFNN",$P(DFN," "))),"^",$P(CAT," ",3,6),"^",$P(HFN,"^",1),"^",$P(HFN,"^",2),"^",$P($$FMTE^XLFDT(DATEV,"5ZM"),"@",1)
  • Line Location: HS1+42
Function Call: WRITE
  • Prompt: !
  • Line Location: HFCD+5
Function Call: WRITE
  • Prompt: "="
  • Line Location: HFCD+6
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: !,"Category"
  • Line Location: HFCD+10
Function Call: WRITE
  • Prompt: !,?2,"Patient Name"
  • Line Location: HFCD+11
Function Call: WRITE
  • Prompt: !,?4,"Health Factors",?41,"Value",?47,"Date",!
  • Line Location: HFCD+12
Function Call: WRITE
  • Prompt: !,"Category^Patient^SSN^Health Factor^Value^Date",!
  • Line Location: HFCD+13
Function Call: WRITE
  • Prompt: "="
  • Line Location: HFCD+14
Function Call: WRITE
  • Prompt: !,$P(CAT," ",3,6)
  • Line Location: HFCD+19
Function Call: WRITE
  • Prompt: !
  • Line Location: HFCD+23
Function Call: WRITE
  • Prompt: !,?2,$P($G(^DPT(DFN,0)),"^",1)_" ("_$P($G(^DPT(DFN,0)),"^",9)_")"
  • Line Location: HFCD+24
Function Call: WRITE
  • Prompt: !
  • Line Location: HFCD+24
Function Call: WRITE
  • Prompt: !,?4,$P(HFN,"^",1),?41,$P(HFN,"^",2),?47,$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1)
  • Line Location: HFCD+27
Function Call: WRITE
  • Prompt: !,$P(CAT," ",3,5),"^",$P($G(^DPT(DFN,0)),"^",1)_"^"_$P($G(^DPT(DFN,0)),"^",9),"^",$P(HFN,"^",1),"^",$P(HFN,"^",2),"^",$P($$FMTE^XLFDT(DATE,"5ZM"),"@",1)
  • Line Location: HFCD+30
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: DFN2+5
Function Call: WRITE
  • Prompt: "="
  • Line Location: DFN2+6
Function Call: WRITE
  • Prompt: !,"GEC Provider"
  • Line Location: DFN2+8
Function Call: WRITE
  • Prompt: !,"From: "_$$FMTE^XLFDT(BDT,"5ZM")_" To: "_$$FMTE^XLFDT(EDT,"5ZM")
  • Line Location: DFN2+9
Function Call: WRITE
  • Prompt: !,"Report Displays Counts of Complete Referrals Only"
  • Line Location: DFN2+10
Function Call: WRITE
  • Prompt: !,"Provider"
  • Line Location: DFN2+11
Function Call: WRITE
  • Prompt: !," Patient",?17,"Completion Date",?41,"Dialog",!
  • Line Location: DFN2+12
Function Call: WRITE
  • Prompt: !,"Provider^IEN^Patient^SSN^Dialog^Completion Date",!
  • Line Location: DFN2+13
Function Call: WRITE
  • Prompt: "="
  • Line Location: DFN2+14
Function Call: WRITE
  • Prompt: !
  • Line Location: DFN2+25
Function Call: WRITE
  • Prompt: !,$$GET1^DIQ(200,DOCT,.01),"^",DOCT,"^",$P($G(^DPT(DFN,0)),"^",1),"^",$P($G(^DPT(DFN,0)),"^",9)
  • Line Location: DFN2+29
Function Call: WRITE
  • Prompt: "^",$P($P($G(^PXRMD(801.41,DIADA,0)),"^",1)," ",3,6),"^",$P($$FMTE^XLFDT(DATEV,"5ZM"),"@",1)
  • Line Location: DFN2+30

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVHF - [#9000010.23] HS1+39, HFCD+28, HFNAME+3
^AUTTHF - [#9999999.64] HFNAME+3
^DPT - [#2] HS1+22, HFCD+24, HFCD+30, DFN2+24, DFN2+29
^DPT("B" HS1+20
^PXRMD(801.41 - [#801.41] DFN2+27, DFN2+30
^TMP("PXRMGEC" LOC+17, LOC+19, LOC+21, LOC+22, LOC+25, LOC+26!, DR+18, DR+20, DR+22, DR+23
, DR+24, DR+30, DR+31!, HS1+17, HS1+27, HS1+28, HS1+31, HS1+32, HS1+33, HS1+35
, HS1+36, HS1+42, HS1+43!, HFCD+17, HFCD+20, HFCD+21, HFCD+22, HFCD+26, HFCD+31!, DFN2+31!
, LOCCNT+2, LOCCNT+3, LOCCNT+4*, LOCCNT+5*

Label References

Name Line Occurrences
$$HFNAME HS1+37, HFCD+25
LOCCNT LOC+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> BDT LOC+2, LOC+10, DR+2, DR+9, HS1+2, HS1+9, HFCD+4, HFCD+9, DFN2+9, DFN2+17
CAT LOC+1~, DR+1~, HS1+1~, HS1+33*, HS1+34, HS1+35, HS1+36, HS1+42, HFCD+1~, HFCD+17*
, HFCD+19, HFCD+20, HFCD+21, HFCD+22, HFCD+26, HFCD+30
>> CNT HS1+16*, HS1+24*, HS1+25, HS1+26, HS1+27
CNTREF DR+1~, DR+22*, DR+23, DR+24, HS1+1~, HS1+28*, HS1+31, HS1+32, HS1+33, HS1+35
, HS1+36
COMMENT HS1+1~, HS1+39*, HS1+40, HFCD+1~, HFCD+28*, HFCD+29
DA HS1+36*, HS1+37, HS1+39, HFNAME~, HFNAME+2, HFNAME+3
DATE LOC+1~, DR+1~, DR+23*, DR+24, DR+25, DR+26, DR+27, DR+28, DR+30, HS1+1~
, HS1+31*, HS1+32, HS1+33, HS1+35, HS1+36, HFCD+1~, HFCD+22*, HFCD+26, HFCD+27, HFCD+30
DATEV HS1+35*, HS1+36, HS1+38, HS1+42, DFN2+1~, DFN2+22*, DFN2+23, DFN2+27, DFN2+30
DFN LOC+1~, DR+1~, DR+18*, DR+20, DR+22, DR+23, DR+24, DR+29, DR+30, HS1+1~
, HS1+17*, HS1+19, HS1+27, HS1+28, HS1+31, HS1+32, HS1+33, HS1+35, HS1+36, HS1+41
, HS1+42, HFCD+1~, HFCD+20*, HFCD+21, HFCD+22, HFCD+23, HFCD+24, HFCD+26, HFCD+30, DFN2+1~
, DFN2+21*, DFN2+22, DFN2+23, DFN2+24, DFN2+25, DFN2+28, DFN2+29
DFN1 HFCD+1~, HFCD+18*, HFCD+23, HFCD+24*, DFN2+1~, DFN2+2*, DFN2+24, DFN2+25, DFN2+28*
DFNN HS1+1~, HS1+20*, HS1+21, HS1+22, HS1+23
>> DFNONLY DR+2, HS1+2, HFCD+4
DFNXX LOC+1~, LOC+21*, LOC+22, LOC+23, LOC+24, LOC+25
DIADA DFN2+1~, DFN2+23*, DFN2+27, DFN2+30
DIF DR+1~, DR+26*, DR+27, DR+28, DR+30
DIFF DR+1~, DR+25*, DR+27, DR+28, DR+30
DIV HS1+1~, HS1+23*, HS1+25
DOCT DFN2+1~, DFN2+18*, DFN2+19, DFN2+20, DFN2+21, DFN2+22, DFN2+23, DFN2+24, DFN2+29
DT DR+26
>> EDT LOC+2, LOC+10, DR+2, DR+9, HS1+2, HS1+9, HFCD+4, HFCD+9, DFN2+9, DFN2+17
FIRST HFNAME+1~, HFNAME+8*, HFNAME+10
FLAG DFN2+1~, DFN2+18*, DFN2+20, DFN2+24, DFN2+25, DFN2+26*
FOR LOC+4*, LOC+5*, LOC+11, LOC+12, LOC+13, LOC+19, LOC+20, LOC+23, LOC+24, LOC+25
, DR+3*, DR+4*, DR+11, DR+12, DR+13, DR+14, DR+19, DR+20, DR+21, DR+27
, DR+28, DR+29, DR+30, HS1+3*, HS1+4*, HS1+10, HS1+11, HS1+12, HS1+13, HS1+18
, HS1+25, HS1+26, HS1+27, HS1+29, HS1+30, HS1+34, HS1+38, HS1+40, HS1+41, HS1+42
, HFCD+1~, HFCD+2*, HFCD+3*, HFCD+10, HFCD+11, HFCD+12, HFCD+13, HFCD+19, HFCD+23, HFCD+24
, HFCD+27, HFCD+29, HFCD+30, DFN2+3*, DFN2+4*, DFN2+11, DFN2+12, DFN2+13, DFN2+20, DFN2+24
, DFN2+25, DFN2+29, DFN2+30
>> FORMAT LOC+4, LOC+5, DR+3, DR+4, HS1+3, HS1+4, HFCD+2, HFCD+3, DFN2+3, DFN2+4
HF LOC+1~, DR+1~, HS1+1~, HFCD+1~, HFCD+21*, HFCD+22, HFCD+25, HFCD+26
HFDA HFCD+1~, HFCD+26*, HFCD+28
HFN LOC+1~, DR+1~, HS1+1~, HS1+37*, HS1+38, HS1+42, HFCD+25*, HFCD+27, HFCD+30
I LOC+1~, LOC+7*, LOC+14*, DR+1~, DR+6*, DR+15*, HS1+1~, HS1+6*, HS1+14*, HFCD+1~
, HFCD+6*, HFCD+14*, DFN2+1~, DFN2+6*, DFN2+14*
>> INC DR+2, DR+10, DR+12
IOF LOC+6, DR+5, DFN2+5
LOC LOCCNT+1~, LOCCNT+2*, LOCCNT+3, LOCCNT+4, LOCCNT+5
>> LOCN LOC+17*, LOC+18, LOC+19, LOC+21, LOC+22, LOC+25
>> LOCNP LOC+18
NAME HS1+1~, HS1+19*, HS1+20, HFNAME~, HFNAME+4
PAGE LOC+1~, LOC+16*, DR+1~, DR+17*, HS1+1~, HS1+16*, HFCD+1~, HFCD+16*, DFN2+1~, DFN2+16*
>> PROV DFN2+19
>> PROVARY( DFN2+19
REF DFN2+1~, DFN2+2*, DFN2+18, DFN2+21, DFN2+22, DFN2+23, HFNAME+1~, HFNAME+6*, HFNAME+10
REF2 HFNAME+1~, HFNAME+7*, HFNAME+12
RESULT HFNAME+1~, HFNAME+5*, HFNAME+10*, HFNAME+11*, HFNAME+12*, HFNAME+13
SECOND HFNAME+1~, HFNAME+9*, HFNAME+10, HFNAME+12
>> STATUS HS1+22*, HS1+25, HS1+26
VDT LOC+22*, LOC+23, LOC+24, LOC+25, DR+24*, DR+25, DR+27, DR+28, DR+30, HS1+32*
, HS1+33, HS1+35, HS1+36, LOCCNT+1~, LOCCNT+3*
WHOLE HFNAME+1~, HFNAME+3*, HFNAME+4*, HFNAME+8, HFNAME+9, HFNAME+11, HFNAME+12
X HS1+1~
Y LOC+1~, DR+1~, HS1+1~
>> ZTREQ LOC+27*, DR+32*, HS1+44*, HFCD+32*, DFN2+32*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All