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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: SDMHNS1

Package: Scheduling

Routine: SDMHNS1


Information

SDMHNS1 ;MAF/ALB - MENTAL HEALTH NO SHOW REPORT (BGJ CONT.);SEPTEMBER 9, 2010

Source Information

Source file <SDMHNS1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Scheduling 3 $$SDAPI^SDAMA301  (COUNT,HEAD,HEAD1,TOTAL)^SDMHNS  $$SETSTR^SDUL1  
Registration 2 (ADD,KVAR,OAD)^VADPT  PID^VADPT6  
VA FileMan 2 C^%DTC  ($$GET1,GETS)^DIQ  
Health Level Seven 1 $$HLPHONE^HLFNC  
Kernel 1 $$FMTE^XLFDT  
Toolkit 1 $$GET^XPAR  

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 SDMHAD  SDMHNS  

Entry Points

Name Comments DBIA/ICR reference
DATA ; 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
SETSTR(W,X,Y,Z) ;SET UP THE STRING
SET1(X) ;Sets the XMTEXT global
SET ;
PATINFO ;Patients home, cell and office phones
NOK ; Next of Kin information
NOKFL
EC ;display emergency contact information
PROV ;Clinic Default Provider
MHTC ;Mental Health Treatment Coordinator
FUT ; FUTURE SCHEDULED APPTS.
RESULTS ;Reminder information
PID(DFN) ; Return PID
; INPUT - DFN
; OUTPUT - PID or 'UNKNOWN'

External References

