ORWDCN32 ; SLC/KCM/REV - Consults calls [ 12/16/97 12:47 PM ] ;02/23/15 06:35
Source file <ORWDCN32.m>
Package | Total | Call Graph |
---|---|---|
Consult Request Tracking | 1 | GETSVC^GMRCPR0 |
Kernel | 1 | $$NOW^XLFDT |
Order Entry Results Reporting | 1 | GETQLST^ORWDXQ |
Toolkit | 1 | $$GET^XPAR |
VA FileMan | 1 | $$FIND1^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 | 4 | ORWDCN32 DEF ORWDCN32 NEWDLG ORWDCN32 ORDRMSG ORWDCN32 PROCEDURES |
Name | Comments | DBIA/ICR reference |
---|---|---|
DEF(LST,WHY) | ||
CID | ; get default value for Clinically Indicated Date
|
|
SHORT | ;return list of Consults or Procedures quick orders
|
|
OUTPLACE | ; load list of places
|
|
INPLACE | ; load list of places for outpatient
|
|
INCURG | ; get list of urgencies for inpatient consults
|
|
INPURG | ; get list of urgencies for inpatient procedures
|
|
OUTURG | ; get list of urgencies for outpatient consults/procedures
|
|
NXT() | ; increments ILST
|
|
LOOK200(VAL,X) | ||
ORDRMSG(Y,ORDITM) | ;returns order message for this consult/procedure orderable
|
|
GETPROTO(Y,ORIEN) | ;Get Protocol file IEN from OR IEN
|
|
GETOINUM(Y,ORNUM) | ;Get Orderable Item IEN from Protocol IEN
|
|
GETPRONM(Y,ORNAME) | ;Get Protocol IEN given name
|
|
PROC(Y,FROM,DIR) | ; Return a subset of orderable procedures
; .Return Array, Starting Text, Direction ; ^ORD(101.43,"S.PROC",UpperCase,DA)=Mne^MixedCase^InactvDt^.01IfMne ; Y(n)=IEN^.01 Name^.01 Name -or- IEN^Synonym <.01 Name>^.01 Name |
|
NEWDLG(Y,ORTYPE,ORLOC) | ; Return order dialog info for New Consult OR PROCEDURE
|
RPC Name | Call Tags |
---|---|
ORWDCN32 DEF | DEF |
ORWDCN32 ORDRMSG | ORDRMSG |
ORWDCN32 PROCEDURES | PROC |
ORWDCN32 NEWDLG | NEWDLG |
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | FIND1^DIC |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^ORD(100.98 - [#100.98] | SHORT+3 |
^ORD(101 - [#101] | INCURG+4, INCURG+6, INPURG+4, INPURG+6, OUTURG+4, OUTURG+6, GETPRONM+1 |
^ORD(101.41 - [#101.41] | NEWDLG+6 |
^ORD(101.42 - [#101.42] | INCURG+3, INCURG+5, INCURG+6, INPURG+3, INPURG+5, INPURG+6, OUTURG+3, OUTURG+5, OUTURG+6 |
^ORD(101.43 - [#101.43] | ORDRMSG+2, GETPROTO+1, GETOINUM+1, PROC+5, PROC+6, PROC+7, PROC+9 |
Name | Field # of Occurrence |
---|---|
^( | ORDRMSG+2 |
^(5 | NEWDLG+6 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | PROC+4~*, PROC+5 |
DGRP | NEWDLG+1~, NEWDLG+7*, NEWDLG+8 |
DIR | PROC~, PROC+5 |
DTDFLT | CID+1~, CID+3*, CID+4 |
DTXT | PROC+4~ |
ENT | NEWDLG+1~, NEWDLG+2*, NEWDLG+3*, NEWDLG+4, NEWDLG+5 |
ENTITY | CID+1~, CID+2*, CID+3 |
FROM | PROC~, PROC+5*, PROC+6, PROC+7 |
GMRCPRO | INCURG+1~, INCURG+2*, INCURG+4*, INCURG+5, INCURG+6*, INCURG+7, INPURG+1~, INPURG+2*, INPURG+4*, INPURG+5 , INPURG+6*, INPURG+7, OUTURG+1~, OUTURG+2*, OUTURG+4*, OUTURG+5, OUTURG+6*, OUTURG+7 |
GMRCURG | INCURG+1~, INCURG+2*, INCURG+3*, INCURG+4, INCURG+5, INPURG+1~, INPURG+2*, INPURG+3*, INPURG+4, INPURG+5 , OUTURG+1~, OUTURG+2*, OUTURG+3*, OUTURG+4, OUTURG+5 |
I | SHORT+1~, SHORT+3*, SHORT+4, SHORT+5*, SHORT+6, ORDRMSG+1~, ORDRMSG+2*, PROC+4~*, PROC+5, PROC+12* , PROC+13, PROC+14 |
ID | NEWDLG+1~, NEWDLG+7*, NEWDLG+8 |
IEN | DEF+1~, INCURG+1~, INCURG+6*, INCURG+7, INPURG+1~, INPURG+6*, INPURG+7, OUTURG+1~, OUTURG+6*, OUTURG+7 , PROC+4~, PROC+6*, PROC+7, PROC+9, PROC+13, PROC+14, NEWDLG+1~, NEWDLG+6*, NEWDLG+8 |
ILST | DEF+1~, DEF+2*, NXT+1*, NXT+2 |
LST | DEF~ |
LST( | DEF+3*, DEF+5*, DEF+7*, DEF+8*, DEF+9*, DEF+10*, DEF+11*, CID+4*, SHORT+6*, OUTPLACE+3* , OUTPLACE+4*, INPLACE+3*, INPLACE+4*, INCURG+5*, INCURG+7*, INPURG+5*, INPURG+7*, OUTURG+5*, OUTURG+7* |
NAM | DEF+1~ |
ORDITM | ORDRMSG~, ORDRMSG+2 |
ORID | PROC+4~, PROC+9*, PROC+11, PROC+13, PROC+14 |
ORIEN | GETPROTO~, GETPROTO+1 |
ORLOC | NEWDLG~, NEWDLG+3* |
ORNAME | GETPRONM~, GETPRONM+1 |
ORNUM | GETOINUM~, GETOINUM+1 |
ORSVCCNT | PROC+4~, PROC+11 |
ORTYPE | NEWDLG~, NEWDLG+4 |
TMP | SHORT+1~, SHORT+4 |
TMP( | SHORT+5, SHORT+6 |
TXT | NEWDLG+1~, NEWDLG+7*, NEWDLG+8 |
TYP | NEWDLG+1~, NEWDLG+7*, NEWDLG+8 |
U | INCURG+5, INCURG+7, INPURG+5, INPURG+7, OUTURG+5, OUTURG+7, GETPROTO+1, PROC+8, PROC+9, PROC+13 , PROC+14, NEWDLG+7, NEWDLG+8 |
VAL | LOOK200~, LOOK200+1* |
WHY | DEF~, DEF+4, DEF+6, SHORT+2, SHORT+3 |
X | DEF+1~, OUTPLACE+1~, OUTPLACE+2*, OUTPLACE+3, INPLACE+1~, INPLACE+2*, INPLACE+3, INCURG+1~, INPURG+1~, OUTURG+1~ , LOOK200~, LOOK200+1, PROC+4~, PROC+7*, PROC+8, PROC+13, PROC+14, NEWDLG+1~, NEWDLG+4*, NEWDLG+5* , NEWDLG+6 |
X0 | NEWDLG+1~, NEWDLG+6*, NEWDLG+7 |
X5 | NEWDLG+1~, NEWDLG+6*, NEWDLG+7 |
Y | ORDRMSG~, GETPROTO~, GETPROTO+1*, GETOINUM~, GETOINUM+1*, GETPRONM~, GETPRONM+1*, PROC~, NEWDLG~, NEWDLG+8* |
Y( | ORDRMSG+2*, PROC+13*, PROC+14* |