ORCDRA ; SLC/MKB - Utility functions for RA dialogs ;Nov 28, 2023@11:02:32
Source file <ORCDRA.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 |
---|---|---|
Order Entry Results Reporting | 3 | ORWU ^ORD(101.41 ITEMS |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; -- Entry action for RA OERR EXAM order dialog
|
|
ENA | ||
EX | ; -- Exit action for RA OERR EXAM order dialog
|
|
LAST7 | ; -- Display last 7 days of exams for patient
|
|
ITYPE | ; -- Select Imaging Type for ordering, sets ORIMTYPE
|
|
ITQ | ||
ACTIVE(DG) | ; -- Returns 1 or 0, if active OI's exist for DG
|
|
ACTQ | ||
COMMON | ; -- Build ORDIALOG(PROMPT,"LIST") of Common Procedures
|
|
LIST | ; -- List Common Procedures in ORDIALOG(PROMPT,"LIST") for selection
|
|
BROAD(PROC) | ; -- Ck PROC type vs ORBROAD
|
|
LKP | ; -- Special lookup on [common] procedures
|
|
NEXTPROC | ; -- Gets next procedure in ORMORE()
|
|
GETPAR(ORRESULTS,ORUSER) | ;called from JSYSPARM^ORWU, get parameter for use in CPRS GUI
|
|
DATEDSRD | ;--validates date and enforces any associated parameters
|
Name | Field # of Occurrence |
---|---|
^%DT | DATEDSRD+3 |
^DIC | ITYPE+16 |
^DIR | LIST+10 |
$$PTR^ORCD | ITQ, ITQ+5 |
$$FIND^ORCDLG2 | LKP+2 |
DIC^ORCDLG2 | LKP+2, NEXTPROC+6 |
$$DIV^ORCDRA1 | ITQ+7 |
EN2^RAO7PC1 | LAST7+3 |
EN4^RAO7PC1 | ITQ+7 |
$$LOWER^VALM1 | LIST+4 |
$$FMADD^XLFDT | DATEDSRD+4 |
$$NOW^XLFDT | ACTIVE+3 |
$$LOW^XLFSTR | COMMON+7 |
$$GET^XPAR | ENA+2, ITQ+9, GETPAR+1, DATEDSRD+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 |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^RA(79.2 - [#79.2] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DD("DD" | LAST7+7 |
^OR(100 - [#100] | ITYPE+3 |
^ORD(100.98 - [#100.98] | ITYPE+2, ITYPE+3, ITYPE+4, ITYPE+5, ITYPE+6, ITYPE+7, COMMON+2, COMMON+3 |
^ORD(101.41 - [#101.41] | COMMON+2 |
^ORD(101.43 - [#101.43] | ACTIVE+2, COMMON+3, COMMON+5, BROAD+1 |
^RA(79.2 - [#79.2] | ITQ+2 |
^TMP($J | LAST7+3!, LAST7+4, LAST7+6, LAST7+10! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
%DT | DATEDSRD+3~* |
ABBREV | ITYPE+1~, ITYPE+7*, ITYPE+9 |
BEG | LKP+1~, LKP+6*, LKP+7 |
CNT | ITYPE+1~, ITYPE+4*, ITYPE+9*, ITYPE+10, ITYPE+11, ITQ+8*, ITQ+9, ITQ+10, COMMON+1~, COMMON+4* , COMMON+5*, COMMON+6, COMMON+7 |
DA | ITYPE+1~, ITYPE+4*, ITYPE+6*, COMMON+1~, COMMON+5*, LIST+1~, LIST+6*, LIST+8* |
DG | ITYPE+1~, ITYPE+3*, ITYPE+6*, ITYPE+7, ITYPE+9, ACTIVE~, ACTIVE+2, ACTIVE+3 |
DG0 | ITYPE+1~, ITYPE+7*, ITYPE+9 |
DIC | ITYPE+1~, ITYPE+14* |
DIC("A" | ITYPE+14* |
DIC("S" | ITYPE+15* |
DIC(0 | ITYPE+14* |
DIR | LIST+1~, LIST+10! |
DIR(0 | LIST+10* |
DONE | BROAD+2!, DATEDSRD+5! |
DT | DATEDSRD+4 |
>> DTOUT | ITYPE+16 |
>> DUOUT | ITYPE+16 |
>> EDITONLY | NEXTPROC+5*, NEXTPROC+6* |
END | LKP+1~, LKP+6*, LKP+7 |
ENT | ENA~, ENA+1*, ENA+2 |
EXAM | LAST7+1~, LAST7+6*, LAST7+8, LAST7+9 |
EXDT | LAST7+1~ |
FUTDATE | DATEDSRD+3~, DATEDSRD+4*, DATEDSRD+5 |
FUTDAYS | DATEDSRD+3~, DATEDSRD+4*, DATEDSRD+5 |
HALF | LIST+1~, LIST+2*, LIST+3*, LIST+5, LIST+8, LIST+9 |
I | ITYPE+1~, ITYPE+11*, ITYPE+13*, LKP+1~, LKP+3*, NEXTPROC+2~*, NEXTPROC+3 |
IDT | LAST7+1~, LAST7+4*, LAST7+6*, LAST7+7 |
IDX | ACTIVE+1~, ACTIVE+3*, ACTIVE+4* |
IFN | ITYPE+1~, ITQ+8* |
>> INST | NEXTPROC+1, NEXTPROC+5, NEXTPROC+6, DATEDSRD+3 |
ITYPE | ITYPE+1~, ITQ+2*, ITQ+3, ITQ+7, COMMON+1~, COMMON+3*, COMMON+5 |
ITYPE( | ITYPE+9*, ITYPE+11, ITYPE+13, ITYPE+17 |
ITYPE("" | ITYPE+11 |
J | LKP+1~, LKP+7* |
NAME | ITYPE+1~, ITQ*, ITQ+1, COMMON+1~, COMMON+4*, COMMON+5* |
NOW | ACTIVE+1~, ACTIVE+3*, ACTIVE+4 |
NUM | LIST+1~, LIST+5*, LIST+6, LIST+7, LIST+8, LIST+9, LIST+10 |
OI | ITYPE+1~, ITQ*, ITQ+1, ITQ+3 |
>> ORACT | LAST7+2 |
ORBROAD | ENA+2*, EX+1!, BROAD+1 |
>> ORDATE | DATEDSRD+3*, DATEDSRD+5 |
>> ORDG | ITYPE+2*, ITYPE+3*, ITYPE+5*, ITYPE+11*, ITYPE+17*, ITQ, ITQ+2, COMMON+2*, COMMON+3, COMMON+7 , LIST+4 |
>> ORDIALOG | COMMON+2 |
>> ORDIALOG( | ITQ+1*, ITQ+3*, ITQ+6*, COMMON+1!, COMMON+5*, COMMON+6*, COMMON+7*, LIST+1, LIST+2, LIST+3 , LIST+6, LIST+7, LIST+8, LIST+9, LKP+7, NEXTPROC+1, NEXTPROC+4, NEXTPROC+5*, NEXTPROC+6*, DATEDSRD+3 |
ORDIV | ENA+1, EX+1!, ITQ+7*, ITQ+9 |
>> ORIFN | ITYPE+3 |
ORIMLOC | EX+1!, ITQ+9!, ITQ+10* |
ORIMLOC( | ITQ+8* |
ORIMLOC("B" | ITQ+8* |
ORIMTYPE | EX+1!, ITQ+2*, ITQ+4, ITQ+6 |
ORMORE | EX+1!, LKP+1!, LKP+4*, LKP+7*, NEXTPROC+2!, NEXTPROC+3* |
ORMORE( | LKP+4*, LKP+7*, NEXTPROC+3! |
ORMORE(0 | NEXTPROC+2 |
>> ORQUIT | ITYPE+10*, ITYPE+16*, NEXTPROC+6* |
ORRESULTS | GETPAR~ |
ORRESULTS("radiologyFutureDateLimit" | GETPAR+1* |
>> ORTAB | EN+1, LIST+10 |
>> ORTYPE | LAST7+2, ITYPE+2, ITYPE+5, DATEDSRD+2 |
ORUSER | GETPAR~ |
>> ORVP | LAST7+3, LAST7+4, LAST7+6 |
ORX | LKP+1~, LKP+3* |
ORY | ITYPE+1~ |
ORY( | ITQ+8 |
PROC | BROAD~, BROAD+1 |
>> PROMPT | COMMON+1, COMMON+5, COMMON+6, COMMON+7, LIST+1, LIST+2, LIST+3, LIST+6, LIST+7, LIST+8 , LIST+9, LKP+2, LKP+7, NEXTPROC+1, NEXTPROC+4, NEXTPROC+5, NEXTPROC+6, DATEDSRD+3 |
PTR | ITQ+5~*, ITQ+6 |
ROOT | ACTIVE+1~, ACTIVE+3*, ACTIVE+4 |
>> SCR | LIST+10 |
STS | LAST7+1~, LAST7+8*, LAST7+9 |
U | LAST7+8, LAST7+9, ITYPE+2, ITYPE+3, ITYPE+5, ITYPE+7, ITYPE+9, ITYPE+13, ITYPE+17, ITQ , ITQ+2, ITQ+8, ACTIVE+4, COMMON+2, COMMON+3, COMMON+5, COMMON+7, LIST+4, LIST+7, LIST+9 , BROAD+1, LKP+4, NEXTPROC+4, NEXTPROC+6 |
>> VALM("TM" | LIST+10 |
X | ITYPE+1~, ACTIVE+1~, ACTIVE+4*, LKP+2, LKP+3*, LKP+4, LKP+5, LKP+6, NEXTPROC+2~, NEXTPROC+3* , NEXTPROC+4, NEXTPROC+5, NEXTPROC+6*, DATEDSRD+3~* |
XRAY | ITYPE+1~, ITYPE+4*, ITYPE+5, ITYPE+6 |
Y | LAST7+1~, LAST7+7*, LAST7+9, ITYPE+1~, ITYPE+16, ACTIVE+1~*, ACTIVE+4*, ACTQ, LIST+1~, LIST+5* , LKP+2*, NEXTPROC+5*, NEXTPROC+6, DATEDSRD+3~ |
Y(0 | ITYPE+17 |
Z | LKP+1~, LKP+7* |