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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: PXRRPCR2

Package: PCE Patient Care Encounter

Routine: PXRRPCR2


Information

PXRRPCR2 ;HIN/MjK - Clinic Specfic Workload Reports ;6/7/96

Source Information

Source file <PXRRPCR2.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Kernel 1 $$FMTE^XLFDT  
PCE Patient Care Encounter 1 HDR^PXRRPCR  
VA FileMan 1 ^DIR  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
PCE Patient Care Encounter 1 PXRRPCE  

Entry Points

Name Comments DBIA/ICR reference
NONE ;_._._.If no Pateint Activity_._._.
HDR
CHK ;Hold Screen, Format for Home Device Viewing
FUT ;Z/Q = Fut Appointment Date ;A = Patient DFN
LAB ;A = Patient DFN ;B/C = Lab Date ;E =Lab Test Field No. ;T =Line Tag
Q
ACTIVTY ;:_._._._._._._._._._._._.Caseload Activity_._._._._._._._._._._._.
ADM ;A = Patient DFN ;B/C = Admission Date ;E=Discharge Date ;T = Line Tag
ER ;A = Patient DFN ;B/C = Visit Date ;T = Line Tag

External References

Name Field # of Occurrence
^DIR CHK+1
HDR^PXRRPCR ACTIVTY+1, CHK+2
$$FMTE^XLFDT ACTIVTY+1, ADM+3, ER+3, LAB+3, FUT+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?11,"Report Date Range: ",$$FMTE^XLFDT($P(PXRRBDT,"."))," through ",$$FMTE^XLFDT($P(PXRREDT,"."))
  • Line Location: ACTIVTY+1
Function Call: WRITE
  • Prompt: !?22,"Clinic Stop: ",PXRSTPNM
  • Line Location: ACTIVTY+2
Function Call: WRITE
  • Prompt: ", ",$P(PXRRCLIN(I),U)
  • Line Location: ACTIVTY+4
Function Call: WRITE
  • Prompt: !?13,$P($G(PXRRCLIN(I)),U)
  • Line Location: ACTIVTY+5
Function Call: WRITE
  • Prompt: !?2,"CASELOAD ACTIVITY...patients' hospital admissions/discharges, emergency room",!?2,"visits and critical lab values ;address,phone,future appts",!
  • Line Location: HDR+0
Function Call: WRITE
  • Prompt: !,"No patients were recorded to have these actitvites within the",!,"selected date range."
  • Line Location: NONE+1
Function Call: WRITE
  • Prompt: !,"____________________________ADMISSIONS/DISCHARGES____________________________",!
  • Line Location: ADM+1
Function Call: WRITE
  • Prompt: !?5,"o There were no ADMISSIONS for these patients during this date range.",!
  • Line Location: ADM+2
Function Call: WRITE
  • Prompt: !,$P(C,"@"),?13,E,?30,$E($P(^DPT(A,0),U),1,25)
  • Line Location: ADM+4
Function Call: WRITE
  • Prompt: ?57,$P(^DPT(A,0),U,9)
  • Line Location: ADM+5
Function Call: WRITE
  • Prompt: $P($G(^(B)),U,6)_" "
  • Line Location: ADM+10
Function Call: WRITE
  • Prompt: !?32,"~~~~~~~~~~~~"
  • Line Location: ADM+14
Function Call: WRITE
  • Prompt: !,"_____________________________EMERGENCY ROOM VISITS_____________________________",!
  • Line Location: ER+1
Function Call: WRITE
  • Prompt: !?5,"o There were no ER VISITS for these patients during this date range.",!
  • Line Location: ER+2
Function Call: WRITE
  • Prompt: !,C,?27,$E($P(^DPT(A,0),U),1,27),?57,$P(^DPT(A,0),U,9)
  • Line Location: ER+4
Function Call: WRITE
  • Prompt: $P($G(^TMP($J,"ER",A,B)),U,4)_" "
  • Line Location: ER+8
Function Call: WRITE
  • Prompt: !?32,"~~~~~~~~~~~~"
  • Line Location: ER+11
Function Call: WRITE
  • Prompt: !,"____________________________CRITICAL LAB VALUES____________________________",!
  • Line Location: LAB+1
Function Call: WRITE
  • Prompt: !?5,"o There were no CRITICAL LABS for these patients during this date range. ",!
  • Line Location: LAB+2
Function Call: WRITE
  • Prompt: !,$P(C,"@"),?13,$E($P(^DPT(A,0),U),1,20),?35,$P(^DPT(A,0),U,9)
  • Line Location: LAB+4
