OR3CONV1 ;SLC/MLI-Conversion utilities and cleanup ;8/2/97 [5/25/99 9:33am]
Source file <OR3CONV1.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 3 | KILL^OR3C101 ($$CONVERT,$$PTDONE,QUEUE,SET)^OR3CONV REQUEUE^ORMTIME |
Kernel | 2 | STAT^%ZTLOAD $$FMTE^XLFDT |
Inpatient Medications | 1 | BADNAMES^PSJIPST3 |
MailMan | 1 | ^XMD |
VA Fileman | 1 | ^DIR |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 1 | OR3CONV |
Name | Comments | DBIA/ICR reference |
---|---|---|
STATUS | ; get status of conversion
|
|
ZTSKCHK(ZTSK) | ; check status of task via TaskMan utilities
; return message^flag where flag is 1 to allow requeue...0 otherwise |
|
RUSURE(TEXT) | ; return 1 if yes, 0 otherwise
|
|
ZTSKMSG | ;;Unable to find task on current volume set^1
|
|
STAGE(STAGE) | ; return text of what stage does
|
|
FINALCHK() | ; check to see if every patient converted
|
|
STOP | ; entry point to stop conversion cleanly
|
|
CHECK() | ; check status to see if restart should be allowed
|
|
PTCONV | ; populate OR3 PATIENTS TO CONVERT multiple...hard set for speed
|
|
SEND(SUBJECT) | ; define rest of XM variables and fire message off
|
|
CLEANUP | ; conversion is completed
|
|
STAGETXT | ;;0^populating list of patients to convert
|
|
LINE(TEXT) | ; store data in array for mail message
|
|
ERROR | ; create mail message if unconverted patients found
|
|
; send e-mail that the conversion completed
|
||
RESTART | ; entry point to restart conversion
|
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 |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DPT - [#2] | PTCONV+3 |
^ORD(100.99 - [#100.99] | STOP+2, RESTART+9, CHECK+2, STATUS+2, STATUS+20, STATUS+27, FINALCHK+3, MAIL+2, PTCONV+5, PTCONV+6* , PTCONV+7* |
Name | Line Occurrences |
---|---|
$$CHECK | RESTART+2 |
$$FINALCHK | CLEANUP+2 |
$$RUSURE | STOP+6, RESTART+8 |
$$STAGE | STATUS+16 |
$$ZTSKCHK | CHECK+5, STATUS+14 |
ERROR | CLEANUP+2 |
LINE | MAIL+3, MAIL+4, MAIL+5, MAIL+6, ERROR+3, ERROR+4, ERROR+5, ERROR+6 |
CLEANUP+5 | |
SEND | MAIL+7, ERROR+7 |
STATUS | STOP+5, RESTART+7 |
Name | Field # of Occurrence |
---|---|
^( | PTCONV+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
COUNT | MAIL+1~, MAIL+2*, ERROR+1~, ERROR+2*, LINE+1*, LINE+2, PTCONV+1~, PTCONV+2*, PTCONV+4*, PTCONV+7 |
DFN | FINALCHK+1~, FINALCHK+3*, FINALCHK+4, FINALCHK+5, PTCONV+1~, PTCONV+3*, PTCONV+4, PTCONV+5, PTCONV+6 |
DIFROM | SEND+1~ |
DIR | RUSURE+1~ |
DIR("A" | RUSURE+3* |
DIR("B" | RUSURE+2* |
DIR(0 | RUSURE+2* |
DIROUT | RUSURE+1~ |
DIRUT | RUSURE+1~ |
DTOUT | RUSURE+1~ |
DUOUT | RUSURE+1~ |
DUZ | SEND+4 |
ERROR | FINALCHK+1~, FINALCHK+2*, FINALCHK+3, FINALCHK+4*, FINALCHK+5*, FINALCHK+6 |
>> I | SEND+4* |
LAST | PTCONV+1~, PTCONV+2*, PTCONV+4*, PTCONV+7 |
>> ORTEXT( | LINE+2* |
STAGE | STATUS+1~, STATUS+16*, STATUS+17, STATUS+21, STATUS+22, STATUS+25, STATUS+28, STAGE~ |
SUBJECT | SEND~, SEND+2 |
TEXT | RUSURE~, RUSURE+3, LINE~, LINE+2 |
X | STOP+1~, STOP+2*, STOP+3, STOP+4, RESTART+1~, RESTART+2*, RESTART+3, RESTART+5, CHECK+1~, CHECK+2* , CHECK+3, CHECK+4, CHECK+5*, RUSURE+1~, STATUS+1~, STATUS+2*, STATUS+3, STATUS+4, STATUS+5, STATUS+6 , STATUS+10, STATUS+12, STATUS+14, STATUS+16, STATUS+23, STATUS+25, STATUS+26, STATUS+29, STATUS+30, CLEANUP+1~ , MAIL+1~, MAIL+2*, MAIL+5, MAIL+6 |
XMDUZ | SEND+1~, SEND+3* |
XMSUB | SEND+1~, SEND+2* |
XMTEXT | SEND+1~, SEND+2* |
XMY | SEND+1~ |
XMY( | SEND+4* |
Y | RUSURE+1~, RUSURE+5 |
>> ZTSAVE("ORESTART" | RESTART+9* |
ZTSK | ZTSKCHK~ |
Name | Field # of Occurrence |
---|---|
$T(STAGETXT+STAGE | STAGE+1 |
$T(ZTSKMSG+ZTSK(1) | ZTSKCHK+3 |