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 ;05/06/14 06:58

Source Information

Source file <ORDEA.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Pharmacy Data Management 3 DATA^PSS50  ($$OIDEA,$$OIDETOX)^PSSOPKI  OIDEA^PSSUTLA1  
VA FileMan 3 $$FIND1^DIC  (FILE,UPDATE)^DIE  ($$GET1,GETS)^DIQ  
Kernel 2 ($$DT,$$FMADD,$$FMDIFF,$$FMTE,$$NOW)^XLFDT  ($$DEA,$$DETOX)^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

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

Caller Graph

Caller Graph Total: 23

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

Entry Points

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

External References

Name Field # of Occurrence
$$FIND1^DIC SUBSCRIB+7, ARCHIVE+4, HASHRTN+3
FILE^DIE SUBSCRIB+11
UPDATE^DIE BUILD+3, BACKDOOR+15
$$GET1^DIQ SIGINFO+7, HASHINFO+14, BUILDFDA+9, BUILDFDA+45, BUILDFDA+46, SUBSCRIB+9, HASHRTN+6
GETS^DIQ SIGINFO+10, HASHINFO+18, ARCHIVE+7
$$GETICN^MPIF001 BUILDFDA+46
GETDLG^ORCD BUILDFDA+10
GETORDER^ORCD BUILDFDA+10
$$DGRX^ORQOR2 CSVALUE+4
$$OI^ORQOR2 CSVALUE+3
DATA^PSS50 BUILDFDA+33, BACKDOOR+8
$$OIDEA^PSSOPKI CSCHECK+10
$$OIDETOX^PSSOPKI CSCHECK+15
OIDEA^PSSUTLA1 CSCHECK+9
ADD^VADPT HASHINFO+7
DEM^VADPT BUILDFDA+47
$$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
GETWP^XPAR DEATEXT+2, LNKMSG+2
$$DEA^XUSER SIGINFO+21, HASHINFO+22
$$DETOX^XUSER SIGINFO+23, HASHINFO+24

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

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, BACKDOOR+4, BACKDOOR+11, BACKDOOR+14
^ORD(101.41 - [#101.41] BUILDFDA+36, BACKDOOR+5, PTR+1
^ORD(101.43 - [#101.43] CSCHECK+5
^TMP($J BUILDFDA+8!, BUILDFDA+34, BUILDFDA+35, 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+41
$$DUR BUILDFDA+41
$$PTR BUILDFDA+11, BUILDFDA+12
BUILDFDA ORDHINFO+2, BUILD+2, BACKDOOR+13
CSCHECK CSVALUE+11
HASHINFO BACKDOOR+12

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A BUILDFDA+5~, BUILDFDA+22*, BUILDFDA+23, BUILDFDA+24, BUILDFDA+25, BUILDFDA+27*, BUILDFDA+28, BUILDFDA+29, BUILDFDA+31*, BUILDFDA+37*
, BUILDFDA+38, BUILDFDA+39*, BUILDFDA+41*, BUILDFDA+42, BUILDFDA+43, BUILDFDA+44, BUILDFDA+45*, BUILDFDA+46*, 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+6~, BUILDFDA+12*, BUILDFDA+41
DFN HASHINFO+5~, HASHINFO+6*, BUILDFDA+5~, BUILDFDA+46*, BUILDFDA+47, BACKDOOR+2~, BACKDOOR+11*, BACKDOOR+12
DOSE BUILDFDA+5~, BUILDFDA+6~, BUILDFDA+11*, BUILDFDA+41
DUR BUILDFDA+6~, BUILDFDA+11*, BUILDFDA+41, DUR~, DUR+1
DUZ PINLKCHK+3, PINLKCHK+5, PINLKSET+2, PINLKSET+3
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+5~, BUILD+1~, SUBSCRIB+5~, SUBSCRIB+12, ARCHIVE+3~, ARCHIVE+7, HASHRTN+2~, HASHRTN+6
HASH ORDHINFO~, ORDHINFO+2, BUILDFDA~, BUILDFDA+48
I DEATEXT+1~, DEATEXT+3*, BUILDFDA+5~, BUILDFDA+14*, BUILDFDA+15, BUILDFDA+16, BUILDFDA+17, BUILDFDA+18, BUILDFDA+19, BUILDFDA+20
, BUILDFDA+21, BUILDFDA+22, BUILDFDA+26, BUILDFDA+27, BUILDFDA+40*, BUILDFDA+41, BUILDFDA+42, 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+13*, BUILDFDA+15, BUILDFDA+16, BUILDFDA+17, BUILDFDA+18, BUILDFDA+19, BUILDFDA+20, BUILDFDA+23, BUILDFDA+24
, BUILDFDA+25, BUILDFDA+28, BUILDFDA+29, BUILDFDA+30, BUILDFDA+34, BUILDFDA+37, BUILDFDA+39, BUILDFDA+42, BUILDFDA+46, BUILDFDA+47
, BUILDFDA+48, BACKDOOR+14
INSTR BUILDFDA+6~, BUILDFDA+11*, BUILDFDA+36*, BUILDFDA+40
NAME PTR~, PTR+1
OHD BUILDFDA~, BACKDOOR+2~, BACKDOOR+12, BACKDOOR+13
OHD( BUILDFDA+14, BUILDFDA+15, BUILDFDA+16, BUILDFDA+17, BUILDFDA+18, BUILDFDA+19, BUILDFDA+20, BUILDFDA+21, BUILDFDA+22, BUILDFDA+26
, BUILDFDA+27
OHINFO ORDHINFO~, ORDHINFO+2
ORADDNUM SIGINFO+11~*, SIGINFO+12*, SIGINFO+13*, SIGINFO+14*, SIGINFO+15*, SIGINFO+16*, SIGINFO+17
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+23~*, SIGINFO+24, HASHINFO+24~*, HASHINFO+25
ORDFDA ORDHINFO+2, BUILDFDA~, BUILD+1~, BUILD+2, SUBSCRIB+5~, BACKDOOR+2~, BACKDOOR+13
ORDFDA( BUILDFDA+15*, BUILDFDA+16*, BUILDFDA+17*, BUILDFDA+18*, BUILDFDA+19*, BUILDFDA+20*, BUILDFDA+23*, BUILDFDA+24*, BUILDFDA+25*, BUILDFDA+28*
, BUILDFDA+29*, BUILDFDA+30*, BUILDFDA+34*, BUILDFDA+37*, BUILDFDA+39*, BUILDFDA+42*, BUILDFDA+46*, BUILDFDA+47*, BUILDFDA+48*, SUBSCRIB+10*
, BACKDOOR+14*
ORDFN SIGINFO~, SIGINFO+3, HASHINFO~, HASHINFO+3, HASHINFO+6
ORDIALOG BUILDFDA+5~, BUILDFDA+9*, BUILDFDA+10
ORDIALOG( BUILDFDA+31, BUILDFDA+37, BUILDFDA+38, BUILDFDA+39, BUILDFDA+40, BUILDFDA+41
ORDIALOG("B" BUILDFDA+31, BUILDFDA+37, BUILDFDA+39
ORDIFF PINLKCHK+4~, PINLKCHK+5*, PINLKCHK+7
ORHASH HASHRTN+2~, HASHRTN+6*, HASHRTN+7
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+24*, HASHINFO+1~*, HASHINFO+3*, HASHINFO+9*, HASHINFO+11*, HASHINFO+12*, HASHINFO+14*, HASHINFO+15*
, HASHINFO+19*, HASHINFO+20*, HASHINFO+22*, HASHINFO+25*
ORID CSVALUE~, CSVALUE+3, CSVALUE+4, PNDHLD~, PNDHLD+2, PNDHLD+3
ORIFN ORDHINFO~, ORDHINFO+2, BUILDFDA~, BUILDFDA+7, BUILDFDA+9, BUILDFDA+10, BUILDFDA+30, BUILDFDA+45, BUILDFDA+46, 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
ORINST SIGINFO+9~, HASHINFO+17~
ORINST(4 SIGINFO+12, SIGINFO+13, SIGINFO+14, SIGINFO+15, SIGINFO+16, SIGINFO+19, HASHINFO+19, HASHINFO+20
ORLSTACT PNDHLD+2~*, PNDHLD+3
OROI CSVALUE+1~, CSVALUE+3*, CSVALUE+11, CSCHECK~, CSCHECK+5
OROUT BUILDFDA~, BUILD+1~, BUILD+2
OROUT(1 BUILDFDA+32*, BUILDFDA+35*
OROUT(2 BUILDFDA+38*
OROUT(3 BUILDFDA+43*, BUILDFDA+44*
ORPATADD HASHINFO+5~, HASHINFO+8*, HASHINFO+9
ORPROV SIGINFO~, SIGINFO+7, SIGINFO+21, SIGINFO+23, HASHINFO~, HASHINFO+14, HASHINFO+15, HASHINFO+22, HASHINFO+24, BACKDOOR~
, BACKDOOR+12
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
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~
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+24*, HASHINFO+3*, HASHINFO+9*, HASHINFO+11*, HASHINFO+12*, HASHINFO+14*, HASHINFO+15*, HASHINFO+19*
, HASHINFO+20*, HASHINFO+22*, HASHINFO+25*, LNKMSG+3*
OUT BACKDOOR+2~, BACKDOOR+13
PIEN BUILDFDA+5~, BUILDFDA+31*, BUILDFDA+32, BUILDFDA+33, BUILDFDA+34, BUILDFDA+35, BACKDOOR+2~, BACKDOOR+6*, BACKDOOR+7, BACKDOOR+8
ROUTE BUILDFDA+5~, BUILDFDA+12*, BUILDFDA+41
RXN SUBSCRIB~, SUBSCRIB+6, SUBSCRIB+9, SUBSCRIB+10
S1 BUILDFDA+5~, BUILDFDA+40*, ARCHIVE+3~, ARCHIVE+19*, BACKDOOR+2~, BACKDOOR+6*
SCHED BUILDFDA+5~, BUILDFDA+6~, BUILDFDA+11*, BUILDFDA+41
U PNDHLD+3, CSCHECK+5, CSCHECK+16, SIGINFO+3, HASHINFO+3, HASHINFO+8, HASHINFO+19, PINLKSET+1
VADM BUILDFDA+6~
VADM(1 BUILDFDA+47
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