ORWDX2 ; SLC/JM/AGP - Order dialog utilities ;20-Jun-2014 09:43;DU
Source file <ORWDX2.m>
Package | Total | Call Graph |
---|---|---|
Order Entry Results Reporting | 2 | $$EXT^ORCD FORMID^ORWDX |
IHS Standard Terminology | 1 | $$CONC^BSTSAPI |
Kernel | 1 | $$PATCH^XPDUTL |
Pharmacy Data Management | 1 | ($$DOSE,DOSE)^PSSORUTE |
Toolkit | 1 | GETLST^XPAR |
Package | Total | Caller Graph |
---|---|---|
Order Entry Results Reporting | 3 | ORCDPS1 ORWDX ORWDXM1 |
IHS Changes To Pharmacy | 1 | APSPESG2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
DRAFT(ID) | ; -- Return 1 or 0 if editing an unsigned/unreleased or pending order
|
|
FIXDOSES | ; Update doses for those saved before PSS*1*78 was installed
|
|
NXT() | ; -- Gets index in array
|
|
DOSEINFO | ; Collect pointers to dose information
|
|
DCREASON(LST) | ; Return a list of DC reasons
|
|
CHKDOSES() | ; Returns true if doses may need to be modified
|
|
XROOT | ; Part of LOADRSP^ORWDX - moved here because of routine size
|
|
EXTVAL(IVAL,DLG) | ; External value given a dlg ptr
|
RPC Name | Call Tags |
---|---|
ORWDX2 DCREASON | DCREASON |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DIC(9.4 - [#9.4] | DCREASON+5 |
^OR(100 - [#100] | DRAFT+4 |
^ORD(100.02 - [#100.02] | DCREASON+6 |
^ORD(100.03 - [#100.03] | DCREASON+3, DCREASON+11 |
^ORD(101.41 - [#101.41] | EXTVAL+2, XROOT+8, XROOT+12, XROOT+14, XROOT+19, XROOT+29, XROOT+30 |
^TMP("MGH" | XROOT+26* |
^TMP("ORWDXMQ" | XROOT+37! |
Name | Line Occurrences |
---|---|
$$CHKDOSES | XROOT+3 |
$$DRAFT | XROOT+21 |
$$EXTVAL | XROOT+17 |
$$NXT | XROOT+15, XROOT+17, XROOT+23, XROOT+32, XROOT+33, XROOT+34 |
DOSEINFO | XROOT+18 |
FIXDOSES | XROOT+36 |
Name | Field # of Occurrence |
---|---|
^( | DCREASON+3 |
^(0 | XROOT+6 |
^(8 | DRAFT+4 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ARRAY | DCREASON+1~, DCREASON+14 |
ARRAY( | DCREASON+7*, DCREASON+13!, DCREASON+15, DCREASON+16 |
CHKDOSE | XROOT+1~, XROOT+3*, XROOT+18, XROOT+36 |
CNT | XROOT+4*, XROOT+11*, DCREASON+1~, DCREASON+10*, DCREASON+11 |
CODE | FIXDOSES+1~, FIXDOSES+9*, FIXDOSES+10 |
DLG | EXTVAL~, EXTVAL+2, EXTVAL+3, EXTVAL+4, EXTVAL+5, XROOT+6*, XROOT+7, XROOT+8, XROOT+9, XROOT+12 , XROOT+14, XROOT+15, XROOT+17, XROOT+19, XROOT+29*, XROOT+30, XROOT+32 |
DOSE | XROOT+1~ |
DOSE( | DOSEINFO+2*, FIXDOSES+4, FIXDOSES+11, FIXDOSES+15 |
ERROR | DCREASON+1~, DCREASON+8 |
ES | DRAFT+1~, DRAFT+4*, DRAFT+7 |
>> I | XROOT+3*, XROOT+5*, XROOT+6, XROOT+10, XROOT+20, XROOT+22, XROOT+23 |
ID | XROOT+8*, XROOT+9*, XROOT+12*, XROOT+13, XROOT+14, XROOT+15, XROOT+21, XROOT+30*, XROOT+32, DRAFT~ , DRAFT+2, DRAFT+3, DOSEINFO+1, DOSEINFO+2 |
IDX | FIXDOSES+1~, FIXDOSES+8*, FIXDOSES+9, FIXDOSES+10, FIXDOSES+14*, FIXDOSES+15 |
IEN | DRAFT+1~, DRAFT+3*, DRAFT+4, DCREASON+1~, DCREASON+3*, DCREASON+7, DCREASON+11*, DCREASON+12 |
IIDX | FIXDOSES+1~, FIXDOSES+2*, FIXDOSES+3*, FIXDOSES+4, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10, FIXDOSES+11, FIXDOSES+15 |
ILST | NXT+1*, NXT+2, XROOT+3*, DOSEINFO+1, DOSEINFO+2, DCREASON+1~, DCREASON+2*, DCREASON+12*, DCREASON+16* |
>> INST | XROOT+6*, XROOT+14, XROOT+15, XROOT+31*, XROOT+32, DOSEINFO+1, DOSEINFO+2 |
INSTR | XROOT+1~ |
INSTR( | DOSEINFO+1*, FIXDOSES+3, FIXDOSES+4, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10 |
IVAL | EXTVAL~, EXTVAL+3, EXTVAL+4 |
>> J | XROOT+22*, XROOT+23 |
LST | DCREASON~ |
LST( | XROOT+15*, XROOT+17*, XROOT+23*, XROOT+32*, XROOT+33*, XROOT+34*, FIXDOSES+5, FIXDOSES+9, FIXDOSES+10*, FIXDOSES+11 , FIXDOSES+15*, DCREASON+2*, DCREASON+12*, DCREASON+16* |
NAME | DCREASON+1~, DCREASON+11*, DCREASON+12, DCREASON+13, DCREASON+15*, DCREASON+16 |
NEWDOSE | FIXDOSES+1~, FIXDOSES+6*, FIXDOSES+7, FIXDOSES+10, FIXDOSES+12*, FIXDOSES+13, FIXDOSES+15 |
OLDDOSE | FIXDOSES+1~, FIXDOSES+5*, FIXDOSES+6, FIXDOSES+7, FIXDOSES+11*, FIXDOSES+12, FIXDOSES+13 |
ORDIALOG | EXTVAL+1~ |
ORDIALOG( | EXTVAL+2*, EXTVAL+3*, EXTVAL+4 |
>> ROOT | XROOT+5, XROOT+6, XROOT+10, XROOT+20, XROOT+22, XROOT+23, XROOT+37 |
>> RSPID | XROOT+13, XROOT+21 |
SAVCLIN | XROOT+1~, XROOT+2*, XROOT+14*, XROOT+28, XROOT+33 |
SAVSNO | XROOT+1~, XROOT+2*, XROOT+19*, XROOT+25, XROOT+26, XROOT+27 |
SEQARR | DCREASON+1~, DCREASON+8, DCREASON+10 |
SEQARR( | DCREASON+11 |
STS | DRAFT+1~, DRAFT+4*, DRAFT+5, DRAFT+6, DRAFT+7 |
>> TRANS | XROOT+21 |
U | EXTVAL+2, XROOT+6, XROOT+8, XROOT+12, XROOT+14, XROOT+15, XROOT+19, XROOT+27, XROOT+30, XROOT+32 , DRAFT+4, DCREASON+4, DCREASON+5, DCREASON+6, DCREASON+7, DCREASON+11, DCREASON+12 |
>> VAL | XROOT+10*, XROOT+13, XROOT+16, XROOT+17, XROOT+19, XROOT+27*, XROOT+34, DOSEINFO+2 |
X | XROOT+21, DCREASON+1~, DCREASON+3*, DCREASON+4, DCREASON+5, DCREASON+6, DCREASON+7 |
Name | Field # of Occurrence |
---|---|
$T(DOSE^PSSORUTE | CHKDOSES+1 |