YTXCHGP ;SLC/KCM - MH Exchange Prompting ; 9/15/2015
Source file <YTXCHGP.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 | 3 | YTXCHGL YTXCHGT YTXCHGU |
Name | Comments | DBIA/ICR reference |
---|---|---|
LKUP(FILE) | ; Lookup Mental Health Instrument & return IEN
; returns IEN, 0 for no selection, -1 for up-arrow or timeout |
|
LIST(FILE,ENTRIES) | ; Lookup in File to make list of ENTRIES
|
|
PRMTNAME(ASK,HELP,MAX) | ; Prompt using ASK and return text or ""
|
|
CONFIRM(ASK,DFLT) | ; return true if user confirms
|
|
PAUSE() | ; prompt user for return to continue
|
|
EDITWP(INSTRUCT,DEST) | ; Edit word processing text in DEST
; INSTRUCT: instructions to user ; DEST: global reference for WP text |
|
PICKTEST(TREE) | ; Return a string of instruments selected]
|
|
TESTLIST | ; Show a list of tests
; expects TESTS,TREE from PICKTEST |
|
SHOSUMM(YTXLOG,YTXDRY) | ; Display summary log information
; may be called during KIDS build, so uses MES^XPDUTL |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Name | Line Occurrences |
---|---|
$$LKUP | LIST+5 |
TESTLIST | PICKTEST+9 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ASK | PRMTNAME~, PRMTNAME+3, CONFIRM~, CONFIRM+2 |
DDWFLAGS | EDITWP+5~, EDITWP+7* |
DEST | EDITWP~, EDITWP+3*, EDITWP+7, EDITWP+9, EDITWP+10, EDITWP+11 |
DFLT | CONFIRM~, CONFIRM+2 |
DIC | LKUP+2~, LKUP+3*, EDITWP+5~, EDITWP+7* |
DIC(0 | LKUP+3* |
DIR | PRMTNAME+1~, CONFIRM+1~, PAUSE+1~ |
DIR("?" | PRMTNAME+3* |
DIR("A" | PRMTNAME+3*, CONFIRM+2*, PAUSE+2* |
DIR("B" | CONFIRM+2* |
DIR(0 | PRMTNAME+3*, CONFIRM+2*, PAUSE+2* |
DIROUT | PRMTNAME+1~, PRMTNAME+5, CONFIRM+1~, PAUSE+1~ |
DIRUT | PRMTNAME+1~, PRMTNAME+5, CONFIRM+1~, PAUSE+1~ |
DT | EDITWP+10 |
DTIME | PICKTEST+11 |
DTOUT | LKUP+2~, LKUP+4, PRMTNAME+1~, PRMTNAME+5, CONFIRM+1~, CONFIRM+4, PAUSE+1~ |
DUOUT | LKUP+2~, LKUP+4, PRMTNAME+1~, PRMTNAME+5, CONFIRM+1~, CONFIRM+4, PAUSE+1~ |
DWLW | EDITWP+5~, EDITWP+7* |
DWPK | EDITWP+5~, EDITWP+7* |
ENTRIES | LIST~, LIST+4*, LIST+5*, LIST+6!* |
ENTRIES( | LIST+5* |
FILE | LKUP~, LKUP+3, LIST~, LIST+5 |
HELP | PRMTNAME~, PRMTNAME+3 |
I | LIST+3~, LIST+5*, EDITWP+6~, PICKTEST+1~, PICKTEST+2*, PICKTEST+3, PICKTEST+4, PICKTEST+5, TESTLIST+3*, SHOSUMM+4~* , SHOSUMM+5 |
IEN | LIST+3~, LIST+5*, LIST+6 |
INSTRUCT | EDITWP~, EDITWP+4 |
J | EDITWP+6~ |
MAX | PRMTNAME~, PRMTNAME+2*, PRMTNAME+3 |
MSG | SHOSUMM+2~, SHOSUMM+5*, SHOSUMM+6, SHOSUMM+7*, SHOSUMM+8, SHOSUMM+9*, SHOSUMM+10, SHOSUMM+11*, SHOSUMM+12, SHOSUMM+13* , SHOSUMM+14, SHOSUMM+15*, SHOSUMM+16, SHOSUMM+17*, SHOSUMM+18 |
T | PICKTEST+1~, PICKTEST+15*, PICKTEST+16 |
TESTS | PICKTEST+1~, PICKTEST+3*, PICKTEST+6 |
TESTS( | PICKTEST+4*, PICKTEST+5, PICKTEST+13, TESTLIST+3 |
TESTS("B" | PICKTEST+5*, PICKTEST+14, PICKTEST+15, PICKTEST+16 |
TREE | PICKTEST~, PICKTEST+2, PICKTEST+4, TESTLIST+2 |
X | LKUP+2~, PRMTNAME+1~, CONFIRM+1~, PAUSE+1~, EDITWP+6~, PICKTEST+1~, PICKTEST+8, PICKTEST+11*, PICKTEST+12*, PICKTEST+13 , PICKTEST+14*, PICKTEST+15, PICKTEST+16*, PICKTEST+17*, PICKTEST+18 |
X1 | EDITWP+6~ |
Y | LKUP+2~, LKUP+4*, LKUP+5, PRMTNAME+1~, PRMTNAME+5*, PRMTNAME+6*, PRMTNAME+7, CONFIRM+1~, CONFIRM+4*, CONFIRM+5 , PAUSE+1~ |
YTXDRY | SHOSUMM~, SHOSUMM+11, SHOSUMM+13, SHOSUMM+15 |
YTXLOG | SHOSUMM~ |
YTXLOG("added" | SHOSUMM+11 |
YTXLOG("conflict" | SHOSUMM+3, SHOSUMM+4, SHOSUMM+5 |
YTXLOG("deleted" | SHOSUMM+15 |
YTXLOG("error" | SHOSUMM+17 |
YTXLOG("updated" | SHOSUMM+13 |