Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORWDX

Package: Order Entry Results Reporting

Routine: ORWDX


Information

ORWDX ; SLC/KCM/REV/JLI - Order dialog utilities ;06/19/17 17:29

Source Information

Source file <ORWDX.m>

Call Graph

Call Graph

Call Graph Total: 17

Package Total Call Graph
Order Entry Results Reporting 16 ($$INPT,$$PTR,GETDLG1)^ORCD  (EN,XX)^ORCSAVE  (EN,EN2)^ORCSEND  CHKAUTO^ORCSLT  $$TYPE^OREVNTX  (BHS,BTS)^ORMBLD  COMP^ORMBLDOR  SAVE^ORMEVNT1  
$$DGRP^ORMLR  MSG^ORUTL5  (DELPI,DLGDEF,FNDINFO,WRLST1)^ORWDX1  (SM,XROOT)^ORWDX2  FORMID^ORWDXM  $$CHKACT^ORWDXR  GETBYIFN^ORWORR  ($$LCKEVT,$$LOCK,$$LOCK1,UNLEVT,UNLK1,UNLOCK)^ORX2  
Kernel 1 $$NOW^XLFDT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 29

Package Total Caller Graph
Order Entry Results Reporting 26 ORAM  ORAREN  ORCMEDT8  ORCSLT  ORWDX AGAIN  ORWDX DGNM  ORWDX DGRP  ORWDX DISMSG  
ORWDX DLGDEF  ORWDX DLGID  ORWDX DLGQUIK  ORWDX FORMID  ORWDX LOADRSP  ORWDX LOCK  ORWDX LOCK ORDER  ORWDX MSG  
ORWDX ORDITM  ORWDX SAVE  ORWDX SEND  ORWDX SENDED  ORWDX SENDP  ORWDX UNLKOTH  ORWDX UNLOCK  ORWDX UNLOCK ORDER  
ORWDX WRLST  ORWDX2  
Enterprise Health Management Platform 2 HMPWBM2  HMPWBSO  
Radiology Nuclear Medicine 1 RAORDR1  

Entry Points

Name Comments DBIA/ICR reference
ORDITM(Y,FROM,DIR,XREF,QOCALL) ; Subset of orderable items
; Y(n)=IEN^.01 Name^.01 Name -or- IEN^Synonym <.01 Name>^.01 Name
ODITMBC(Y,XREF,ODLST) ;
FNDINFO(Y,ODIEN) ;
DLGDEF(LST,DLG) ; Format mapping for a dlg
DLGQUIK(LST,QO) ;(NOT USED)
LOADRSP(LST,RSPID,TRANS)
SAVE(REC,ORVP,ORNP,ORL,DLG,ORDG,ORIT,ORIFN,ORDIALOG,ORDEA,ORAPPT,ORSRC,OREVTDF) ;
; ORVP=DFN, ORNP=Provider, ORL=Location, DLG=Order Dialog,
; ORDG=Display Group, ORIT=Quick Order Dialog, ORAPPT=Appointment
SENDED(ORWLST,ORIENS,TS,LOC) ; Release EDOs to svc
SEND(ORWLST,DFN,ORNP,ORL,ES,ORWREC) ; Sign
; DFN=Patient, ORNP=Provider, ORL=Location, ES=Encrypted ES code
; ORWREC(n)=ORIFN;Action^Signature Sts^Release Sts^Nature of Order
SEND1
DLGID(VAL,ORIFN) ; return dlg IEN for order
FORMID(VAL,ORIFN) ; Base dlg FormID for an order
AGAIN(VAL,DLG) ; return true to keep dlg for another order
DGRP(VAL,DLG) ; Display grp pointer for a dlg
DGNM(VAL,NM) ; Display grp pointer for name
WRLST(LST,LOC) ; List of dlgs for writing orders
MSG(LST,IEN) ; Msg text for orderable item
DISMSG(VAL,IEN) ; Disabled mge for ordering dlg
LOCK(OK,DFN) ; Attempt to lock pt for ordering
UNLOCK(OK,DFN) ; Unlock pt for ordering
LOCKORD(OK,ORIFN) ; Attempt to lock order
UNLKORD(OK,ORIFN) ; Unlock order
UNLKOTH(OK,ORIFN) ; Unlock pt not by this session

