YTQEVNT ;SLC/KCM - MHA Protocol Events ; 1/25/2017
Source file <YTQEVNT.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
UPADM(IEN,TRIGGER) | ; fire event when administration is updated
|
|
UPANS(IEN,TRIGGER) | ; fire event when answers to administration are updated
|
|
UPRSLT(IEN,TRIGGER) | ; fire event when results for administration are updated
|
|
UPSEND(IEN,TRIGGER,OBJECT) | ; do the actual update
|
|
DELETE(IEN,DFN,TEST,TRIGGER) | ; fire event when administration is deleted
|
|
RECEIVE | ; YTQ EVENT TEST RECEIVER (save event data in ^XTMP)
; store events in sequence by date, example: ; ^XTMP("YTQEVTST-3230919",n,property)=value ; ^XTMP("YTQEVTST-3230919","CNT")=n |
|
MONITOR | ; for testing events published by MHA
; this may be run from the command line to watch events as they are posted ; NOTE -- the monitor doesn't support crossing midnight if you are up late |
|
SHOWEV(NODE,CNT) | ; show a single event entry
; write timestamp action object:ien ; testName for patientName ; userLastName,initial (invoked from trigger) |
|
CLEARALL | ; clears all test event nodes in ^XTMP
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^ORD(101 - [#101] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | SHOWEV+12 |
^VA(200 - [#200] | SHOWEV+13 |
^XTMP( | RECEIVE+7*, RECEIVE+8*, RECEIVE+9*, RECEIVE+10*, RECEIVE+11*, MONITOR+6, MONITOR+8, SHOWEV+8, CLEARALL+1, CLEARALL+3! |
^YTT(601.71 - [#601.71] | UPSEND+11 |
^YTT(601.84 - [#601.84] | UPSEND+3 |
Name | Line Occurrences |
---|---|
SHOWEV | MONITOR+9 |
UPSEND | UPADM+1, UPANS+1, UPRSLT+1 |
Name | Field # of Occurrence |
---|---|
^("CNT" | RECEIVE+8 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BUF | MONITOR+3~, MONITOR+10* |
CNT | RECEIVE+5~, RECEIVE+8*, RECEIVE+9, RECEIVE+10, RECEIVE+11, MONITOR+3~, MONITOR+8*, MONITOR+9, SHOWEV~, SHOWEV+8 |
DFN | DELETE~, DELETE+9 |
DUZ | RECEIVE+10 |
IEN | UPADM~, UPADM+1, UPANS~, UPANS+1, UPRSLT~, UPRSLT+1, UPSEND~, UPSEND+2, UPSEND+3, UPSEND+9 , DELETE~, DELETE+1, DELETE+8 |
LAST | MONITOR+3~, MONITOR+6*, MONITOR+8, MONITOR+9* |
LOOPS | MONITOR+3~, MONITOR+5*, MONITOR+11* |
NODE | RECEIVE+5~, RECEIVE+6*, RECEIVE+7, RECEIVE+8, RECEIVE+9, RECEIVE+10, RECEIVE+11, MONITOR+3~, MONITOR+5*, MONITOR+6 , MONITOR+8, MONITOR+9, SHOWEV~, SHOWEV+8, CLEARALL+1*, CLEARALL+2, CLEARALL+3 |
NOW | RECEIVE+5~, RECEIVE+6*, RECEIVE+11, MONITOR+3~, MONITOR+5* |
OBJECT | UPSEND~, UPSEND+7 |
OUT | MONITOR+3~, MONITOR+7*, MONITOR+10* |
TEST | DELETE~, DELETE+2, DELETE+10 |
TODAY | RECEIVE+5~, RECEIVE+6*, RECEIVE+7, MONITOR+3~, MONITOR+5* |
TRIGGER | UPADM~, UPADM+1, UPANS~, UPANS+1, UPRSLT~, UPRSLT+1, UPSEND~, UPSEND+8, DELETE~, DELETE+7 |
U | UPSEND+4, UPSEND+10, UPSEND+11, RECEIVE+7, SHOWEV+12, SHOWEV+13 |
X | UPSEND+1~, UPSEND+12*, DELETE+3~, DELETE+11*, SHOWEV+7~, SHOWEV+8*, SHOWEV+9 |
X("action" | SHOWEV+11 |
X("dfn" | SHOWEV+12 |
X("ien" | SHOWEV+11 |
X("object" | SHOWEV+11 |
X("test" | SHOWEV+12 |
X("trigger" | SHOWEV+14 |
X("ts" | SHOWEV+10 |
X("user" | SHOWEV+13 |
YTQ101 | UPSEND+1~, UPSEND+5*, UPSEND+12, DELETE+3~, DELETE+4*, DELETE+11 |
YTQEVNT | UPSEND+1~, DELETE+3~, RECEIVE+4, RECEIVE+9 |
YTQEVNT("action" | UPSEND+6*, DELETE+5* |
YTQEVNT("dfn" | UPSEND+10*, DELETE+9* |
YTQEVNT("ien" | UPSEND+9*, DELETE+8* |
YTQEVNT("object" | UPSEND+7*, DELETE+6* |
YTQEVNT("test" | UPSEND+11*, DELETE+10* |
YTQEVNT("trigger" | UPSEND+8*, DELETE+7* |
YTQX | UPSEND+1~, UPSEND+3*, UPSEND+4, UPSEND+10, UPSEND+11 |