Function Call: WRITE
  • Prompt: ?48,$P($G(^TMP($J,"LAB",A,B,E)),U)
  • Line Location: LAB+5
Function Call: WRITE
  • Prompt: ?75,$P($G(^TMP($J,"LAB",A,B,E)),U,8)
  • Line Location: LAB+6
Function Call: WRITE
  • Prompt: $P($G(^TMP($J,"LAB",A,B,E)),U,5)_" "
  • Line Location: LAB+10
Function Call: WRITE
  • Prompt: !?32,"~~~~~~~~~~~~"
  • Line Location: LAB+14
Function Call: WRITE
  • Prompt: !,"______________________________________________________________________________",!
  • Line Location: Q+0
Function Call: WRITE
  • Prompt: !?2,"Future Appt. Dt: ",?22,"NONE"
  • Line Location: FUT+1
Function Call: WRITE
  • Prompt: !?8,"Fut. Appt. Dt: ",Q,?41," - CL: ",$E($G(^TMP($J,"FUT",A,Z)),1,30)
  • Line Location: FUT+3
Routine Call
  • DIR
  • Line Location:
    • CHK+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] ADM+4, ADM+5, ER+4, LAB+4
^TMP($J NONE+1, ADM+2, ADM+3, ADM+6, ADM+7, ER+2, ER+3, ER+5, ER+6, ER+7
, ER+8, ER+9, LAB+2, LAB+3, LAB+5, LAB+6, LAB+7, LAB+8, LAB+9, LAB+10
, LAB+11, LAB+12, FUT+1, FUT+2, FUT+3

Label References

Name Line Occurrences
@( ADM+3, ER+3, LAB+3, CHK+2
CHK ADM+3, ADM+13, ER+3, ER+11, LAB+3, LAB+13, FUT+4
ER ADM+2
FUT ADM+14, ER+11, LAB+14
HDR ACTIVTY+2
LAB ER+2
Q LAB+2

Naked Globals

Name Field # of Occurrence
^( ADM+6, ADM+8, ADM+9, ADM+10, ADM+11, ADM+12, ER+6, ER+7, ER+9, ER+10
, LAB+8, LAB+9, LAB+11, LAB+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> A ADM+3*, ADM+4, ADM+5, ADM+6, ADM+7, ER+3*, ER+4, ER+5, ER+6, ER+7
, ER+8, ER+9, LAB+3*, LAB+4, LAB+5, LAB+6, LAB+7, LAB+8, LAB+9, LAB+10
, LAB+11, LAB+12, FUT+1, FUT+2, FUT+3
>> B ADM+3*, ADM+6, ADM+7, ADM+8, ADM+9, ADM+10, ADM+11, ADM+12, ER+3*, ER+5
, ER+6, ER+7, ER+8, ER+9, ER+10, LAB+3*, LAB+5, LAB+6, LAB+7, LAB+8
, LAB+9, LAB+10, LAB+11, LAB+12
>> C ADM+3*, ADM+4, ER+3*, ER+4, LAB+3*, LAB+4
DIR CHK+1!
DIR(0 CHK+1*
>> E ADM+3*, ADM+4, LAB+3*, LAB+5, LAB+6, LAB+7, LAB+8, LAB+9, LAB+10, LAB+11
, LAB+12
>> I ACTIVTY+3*, ACTIVTY+4, ACTIVTY+5
IOM ACTIVTY+4
IOSL ADM+3, ADM+13, ER+3, ER+11, LAB+3, LAB+13, FUT+4
IOST CHK+1
>> PXRRBDT ACTIVTY+1
>> PXRRCLIN( ACTIVTY+3, ACTIVTY+4, ACTIVTY+5
>> PXRRCLIN(1 ACTIVTY+3
>> PXRREDT ACTIVTY+1
>> PXRRQ ACTIVTY+1*, ADM+3, ADM+13, ADM+15, ER+3, ER+11, ER+12, LAB+3, LAB+13, FUT+4
, CHK+1*, CHK+2
>> PXRSTPNM ACTIVTY+2
>> Q FUT+2*, FUT+3
>> T ADM+1*, ADM+3, ER+1*, ER+3, LAB+1*, LAB+3, CHK+2
U ACTIVTY+3, ACTIVTY+4, ACTIVTY+5, ADM+3, ADM+4, ADM+5, ADM+6, ADM+8, ADM+9, ADM+10
, ADM+11, ADM+12, ER+4, ER+6, ER+7, ER+8, ER+9, ER+10, LAB+4, LAB+5
, LAB+6, LAB+8, LAB+9, LAB+10, LAB+11, LAB+12
>> Y CHK+1
>> Z FUT+2*, FUT+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All