External References

Name Field # of Occurrence
$$INPT^ORCD SAVE+28
$$PTR^ORCD SAVE+48
GETDLG1^ORCD SAVE+56
EN^ORCSAVE SAVE+67
XX^ORCSAVE SAVE+75
EN^ORCSEND SEND1+16
EN2^ORCSEND SENDED+19
CHKAUTO^ORCSLT SAVE+82
$$TYPE^OREVNTX SENDED+23
BHS^ORMBLD SEND1+14
BTS^ORMBLD SEND1+22
COMP^ORMBLDOR SAVE+70, SAVE+76
SAVE^ORMEVNT1 SENDED+23
$$DGRP^ORMLR SAVE+49
MSG^ORUTL5 SAVE+80
DELPI^ORWDX1 SAVE+65
DLGDEF^ORWDX1 DLGDEF+1
FNDINFO^ORWDX1 FNDINFO+1
WRLST1^ORWDX1 WRLST+1
SM^ORWDX2 SEND1+25
XROOT^ORWDX2 LOADRSP+7, LOADRSP+8, LOADRSP+9, LOADRSP+11
FORMID^ORWDXM FORMID+4
$$CHKACT^ORWDXR SEND1+10
GETBYIFN^ORWORR SAVE+68, SAVE+77
$$LCKEVT^ORX2 SENDED+8
$$LOCK^ORX2 LOCK+1
$$LOCK1^ORX2 SENDED+14, SEND1+15, LOCKORD+1
UNLEVT^ORX2 SENDED+26
UNLK1^ORX2 SENDED+16, SENDED+19, SEND1+16, UNLKORD+1
UNLOCK^ORX2 UNLOCK+1
$$NOW^XLFDT ORDITM+5

Used in RPC

