ORCACT0 ;SLC/MKB - Validate order action ;Sep 15, 2023@09:23
Source file <ORCACT0.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
VALID(IFN,ACTION,ERROR,NATR) | ; -- Determines if action is valid for order IFN
|
|
CM | ;I ACTION="CM" S ERROR="This action is no longer available!" G VQ ; ward comments - no restrictions
|
|
FL | ||
UF | ||
DC1 | ||
ES | ||
VR | ||
DIS | ||
MN | ||
GMRA | ||
MEDS | ||
RW | ||
XFR | ||
RN | ||
TRM | ||
EV | ||
DC2 | ||
RL | ||
AIFN | ||
RF | ||
CP | ||
AL | ||
XX | ||
HD | ||
VQ | ||
ACTION(X) | ; -- Return text of action X
|
|
NPO(ORIFN) | ; -- Returns 1 or 0, if order ORIFN is for NPO
|
|
COLLECTD() | ; -- Lab order collected/active (incl all children)?
|
|
DONE() | ; -- sets ERROR if terminal status
|
|
DISABLED() | ; -- Order dialog [or protocol] disabled?
|
Name | Field # of Occurrence |
---|---|
$$GET1^DIQ | UF+19, DC2+3 |
ES^ORCACT01 | ES |
RN^ORCACT01 | RN |
RW^ORCACT01 | RW |
XFR^ORCACT01 | XFR+6 |
XX^ORCACT01 | XX+3 |
$$NMSP^ORCD | VALID+2 |
CSVALUE^ORDEA | VALID+5 |
$$EVTORDER^OREVNTX | EV+4 |
MAP^ORWDXA1 | UF+14 |
$$VALUE^ORX8 | DC2+10, NPO+1 |
$$MSG^ORXD | DISABLED+2, DISABLED+4 |
OEL^PSOORRL | VR+9 |
$$REFILL^PSOREF | RF+5 |
$$GET^XPAR | VALID+12, UF+5, UF+11 |
FileNo | Call Tags |
---|---|
^DIC(19.1 - [#19.1] | GET1^DIQ |
^DIC(9.4 - [#9.4] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^OR(100 - [#100] | VALID+2, VALID+14, FL+2, UF+2, UF+6, UF+7, VR+7, XFR+3, XFR+4, RL+6 , RF+4, COLLECTD+2, COLLECTD+5 |
^ORD(100.02 - [#100.02] | RL+7 |
^ORD(100.98 - [#100.98] | VALID+11, UF+16, UF+17, UF+18 |
^ORD(101.41 - [#101.41] | VALID+6, DISABLED+4 |
^ORE(100.2 - [#100.2] | DC1+3, DC2+2 |
^SC - [#44] | DC2+4, DC2+5 |
^TMP("PS" | VR+8!, VR+10, VR+14, VR+19! |
^XUSEC( | UF+19 |
^XUSEC("OREMAS" | VALID+12 |
^XUSEC("ORES" | UF+10 |
Name | Field # of Occurrence |
---|---|
^(0 | RL+6 |
^(3 | VALID+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
A | XFR+1~, XFR+2*, XFR+3*, XFR+4* |
ACT | RL+5~*, RL+6*, RL+7 |
ACTION | VALID~, VALID+4, FL, UF, UF+9, DC1, ES, VR, MN, RW , XFR, RN, EV, DC2, RL, RF, CP, AL, XX, HD |
ACTSTS | VALID+1~, VALID+14*, DC1, DC1+1, DC1+4, DC1+5, VR+22, MN+1, DC2, RL+4 , AIFN |
AIFN | VALID+1~, VALID+13*, VALID+14, FL+2, UF+2, VR+23, RL+5, AIFN |
AMG | UF+4~, UF+5*, UF+9, UF+22 |
CSORD | VALID+1~, VALID+5*, VALID+7 |
DA | UF+4~, UF+6*, UF+7 |
DG | VALID+1~, VALID+11*, VALID+12, EV+2, EV+3, DC2+12, RF+1, HD+5, DONE+3 |
DGP | UF+13~*, UF+15*, UF+16, UF+17, UF+18 |
>> DGPMA | DC2+10 |
>> DGPMT | DC2+3, DC2+4, DC2+5, DC2+12 |
DGSK | UF+13~, UF+17*, UF+18 |
DGSQ | UF+13~, UF+14 |
DGSQ( | UF+15 |
DLG | DISABLED+1~*, DISABLED+2, DISABLED+3*, DISABLED+4* |
DT | DC2+10 |
DUZ | VALID+12, UF+7, UF+10, UF+19 |
ERROR | VALID~, VALID+1!, VALID+8*, VALID+9*, FL+1*, FL+2*, UF+1*, UF+2*, UF+9*, UF+22* , DC1+2*, DC1+3*, DC1+4*, DC1+5*, VR+1*, VR+5, VR+12*, VR+18*, VR+20*, VR+21* , VR+22*, VR+23*, DIS*, MN+1*, GMRA*, MEDS*, XFR+3*, XFR+4*, XFR+5, EV+1* , EV+2*, EV+3*, EV+4*, EV+5*, DC2+1, DC2+2*, DC2+4*, DC2+5*, DC2+6*, DC2+7* , DC2+9*, DC2+10*, DC2+11*, DC2+12*, RL+2*, RL+3*, RL+4*, RL+7*, AIFN*, RF+1* , RF+2*, RF+3*, RF+5*, CP+1*, CP+2*, AL+1*, AL+2*, XX+1*, XX+2*, HD+1* , HD+2*, HD+3*, HD+4*, HD+5*, HD+6*, HD+7*, HD+8*, HD+9*, VQ, DONE+1* , DONE+2*, DONE+3*, DONE+4*, DONE+5*, DONE+6*, DONE+7* |
IFN | VALID~, VALID+2, VALID+5, VALID+13, VALID+14, FL+2, UF+2, UF+6, UF+7, DC1+3 , VR+7, XFR+3, XFR+4, EV+4, DC2+2, DC2+10, RL+6, RF+4, COLLECTD+2, COLLECTD+5 |
MEDPARM | VALID+1~, VALID+12*, DC1+2, MEDS |
NATR | VALID~, VALID+12, DC1+3, DC2+1, DC2+10, RL+5~, RL+6*, RL+7 |
OR0 | VALID+1~, VALID+2*, VALID+6, VALID+11, VALID+15, UF+13, VR+8, VR+9, DC2+3, DC2+4 , DC2+5, DC2+10, DISABLED+1 |
OR3 | VALID+1~, VALID+2*, VALID+13, VALID+15, RL+5, AL+2 |
ORA0 | VALID+1~, VALID+14*, VR+1, VR+20, VR+21, EV+5, RL+2, RL+4, RL+5, AIFN |
ORARR | VR+6~, VR+14* |
ORARR( | VR+15, VR+16 |
ORDLG | VALID+1~, VALID+6*, VALID+7 |
ORDSTS | VALID+1~, VALID+15*, VR+23, EV+1, DC2+6, DC2+7, DC2+11, DC2+12, RL+1, RF+2 , RF+3, CP+2, XX+1, XX+2, HD+7, HD+8, HD+9, COLLECTD+1, COLLECTD+2, DONE+1 , DONE+2, DONE+3, DONE+4, DONE+5, DONE+6, DONE+7 |
ORENVIR | VALID+1~, VALID+3*, VALID+4 |
ORFIN | VR+6~, VR+14*, VR+16*, VR+17 |
ORIFN | NPO~, NPO+1 |
ORNUM | VR+6~, VR+15*, VR+16 |
ORSKP | UF+13~, UF+18*, UF+19 |
ORSTATUS | VR+6~, VR+10*, VR+11, VR+13 |
>> ORVER | VR+1, VR+5, VR+20, VR+21 |
ORXIFN | VR+6~, VR+7*, VR+9 |
OSTYPE | VR+6~, VR+8*, VR+9 |
PKG | VALID+1~, VALID+2*, VALID+12, FL+1, UF+1, VR+23, GMRA, MEDS, DC2+5, DC2+6 , DC2+7, DC2+8, DC2+11, RL+7, CP+1, AL+1, XX+1, HD+1, HD+2, HD+3 , HD+4, HD+6, HD+8, DISABLED+3 |
PSIFN | RF+4~*, RF+5 |
RECP | UF+4~, UF+7*, UF+8 |
SFND | UF+13~*, UF+19*, UF+21 |
U | VALID+2, VALID+3, VALID+6, VALID+11, VALID+13, VALID+14, VALID+15, UF+9, UF+13, UF+22 , VR+1, VR+8, VR+9, VR+10, VR+16, VR+20, VR+21, VR+23, DIS, EV+5 , DC2+3, DC2+4, DC2+5, DC2+10, RL+2, RL+4, RL+5, RL+6, RL+7, AIFN , RF+5, AL+2, COLLECTD+1, COLLECTD+5, DISABLED+1 |
VER | VALID+1~, VALID+15*, DISABLED+2 |
X | VALID+1~, DC1+3*, VR+23*, DIS*, EV+5*, DC2+2*, AIFN*, RF+4~, RF+5*, ACTION~ , ACTION+1, NPO+1~*, NPO+2, DISABLED+1~*, DISABLED+2*, DISABLED+4*, DISABLED+5 |
X3 | UF+4~, UF+6*, UF+7 |
>> XQY0 | VALID+3 |
Y | VALID+1~, VQ*, VQ+1, ACTION+1~*, ACTION+2, NPO+1~, NPO+2*, NPO+3, COLLECTD+4~*, COLLECTD+5* , COLLECTD+6 |
Z | COLLECTD+4~*, COLLECTD+5* |