PSODOSU2 ;BIR/RTR - Dose Check Utility routine continued ;11/18/08
Source file <PSODOSU2.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 |
---|---|---|
Outpatient Pharmacy | 3 | PSODOSU4 PSODOSUN PSODOSUT |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;new order, copy, renew, and verify orders
|
|
ERROR | ;format and write dosing error
|
|
ERRCOM | ;write dosing errors for complex dose summary after accept of an order
|
|
ERREDIT | ;write dosing errors for edits or display during complex dose entry
|
|
ERRNEW | ;write dosing errors for finish, new, copy, renewal and verify
|
|
SFD | ;
|
|
EXCEPT | ;format and write exceptions
|
|
WRITEXC | ;format and write exception messages to the screen
|
|
MESSAGE | ;format and write messages
|
|
MSGN | ;write dosing message for new, copy, renew, and verify
|
|
MSGC | ;write dosing message for edits or display during complex dose entry
|
|
WRITMSG | ;
|
|
WRITMSG1 | ;
|
|
WRTINTRO | ;
|
|
GENERAL | ;general dosing range information
|
|
HD | ;
|
|
HD2 | ;
|
|
PSOORI | ;**writes per orifice intro text to the screen for dosing check summary**
|
|
SETV | ; Set variables indicating what messages exist
|
Name | Field # of Occurrence |
---|---|
^DIR | HD2+2 |
^DIWP | ERRCOM+10, ERREDIT+5, ERRNEW+9, WRITMSG+4, WRITMSG+8, GENERAL+3, GENERAL+12 |
WRITEXC^PSODOSU4 | WRITEXC+1 |
$$FEED^PSODOSUT | MESSAGE+1, MESSAGE+3 |
DAILY^PSODOSUT | MSGN+5, MSGN+6, MSGC+8, MSGC+9 |
EXCEPT^PSODOSUT | EN+11 |
SBAD^PSODOSUT | EXCEPT+8, EXCEPT+9 |
SUB^PSODOSUT | ERRCOM+9, ERRNEW+8, EXCEPT+18, EXCEPT+32, MSGN+3, MSGC+7 |
SUMM^PSODOSUT | ERRCOM+8, ERRNEW+7, EXCEPT+15, EXCEPT+31, MSGN+2, MSGC+4 |
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 |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP($J | EN+4, EN+7, ERROR+2, ERROR+5, EXCEPT+6, EXCEPT+7, MESSAGE+4, MESSAGE+12, MESSAGE+14, MESSAGE+16 , MESSAGE+30, WRITMSG+11, WRITMSG+13, GENERAL+5, GENERAL+6, GENERAL+15, SETV+2, SETV+3, SETV+4, SETV+5 , SETV+6, SETV+8, SETV+9, SETV+10 |
^UTILITY($J | ERROR+5!, ERRCOM+10!, ERRCOM+11, ERRCOM+12, ERREDIT+5!, ERREDIT+6, ERREDIT+7, ERRNEW+9!, ERRNEW+10, ERRNEW+11 , WRITMSG+4!, WRITMSG+8!, WRITMSG+10!, WRITMSG1+5, WRITMSG1+6, WRTINTRO+2, WRTINTRO+3, GENERAL+3!, GENERAL+11!, GENERAL+13 , GENERAL+17! |
Name | Line Occurrences |
---|---|
ERRCOM | ERROR+7 |
ERREDIT | ERROR+8 |
ERRNEW | ERROR+9, ERROR+11 |
ERROR | EN+12 |
EXCEPT | EN+13 |
GENERAL | MESSAGE+15 |
HD | EN+4, ERRCOM+1, ERRCOM+3, ERRCOM+5, ERRCOM+7, ERRCOM+9, ERRCOM+10, ERRCOM+11, ERRCOM+12, ERREDIT+2 , ERREDIT+3, ERREDIT+4, ERREDIT+6, ERRNEW+1, ERRNEW+4, ERRNEW+5, ERRNEW+6, ERRNEW+8, ERRNEW+9, ERRNEW+10 , EXCEPT+4, EXCEPT+5, EXCEPT+10, EXCEPT+14, EXCEPT+16, EXCEPT+19, EXCEPT+24, EXCEPT+28, EXCEPT+30, EXCEPT+32 , EXCEPT+33, MESSAGE+1, MESSAGE+3, MESSAGE+18, MESSAGE+20, MESSAGE+22, MSGN+3, MSGN+7, MSGC+2, MSGC+5 , WRITMSG+10, WRITMSG+13, WRITMSG1+6, WRTINTRO+3, GENERAL+8, GENERAL+13 |
MESSAGE | EN+14 |
MSGC | MESSAGE+28 |
MSGN | MESSAGE+26 |
PSOORI | ERRCOM+9, ERRNEW+8, EXCEPT+18, EXCEPT+32, MSGN+3, MSGC+7, HD2+6 |
SETV | EN+11 |
SFD | ERRCOM+12, ERREDIT+7, ERRNEW+11 |
WRITEXC | EXCEPT+20, EXCEPT+25, EXCEPT+34 |
WRITMSG | MESSAGE+27, MESSAGE+31, MSGN+7, MSGC+10 |
WRITMSG1 | WRITMSG+5, WRITMSG+9 |
WRTINTRO | GENERAL+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DIR | HD2+1~, HD2+2! |
DIR("A" | HD2+2* |
DIR(0 | HD2+2* |
DIROUT | HD2+1~ |
DIRUT | HD2+1~, HD2+3, HD2+4 |
DIWF | ERRCOM+6~, ERREDIT+5~, ERRNEW+5~, WRITMSG+2~, GENERAL+10~ |
DIWL | ERRCOM+6~, ERRCOM+10*, ERRCOM+11, ERRCOM+12, ERREDIT+5~*, ERREDIT+6, ERREDIT+7, ERRNEW+5~, ERRNEW+9*, ERRNEW+10 , ERRNEW+11, WRITMSG+2~, WRITMSG+4*, WRITMSG+8*, WRITMSG1+5, WRITMSG1+6, WRTINTRO+2, WRTINTRO+3, GENERAL+3*, GENERAL+10~ , GENERAL+11*, GENERAL+13 |
DIWR | ERRCOM+6~, ERRCOM+10*, ERREDIT+5~*, ERRNEW+5~, ERRNEW+9*, WRITMSG+2~, WRITMSG+4*, WRITMSG+8*, GENERAL+3*, GENERAL+10~ , GENERAL+11* |
DTOUT | HD2+1~, HD2+4 |
DUOUT | HD2+1~, HD2+3, HD2+4 |
IOF | HD2+3, HD2+5 |
IOSL | HD+2 |
>> PSOCOPY | MSGC+7 |
>> PSOCPXB | EN+10, ERROR+7, ERROR+9, ERROR+10, ERRCOM+2, ERRCOM+8, ERREDIT+1, ERRNEW+2, ERRNEW+3, ERRNEW+7 , ERRNEW+8, EXCEPT+15, EXCEPT+18, EXCEPT+27, EXCEPT+31, MESSAGE+28, MSGN+1, MSGN+2, MSGN+3, MSGN+5 , MSGN+6, MSGC+3, MSGC+4, MSGC+7, WRITMSG1+7 |
>> PSOCPXC | ERRCOM+1, ERRCOM+2, ERRCOM+3, ERRCOM+4, ERRCOM+7, ERRCOM+9, ERRCOM+10, ERRCOM+11, ERRCOM+12, ERRNEW+6 , EXCEPT+5, EXCEPT+14, EXCEPT+28, EXCEPT+29, EXCEPT+30, EXCEPT+32, EXCEPT+34, MESSAGE+3, MESSAGE+21, MESSAGE+22 , MSGN+1, MSGC+1, MSGC+2, MSGC+3, MSGC+5, MSGC+7, WRITMSG1+7, HD2+3 |
>> PSOCPXF | ERRCOM+7, ERRNEW+6, EXCEPT+14, EXCEPT+30, MESSAGE+21, MESSAGE+22, MSGN+1, MSGC+1, MSGC+3 |
>> PSOCPXG | ERRCOM+9*, ERRNEW+8*, EXCEPT+17*, EXCEPT+18, EXCEPT+32*, MSGN+1*, MSGN+3*, MSGN+4, MSGN+5, MSGN+6 , MSGC+3*, MSGC+5*, MSGC+6, MSGC+7, WRITMSG+13 |
>> PSOCPXH | MSGN+1*, MSGC+3*, MSGC+7* |
PSOCPXRR | EN+1~, EN+6! |
PSOCPXRR( | ERRCOM+9, ERRNEW+8, EXCEPT+18, EXCEPT+32, MSGN+3, MSGN+4, MSGC+6, MSGC+7 |
PSODAILY | MESSAGE+21!, MSGN+1!, MSGN+4!, MSGN+5!, MSGN+6!, MSGC+1!, MSGC+3!, MSGC+6!, MSGC+8, MSGC+9 |
>> PSODCONT | EXCEPT+23* |
>> PSODELNX | WRITMSG+11*, WRITMSG+13* |
PSODELXF | ERRCOM+6~, ERRCOM+11*, ERREDIT+5~, ERREDIT+6*, ERRNEW+5~, ERRNEW+10*, SFD+1*, WRITMSG1+1~, WRITMSG1+2*, WRITMSG1+6* , GENERAL+10~, GENERAL+13* |
PSODELXR | ERRCOM+6~, ERRCOM+11*, ERRCOM+12, ERREDIT+5~, ERREDIT+6*, ERREDIT+7, ERRNEW+5~, ERRNEW+10*, ERRNEW+11, WRITMSG1+1~ , WRITMSG1+5*, WRITMSG1+6, WRTINTRO+1~, WRTINTRO+2*, WRTINTRO+3, GENERAL+10~, GENERAL+13*, HD2+6 |
>> PSODLALZ | EXCEPT+11* |
>> PSODLECT | EN+8*, ERROR+1*, ERROR+3*, ERRCOM+5, ERRCOM+10, ERRNEW+5, ERRNEW+9 |
>> PSODLERA | ERROR+2*, ERROR+5, EXCEPT+6*, EXCEPT+7 |
>> PSODLERB | ERROR+5*, ERROR+6, ERRCOM+10, ERREDIT+5, ERRNEW+2, ERRNEW+9, EXCEPT+7*, EXCEPT+9, EXCEPT+10, EXCEPT+23 |
PSODLERC | GENERAL+1~, GENERAL+6*, GENERAL+7, GENERAL+12 |
>> PSODLERF | EN+3*, ERRCOM+1, ERRCOM+2, ERRCOM+3*, ERREDIT+1, ERREDIT+2, ERREDIT+3*, ERRNEW+1, ERRNEW+3, ERRNEW+4* , EXCEPT+4, EXCEPT+5, EXCEPT+11*, EXCEPT+16, EXCEPT+28, MESSAGE+18, MESSAGE+19* |
PSODLERH | EN+1~ |
PSODLERL | EN+1~, ERRNEW+2* |
>> PSODLERR | ERRCOM+12*, ERREDIT+7*, ERRNEW+11*, MESSAGE+20 |
PSODLERS | EN+1~ |
PSODLERW | EN+1~ |
>> PSODLERX | ERROR+5*, ERRCOM+1, ERRCOM+10, ERRCOM+12, ERREDIT+2, ERREDIT+5, ERREDIT+7, ERRNEW+1, ERRNEW+9, ERRNEW+11 , SFD+1 |
>> PSODLERZ | EN+12, EN+13, ERROR+6*, ERRCOM+3, ERRCOM+9, ERREDIT+3, ERRNEW+4, ERRNEW+8, SFD+1*, EXCEPT+1* , EXCEPT+4*, EXCEPT+5*, EXCEPT+18, MESSAGE+2, GENERAL+13* |
>> PSODLESM | EXCEPT+5*, EXCEPT+32, EXCEPT+33*, MESSAGE+21, MSGC+1 |
>> PSODLEXR | ERRCOM+12*, ERREDIT+7*, ERRNEW+11*, MESSAGE+23*, MESSAGE+24*, WRITMSG1+6*, GENERAL+10* |
>> PSODLFLG | MESSAGE+22, MESSAGE+23*, MESSAGE+25*, MESSAGE+26*, MESSAGE+27*, WRITMSG1+6*, WRITMSG1+7 |
>> PSODLINR | MESSAGE+8, MESSAGE+9, MESSAGE+25*, MSGC+8 |
>> PSODLINS | MESSAGE+8, MESSAGE+9, MESSAGE+25* |
>> PSODLINX | MESSAGE+8, MESSAGE+9, MESSAGE+25*, MSGC+9 |
>> PSODLMSG | MESSAGE+16*, MESSAGE+17, MESSAGE+30*, WRITMSG+8 |
>> PSODLNN1 | EN+4*, EN+7*, EN+9, ERROR+2, ERROR+5, ERRCOM+9, ERRNEW+8, EXCEPT+6, EXCEPT+7, EXCEPT+17 , EXCEPT+32, MESSAGE+4, MESSAGE+12, MESSAGE+14, MESSAGE+16, MESSAGE+30, MSGN+1, MSGN+3, MSGN+4, MSGC+3 , MSGC+5, MSGC+6, WRITMSG+11, WRITMSG+13, GENERAL+5, GENERAL+6, GENERAL+15, SETV+2, SETV+3, SETV+4 , SETV+5, SETV+6, SETV+8, SETV+9, SETV+10 |
>> PSODLP1 | MESSAGE+14*, MESSAGE+16, GENERAL+5, GENERAL+6 |
PSODLP2 | GENERAL+1~, GENERAL+5*, GENERAL+6 |
>> PSODLPL | MESSAGE+4*, MESSAGE+6, MESSAGE+11, MESSAGE+14, MESSAGE+15, MESSAGE+16, MESSAGE+25, MESSAGE+29, MSGN+5, MSGN+6 , MSGC+8, MSGC+9, WRTINTRO+4, GENERAL+5, GENERAL+6 |
>> PSODLQT | EN+5*, ERROR+4*, ERRCOM+1, ERRCOM+2, ERRCOM+3, ERRCOM+5, ERRCOM+9, ERRCOM+10, ERRCOM+11, ERRCOM+12 , ERREDIT+1, ERREDIT+2, ERREDIT+3, ERREDIT+4, ERREDIT+6, ERREDIT+7, ERRNEW+1, ERRNEW+3, ERRNEW+4, ERRNEW+5 , ERRNEW+8, ERRNEW+9, ERRNEW+10, ERRNEW+11, EXCEPT+4, EXCEPT+5, EXCEPT+16, EXCEPT+18, EXCEPT+19, EXCEPT+24 , EXCEPT+28, EXCEPT+32, EXCEPT+33, MESSAGE+1, MESSAGE+2, MESSAGE+3, MESSAGE+18, MESSAGE+20, MESSAGE+21, MESSAGE+22 , MSGC+1, WRITMSG+1, WRITMSG+11, WRITMSG+12, WRITMSG1+6, GENERAL+13, HD+1*, HD+2, HD2+4* |
PSODLQTC | EN+1~, EN+4, EN+7, EN+12, EN+13, EN+14, ERRCOM+1, ERRCOM+5, ERREDIT+2, ERREDIT+3 , ERREDIT+4, ERREDIT+6, ERRNEW+1, ERRNEW+4, ERRNEW+5, ERRNEW+8, ERRNEW+9, ERRNEW+10, EXCEPT+4, EXCEPT+10 , EXCEPT+14, EXCEPT+16, EXCEPT+19, EXCEPT+24, EXCEPT+30, EXCEPT+32, EXCEPT+33, MESSAGE+1, MESSAGE+3, MESSAGE+18 , MESSAGE+20, MSGN+3, MSGN+7, MSGC+2, MSGC+5, WRITMSG+10, WRITMSG+13, WRITMSG1+6, WRTINTRO+2, WRTINTRO+3 , GENERAL+8, GENERAL+13, HD2+3* |
PSODLWW | EN+1~, EN+3*, EN+15!, EXCEPT+5, EXCEPT+16*, EXCEPT+19*, EXCEPT+24*, EXCEPT+28, EXCEPT+32, EXCEPT+33 , MESSAGE+18, MESSAGE+20, MESSAGE+22, WRITMSG+1* |
>> PSODLXNT | EN+9 |
PSODMESE | EN+2~, SETV+1*, SETV+2* |
PSODMESG | EN+2~, ERROR+12, EXCEPT+2, EXCEPT+3, SETV+1*, SETV+5* |
PSODMESH | EN+2~, SETV+1*, SETV+8*, SETV+9*, SETV+10* |
PSODMESM | EN+2~, EN+12, EN+13, EXCEPT+4, EXCEPT+5, SETV+1*, SETV+4* |
PSODMEST | EN+2~, SETV+1*, SETV+6* |
PSODMESX | EN+2~, EN+12, EXCEPT+2, EXCEPT+3, EXCEPT+4, EXCEPT+5, SETV+1*, SETV+3* |
PSODOSER | EN+1~, ERRCOM+12*, ERREDIT+7*, ERRNEW+11*, EXCEPT+2, EXCEPT+3! |
>> PSODSEQ | EN+3*, EN+4*, EN+5, EN+7, ERROR+2, ERROR+5, EXCEPT+6, EXCEPT+7, MESSAGE+4, MESSAGE+12 , MESSAGE+14, MESSAGE+16, MESSAGE+30, WRITMSG+11, WRITMSG+13, GENERAL+5, GENERAL+6, GENERAL+15, SETV+2, SETV+3 , SETV+4, SETV+5, SETV+6, SETV+8, SETV+9, SETV+10 |
>> PSODTYPE | EN+5, EN+6, EN+8, EN+9, EN+12, EN+13, ERROR+1, ERROR+3, ERROR+4, ERROR+7 , ERROR+8, ERROR+9, ERROR+10, ERROR+12, EXCEPT+1, EXCEPT+2, EXCEPT+4, EXCEPT+5, EXCEPT+8, EXCEPT+9 , EXCEPT+10, EXCEPT+13, EXCEPT+22, EXCEPT+27, MESSAGE+1, MESSAGE+2, MESSAGE+3, MESSAGE+7, MESSAGE+15, MESSAGE+20 , MESSAGE+21, MESSAGE+24, MESSAGE+26, MESSAGE+27, MESSAGE+28, MESSAGE+29, WRITMSG+11, WRITMSG+12, WRITMSG1+7 |
>> PSOERROR | ERRCOM+12*, ERREDIT+7*, ERRNEW+11*, GENERAL+16 |
>> PSOEXCPT | GENERAL+16 |
>> PSOGENF | GENERAL+16* |
>> PSOINTRO | MESSAGE+12*, MESSAGE+13*, WRITMSG+3, WRITMSG+4, WRITMSG+7*, WRITMSG1+4, WRTINTRO+5*, GENERAL+2, GENERAL+3, PSOORI+1 , PSOORI+2, PSOORI+3* |
>> PSOLASTD( | ERRCOM+13*, ERREDIT+8*, ERRNEW+12*, WRITMSG+13*, GENERAL+14* |
>> PSOLASTS | EN+5*, ERRCOM+13, ERREDIT+8, ERRNEW+12, WRITMSG+13, GENERAL+14 |
PSONFRNF | EN+1~, ERRCOM+13*, ERREDIT+8*, ERRNEW+12*, WRITMSG1+6*, GENERAL+13* |
PSOOCNT | EN+1~, EN+3*, EN+10* |
PSOOFL | EN+1~, EN+3*, WRITMSG+3, WRITMSG1+4, HD2+6*, PSOORI+1, PSOORI+3* |
>> PSORENW | MSGC+7 |
>> PSORENWD | ERRCOM+8, ERRNEW+7, EXCEPT+15, EXCEPT+31, MSGN+2, MSGC+4, HD+3 |
PSORLNF | EN+2~, EN+3*, MESSAGE+20* |
>> PSORX("DFLG" | EN+4, EN+7, ERROR+2, GENERAL+5, HD+2, HD2+4* |
PSOSPACE | WRITMSG1+1~, WRITMSG1+3*, WRITMSG1+4*, WRITMSG1+6 |
PSOWMSG | EN+1~, WRITMSG1+6* |
U | MESSAGE+13, WRITMSG+4, WRITMSG+7, WRTINTRO+5, GENERAL+3, PSOORI+2, PSOORI+3 |
X | ERRCOM+6~, ERRCOM+10*, ERREDIT+5~*, ERRNEW+5~, ERRNEW+9*, WRITMSG+2~, WRITMSG+4*, WRITMSG+8*, GENERAL+3*, GENERAL+10~ , GENERAL+12*, HD2+1~ |
Y | HD2+1~, HD2+2!, HD2+4 |