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

Package: Scheduling

Routine: SDMHAP1


Information

SDMHAP1 ;MAF/ALB - MENTAL HEALTH AD HOC PROACTIVE HIGH RISK REPORT (CONT.;JULY 14, 2010

Source Information

Source file <SDMHAP1.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Scheduling 3 $$SDAPI^SDAMA301  HEAD^SDMHAP  (COUNT,TOTAL1)^SDMHPRO  
VA FileMan 2 C^%DTC  ^DIR  
Kernel 1 $$FMTE^XLFDT  
Registration 1 PID^VADPT6  

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

Package Total Caller Graph
Scheduling 2 SDMHAP  SDMHPRO  

Entry Points

Name Comments DBIA/ICR reference
SET ; Set up the data for the patient
; piece 1 = dfn
; piece 2 = Appointment Date and time
; piece 3 = status N(Noshow) or NA (Noshow with auto rebook)
; piece 4 = PID last 4 of SSN
; piece 5 = clinic ien ^SC(
; piece 6 = stop code ien ^DIC(40.7
;
EN ;PRINT OF THE ^TMP
PRT ;Print report
FUT ; FUTURE SCHEDULED APPTS.
PID(DFN) ; Return PID
; INPUT - DFN
; OUTPUT - PID or 'UNKNOWN'
RET ;

External References

Name Field # of Occurrence
C^%DTC FUT+3
^DIR RET+3
$$SDAPI^SDAMA301 FUT+9
HEAD^SDMHAP EN+18, PRT+2, PRT+15, RET+6
COUNT^SDMHPRO PRT+17
TOTAL1^SDMHPRO EN+18
PID^VADPT6 PID+4
$$FMTE^XLFDT PRT+16, FUT+14

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!
  • Line Location: PRT+3
Function Call: WRITE
  • Prompt: !,SDCOUNT,?4,$E($P(^DPT(SDXDFN,0),"^",1),1,20),?25,SDXID,?32,SDXDT,?49,$E(SDXCLIN,1,30),!
  • Line Location: PRT+17
Function Call: WRITE
  • Prompt: ?32,SDXDT,?49,$E(SDXCLIN,1,30),!
  • Line Location: PRT+18
Function Call: WRITE
  • Prompt: !,?7,SDFUTDT,?33,$E($P($P(SDFNODE,"^",2),";",2),1,20)
  • Line Location: FUT+14
Routine Call
  • DIR
  • Line Location:
    • RET+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(40.7 - [#40.7] PRT+14
^DPT - [#2] PRT+17
^TMP( EN+5, EN+9, EN+11, EN+13, EN+15, EN+16, EN+18, PRT+7, PRT+8
^TMP($J FUT+13, FUT+14, FUT+19!

Label References

Name Line Occurrences
PRT EN+16
RET PRT+17, PRT+18, FUT+15

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN PID~
DIR RET+3!
DIR(0 RET+2*
DT FUT+3, FUT+4
IOSL RET+1
IOST RET+1
>> NAMSPC1 EN+5, EN+9, EN+11, EN+13, EN+15, EN+16, EN+18, PRT+7, PRT+8
SDARRAY FUT+2~, FUT+9
SDARRAY("FLDS" FUT+8*
SDARRAY("SORT" FUT+5*
SDARRAY(1 FUT+4*
SDARRAY(3 FUT+6*
SDARRAY(4 FUT+7*
SDATE EN+1~, EN+10*, EN+11*, EN+13, EN+15, EN+16, PRT+7, PRT+8
>> SDBEG FUT+13
SDCOUNT EN+1~, EN+2*, EN+7*, PRT+17*, PRT+18*, FUT+2~, FUT+9*, FUT+10, FUT+17
SDDSS PRT+4~, PRT+14*
>> SDEND FUT+13
SDFA FUT+12~, FUT+13*, FUT+14
SDFNODE FUT+12~, FUT+14*
SDFUTDT FUT+12~, FUT+14*
SDPAT EN+3~
SDPAT( PRT+17, PRT+18, PRT+19*
>> SDTL EN+6, PRT+2, PRT+5, PRT+6, PRT+7, PRT+8
SDTOTPG EN+1~, EN+18*
>> SDUP EN+5, EN+9, EN+11, EN+13, EN+15, EN+17, PRT+17, PRT+18, FUT+10, FUT+13
FUT+15, FUT+17, RET+1, RET+4*
SDX FUT+2~, FUT+3*, FUT+4
SDXCLIEN PRT+4~, PRT+13*
SDXCLIN EN+1~, EN+12*, EN+13*, EN+15, EN+16, PRT+2, PRT+5, PRT+6, PRT+17, PRT+18
SDXDFN EN+1~, EN+2*, PRT+9*, PRT+17, PRT+18, PRT+19, FUT+7, FUT+13, FUT+14
SDXDIV EN+1~, EN+4*, EN+5*, EN+9, EN+11, EN+13, EN+15, EN+16, PRT+2, PRT+7
PRT+8, PRT+15, PRT+17, PRT+18, PRT+19, RET+5, RET+6
SDXDT PRT+4~, PRT+11*, PRT+16*, PRT+17, PRT+18
>> SDXFLG( PRT+2*, PRT+15*, RET+5!, RET+6*
SDXID PRT+4~, PRT+10*, PRT+17
SDXNM EN+1~, EN+8*, EN+9*, EN+11, EN+13, EN+15, EN+16, PRT+7, PRT+8
SDXNODE PRT+4~, PRT+7*, PRT+8*, PRT+9, PRT+10, PRT+11, PRT+12, PRT+13, PRT+14
SDXREM EN+1~, EN+2*, PRT+5
SDXRLL PRT+4~
SDXSORT1 PRT+4~, PRT+5*, PRT+7, PRT+8
SDXSORT2 PRT+4~, PRT+6*, PRT+7, PRT+8
SDXSTAT PRT+4~, PRT+12*
SDXSTOP EN+1~, EN+14*, EN+15*, EN+16, PRT+5, PRT+6
SDXZERO PRT+4~
>> TOTAL( PRT+17, PRT+18
VA PID+3~
VA("BID" PID+5
X FUT+2~, FUT+3
X1 FUT+2~, FUT+3*
X2 FUT+2~, FUT+3*
Y EN+1~, RET+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All