Name Field # of Occurrence
C^%DTC FUT+6
$$GET1^DIQ EC+42, EC+48
GETS^DIQ PATINFO+8, NOK+4, EC+6
$$HLPHONE^HLFNC PATINFO+11, PATINFO+12, PATINFO+13, NOK+22, NOK+23, NOK+26, NOK+27, EC+53, EC+54, EC+57
EC+58
$$SDAPI^SDAMA301 FUT+12
COUNT^SDMHNS PRT+2
HEAD^SDMHNS PRT+3
HEAD1^SDMHNS PRT+4, PRT+15
TOTAL^SDMHNS EN+3
$$SETSTR^SDUL1 SETSTR+5
ADD^VADPT PATINFO+2
KVAR^VADPT EC+60
OAD^VADPT PATINFO+5, NOK+2, NOK+3, EC+4, EC+5
PID^VADPT6 PID+4
$$FMTE^XLFDT PRT+16, FUT+21
$$GET^XPAR FUT+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GETS^DIQ
^DIC(5 - [#5] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(40.7 - [#40.7] PRT+14
^DPT - [#2] PRT+20
^SC - [#44] PROV+3
^TMP( EN+3, EN+5, EN+8, EN+10, EN+12, EN+15, EN+18, EN+20, EN+22, EN+24
EN+25, EN+28, EN+30, EN+32, EN+34, EN+35, PRT+8
^TMP("SDNS" EN+14
^TMP("SDNS1" SET1+1*, SET+1*
^TMP($J FUT+19, FUT+21, FUT+30!
^VA(200 - [#200] PROV+4

Label References

Name Line Occurrences
$$SETSTR PRT+4, PRT+20, PRT+21, PATINFO+11, PATINFO+12, PATINFO+13, NOK+14, NOK+15, NOK+18, NOK+19
NOK+22, NOK+23, NOK+26, NOK+27, NOKFLEC+12, EC+15, EC+16, EC+19, EC+20
EC+24, EC+25, EC+28, EC+29, EC+32, EC+33, EC+41, EC+47, EC+53, EC+54
EC+57, EC+58, MHTC+2, FUT+16, FUT+22, FUT+28, RESULTS+3
FUT PRT+27
NOKFL NOK+14, NOK+15, NOK+18, NOK+19, NOK+22, NOK+23, NOK+26, NOK+27
PROV PRT+20
PRT EN+15, EN+25, EN+35
SET PRT+17
SET1 PRT+4, PRT+20, PRT+21, PATINFO+11, PATINFO+12, PATINFO+13, NOK+16, NOK+20, NOK+24, NOK+28
NOKFLEC+12, EC+17, EC+21, EC+26, EC+30, EC+34, EC+50, EC+55, EC+59
MHTC+3, FUT+16, FUT+23, FUT+28, RESULTS+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DFN PATINFO+2*, PATINFO+5*, NOK+2*, NOK+3*, EC+1~, EC+3*, PID~
DT FUT+6, FUT+7
>> NAMSPC1 EN+3, EN+5, EN+8, EN+10, EN+12, EN+15, EN+18, EN+20, EN+22, EN+24
EN+25, EN+28, EN+30, EN+32, EN+34, EN+35, PRT+8
SDARRAY FUT+1~, FUT+12
SDARRAY("FLDS" FUT+11*
SDARRAY("SORT" FUT+8*
SDARRAY(1 FUT+7*
SDARRAY(3 FUT+9*
SDARRAY(4 FUT+10*
SDATE EN+1~, EN+13*, EN+14*, EN+15, EN+23*, EN+24*, EN+25, EN+33*, EN+34*, EN+35
PRT+8
SDCOUNT EN+1~, EN+2*, PRT+20, PRT+21*, FUT+1~, FUT+12*, FUT+13, FUT+25
SDDSS PRT+5~, PRT+14*
SDEC1 EC+1~, EC+12
SDEC1(1 EC+24
SDEC1(10 EC+19
SDEC1(11 EC+43
SDEC1(2 EC+28
SDEC1(3 EC+32
SDEC1(4 EC+37, EC+40, EC+41
SDEC1(5 EC+42
SDEC1(8 EC+53
SDEC1(9 EC+10, EC+15
SDEC2 EC+1~, EC+12
SDEC2(1 EC+25
SDEC2(10 EC+20
SDEC2(11 EC+49
SDEC2(2 EC+29
SDEC2(3 EC+33
SDEC2(4 EC+45, EC+46, EC+47
SDEC2(5 EC+48
SDEC2(8 EC+54
SDEC2(9 EC+16
SDEC3 NOK+1~, NOK+9
SDEC3(10 NOK+10
SDEC3(8 NOK+10, NOK+12
SDEC3(9 NOK+10
SDEC4 NOK+1~, NOK+11
SDEC4(10 NOK+12
SDEC4(9 NOK+12
SDEC5 PATINFO+1~, PATINFO+6
SDEC5(8 PATINFO+7
SDEC6 PATINFO+1~, PATINFO+3
SDEC6(8 PATINFO+4
SDFA FUT+17~, FUT+19*, FUT+21
SDFNODE FUT+17~, FUT+21*, FUT+22
SDFUTDT FUT+17~, FUT+21*, FUT+22
>> SDLN SET1+1*, SET+1*
SDNOK NOK+1~
SDNOK2 NOK+1~
SDNOKFL NOK+1~, NOK+8*, NOK+14, NOK+15, NOK+18, NOK+19, NOK+22, NOK+23, NOK+26, NOK+27
, NOKFL*
SDNOKNM NOK+1~, NOK+10*, NOK+14
SDNOKNM2 NOK+1~, NOK+12*, NOK+15
SDNOKPH NOK+1~, NOK+10*, NOK+22
SDNOKPH2 NOK+1~, NOK+12*, NOK+23
SDNOKPO NOK+1~, NOK+10*, NOK+26
SDNOKPO2 NOK+1~, NOK+12*, NOK+27
SDNOKR NOK+1~, NOK+10*, NOK+18
SDNOKR2 NOK+1~, NOK+12*, NOK+19
SDNOSDAY FUT+1~, FUT+3*, FUT+4*, FUT+6, FUT+27
SDPHON PATINFO+1~, NOK+1~, EC+1~
SDPHON("CELL" PATINFO+10*, PATINFO+13
SDPHON("E-WORK" EC+8*, EC+57
SDPHON("E2-WORK" EC+9*, EC+58
SDPHON("HOME" PATINFO+4*, PATINFO+11
SDPHON("K-WORK" NOK+6*, NOK+10
SDPHON("K2-WORK" NOK+7*, NOK+12
SDPHON("WORK" PATINFO+7*, PATINFO+12
SDPHON(2 PATINFO+9, PATINFO+10, NOK+5, NOK+6, NOK+7, EC+7, EC+8, EC+9
SDPNODE PROV+1~, PROV+3*, PROV+4
SDPNUM PROV+1~, PROV+2*, PROV+3*
SDPROV PRT+19~*, PRT+21, PROV+4*
SDSET NOK+1~, NOK+13*, NOK+14*, NOK+15*, NOK+16, NOK+17*, NOK+18*, NOK+19*, NOK+20, NOK+21*
NOK+22*, NOK+23*, NOK+24, NOK+25*, NOK+26*, NOK+27*, NOK+28
>> SDTL EN+6, EN+16, EN+26, PRT+6, PRT+7
>> SDUP EN+5, EN+8, EN+10, EN+12, EN+14, EN+18, EN+20, EN+22, EN+24, EN+28
EN+30, EN+32, EN+34, PROV+3, FUT+13
SDX PRT+1~, PRT+4*, PRT+5~, PRT+20*, PRT+21*, PATINFO+1~, PATINFO+11*, PATINFO+12*, PATINFO+13*, NOK+1~
NOK+13*, NOK+14*, NOK+15*, NOK+16, NOK+17*, NOK+18*, NOK+19*, NOK+20, NOK+21*, NOK+22*
NOK+23*, NOK+24, NOK+25*, NOK+26*, NOK+27*, NOK+28, NOKFL*, EC+1~, EC+12*, EC+14*
EC+15*, EC+16*, EC+17, EC+18*, EC+19*, EC+20*, EC+21, EC+23*, EC+24*, EC+25*
EC+26, EC+27*, EC+28*, EC+29*, EC+30, EC+31*, EC+32*, EC+33*, EC+34, EC+35*
EC+38*, EC+41*, EC+42*, EC+43*, EC+47*, EC+48*, EC+49*, EC+50, EC+52*, EC+53*
EC+54*, EC+55, EC+56*, EC+57*, EC+58*, EC+59, PROV+1~, MHTC+1*, MHTC+2*, MHTC+3
FUT+1~, FUT+6*, FUT+7, FUT+15*, FUT+16*, FUT+20*, FUT+22*, FUT+23, FUT+26*, FUT+27*
FUT+28*, RESULTS+1~, RESULTS+2*, RESULTS+3*
SDXCLIEN PRT+5~, PRT+13*, PROV+3
SDXCLIN EN+1~, EN+7*, EN+8*, EN+10, EN+12, EN+14, EN+15, EN+21*, EN+22*, EN+24
EN+25, EN+31*, EN+32*, EN+34, EN+35, PRT+3, PRT+4, PRT+6, PRT+7, PRT+15
PRT+20, PRT+21
SDXDFN EN+1~, EN+2*, PRT+9*, PRT+20, PATINFO+2, PATINFO+5, PATINFO+8, PATINFO+9, PATINFO+10, NOK+2
NOK+3, NOK+4, NOK+5, NOK+6, NOK+7, EC+2, EC+3, EC+6, EC+7, EC+8
EC+9, FUT+10, FUT+19, FUT+21
SDXDIV EN+1~, EN+4*, EN+5*, EN+8, EN+10, EN+12, EN+14, EN+15, EN+18, EN+20
EN+22, EN+24, EN+25, EN+28, EN+30, EN+32, EN+34, EN+35, PRT+3, PRT+4
PRT+8, PRT+15, PRT+21
SDXDT PRT+5~, PRT+11*, PRT+16*, PRT+20
>> SDXFLG( PRT+3*, PRT+4*, PRT+15*
SDXID PRT+5~, PRT+10*, PRT+20
SDXNM EN+1~, EN+9*, EN+10*, EN+12, EN+14, EN+15, EN+19*, EN+20*, EN+22, EN+24
EN+25, EN+29*, EN+30*, EN+32, EN+34, EN+35, PRT+8
SDXNODE PRT+5~, PRT+8*, PRT+9, PRT+10, PRT+11, PRT+12, PRT+13, PRT+14
SDXREM EN+1~, EN+2*, EN+27*, EN+28*, EN+30, EN+32, EN+34, EN+35, PRT+6
SDXSORT1 PRT+5~, PRT+6*, PRT+8
SDXSORT2 PRT+5~, PRT+7*, PRT+8
SDXSTAT PRT+5~, PRT+12*, PRT+21
SDXSTOP EN+1~, EN+11*, EN+12*, EN+14, EN+15, EN+17*, EN+18*, EN+20, EN+22, EN+24
EN+25, EN+35*, PRT+6, PRT+7
SDZ EC+39~, EC+40*, EC+41, EC+46*, EC+47
>> TOTAL( PRT+21
VA PID+3~
VA("BID" PID+5
VAOA NOK+1~, EC+1~
VAOA("A" PATINFO+5*, NOK+3*, EC+4*, EC+5*
VAROOT PATINFO+1~, PATINFO+2*, PATINFO+5*, NOK+1~, NOK+2*, NOK+3*, EC+1~, EC+4*, EC+5*
W SETSTR~, SETSTR+5
X PRT+4, PRT+20, PRT+21, SETSTR~, SETSTR+5*, SETSTR+6, SET1~, SET1+1, SET+1*, PATINFO+11
PATINFO+12, PATINFO+13, NOK+1~, NOK+13*, NOK+14, NOK+15, NOK+17*, NOK+18, NOK+19, NOK+21*
NOK+22, NOK+23, NOK+25*, NOK+26, NOK+27, NOKFLEC+1~, EC+11*, EC+12, EC+15
EC+16, EC+19, EC+20, EC+24, EC+25, EC+28, EC+29, EC+32, EC+33, EC+41
EC+47, EC+53, EC+54, EC+57, EC+58, MHTC+2, FUT+1~, FUT+6, FUT+15*, FUT+16
FUT+20*, FUT+22, FUT+26*, FUT+28, RESULTS+2*, RESULTS+3
X1 FUT+1~, FUT+6*
X2 FUT+1~, FUT+6*
Y SETSTR~, SETSTR+5
Z SETSTR~, SETSTR+5
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All