SDMHAP1 ;MAF/ALB - MENTAL HEALTH AD HOC PROACTIVE HIGH RISK REPORT (CONT.;JULY 14, 2010
Source file <SDMHAP1.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Scheduling | 2 | SDMHAP SDMHPRO |
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 | ;
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
>> | 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 |