YSSR ;SLC/AFE,HIOFO/FT - SECLUSION/RESTRAINT - Lookup & Entry ;10/21/11 9:51am
Source file <YSSR.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 |
---|---|---|
Mental Health | 4 | YSSR ENTRY YSSR SEC/RES YSSR1 YSSR2 |
Kernel | 1 | ^DIC(19 |
Name | Comments | DBIA/ICR reference |
---|---|---|
ENLST | ; Called from MENU option YSSR ENTRY
; Entry of basic S/R information |
|
ENTER | ;
|
|
SQ | ;
|
|
REVIEW | ;
|
|
FILE | ;
|
|
END | ; Called by routines YSSR1, YSSR2
|
|
EDIT | ;
|
|
DELETE | ; Called by routine YSSR2
|
|
PTNAME | ; Called by routine YSSR1
; Patient look-up. |
|
LKUP | ; Called as ENTRY action from MENU option YSSR SEC/RES
; Called by routine YSSR1 ; Lists patients in currently in S/R. May pass YSQT. |
|
PNAMES | ; Called by routine YSSR1
|
|
DXLKUP | ; Checks ^YSD(627.8 DIAGNOSTIC RESULTS for most recent diagnosis.
|
|
HEADER | ; Write header
|
|
TTIME | ;calculate total time
|
Name | Field # of Occurrence |
---|---|
^%DT | LKUP+9 |
DD^%DT | PNAMES+2, PNAMES+6, TTIME+4 |
^%DTC | TTIME+9 |
NOW^%DTC | TTIME+3 |
^DIC | ENTER+3 |
YN^DICN | SQ+2, REVIEW+2, FILE+2 |
^DIE | SQ+8, SQ+12, SQ+19, EDIT+5 |
^DIK | DELETE+2 |
$$ICDDATA^ICDXCODE | DXLKUP+13 |
DEM^VADPT | PNAMES+1 |
PID^VADPT | PNAMES+1 |
KILL^XUSCLEAN | END+1 |
^YSLRP | ENTER+1, PTNAME+2 |
ERRMSG^YSSITE | SQ+7, SQ+11, SQ+18, EDIT+4 |
WAIT^YSUTL | ENTER+2 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^YS(615.2 - [#615.2] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^VA(200 - [#200] | PNAMES+5 |
^YS(615.2 - [#615.2] | ENTER+2, SQ+7, SQ+8, SQ+11, SQ+12, SQ+17, SQ+19, SQ+21, EDIT+3, EDIT+5 , LKUP+3, LKUP+5, PNAMES+2, PNAMES+4, PNAMES+6, PNAMES+7, PNAMES+8, TTIME+1, TTIME+2, TTIME+3 |
^YSD(627.7 - [#627.7] | DXLKUP+9 |
^YSD(627.8 - [#627.8] | DXLKUP+2, DXLKUP+3, DXLKUP+4, DXLKUP+5 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | SQ+1*, SQ+2, SQ+3, SQ+5, SQ+9, REVIEW+1*, REVIEW+2, REVIEW+4, FILE+1*, FILE+2 , FILE+3, TTIME+3, TTIME+12! |
>> %DT | LKUP+9* |
>> A | LKUP+5*, PNAMES+1, PNAMES+7 |
>> A1 | LKUP+5*, PNAMES+2, PNAMES+4, PNAMES+6, PNAMES+8, TTIME+1, TTIME+2, TTIME+3 |
>> B | PNAMES+1*, PNAMES+9 |
C1 | LKUP+8!, PNAMES+1* |
DA | SQ+6*, SQ+7, SQ+8, SQ+10*, SQ+11, SQ+12, SQ+16*, SQ+17, SQ+19, SQ+21 , EDIT+1~, EDIT+2*, EDIT+3, EDIT+5, DELETE+1~, DELETE+2* |
DFN | PNAMES+1*, PNAMES+12! |
>> DIC | ENTER+3*, SQ+6, SQ+10 |
>> DIC(0 | ENTER+3* |
DIE | SQ+6*, SQ+10*, SQ+16*, EDIT+1~, EDIT+2* |
DIK | DELETE+1~, DELETE+2* |
>> DILOCKTM | SQ+7, SQ+11, SQ+17, EDIT+3 |
>> DLAYGO | ENTER+3* |
DR | SQ+6*, SQ+10*, SQ+16*, EDIT+1~, EDIT+2* |
>> DTOUT | SQ+2, SQ+13, SQ+20, REVIEW+2, FILE+2 |
>> DUOUT | SQ+2, REVIEW+2, FILE+2 |
>> FN | ENTER+3*, SQ+6, SQ+10, SQ+16, EDIT+2, DELETE+2 |
>> I | HEADER+3* |
IOF | ENLST+2 |
IOM | ENLST+2, LKUP+3, HEADER+3 |
>> JRBY | PNAMES+4*, PNAMES+5 |
>> JRBYN | PNAMES+5*, PNAMES+10 |
JRH | TTIME+10*, TTIME+11*, TTIME+12! |
JRISR | TTIME+4*, TTIME+12! |
JRMIN | TTIME+10*, TTIME+11, TTIME+12! |
JROSR | TTIME+4*, TTIME+12! |
JRTT | PNAMES+10, PNAMES+11!, TTIME+11* |
K | DXLKUP+3*, DXLKUP+4, DXLKUP+6! |
L | DXLKUP+3*, DXLKUP+4, DXLKUP+6! |
M | DXLKUP+4*, DXLKUP+5, DXLKUP+6! |
M1 | DXLKUP+6*, DXLKUP+8, DXLKUP+9, DXLKUP+11, DXLKUP+13, DXLKUP+15, DXLKUP+16! |
M2 | DXLKUP+6*, DXLKUP+7, DXLKUP+8, DXLKUP+10, DXLKUP+11, DXLKUP+15, DXLKUP+16! |
>> MSG1 | ENLST+2*, LKUP+3*, LKUP+8 |
N1 | DXLKUP+8*, DXLKUP+9, DXLKUP+11*, DXLKUP+15*, DXLKUP+16! |
N2 | DXLKUP+9*, DXLKUP+15*, DXLKUP+16! |
N3 | DXLKUP+15*, DXLKUP+16! |
N4 | DXLKUP+15*, DXLKUP+16! |
>> OPT | LKUP+8 |
R1 | TTIME+1*, TTIME+4, TTIME+5, TTIME+6, TTIME+12! |
R2 | TTIME+2*, TTIME+3*, TTIME+4, TTIME+5, TTIME+6, TTIME+12! |
R3 | TTIME+10*, TTIME+12! |
R4 | TTIME+10*, TTIME+12! |
>> SSN | PNAMES+1*, PNAMES+9 |
VA | PNAMES+12! |
VA("BID" | PNAMES+1 |
VADM | PNAMES+12! |
VADM(1 | PNAMES+1 |
X | ENTER+3*, PTNAME+2, LKUP+9*, TTIME+6*, TTIME+8*, TTIME+9*, TTIME+10, TTIME+12! |
>> X1 | TTIME+6*, TTIME+8 |
>> X2 | TTIME+8* |
XQT | END+1~ |
Y | ENTER+3, SQ+19!, PNAMES+2*, PNAMES+6*, PNAMES+10, TTIME+4*, TTIME+8*, TTIME+9, TTIME+12! |
Y("" | SQ+20 |
YS01 | PNAMES+1!, PNAMES+7*, PNAMES+9 |
YS02 | LKUP+6, LKUP+7, LKUP+10!, PNAMES+7* |
YS03 | PNAMES+1!, PNAMES+8*, PNAMES+9 |
YS04 | LKUP+7, LKUP+10!, PNAMES+8* |
>> YSDFN | ENTER+1, ENTER+2, SQ+16, PTNAME+3, DXLKUP+2, DXLKUP+3, DXLKUP+4 |
YSDT | END+1~ |
YSDTM | END+1~ |
>> YSDX | DXLKUP+2*, DXLKUP+9*, DXLKUP+13*, DXLKUP+14*, DXLKUP+15* |
YSDXDAT | DXLKUP+1~, DXLKUP+4*, DXLKUP+5*, DXLKUP+13 |
YSLC | END+1~ |
YSLCN | END+1~ |
>> YSN | PTNAME+4* |
>> YSNM | DELETE+2, PTNAME+4 |
YSPDZ | END+1~ |
>> YSQT | PTNAME+2*, PTNAME+3*, LKUP+8* |
YSTM | END+1~ |
YSTO | SQ+4~*, SQ+5, SQ+7*, SQ+9, SQ+11*, SQ+14* |
YSTOUT | SQ+2*, SQ+3, SQ+13*, SQ+14, SQ+20*, SQ+21, REVIEW+2*, REVIEW+3, FILE+2*, END+1~ |
YSUOUT | SQ+2*, SQ+3, SQ+20*, SQ+21, REVIEW+2*, REVIEW+3, FILE+2*, END+1~ |