ORCMED ;SLC/MKB-Medication actions ;03/19/07
Source file <ORCMED.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 18 | ($$DELAY,$$ORDITEM,SUBHDR)^ORCACT $$VALID^ORCACT0 ($$INPT,$$PTR,GETDLG,GETORDER)^ORCD ($$OK,ADD,DIALOG,DISPLAY)^ORCDLG EXIT^ORCDPS1 D1^ORCDPS2 PROVIDER^ORCDPSIV $$ORDERS^ORCHART (ACCEPT,DISPLAY)^ORCHECK TXT^ORCHTAB (FREEZE,REBLD)^ORCMENU ($$LOCATION,$$PROVIDER)^ORCMENU1 EN^ORCSAVE ($$CURRENT,$$PTEVENT)^OREVNT $$LOC^OREVNTX IMOLOC^ORIMO REF^ORMBLDPS ($$LOCK,$$LOCK1,UNLK1,UNLOCK)^ORX2 |
Kernel | 2 | $$NOW^XLFDT $$UP^XLFSTR |
Pharmacy Data Management | 1 | DOSE^PSSORUTL |
Registration | 1 | FULL^VALM1 |
VA Fileman | 1 | ^DIR |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 2 | ORCDPS2 ORWDPS3 |
Name | Comments | DBIA/ICR reference |
---|---|---|
REFILLS | ; -- Request a refill for med orders
; ORNMBR = #,#,...,# of selected orders |
|
RETURN() | ; -- press return to cont
|
|
RFQ | ||
XFER | ; -- transfer to in/outpt meds
|
|
NWQ | ||
DOSES(TYPE) | ||
NW | ; -- Order New Medication from Meds tab
; Requires ORDIALOG = name of pkg dialog ; OREVENT = event, if delaying orders ; OREVENT("TS") = treating spec, if admission or transfer |
|
CONT() | ; -- Want to continue processing orders?
|
|
XFQ | ||
SHOWSIG | ; -- Show old sig for transfer in ^TMP("ORSIG",$J)
|
|
IN | ; -- Kill extra values, Reset ID's/DD from Inpt dialog
|
|
XF1 | ||
ROUTING() | ; -- Routing for refill
|
|
XF2 | ||
PTR(NAME) | ; -- Returns pointer to OR GTX NAME
|
|
OUT | ; -- Kill extra values, Reset ID's/DD from Outpt dialog
|
Name | Field # of Occurrence |
---|---|
^DIR | CONT+4, ROUTING+4 |
$$DELAY^ORCACT | XFER+10 |
$$ORDITEM^ORCACT | XF1+4, REFILLS+12 |
SUBHDR^ORCACT | XF1+4, REFILLS+12 |
$$VALID^ORCACT0 | XF1+5, REFILLS+13 |
$$INPT^ORCD | XFER+13 |
$$PTR^ORCD | XF1+11, XF1+12 |
GETDLG^ORCD | XF1+9 |
GETORDER^ORCD | XF1+9 |
$$OK^ORCDLG | XF2+1 |
ADD^ORCDLG | NW+10 |
DIALOG^ORCDLG | XF2 |
DISPLAY^ORCDLG | XF2+1 |
EXIT^ORCDPS1 | XFQ |
D1^ORCDPS2 | DOSES+6 |
PROVIDER^ORCDPSIV | XFER+18 |
$$ORDERS^ORCHART | XFER+5, REFILLS+4 |
ACCEPT^ORCHECK | XF2+1 |
DISPLAY^ORCHECK | XFER+19 |
TXT^ORCHTAB | SHOWSIG+2 |
FREEZE^ORCMENU | REFILLS+5, NW+6 |
REBLD^ORCMENU | NW+10 |
$$LOCATION^ORCMENU1 | XFER+12, REFILLS+7, NW+8 |
$$PROVIDER^ORCMENU1 | XFER+13, REFILLS+6, NW+7 |
EN^ORCSAVE | XF2+5 |
$$CURRENT^OREVNT | XFER+9 |
$$PTEVENT^OREVNT | XFER+11 |
$$LOC^OREVNTX | XFER+12, NW+8 |
IMOLOC^ORIMO | XFER+14 |
REF^ORMBLDPS | REFILLS+15 |
$$LOCK^ORX2 | XFER+2, NW+5 |
$$LOCK1^ORX2 | REFILLS+14 |
UNLK1^ORX2 | REFILLS+15 |
UNLOCK^ORX2 | XFQ+2, NWQ |
DOSE^PSSORUTL | DOSES+4 |
FULL^VALM1 | XFER+6 |
$$NOW^XLFDT | XF1+13 |
$$UP^XLFSTR | DOSES+9 |
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 |
|
Routine Call |
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | XF1+6, REFILLS+11 |
^ORD(101.41 - [#101.41] | XFER+15, XFER+16, XFER+17, XF1+8, PTR+1, NW+9 |
^ORD(101.43 - [#101.43] | DOSES+3 |
^PSX(550 - [#550] | ROUTING+2 |
^TMP("OR" | XFER+7, XF1+3, REFILLS+10 |
^TMP("ORECALL" | XF2+7*, NW+11! |
^TMP("ORNEW" | XF2+6*, XFQ+2, NW+10, NWQ |
^TMP("ORSIG" | XF1+2!, XFQ+1!, OUT+2!, OUT+3*, SHOWSIG+2 |
^TMP("ORWORD" | XF1+2!, XF2+7, XFQ+1!, OUT+3, OUT+4!, NW+11! |
^TMP("PSJMR" | XF1+2! |
Name | Line Occurrences |
---|---|
$$CONT | XF1 |
$$PTR | IN+1, OUT+1, OUT+2, OUT+5, OUT+6, DOSES+2, DOSES+3, DOSES+5, DOSES+6, DOSES+13 , DOSES+14 |
$$RETURN | REFILLS+16 |
$$ROUTING | REFILLS+8 |
DOSES | IN+2, OUT+7 |
IN | XF1+10 |
NWQ | NW+4, NW+7, NW+8, NW+9 |
OUT | XF1+10 |
RFQ | REFILLS+4, REFILLS+6, REFILLS+7, REFILLS+8 |
XF2 | XF2+2 |
XFQ | XFER+2, XFER+5, XFER+12, XFER+13, XFER+18 |
Name | Field # of Occurrence |
---|---|
^( | XF2+7*, SHOWSIG+2 |
^(0 | DOSES+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DD | DOSES+1~, DOSES+9*, DOSES+10, DOSES+11 |
DIR | CONT+1~, ROUTING+1~ |
DIR("?" | CONT+3*, ROUTING+3* |
DIR("A" | CONT+2*, ROUTING+2* |
DIR("B" | CONT+2*, ROUTING+2* |
DIR(0 | CONT+2*, ROUTING+1* |
DOSE | DOSES+1~, DOSES+5*, DOSES+8, DOSES+10 |
DRUG | DOSES+1~, DOSES+6*, DOSES+11 |
DRUG0 | DOSES+1~, DOSES+11*, DOSES+12, DOSES+13 |
DTIME | RETURN+1 |
>> DTOUT | ROUTING+4 |
DUZ | XFER+6 |
FIRST | XFER+1~, XF1+13*, XF2, XF2+2* |
I | DOSES+1~, DOSES+2*, DOSES+7*, DOSES+8, DOSES+10, DOSES+11, SHOWSIG+1~, SHOWSIG+2*, SHOWSIG+3* |
IDX | REFILLS+3~, REFILLS+10* |
NAME | PTR~, PTR+1 |
NMBR | XFER+1~, XF1*, XF1+3, REFILLS+3~, REFILLS+9*, REFILLS+10 |
OLDIFN | XFER+1~, XF1+3*, XF1+4, XF1+5, XF1+6, XF1+9 |
ORCAT | XFER+1~, XFER+8*, XFER+14, XF1+7, XF1+10 |
ORCHECK | XFER+1~, XF1+1!, XF2+2! |
ORCNT | XFER+1~, XFER+20*, XF1 |
ORD | XFER+1~, XF1+6*, XF1+7 |
ORDG | XFER+1~, XF1+1!, XF1+8* |
ORDIALOG | XFER+1~, XF1+1!, XF1+7*, XF1+8, XF1+9, XF1+10, XF2+7, NW+4, NW+9*, NW+11! |
ORDIALOG( | XF1+11!, XF1+12!, IN+1!, OUT+1, OUT+4!, OUT+5!, OUT+6!, DOSES+2!, DOSES+3, DOSES+7 , DOSES+8!, DOSES+9, DOSES+10*, DOSES+11*, DOSES+13*, DOSES+14* |
ORDITM | XFER+1~, XF1+4*, REFILLS+3~, REFILLS+12* |
ORDOSE | XF1+1!, DOSES+4! |
ORDOSE("DD" | DOSES+10, DOSES+11 |
ORDOSE(1 | DOSES+4, DOSES+13, DOSES+14 |
ORDUZ | XFER+1~, XFER+6* |
ORERR | XFER+1~, XF1+1!, XF1+5, REFILLS+3~, REFILLS+13 |
OREVENT | XFER+1~, XFER+8, XFER+10*, XFER+11*, XFER+12, NW+8 |
ORI | XFER+1~, XF1*, REFILLS+3~, REFILLS+9* |
ORIDLG | XFER+1~, XFER+15*, XF1+7 |
ORIFN | XFER+1~, XF1+1!, XF2+5, XF2+6, REFILLS+3~, REFILLS+10*, REFILLS+11, REFILLS+12, REFILLS+13, REFILLS+14 , REFILLS+15 |
ORINPT | XFER+1~, XFER+13*, XFER+14* |
ORIVDLG | XFER+1~, XFER+17*, XF1+7, XF1+10 |
>> ORL | XFER+12*, XFER+14, REFILLS+7*, NW+8* |
ORLK | REFILLS+3~, REFILLS+14* |
ORLOG | XFER+1~, XF1+13* |
ORMAX | SHOWSIG+1~* |
ORMED | DOSES+1~, DOSES+3*, DOSES+14 |
>> ORNMBR | XFER+5*, XFER+20, XF1, REFILLS+4*, REFILLS+9 |
ORNMSP | XFER+1~, XFER+19* |
>> ORNP | XFER+13*, REFILLS+6*, NW+7* |
ORODLG | XFER+1~, XFER+16*, XF1+7 |
OROUT | REFILLS+3~, REFILLS+8*, REFILLS+15 |
ORPTLK | XFER+1~, XFER+2*, XFER+3, NW+4~, NW+5* |
ORQUIT | XFER+1~, XFER+18, XF1, XF1+1!, XF2!, XF2+1*, REFILLS+3~, REFILLS+9 |
ORSRC | XFER+1~, XFER+6* |
>> ORTAB | XF1+3 |
ORTX | SHOWSIG+1~ |
ORTX( | SHOWSIG+3 |
ORTYPE | XFER+1~, XFER+6* |
>> ORVP | XFER+2, XFER+11, XFER+14, XFQ+2, DOSES+4, NW+5, NWQ |
>> ORWARD | XFER+7, XFER+8 |
ORXFER | XFER+1~, XFER+6* |
P | IN+1~*, OUT+1~, OUT+5* |
PROMPT | DOSES+1~, DOSES+5*, DOSES+7, DOSES+8, DOSES+9 |
PSOI | DOSES+1~, DOSES+3*, DOSES+4 |
STR | DOSES+1~, DOSES+12*, DOSES+13, DOSES+14 |
TYPE | DOSES~, DOSES+4, DOSES+14 |
U | XFER+3, XFER+7, XF1+3, XF1+6, XF1+8, DOSES+3, DOSES+12, DOSES+13, REFILLS+10, REFILLS+14 , NW+5 |
>> VALMBCK | XFER+4*, XFER+6*, REFILLS+5*, NW+6*, NW+11* |
WP | OUT+2~*, OUT+3, OUT+4 |
X | XFER+1~, XFER+7*, XFER+8, XFER+10*, XFER+11, XF2+1*, XF2+2, XF2+3, XF2+4, DOSES+1~ , DOSES+8*, DOSES+9*, DOSES+10, CONT+1~, SHOWSIG+1~, SHOWSIG+2*, RETURN+1~*, ROUTING+1~, ROUTING+4 |
Y | CONT+1~, CONT+5, ROUTING+1~, ROUTING+4*, ROUTING+5 |