ORCDPSIV ;SLC/MKB-Pharmacy IV dialog utilities ;06/17/10
Source file <ORCDPSIV.m>
Package | Total | Call Graph |
---|---|---|
Pharmacy Data Management | 4 | ZERO^PSS51P1 $$IV^PSSDSAPA EN^PSSGS0 ($$IVDEA,IVDEA)^PSSUTIL1 |
Kernel | 3 | $$NOW^XLFDT $$UP^XLFSTR $$PRDEA^XUSER |
Inpatient Medications | 2 | ORINF^PSIVSP ENVOL^PSJORUT2 |
Order Entry Results Reporting | 2 | ($$INPT,$$PTR,$$RECALL,$$VAL)^ORCD ($$IVQOVAL,IVDOSFRM)^ORWDPS33 |
Toolkit | 1 | $$GET^XPAR |
VA FileMan | 1 | IX^DIC |
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 |
---|---|---|
Order Entry Results Reporting | 7 | ORADDFQT ORCACT ORCACT2 ORCMED ORWDXM2 ^ORD(101.41 ITEMS |
Name | Comments | DBIA/ICR reference |
---|---|---|
CKSCH | ; -- validate schedule [Called from P-S Action]
|
|
ISONETIM(SCH) | ;
|
|
ADDFRD(ORDIALOG,INST,PROMPT) | ;
|
|
ADDFRQC | ;
|
|
ADDFRQI | ;
|
|
PROVIDER | ; -- Check provider, if authorized to write med orders
|
|
MEDPROV() | ; -- Return ordering med provider
|
|
CHANGED(TYPE) | ; -- Kill dependent values when OI changes
|
|
INACTIVE(TYPE) | ; -- Check OI inactive date
|
|
VOLUME | ; -- get allowable volumes for solution
|
|
UNITS | ; -- get allowable units for current additive
|
|
PREMIX() | ; -- Returns 1 or 0, if IV base is a premix solution
|
|
IVRTEENT | ;
|
|
BIVOI(ARRAY) | ;
|
|
LVROUTES | ;
|
|
RTEDISP(ROUTES) | ;
|
|
IVRTESCR(Y) | ;
|
|
ROUTECHK | ;
|
|
ENRATE | ; -- set display text, help based on IV TYPE
|
|
INF | ; -- input transform for INFUSION RATE
|
|
VALIDAYS(X) | ; -- Validate IV duration
|
|
VALDURA(X) | ;-- Validate IV duration/limitation
|
|
IVPSI | ;INPUT-TRANSFORM
|
|
IVPSI1 | ; ASK ON CONDITION
|
|
IVPS1X | ;
|
|
IVDURT(TYPE) | ;
|
|
IVDURX | ;
|
|
IVDURH | ;
|
Name | Field # of Occurrence |
---|---|
IX^DIC | MEDPROV+4 |
$$INPT^ORCD | INACTIVE+9 |
$$PTR^ORCD | ISONETIM+6, UNITS+2, UNITS+5, PREMIX+2 |
$$RECALL^ORCD | ADDFRD+6 |
$$VAL^ORCD | VOLUME+2 |
$$IVQOVAL^ORWDPS33 | IVRTESCR+3 |
IVDOSFRM^ORWDPS33 | LVROUTES+3 |
ORINF^PSIVSP | INF+28 |
ENVOL^PSJORUT2 | VOLUME+3, UNITS+3 |
ZERO^PSS51P1 | ISONETIM+4 |
$$IV^PSSDSAPA | ADDFRD+9 |
EN^PSSGS0 | CKSCH+2 |
$$IVDEA^PSSUTIL1 | INACTIVE+12 |
IVDEA^PSSUTIL1 | INACTIVE+10 |
$$NOW^XLFDT | PROVIDER+5, INACTIVE+3 |
$$UP^XLFSTR | ADDFRQI+1, INF+12, VALIDAYS+4, IVPSI+5 |
$$GET^XPAR | PROVIDER+1 |
$$PRDEA^XUSER | INACTIVE+14 |
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 |
|
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) |
---|---|
^ORD(101.41 - [#101.41] | ADDFRD+4, ADDFRD+5, CHANGED+7, CHANGED+11 |
^ORD(101.43 - [#101.43] | ADDFRD+8, INACTIVE+3, INACTIVE+6, INACTIVE+11, VOLUME+2, UNITS+2, PREMIX+4 |
^TMP($J | ISONETIM+3!, ISONETIM+5, ISONETIM+11! |
^VA(200 - [#200] | PROVIDER+2, PROVIDER+3, INACTIVE+14 |
^XUSEC("OREMAS" | PROVIDER+1 |
Name | Field # of Occurrence |
---|---|
^( | INACTIVE+3 |
^(0 | INACTIVE+14 |
^(20 | PROVIDER+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ADDFRIEN | ADDFRD+1~, ADDFRD+4* |
ADDIEN | ADDFRD+1~, ADDFRD+5*, ADDFRD+7 |
ALPHA | INF+1~, INF+13*, INF+14, INF+15, INF+16*, INF+22*, INF+23, INF+24*, INF+26, INF+27* |
ARRAY | IVRTEENT+1~, IVRTEENT+9, BIVOI~, LVROUTES+1~, LVROUTES+2, LVROUTES+3, IVRTESCR+1~, IVRTESCR+2, IVRTESCR+3 |
ARRAY( | BIVOI+6* |
BASE | PREMIX+1~, PREMIX+2*, PREMIX+3, PREMIX+4 |
CNT | VOLUME+1~, VOLUME+5*, VOLUME+6*, VOLUME+9, BIVOI+1~, BIVOI+2*, BIVOI+6*, RTEDISP+1~, RTEDISP+2*, RTEDISP+3 , ROUTECHK+1~, INF+1~, INF+6*, INF+7, INF+15*, INF+16, INF+23*, INF+24, INF+26*, INF+27 |
D | MEDPROV+1~, MEDPROV+2* |
DEA | INACTIVE+1~, INACTIVE+12*, INACTIVE+15 |
DIC | MEDPROV+1~, MEDPROV+2* |
DIC("A" | MEDPROV+2* |
DIC("S" | MEDPROV+3* |
DIC(0 | MEDPROV+2* |
DIR | IVRTEENT+1~ |
DUR | ISONETIM+1~, ISONETIM+6*, ISONETIM+7, ISONETIM+8 |
DURI | IVPSI1+1~, IVPSI1+3*, IVPSI1+4, IVPSI1+7 |
DURV | IVPSI1+1~, IVPSI1+4*, IVPSI1+5, IVPSI1+6, IVPSI1+7 |
DUZ | PROVIDER+1 |
EXIT | INACTIVE+1~, INACTIVE+9*, IVRTEENT+4*, INF+1~, INF+17*, INF+18, INF+20*, INF+21*, INF+23*, INF+26* |
FAIL | INF+1~, INF+5*, INF+6, INF+7*, INF+8 |
I | CHANGED+1~, INACTIVE+1~, INACTIVE+6*, VOLUME+1~, VOLUME+5*, VOLUME+7, VOLUME+8, UNITS+1~, UNITS+4*, PREMIX+1~ , PREMIX+3*, PREMIX+4, VALIDAYS+1~, VALIDAYS+4* |
IEN | ROUTECHK+1~ |
INST | ADDFRD~, ADDFRD+6, ADDFRD+7, INACTIVE+2, VOLUME+2, UNITS+2, UNITS+5 |
INT | IVPSI1+8~ |
IVTYPE | IVPSI1+8~ |
LDEC | INF+1~, INF+19*, INF+20, INF+23, INF+24 |
MSG | ENRATE+1~*, ENRATE+3*, ENRATE+4 |
NAME | PROVIDER+2~*, PROVIDER+3*, PROVIDER+4, PROVIDER+5, CHANGED+1~, CHANGED+10*, CHANGED+11 |
NUM | BIVOI+1~, BIVOI+5*, BIVOI+6 |
OI | ADDFRD+1~, ADDFRD+7*, ADDFRD+8, INACTIVE+1~, INACTIVE+2*, INACTIVE+3, INACTIVE+6, INACTIVE+11 |
OIIEN | BIVOI+1~, BIVOI+4*, BIVOI+5, BIVOI+6 |
ONETIME | IVPSI1+8~ |
ORDEA | INACTIVE+1~, INACTIVE+14* |
ORDIALOG | ADDFRD~ |
ORDIALOG( | CKSCH+1, CKSCH+3*, ISONETIM+7, ISONETIM+8*, ADDFRD+7, CHANGED+8, CHANGED+12!, CHANGED+14!, INACTIVE+2, VOLUME+1! , VOLUME+8*, VOLUME+9*, UNITS+2, UNITS+5*, PREMIX+3, PREMIX+4, IVRTEENT+4, IVRTEENT+6*, BIVOI+5, BIVOI+6 , ROUTECHK+3, ROUTECHK+5*, ENRATE+2*, ENRATE+4*, ENRATE+8, ENRATE+14*, IVPSI1+4, IVPSI1+7* |
ORDIALOG("B" | IVRTEENT+3, BIVOI+4, ROUTECHK+2, ENRATE+7, IVPSI1+3 |
>> ORESET | CKSCH+1 |
>> ORI | CKSCH+1, CKSCH+3, CHANGED+12 |
>> ORIVTYPE | ADDFRD+3, ADDFRQC+1, ENRATE+1, INF+2, INF+10, IVPSI+7, IVPSI1+9, IVDURH+1 |
>> ORNP | PROVIDER+2, PROVIDER+3, PROVIDER+6*, INACTIVE+14 |
>> OROTSCH | IVPSI1+2 |
ORQUIT | PROVIDER+1*, PROVIDER+4*, PROVIDER+5*, PROVIDER+6!, INACTIVE+4*, INACTIVE+7*, INACTIVE+12, INACTIVE+14* |
ORSD | CKSCH+1! |
>> ORTYPE | IVRTEENT+2 |
ORX | CKSCH+1~*, CKSCH+2, CKSCH+3 |
>> ORXNP | PROVIDER+6* |
ORY | VOLUME+1~, VOLUME+3, UNITS+1~, UNITS+3 |
ORY( | VOLUME+5, VOLUME+7, UNITS+4 |
ORY(0 | UNITS+4 |
OTYPE | BIVOI+1~, BIVOI+3*, BIVOI+4 |
P | CHANGED+1~, CHANGED+10* |
PROMPT | CKSCH+1, CKSCH+3, ADDFRD~, ADDFRD+6, INACTIVE+2, VOLUME+1, VOLUME+8, VOLUME+9, ENRATE+2, ENRATE+4 |
PROMPTS | CHANGED+1~, CHANGED+2*, CHANGED+3*, CHANGED+4*, CHANGED+6*, CHANGED+8*, CHANGED+10 |
PS | PROVIDER+2~*, PROVIDER+4, PROVIDER+5, PROVIDER+6*, PREMIX+1~, PREMIX+4*, PREMIX+5 |
PSOI | ADDFRD+1~, ADDFRD+8*, ADDFRD+9, INACTIVE+1~, INACTIVE+11*, INACTIVE+12, VOLUME+1~, VOLUME+2*, VOLUME+3, UNITS+1~ , UNITS+2*, UNITS+3 |
PTR | CHANGED+1~, CHANGED+7*, CHANGED+8, CHANGED+11*, CHANGED+12, CHANGED+14 |
RATEI | ENRATE+6~, ENRATE+7*, ENRATE+8, ENRATE+14 |
RATEV | ENRATE+6~, ENRATE+8*, ENRATE+9, ENRATE+10, ENRATE+11 |
RDEC | INF+1~, INF+19*, INF+21, INF+25, INF+26, INF+27 |
RESULT | ADDFRD+1~, ADDFRD+2*, ADDFRD+3, ADDFRD+4, ADDFRD+5, ADDFRD+6*, ADDFRD+7, ADDFRD+8, ADDFRD+9*, ADDFRD+10* , ADDFRD+11 |
RIEN | IVRTEENT+1~, IVRTEENT+3*, IVRTEENT+4, IVRTEENT+6, ROUTECHK+2*, ROUTECHK+3, ROUTECHK+5 |
ROUTE | ROUTECHK+1~ |
ROUTES | LVROUTES+1~, LVROUTES+3, LVROUTES+4, RTEDISP~, IVRTESCR+1~ |
ROUTES( | RTEDISP+2, RTEDISP+3 |
SCH | ISONETIM~, ISONETIM+2, ISONETIM+4, ISONETIM+5, IVPSI1+8~ |
SCHNAME | IVPSI1+8~ |
TEMP | INF+1~, INF+11*, INF+12 |
TEMPX | IVPSI1+1~, IVPSI1+6*, IVPSI1+7 |
TIME | ENRATE+6~, ENRATE+10*, ENRATE+12, ENRATE+13*, ENRATE+14 |
TROUTE | IVRTEENT+1~, IVRTEENT+4*, IVRTEENT+5, ROUTECHK+3*, ROUTECHK+4 |
TYPE | CHANGED~, CHANGED+2, CHANGED+3, CHANGED+4, CHANGED+5, INACTIVE~, INACTIVE+1*, INACTIVE+4, INACTIVE+6, INACTIVE+7 , INACTIVE+12, IVPSI1+8~, IVDURT~, IVDURT+1 |
U | ADDFRD+8, PROVIDER+2, PROVIDER+3, PROVIDER+4, PROVIDER+5, CHANGED+8, CHANGED+10, INACTIVE+6, INACTIVE+11, INACTIVE+14 , VOLUME+2, UNITS+2, UNITS+4, PREMIX+5, IVRTEENT+3, BIVOI+4, RTEDISP+3, ROUTECHK+2, ENRATE+7, VALIDAYS+6 , IVPSI1+3 |
UNIT | ENRATE+6~, ENRATE+11*, ENRATE+13 |
UNITS | UNITS+1~, UNITS+4*, UNITS+5, UNITS+6, VALIDAYS+1~, VALIDAYS+3*, VALIDAYS+6 |
VALUE | IVRTESCR+1~, IVRTESCR+3*, ROUTECHK+1~ |
X | ADDFRQI+1*, ADDFRQI+2!, ADDFRQI+3*, ADDFRQI+4*, ADDFRQI+5*, MEDPROV+1~, INACTIVE+1~, INACTIVE+4*, INACTIVE+5, INACTIVE+7* , INACTIVE+8, ENRATE+1~*, ENRATE+2, ENRATE+3, ENRATE+5, INF+3!, INF+4!, INF+6, INF+7, INF+8! , INF+9!, INF+11, INF+12, INF+14!, INF+15, INF+16, INF+18!, INF+19, INF+30!, VALIDAYS~ , VALIDAYS+2, VALIDAYS+4, VALDURA~, VALDURA+1!, IVPSI+1*, IVPSI+2!, IVPSI+3!, IVPSI+4*, IVPSI+5*, IVPSI+6 , IVPSI+7!, IVPSI+8!, IVPSI+9*, IVPSI+10, IVPSI+11, IVPSI+12*, IVPSI+13, IVPSI+14, IVPSI+15*, IVPSI+16 , IVPSI+17, IVPSI+18*, IVPSI+19! |
X1 | VALIDAYS+1~, VALIDAYS+3*, VALIDAYS+4*, VALIDAYS+5 |
X2 | VALIDAYS+1~, VALIDAYS+3*, VALIDAYS+4*, VALIDAYS+6 |
XORY | VOLUME+1~ |
XORY( | VOLUME+7*, VOLUME+8 |
Y | MEDPROV+1~, MEDPROV+4*, MEDPROV+5, PREMIX+1~, PREMIX+2*, PREMIX+3, PREMIX+5*, PREMIX+6, IVRTESCR~, IVRTESCR+3 , VALIDAYS+1~, VALIDAYS+4* |
Name | Field # of Occurrence |
---|---|
$T(IVDEA^PSSUTIL1 | INACTIVE+10 |