YTQEVNT ;SLC/KCM - MHA Protocol Events ; 1/25/2017
Source file <YTQEVNT.m>
| 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 | 
  | 
| FileNo | Call Tags | 
|---|---|
| ^ORD(101 - [#101] | FIND1^DIC |