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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: ORDEA

Package: Order Entry Results Reporting

Routine: ORDEA


Information

ORDEA ;ISL/TC & JMH & JLC - DEA related items ;07/10/19 09:22

Source Information

Source file <ORDEA.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
VA FileMan 5 $$FIND1^DIC  $$GET1^DID  (FILE,UPDATE)^DIE  CLEAN^DILF  ($$GET1,GETS)^DIQ  
Pharmacy Data Management 3 DATA^PSS50  ($$OIDEA,$$OIDETOX)^PSSOPKI  OIDEA^PSSUTLA1  
Kernel 2 ($$DT,$$FMADD,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  $$DEA^XUSER  
Order Entry Results Reporting 2 (GETDLG,GETORDER)^ORCD  ($$DGRX,$$OI)^ORQOR2  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Registration 1 (ADD,DEM)^VADPT  
Toolkit 1 GETWP^XPAR  

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: 26

Package Total Caller Graph
Order Entry Results Reporting 19 ORCACT0  ORCACT01  ORCSAVE  ORDEA AUINTENT  ORDEA CSVALUE  ORDEA DEATEXT  ORDEA HASHINFO  ORDEA LNKMSG  
ORDEA ORDHINFO  ORDEA PINLKCHK  ORDEA PINLKSET  ORDEA PNDHLD  ORDEA SIGINFO  ORMPS  ORMTIM02  ORS100C  
ORWOR  ORWOR1  ORWORR  
Outpatient Pharmacy 5 PSON52  PSOPKIV1  PSOPKIV2  PSORN52C  PSOUTIL  
Controlled Substances 2 PSDDSOR1  PSDSUBOX  

Entry Points

Name Comments DBIA/ICR reference
DEATEXT(ORY) ;returns the mandatory dea text to show when a user checks a controlled substance order to be signed on the signature dialog
CSVALUE(ORY,ORID) ;return 1 if the order (ORID) is a controlled substance, 0 for non-controlled substance
PNDHLD(ORY,ORID) ;return 1 if the order is pending a HOLD, 0 otherwise
CSCHECK(ORCSVAL,OROI,ORPSTYPE) ; return 1 if OI is a controlled substance, 0 for non-controlled substance
SIGINFO(ORY,ORDFN,ORPROV,OROID) ;returns the provider/patient info that must be displayed when signing controlled substance orders
HASHINFO(ORY,ORDFN,ORPROV,OROID) ;basic data for all orders getting signed
ORDHINFO(ORY,ORIFN,HASH,OHINFO) ;
BUILDFDA(ORIFN,ORDFDA,OROUT,HASH,OHD) ;
BUILD(ORIFN) ;Build ARCHIVE entry for CPRS order number
SUBSCRIB(ORIFN,RXN) ;API for Pharmacy to subscribe to an archive entry
ARCHIVE(ORIFN) ;retrieve archive for specified order number
HASHRTN(ORIFN) ;returns hash of a specified archive entry
BACKDOOR(ORIFN,ORPROV,ORD) ;create archive for new backdoor order
PINLKCHK(ORY) ;check if the current user has an active PIN lock
PINLKSET(ORY) ;set a PIN lock on the current user
LNKMSG(ORY) ;message to display after successful PIV link for admin contact person
PTR(NAME) ; -- Returns ptr value of prompt in Dialog file
DUR(DUR) ;
CONJ(CNJ) ;
AUINTENT(ORY,ORIFN,ORSTATE)
AUDORDXX(ORIFN) ;Audit change to unsigned CS ePCS Order

External References

Name Field # of Occurrence
$$FIND1^DIC SUBSCRIB+7, ARCHIVE+4, HASHRTN+3
$$GET1^DID AUDORDXX+28
FILE^DIE SUBSCRIB+11
UPDATE^DIE BUILD+3, BACKDOOR+15, AUINTENT+17, AUDORDXX+32
CLEAN^DILF AUINTENT+19, AUDORDXX+34
$$GET1^DIQ SIGINFO+7, HASHINFO+14, BUILDFDA+7, BUILDFDA+43, BUILDFDA+44, SUBSCRIB+9, HASHRTN+6
GETS^DIQ SIGINFO+10, HASHINFO+18, ARCHIVE+7
$$GETICN^MPIF001 BUILDFDA+44
GETDLG^ORCD BUILDFDA+8
GETORDER^ORCD BUILDFDA+8
$$DGRX^ORQOR2 CSVALUE+4
$$OI^ORQOR2 CSVALUE+3
DATA^PSS50 BUILDFDA+31, BACKDOOR+8
$$OIDEA^PSSOPKI CSCHECK+10
$$OIDETOX^PSSOPKI CSCHECK+15
OIDEA^PSSUTLA1 CSCHECK+9
ADD^VADPT HASHINFO+7
DEM^VADPT BUILDFDA+45
$$DT^XLFDT SIGINFO+5, HASHINFO+11, HASHINFO+12
$$FMADD^XLFDT PINLKSET+1
$$FMDIFF^XLFDT PINLKCHK+5
$$FMTE^XLFDT SIGINFO+5, HASHINFO+11
$$NOW^XLFDT PINLKCHK+5, PINLKSET+1, PINLKSET+2, AUINTENT+13, AUDORDXX+9
GETWP^XPAR DEATEXT+2, LNKMSG+2
$$DEA^XUSER SIGINFO+21, HASHINFO+22, HASHINFO+28

Used in RPC

RPC Name Call Tags
ORDEA DEATEXT DEATEXT
ORDEA SIGINFO SIGINFO
ORDEA CSVALUE CSVALUE
ORDEA HASHINFO HASHINFO
ORDEA ORDHINFO ORDHINFO
ORDEA PINLKCHK PINLKCHK
ORDEA PINLKSET PINLKSET
ORDEA PNDHLD PNDHLD
ORDEA LNKMSG LNKMSG
ORDEA AUINTENT AUINTENT

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^OR(100 - [#100] GET1^DIQ
^ORPA(101.52 - [#101.52] FIND1^DIC,  GET1^DIQ,  GETS^DIQ
^VA(200 - [#200] GET1^DIQ
^DIC(4 - [#4] GETS^DIQ
^SC - [#44] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] SIGINFO+3, HASHINFO+3
^OR(100 - [#100] PNDHLD+2, PNDHLD+3, SIGINFO+23, HASHINFO+25, BACKDOOR+4, BACKDOOR+11, BACKDOOR+14, AUINTENT+8, AUDORDXX+14, AUDORDXX+15
^ORD(101.41 - [#101.41] BUILDFDA+34, BACKDOOR+5, PTR+1
^ORD(101.43 - [#101.43] CSCHECK+5
^ORD(101.51 - [#101.51] AUINTENT+16, AUINTENT+18, AUDORDXX+31, AUDORDXX+33
^TMP($J BUILDFDA+6!, BUILDFDA+32, BUILDFDA+33, ARCHIVE+3!, ARCHIVE+18*, ARCHIVE+19*, BACKDOOR+3!, BACKDOOR+8
^XTMP("OR DEA PIN LOCK" PINLKCHK+3, PINLKCHK+5, PINLKSET+1*, PINLKSET+2*, PINLKSET+3

Label References

Name Line Occurrences
$$CONJ BUILDFDA+39
$$DUR BUILDFDA+39
$$PTR BUILDFDA+9, BUILDFDA+10
BUILDFDA ORDHINFO+2, BUILD+2, BACKDOOR+13
CSCHECK CSVALUE+11
HASHINFO BACKDOOR+12, AUDORDXX+17
ORDHINFO AUDORDXX+18

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A BUILDFDA+3~, BUILDFDA+20*, BUILDFDA+21, BUILDFDA+22, BUILDFDA+23, BUILDFDA+25*, BUILDFDA+26, BUILDFDA+27, BUILDFDA+29*, BUILDFDA+35*
, BUILDFDA+36, BUILDFDA+37*, BUILDFDA+39*, BUILDFDA+40, BUILDFDA+41, BUILDFDA+42, BUILDFDA+43*, BUILDFDA+44*, SUBSCRIB+5~, SUBSCRIB+9*
, ARCHIVE+3~, BACKDOOR+2~
A( ARCHIVE+18
A(1 ARCHIVE+8*, ARCHIVE+9*
A(2 ARCHIVE+10*, ARCHIVE+11*
A(3 ARCHIVE+12*, ARCHIVE+13*
A(4 ARCHIVE+14*, ARCHIVE+15*
A(5 ARCHIVE+16*, ARCHIVE+17*
CNJ CONJ~, CONJ+1
CONJ BUILDFDA+4~, BUILDFDA+10*, BUILDFDA+39
DFN HASHINFO+5~, HASHINFO+6*, BUILDFDA+3~, BUILDFDA+44*, BUILDFDA+45, BACKDOOR+2~, BACKDOOR+11*, BACKDOOR+12, AUDORDXX+3~, AUDORDXX+14*
, AUDORDXX+17
>> DILOCKTM AUINTENT+16, AUDORDXX+31
DOSE BUILDFDA+3~, BUILDFDA+4~, BUILDFDA+9*, BUILDFDA+39
DUR BUILDFDA+4~, BUILDFDA+9*, BUILDFDA+39, DUR~, DUR+1
DUZ PINLKCHK+3, PINLKCHK+5, PINLKSET+2, PINLKSET+3, AUINTENT+14, AUDORDXX+10, AUDORDXX+16
DUZ(2 SIGINFO+10, SIGINFO+12, SIGINFO+13, SIGINFO+14, SIGINFO+15, SIGINFO+16, SIGINFO+19, HASHINFO+18, HASHINFO+19, HASHINFO+20
ERR HASHRTN+2~
ERROR BUILDFDA+3~, BUILD+1~, SUBSCRIB+5~, SUBSCRIB+12, ARCHIVE+3~, ARCHIVE+7, HASHRTN+2~, HASHRTN+6
HASH ORDHINFO~, ORDHINFO+2, BUILDFDA~, BUILDFDA+46
I DEATEXT+1~, DEATEXT+3*, BUILDFDA+3~, BUILDFDA+12*, BUILDFDA+13, BUILDFDA+14, BUILDFDA+15, BUILDFDA+16, BUILDFDA+17, BUILDFDA+18
, BUILDFDA+19, BUILDFDA+20, BUILDFDA+24, BUILDFDA+25, BUILDFDA+38*, BUILDFDA+39, BUILDFDA+40, ARCHIVE+3~, ARCHIVE+8*, ARCHIVE+10*
, ARCHIVE+12*, ARCHIVE+14*, ARCHIVE+16*, ARCHIVE+18*, LNKMSG+1~, LNKMSG+3*
IEN SUBSCRIB+5~, SUBSCRIB+7*, SUBSCRIB+8, SUBSCRIB+9, SUBSCRIB+10, ARCHIVE+3~, ARCHIVE+4*, ARCHIVE+5, ARCHIVE+6*, ARCHIVE+7
, ARCHIVE+8, ARCHIVE+10, ARCHIVE+12, ARCHIVE+14, ARCHIVE+16, HASHRTN+2~, HASHRTN+3*, HASHRTN+4, HASHRTN+5*, HASHRTN+6
IENS ORDHINFO+1~, BUILDFDA+11*, BUILDFDA+13, BUILDFDA+14, BUILDFDA+15, BUILDFDA+16, BUILDFDA+17, BUILDFDA+18, BUILDFDA+21, BUILDFDA+22
, BUILDFDA+23, BUILDFDA+26, BUILDFDA+27, BUILDFDA+28, BUILDFDA+32, BUILDFDA+35, BUILDFDA+37, BUILDFDA+40, BUILDFDA+44, BUILDFDA+45
, BUILDFDA+46, BACKDOOR+14
INSTR BUILDFDA+4~, BUILDFDA+9*, BUILDFDA+34*, BUILDFDA+38
NAME PTR~, PTR+1
OHD BUILDFDA~, BACKDOOR+2~, BACKDOOR+12, BACKDOOR+13
OHD( BUILDFDA+12, BUILDFDA+13, BUILDFDA+14, BUILDFDA+15, BUILDFDA+16, BUILDFDA+17, BUILDFDA+18, BUILDFDA+19, BUILDFDA+20, BUILDFDA+24
, BUILDFDA+25
OHINFO ORDHINFO~, ORDHINFO+2
ORADDNUM SIGINFO+11~*, SIGINFO+12*, SIGINFO+13*, SIGINFO+14*, SIGINFO+15*, SIGINFO+16*, SIGINFO+17
ORARR AUDORDXX+3~, AUDORDXX+21*, AUDORDXX+22*, AUDORDXX+23, AUDORDXX+24, AUDORDXX+28
ORAUDFDA AUDORDXX+3~
ORAUDFDA( AUDORDXX+8*, AUDORDXX+9*, AUDORDXX+10*, AUDORDXX+29*
ORAUDIT AUDORDXX+3~, AUDORDXX+29
ORAUDIT( AUDORDXX+28*
ORCSVAL CSCHECK~, CSCHECK+5*, CSCHECK+11*, CSCHECK+12*, CSCHECK+16*
ORD BACKDOOR~, BACKDOOR+5
ORD( BACKDOOR+6
ORDEA ARCHIVE+3~
ORDEA( ARCHIVE+8, ARCHIVE+10, ARCHIVE+12, ARCHIVE+14, ARCHIVE+16, ARCHIVE+19
ORDEAFLG CSCHECK+4~, CSCHECK+10*, CSCHECK+11, CSCHECK+12
ORDETOX CSCHECK+4~, CSCHECK+13*, CSCHECK+15*, CSCHECK+16, SIGINFO+25~*, SIGINFO+26, HASHINFO+30~*, HASHINFO+31
ORDFDA ORDHINFO+2, BUILDFDA~, BUILD+1~, BUILD+2, SUBSCRIB+5~, BACKDOOR+2~, BACKDOOR+13, AUDORDXX+3~
ORDFDA( BUILDFDA+13*, BUILDFDA+14*, BUILDFDA+15*, BUILDFDA+16*, BUILDFDA+17*, BUILDFDA+18*, BUILDFDA+21*, BUILDFDA+22*, BUILDFDA+23*, BUILDFDA+26*
, BUILDFDA+27*, BUILDFDA+28*, BUILDFDA+32*, BUILDFDA+35*, BUILDFDA+37*, BUILDFDA+40*, BUILDFDA+44*, BUILDFDA+45*, BUILDFDA+46*, SUBSCRIB+10*
, BACKDOOR+14*
ORDFN SIGINFO~, SIGINFO+3, HASHINFO~, HASHINFO+3, HASHINFO+6
ORDIALOG BUILDFDA+3~, BUILDFDA+7*, BUILDFDA+8
ORDIALOG( BUILDFDA+29, BUILDFDA+35, BUILDFDA+36, BUILDFDA+37, BUILDFDA+38, BUILDFDA+39
ORDIALOG("B" BUILDFDA+29, BUILDFDA+35, BUILDFDA+37
ORDIFF PINLKCHK+4~, PINLKCHK+5*, PINLKCHK+7
ORFDA AUINTENT+3~
ORFDA( AUINTENT+12*, AUINTENT+13*, AUINTENT+14*, AUINTENT+15*
ORFIELD AUDORDXX+3~, AUDORDXX+24*, AUDORDXX+25, AUDORDXX+26, AUDORDXX+28
ORFILE AUDORDXX+3~, AUDORDXX+23*, AUDORDXX+25, AUDORDXX+26, AUDORDXX+28
ORHASH HASHRTN+2~, HASHRTN+6*, HASHRTN+7
ORHASHINFO AUDORDXX+3~, AUDORDXX+17, AUDORDXX+18
ORI SIGINFO+1~*, SIGINFO+3*, SIGINFO+5*, SIGINFO+7*, SIGINFO+12*, SIGINFO+13*, SIGINFO+14*, SIGINFO+15, SIGINFO+16, SIGINFO+18*
, SIGINFO+19*, SIGINFO+21*, SIGINFO+23, SIGINFO+26*, HASHINFO+1~*, HASHINFO+3*, HASHINFO+9*, HASHINFO+11*, HASHINFO+12*, HASHINFO+14*
, HASHINFO+15*, HASHINFO+19*, HASHINFO+20*, HASHINFO+22*, HASHINFO+27*, HASHINFO+28*, HASHINFO+31*
ORID CSVALUE~, CSVALUE+3, CSVALUE+4, PNDHLD~, PNDHLD+2, PNDHLD+3
ORIFN ORDHINFO~, ORDHINFO+2, BUILDFDA~, BUILDFDA+5, BUILDFDA+7, BUILDFDA+8, BUILDFDA+28, BUILDFDA+43, BUILDFDA+44, BUILD~
, BUILD+2, SUBSCRIB~, SUBSCRIB+6, SUBSCRIB+7, ARCHIVE~, ARCHIVE+2, ARCHIVE+3, ARCHIVE+4, ARCHIVE+18, ARCHIVE+19
, HASHRTN~, HASHRTN+3, BACKDOOR~, BACKDOOR+4, BACKDOOR+11, BACKDOOR+13, BACKDOOR+14, AUINTENT~, AUINTENT+6, AUINTENT+7*
, AUINTENT+8, AUINTENT+12, AUDORDXX~, AUDORDXX+5, AUDORDXX+6*, AUDORDXX+8, AUDORDXX+14, AUDORDXX+15, AUDORDXX+18
ORINST SIGINFO+9~, HASHINFO+17~
ORINST(4 SIGINFO+12, SIGINFO+13, SIGINFO+14, SIGINFO+15, SIGINFO+16, SIGINFO+19, HASHINFO+19, HASHINFO+20
ORLN AUDORDXX+3~, AUDORDXX+20*, AUDORDXX+27*, AUDORDXX+28
ORLSTACT PNDHLD+2~*, PNDHLD+3
OROI CSVALUE+1~, CSVALUE+3*, CSVALUE+11, CSCHECK~, CSCHECK+5
OROID SIGINFO~, SIGINFO+23*, HASHINFO~, HASHINFO+24*, HASHINFO+25
OROUT BUILDFDA~, BUILD+1~, BUILD+2
OROUT(1 BUILDFDA+30*, BUILDFDA+33*
OROUT(2 BUILDFDA+36*
OROUT(3 BUILDFDA+41*, BUILDFDA+42*
ORPATADD HASHINFO+5~, HASHINFO+8*, HASHINFO+9
ORPROV SIGINFO~, SIGINFO+7, SIGINFO+21, HASHINFO~, HASHINFO+14, HASHINFO+15, HASHINFO+22, HASHINFO+28, BACKDOOR~, BACKDOOR+12
, AUDORDXX+3~, AUDORDXX+15*, AUDORDXX+16*, AUDORDXX+17
ORPSOI CSCHECK+4~, CSCHECK+8*, CSCHECK+10, CSCHECK+15
ORPSTYPE CSVALUE+1~, CSVALUE+2*, CSVALUE+5*, CSVALUE+6*, CSVALUE+7*, CSVALUE+8*, CSVALUE+9*, CSVALUE+10, CSVALUE+11, CSCHECK~
, CSCHECK+6, CSCHECK+10, CSCHECK+15
ORRXDG CSVALUE+1~, CSVALUE+4*, CSVALUE+5, CSVALUE+6, CSVALUE+7, CSVALUE+8, CSVALUE+9
ORSCHED BACKDOOR+2~, BACKDOOR+8*, BACKDOOR+9, BACKDOOR+10
ORSLDEA HASHINFO+24~*, HASHINFO+25*, HASHINFO+26*, HASHINFO+27, HASHINFO+28
ORSTATE AUINTENT~, AUINTENT+9, AUINTENT+15
ORTPKG CSCHECK+4~, CSCHECK+5*, CSCHECK+7, CSCHECK+8
ORTY DEATEXT+1~, DEATEXT+2, LNKMSG+1~, LNKMSG+2
ORTY( DEATEXT+3, LNKMSG+3
ORY DEATEXT~, CSVALUE~, CSVALUE+2*, CSVALUE+11, CSVALUE+12*, PNDHLD~, PNDHLD+1*, PNDHLD+3*, SIGINFO~, HASHINFO~
, ORDHINFO~, ORDHINFO+2, PINLKCHK~, PINLKCHK+2*, PINLKCHK+7*, PINLKSET~, PINLKSET+3*, LNKMSG~, AUINTENT~, AUINTENT+5*
, AUINTENT+10*
ORY( DEATEXT+3*, SIGINFO+3*, SIGINFO+5*, SIGINFO+7*, SIGINFO+12*, SIGINFO+13*, SIGINFO+14*, SIGINFO+15*, SIGINFO+16*, SIGINFO+18*
, SIGINFO+19*, SIGINFO+21*, SIGINFO+23*, SIGINFO+26*, HASHINFO+3*, HASHINFO+9*, HASHINFO+11*, HASHINFO+12*, HASHINFO+14*, HASHINFO+15*
, HASHINFO+19*, HASHINFO+20*, HASHINFO+22*, HASHINFO+27*, HASHINFO+28*, HASHINFO+31*, LNKMSG+3*
OUT BACKDOOR+2~, BACKDOOR+13
PIEN BUILDFDA+3~, BUILDFDA+29*, BUILDFDA+30, BUILDFDA+31, BUILDFDA+32, BUILDFDA+33, BACKDOOR+2~, BACKDOOR+6*, BACKDOOR+7, BACKDOOR+8
ROUTE BUILDFDA+3~, BUILDFDA+10*, BUILDFDA+39
>> RXE HASHINFO+26
RXN SUBSCRIB~, SUBSCRIB+6, SUBSCRIB+9, SUBSCRIB+10
S1 BUILDFDA+3~, BUILDFDA+38*, ARCHIVE+3~, ARCHIVE+19*, BACKDOOR+2~, BACKDOOR+6*
SCHED BUILDFDA+3~, BUILDFDA+4~, BUILDFDA+9*, BUILDFDA+39
U PNDHLD+3, CSCHECK+5, CSCHECK+16, SIGINFO+3, SIGINFO+23, HASHINFO+3, HASHINFO+8, HASHINFO+19, HASHINFO+25, PINLKSET+1
, AUDORDXX+14, AUDORDXX+15
VADM BUILDFDA+4~
VADM(1 BUILDFDA+45
VAPA HASHINFO+5~
VAPA(1 HASHINFO+8
VAPA(2 HASHINFO+8
VAPA(3 HASHINFO+8
VAPA(4 HASHINFO+8
VAPA(5 HASHINFO+8
VAPA(6 HASHINFO+8
VAPA(7 HASHINFO+8

Marked Items

Name Field # of Occurrence
$T(OIDEA^PSSUTLA1 CSCHECK+9
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All