RPC Name Call Tags
ORWDX ORDITM ORDITM
ORWDX DLGDEF DLGDEF
ORWDX DLGQUIK DLGQUIK
ORWDX SAVE SAVE
ORWDX SEND SEND
ORWDX WRLST WRLST
ORWDX LOADRSP LOADRSP
ORWDX FORMID FORMID
ORWDX LOCK LOCK
ORWDX UNLOCK UNLOCK
ORWDX MSG MSG
ORWDX DGRP DGRP
ORWDX DLGID DLGID
ORWDX AGAIN AGAIN
ORWDX DISMSG DISMSG
ORWDX SENDP SENDP
ORWDX LOCK ORDER LOCKORD
ORWDX UNLOCK ORDER UNLKORD
ORWDX DGNM DGNM
ORWDX SENDED SENDED
ORWDX UNLKOTH UNLKOTH

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC(9.4 - [#9.4] SAVE+62, SAVE+63, SEND1+2
^DPT - [#2] SAVE+21, SAVE+22
^OR(100 - [#100] SAVE+9, SAVE+10, SAVE+73, SENDED+5, SENDED+11, SENDED+12, SENDED+16, SENDED+17*, SENDED+18*, SENDED+22
, SEND1+7, SEND1+8, SEND1+9, SEND1+13, SEND1+19, DLGID+1, FORMID+2
^ORD(100.98 - [#100.98] SAVE+15, SAVE+19, SAVE+21, SAVE+22, SAVE+47, DGNM+1
^ORD(101.41 - [#101.41] SAVE+37, SAVE+38, SAVE+39, SAVE+41, SAVE+52, SAVE+53, SAVE+59, SAVE+60, AGAIN+1, DGRP+1
, DGRP+2, DISMSG+1
^ORD(101.43 - [#101.43] ORDITM+6, ORDITM+7, ORDITM+8, SAVE+49, MSG+2
^TMP("ORECALL" SAVE+69*
^TMP($J LOADRSP+4!, LOADRSP+6*
^XTMP("ORPTLK-" UNLKOTH+1!

Label References

Name Line Occurrences
FNDINFO ODITMBC+3
LOADRSP DLGQUIK+1

Naked Globals

Name Field # of Occurrence
^( MSG+2
^(0 SENDED+13
^(3 SAVE+73

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A SEND1+24~, SEND1+25*
CNT ORDITM+2~, ORDITM+5*, ORDITM+6, ODITMBC+1~, ODITMBC+2*, ODITMBC+3*
CURTM ORDITM+2~, ORDITM+5*, ORDITM+9
DEFROUTE ORDITM+2~, ORDITM+3*
DFN SEND~, SEND1+1, LOCK~, LOCK+1, UNLOCK~, UNLOCK+1
DIR ORDITM~, ORDITM+6, ORDITM+7
DLG DLGDEF~, DLGDEF+1, LOADRSP+3~, SAVE~, SAVE+14*, SAVE+17, SAVE+36, SAVE+37*, SAVE+38*, SAVE+39*
, SAVE+40, SAVE+42, SAVE+43, SAVE+44, SAVE+45, SAVE+52, SAVE+53, SAVE+82, FORMID+1~, FORMID+2*
, FORMID+3, FORMID+4, AGAIN~, AGAIN+1, DGRP~, DGRP+1*, DGRP+2
DTXT ORDITM+2~
ES SEND~
EVENT SENDED+1~
EVENT( SENDED+7, SENDED+8*, SENDED+26
FROM ORDITM~, ORDITM+6*, ORDITM+7, ORDITM+8
I ORDITM+2~, ORDITM+5*, ORDITM+6, ORDITM+11*, ORDITM+12, ORDITM+13, LOADRSP+3~, SEND1~, SEND1+2*, SEND1+24~
, SEND1+25*, MSG+1~, MSG+2*
ID LOADRSP+3~
IEN ORDITM+2~, ORDITM+7*, ORDITM+8, ORDITM+12, ORDITM+13, MSG~, MSG+2, DISMSG~, DISMSG+1
ILST LOADRSP+3~
INSPRMT SAVE+60~*, SAVE+61
INST LOADRSP+3~
J LOADRSP+3~, SENDED+1~, SENDED+26*
LOC SENDED~, SENDED+2*, SENDED+17, WRLST~
LOCK SENDED+1~, SENDED+7*, SENDED+8*, SENDED+9, SENDED+15
LST DLGDEF~, DLGDEF+1, DLGQUIK~, DLGQUIK+1, LOADRSP~, WRLST~, MSG~
LST( MSG+2*
MSGCAPT SAVE+4~, SAVE+80
MSGCAPT("DIALOG" SAVE+17*
MSGCAPT("DISP LAY GROUP" , SAVE+17*
MSGCAPT("LOC" SAVE+16*
MSGCAPT("ORDIALOG" SAVE+18*
MSGCAPT("ORIG INAL IEN" , SAVE+79*
MSGCAPT("PATIENT" SAVE+16*
MSGCAPT("QUIC K ORDER" , SAVE+17*
MSGCAPT("USER" SAVE+16*
NM ODITMBC+1~, ODITMBC+2*, DGNM~, DGNM+1
ODIEN FNDINFO~, FNDINFO+1
ODLST ODITMBC~
ODLST( ODITMBC+3
OI SAVE+48~*, SAVE+49
OK SENDED+1~, SENDED+14*, SENDED+15, SEND1+15~*, SEND1+16, LOCK~, LOCK+1*, UNLOCK~, UNLOCK+1*, LOCKORD~
, LOCKORD+1*, UNLKORD~, UNLKORD+1*, UNLKOTH~, UNLKOTH+1*
ONPASS SAVE+3~
OR0 SAVE+72~, SAVE+73*, SAVE+74
OR3 SENDED+1~, SENDED+16*
ORAPPT SAVE~
ORBEF SEND1~, SEND1+6*, SEND1+8*, SEND1+19
ORCAT SAVE+3~, SAVE+28*, SAVE+40*, SAVE+42*, SAVE+43*, SAVE+44*, SAVE+45*, SAVE+57*, SAVE+62, SAVE+63
ORCATFN SAVE+3~, SAVE+14*, SAVE+57
ORCHECK SAVE+3~, SAVE+51*
ORDA SAVE+3~, SAVE+77, SENDED+1~, SENDED+10*, SENDED+12
ORDEA SAVE~
ORDERID SEND1~, SEND1+5*, SEND1+7, SEND1+8, SEND1+9, SEND1+10, SEND1+13, SEND1+15, SEND1+16, SEND1+17
, SEND1+19
ORDG SAVE~, SAVE+15, SAVE+17, SAVE+19*, SAVE+21, SAVE+22, SAVE+47, SAVE+49*, SAVE+50!, SAVE+73*
ORDIALOG SAVE~, SAVE+18, SAVE+52*, SAVE+53*, SAVE+56, SAVE+69
ORDIALOG( SAVE+41*, SAVE+48, SAVE+61*
ORDIALOG("ORCHECK" SAVE+51!
ORDIALOG("OREVENT" SAVE+25!
ORDIALOG("ORLEAD" SAVE+54
ORDIALOG("ORSLOG" SAVE+24!
ORDIALOG("ORTRAIL" SAVE+55
ORDIALOG("ORTS" SAVE+21!, SAVE+22!, SAVE+23!
ORDIALOG("WP" SAVE+11, SAVE+12, SAVE+13!
ORDUZ SAVE+3~
OREVENT SAVE+3~, SAVE+25*, SAVE+74*
OREVENT("EFFECTIVE" SAVE+40, SAVE+41
OREVENT("TS" SAVE+74*
OREVTDF SAVE~
OREVTYPE SAVE+3~
ORIENS SENDED~
ORIENS( SENDED+3, SENDED+4, SENDED+16, SENDED+19, SENDED+22, SENDED+23
ORIFN SAVE~, SAVE+8, SAVE+9, SAVE+10, SAVE+66, SAVE+68, SAVE+70, SAVE+73, SAVE+76, SAVE+77*
, SAVE+79, SENDED+1~, SENDED+4*, SENDED+5, SENDED+10, SENDED+11, SENDED+12, SENDED+14, SENDED+16, SENDED+17
, SENDED+18, DLGID~, DLGID+1, FORMID~, FORMID+2, LOCKORD~, LOCKORD+1, UNLKORD~, UNLKORD+1, UNLKOTH~
, UNLKOTH+1
ORIT SAVE~, SAVE+17, SAVE+37, SAVE+38, SAVE+39, SAVE+50!
ORIX SENDED+1~, SENDED+2*, SENDED+3*, SENDED+4, SENDED+9, SENDED+16, SENDED+19, SENDED+20, SENDED+22, SENDED+23
, SENDED+25
ORL SAVE~, SAVE+16, SAVE+46*, SEND~, SEND1+1*
ORL(2 SAVE+46*, SEND1+1*
ORLAB SEND1~, SEND1+13, SEND1+14*, SEND1+22
ORLEAD SAVE+3~, SAVE+54*
ORLOC LOADRSP+3~
ORLOG SAVE+3~, SAVE+24*
ORLR SEND1~
ORLR( SEND1+2*, SEND1+13
ORNATURE SENDED+1~, SENDED+13*, SENDED+19
ORNEW SAVE+3~
ORNP SAVE~, SAVE+16, SEND~
ORPKG SAVE+3~, SAVE+62*, SAVE+63*
ORSIGST SENDED+1~, SENDED+13*, SENDED+19
ORSRC SAVE~, SAVE+64*
ORSTS SAVE+3~, SAVE+73*, SAVE+74
ORTRAIL SAVE+3~, SAVE+55*
ORTS SAVE+3~, SAVE+23*
ORVP SAVE~, SAVE+16, SAVE+21, SAVE+22, SAVE+46*, SENDED+1~, SENDED+11*, SEND1~, SEND1+1*, SEND1+14
, SEND1+22
ORWERR SENDED+1~, SENDED+2*, SENDED+3, SENDED+9*, SENDED+14*, SENDED+19, SENDED+20, SEND1~, SEND1+4*, SEND1+10*
, SEND1+11*, SEND1+12, SEND1+15*, SEND1+16, SEND1+18
ORWI SEND1~, SEND1+3*, SEND1+4, SEND1+17, SEND1+18, SEND1+21
ORWLST SENDED~, SEND~, SEND1+1*, SEND1+23
ORWLST( SENDED+4*, SENDED+9*, SENDED+20*, SENDED+25*, SEND1+17*, SEND1+18*, SEND1+21*, SEND1+25
ORWNATR SEND1~, SEND1+5*, SEND1+9*, SEND1+10, SEND1+16
ORWP94 SAVE+3~, SAVE+36*, SAVE+41, SAVE+58
ORWREC SEND~
ORWREC( SEND1+3, SEND1+4
ORWREL SEND1~, SEND1+5*, SEND1+10, SEND1+16, SEND1+19
ORWSIG SEND1~, SEND1+5*, SEND1+10, SEND1+16, SEND1+20
PTEVT SENDED+1~, SENDED+5*, SENDED+6, SENDED+7, SENDED+8, SENDED+22*, SENDED+23
QO DLGQUIK~, DLGQUIK+1
QOCALL ORDITM~, ORDITM+4*, ORDITM+10
REC SAVE~, SAVE+68*, SAVE+77*, SAVE+80
ROOT LOADRSP+3~*, LOADRSP+7*, LOADRSP+8*, LOADRSP+9*, LOADRSP+10
RSPID LOADRSP~, LOADRSP+5, LOADRSP+6, LOADRSP+7, LOADRSP+8, LOADRSP+9
SENDMSG SAVE+4~, SAVE+15*, SAVE+19*, SAVE+78
SIGPRMT SAVE+59~*, SAVE+61
SUB SAVE+48~, SAVE+49*
TRANS LOADRSP~
TS SENDED~, SENDED+18
U ORDITM+9, ORDITM+10, ORDITM+12, ORDITM+13, SAVE+14, SAVE+15, SAVE+21, SAVE+22, SAVE+49, SAVE+73
, SAVE+74, SENDED+5, SENDED+11, SENDED+13, SENDED+14, SENDED+17, SENDED+18, SENDED+22, SENDED+25, SEND1+5
, SEND1+8, SEND1+13, SEND1+15, SEND1+19, SEND1+21, DLGID+1, FORMID+2, AGAIN+1, DGRP+2, DISMSG+1
VAL LOADRSP+3~, DLGID~, DLGID+1*, DLGID+2*, FORMID~, FORMID+2*, FORMID+4, AGAIN~, AGAIN+1*, DGRP~
, DGRP+2*, DGNM~, DGNM+1*, DISMSG~, DISMSG+1*
X ORDITM+2~, ORDITM+8*, ORDITM+9, ORDITM+10, ORDITM+12, ORDITM+13, SENDED+1~, SENDED+24*, SENDED+25, SEND1~
, SEND1+2*, SEND1+4*, SEND1+5, SEND1+17*, SEND1+19*, SEND1+20*, SEND1+21
XCNT SAVE+6~, SAVE+7*, SAVE+9*, SAVE+10
XCOMM SAVE+6~, SAVE+7*, SAVE+10*, SAVE+11, SAVE+12, SAVE+13
XDONE SAVE+6~, SAVE+11*, SAVE+12*, SAVE+13
XREF ORDITM~, ORDITM+6, ORDITM+7, ORDITM+8, ODITMBC~, ODITMBC+2
XRF ODITMBC+1~, ODITMBC+2*
XX SAVE+6~, SAVE+11*, SAVE+12
Y ORDITM~, ODITMBC~, ODITMBC+3, FNDINFO~, FNDINFO+1
Y( ORDITM+12*, ORDITM+13*

Marked Items

Name Field # of Occurrence
$T(BHS^ORMBLD SEND1+14
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All