YTQAPI1 ;ASF/ALB - MHAX REMOTE PROCEDURES ;Sep 16, 2024@16:36:13
Source file <YTQAPI1.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 | 12 | YSBWHIG2 YTQ ADMIN SAVE YTQ CAPIE YTQ GETANS YTQ RULES YTQ SAVE YTQ WP FILER YTQAPI5A YTQPXRM4 YTQRCAT YTQRCDB YTQRQAD2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
RULES(YSDATA,YS) | ;list rules for a survey
|
|
EDAD(YSDATA,YS) | ;Edit and Save Data
|
|
WPED(YSDATA,YS) | ;Replace WP field
|
|
GETANS(YSDATA,YS) | ;get an answer
|
|
CAPIE(YSDATA,YS) | ;entry point for YTQ CAPIE rpc
|
|
ADMSAVE(YSDATA,YS) | ; create new entry in MH ADMINISTRATIONS (601.84)
; ensure the YTQ ADMIN SAVE rpc can only modify 601.84 |
|
SRC(ANAME) | ; return IEN for entry source, adding if needed
|
|
ERR(YSDATA,YSRETMSG,YSLOGMSG) | ; Set return error array (YSDATA); and log error to VistA error trap
|
RPC Name | Call Tags |
---|---|
YTQ SAVE | EDAD |
YTQ RULES | RULES |
YTQ GETANS | GETANS |
YTQ CAPIE | CAPIE |
YTQ WP FILER | WPED |
YTQ ADMIN SAVE | ADMSAVE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("YS" | CAPIE+2!, CAPIE+14, CAPIE+15, CAPIE+16, CAPIE+17, CAPIE+18! |
^TMP("YSDATA" | CAPIE+3!, CAPIE+4*, CAPIE+5*, CAPIE+9*, CAPIE+10*, CAPIE+13*, CAPIE+15*, CAPIE+16*, CAPIE+17* |
^TMP("YSMHI" | EDAD+4!, EDAD+15*, WPED+5!, WPED+13* |
^YTT( | EDAD+20, EDAD+24 |
^YTT(601.71 - [#601.71] | RULES+7 |
^YTT(601.82 - [#601.82] | RULES+14, RULES+15 |
^YTT(601.83 - [#601.83] | RULES+11, RULES+12, RULES+13 |
^YTT(601.844 - [#601.844] | SRC+2 |
^YTT(601.85 - [#601.85] | GETANS+9, GETANS+12, GETANS+13, GETANS+14 |
Name | Line Occurrences |
---|---|
$$SRC | ADMSAVE+4 |
EDAD | ADMSAVE+5 |
ERR | EDAD+7, EDAD+19, EDAD+22, EDAD+26 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%ZT | ERR+1~ |
ANAME | SRC~, SRC+2, SRC+6 |
DIERR | SRC+5~, SRC+8 |
>> DILOCKTM | EDAD+20 |
DUZ | EDAD+9 |
G | RULES+4~, RULES+14*, RULES+16, RULES+17, RULES+19, EDAD+1~, EDAD+11*, EDAD+12, GETANS+4~, GETANS+11* , GETANS+12*, GETANS+13, GETANS+14 |
G1 | RULES+4~, RULES+15*, RULES+20, GETANS+4~, GETANS+12*, GETANS+14* |
G2 | RULES+4~, RULES+15*, RULES+21 |
I | ADMSAVE+3~*, ADMSAVE+4* |
IEN | SRC+1~, SRC+2*, SRC+3, SRC+8*, SRC+10 |
N | RULES+4~, RULES+12*, RULES+13, EDAD+1~, EDAD+9*, EDAD+10*, EDAD+11, WPED+3~, WPED+12*, WPED+13 , GETANS+4~, GETANS+11*, GETANS+13*, GETANS+14*, CAPIE+1~, CAPIE+9*, CAPIE+13*, CAPIE+15*, CAPIE+16*, CAPIE+17 |
N1 | RULES+4~, RULES+10*, RULES+18*, RULES+19, RULES+20, RULES+21, RULES+23*, RULES+24, RULES+25, RULES+26 , CAPIE+1~, CAPIE+14*, CAPIE+15, CAPIE+16, CAPIE+17 |
N2 | RULES+4~, RULES+22*, RULES+24*, RULES+25*, RULES+26*, CAPIE+1~, CAPIE+15* |
U | RULES+13, RULES+16, RULES+17, RULES+19, RULES+20, RULES+21, EDAD+12, EDAD+19, EDAD+27, GETANS+13 , CAPIE+15, CAPIE+16, CAPIE+17, ADMSAVE+4 |
X | WPED+11*, CAPIE+1~ |
YS | RULES~, EDAD~, WPED~, GETANS~, CAPIE~, ADMSAVE~, ADMSAVE+5 |
YS( | EDAD+9*, EDAD+10, EDAD+11, WPED+12, WPED+13, ADMSAVE+4* |
YS("AD" | GETANS+5 |
YS("CODE" | RULES+5 |
YS("FIELD" | WPED+11 |
YS("FIELDS" | CAPIE+6 |
YS("FILEN" | EDAD+5, EDAD+9, WPED+6, CAPIE+5, ADMSAVE+2* |
YS("IEN" | EDAD+8, EDAD+29, WPED+8 |
YS("IENS" | CAPIE+10 |
YS("QN" | GETANS+6 |
YSAD | GETANS+4~, GETANS+5*, GETANS+7, GETANS+9, GETANS+12 |
YSBOOL | RULES+4~, RULES+17*, RULES+19, RULES+20, RULES+21, RULES+23*, RULES+24, RULES+25, RULES+26 |
YSDATA | RULES~, EDAD~, EDAD+7, EDAD+19, EDAD+22, EDAD+26, WPED~, GETANS~, CAPIE~, CAPIE+3* , ADMSAVE~, ADMSAVE+5, ERR~ |
YSDATA( | RULES+24*, RULES+25*, RULES+26*, GETANS+13*, GETANS+14* |
YSDATA(1 | RULES+6*, RULES+8*, RULES+9*, EDAD+27*, WPED+7*, WPED+9*, WPED+11*, WPED+15*, WPED+16*, GETANS+7* , GETANS+8*, GETANS+9*, GETANS+10*, ERR+2* |
YSDATA(2 | RULES+6*, RULES+8*, RULES+11*, EDAD+27*, WPED+7*, WPED+9*, WPED+11*, WPED+15*, WPED+16*, GETANS+7* , GETANS+8*, GETANS+9*, ERR+3* |
YSERR | EDAD+1~, EDAD+25, WPED+3~, WPED+15 |
YSERRLOG | EDAD+1~, EDAD+3*, EDAD+7, EDAD+19, EDAD+22, EDAD+26 |
YSF | EDAD+1~, EDAD+12*, EDAD+13, EDAD+15, EDAD+16, EDAD+19, WPED+3~, WPED+11*, WPED+14 |
YSFIELDS | CAPIE+1~, CAPIE+6*, CAPIE+7*, CAPIE+8*, CAPIE+9, CAPIE+12 |
YSFILEN | EDAD+1~, EDAD+5*, EDAD+6, EDAD+9, EDAD+13, EDAD+15, EDAD+16, EDAD+20, EDAD+22, EDAD+24 , EDAD+29, WPED+3~, WPED+6*, WPED+7, WPED+11, WPED+14, CAPIE+1~, CAPIE+5*, CAPIE+8, CAPIE+9 , CAPIE+12, CAPIE+14, CAPIE+15, CAPIE+16, CAPIE+17 |
YSIEN | EDAD+1~, EDAD+8*, EDAD+15, EDAD+16, WPED+3~, WPED+8*, WPED+9, WPED+10*, WPED+14, WPED+16 |
YSIENS | CAPIE+1~, CAPIE+10*, CAPIE+11*, CAPIE+12, CAPIE+14, CAPIE+15, CAPIE+16, CAPIE+17 |
YSLOGMSG | ERR~, ERR+4 |
YSNN | EDAD+1~ |
YSNN(1 | EDAD+27, EDAD+29 |
YSQID | RULES+4~, RULES+16*, RULES+19, RULES+20, RULES+21, RULES+23*, RULES+24, RULES+25, RULES+26 |
YSQN | GETANS+4~, GETANS+6*, GETANS+8, GETANS+9, GETANS+12 |
YSRESULT | EDAD+1~, EDAD+10, EDAD+13*, EDAD+14*, EDAD+16, EDAD+18 |
YSRETMSG | ERR~, ERR+3 |
YSRID | RULES+4~, RULES+13*, RULES+14, RULES+15 |
YSTEST | RULES+4~, RULES+5*, RULES+6, RULES+7 |
YSTESTN | RULES+4~, RULES+7*, RULES+8, RULES+11, RULES+12 |
YSV | EDAD+1~, EDAD+12*, EDAD+14, EDAD+15, EDAD+16, EDAD+19 |
YSX | EDAD+1~, EDAD+12*, EDAD+16 |
YTERR | SRC+5~ |
YTFDA | SRC+5~ |
YTFDA( | SRC+6* |
YTIEN | SRC+5~ |
YTIEN(1 | SRC+8 |
YTTLKUP | EDAD+2~*, WPED+4~* |
Z | RULES+4~ |
Z( | RULES+19*, RULES+20*, RULES+21*, RULES+23, RULES+24, RULES+25, RULES+26 |