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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: DDEGET

Package: VA FileMan

Routine: DDEGET


Information

DDEGET ;SPFO/RAM,MKB - Entity GET Handler ;1/26/23 10:37

Source Information

Source file <DDEGET.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 5 $$CRC16^XLFCRC  $$DT^XLFDT  $$UP^XLFSTR  $$BASE^XLFUTL  $$KSP^XUPARAM  
VA FileMan 3 $$EN1^DDEG  (FIND,LIST)^DIC  $$VFILE^DILFD  
Master Patient Index VistA 1 $$GETDFN^MPIF001  

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

Package Total Caller Graph
VA FileMan 2 DDE  DDERR  

Entry Points

Name Comments DBIA/ICR reference
EN(ENTITY,ID,FILTER,MAX,FORMAT,TARGET,ERROR) ; -- Return [list of] data entities
; where ENTITY = ien or name of desired Entity #1.5
; ID = single item ID to return [opt]
; MAX = maximum number of items to return [opt]
; FORMAT = 0:JSON (default) or 1:XML [opt]
; TARGET = closed array reference to return data [opt]
; ERROR = closed array reference for error msgs [opt]
; FILTER[(#)] = search values, if using FIND^DIC [opt]
; FILTER("from") = starting search value, for LIST^DIC [opt]
; FILTER("partial") = partial search value, for LIST^DIC [opt]
; FILTER("start") = start date.time of search, for Query [opt]
; FILTER("stop") = stop date.time of search, for Query [opt]
; FILTER("patient") = DFN or DFN;ICN [opt]
; FILTER("init") = initial value for array subscript [opt]
A ; parse & validate input parameters
B ; extract data
ENQ ;exit
DIC(ENT) ; -- FIND/LIST^DIC, returns DLIST(#)=id for query ;p24
; ID should be null, or iens for sub-file search (",###,")
PRE(ENT) ; -- pre-processing logic
POST(ENT) ; -- post-processing logic
ERROR(MSG) ; -- return error MSG
VALID(PAT) ; -- return 1 or 0, if valid PATient #2 ien
SYS() ; -- return hashed system name

External References

Name Field # of Occurrence
$$EN1^DDEG B+12
FIND^DIC DIC+9
LIST^DIC DIC+10
$$VFILE^DILFD A+6
$$GETDFN^MPIF001 A+17
$$CRC16^XLFCRC SYS+1
$$DT^XLFDT EN+21
$$UP^XLFSTR A+22
$$BASE^XLFUTL SYS+1
$$KSP^XUPARAM SYS+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DDE - [#1.5] A+3, A+5, B+1, DIC+3, PRE+2, POST+2
^DDE("B" A+2
^DIC - [#1] DIC+11
^DPT - [#2] VALID+4, VALID+6, VALID+7
^TMP("DDE GET" EN+18
^TMP("DDERR" EN+20

Label References

Name Line Occurrences
$$SYS EN+22
$$VALID A+19
@( B+6
DIC B+7
ENQ A+1, A+3, A+6, A+19
ERROR A+1, A+3, A+6, A+19, B+13
POST B+17
PRE A+25

Naked Globals

Name Field # of Occurrence
^(0 DIC+3
^(5.1 DIC+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DDEI EN+15~, EN+19*, B+14*, B+15
DDELIST EN+15~
DDELIST("DILIST" DIC+11, DIC+13
DDEN EN+15~, B+9*, B+11
DDEQUIT EN+15~, A+25
DDER EN+15~, EN+20*, ENQ+1, ERROR+1, ERROR+2
DDEX EN+15~, B+12*, B+14
DDEY EN+15~, EN+18*, EN+19, B+14, B+15, ENQ+1
DDEZ EN+15~, B+12, B+13
DDVAL DIC+2~, DIC+6*, DIC+8*, DIC+9, DIC+10
DDVAL( DIC+7*
DDVAL(0 DIC+8
DFN EN+16~, A+16*, A+17*, A+18*, A+19
DFORM EN+15~, A+22*, A+23*, B+2, B+4
DLIST EN+15~, DIC+11*
DLIST( B+9, B+11, DIC+13*
DLIST(1 B+3*
DMAX EN+15~, A+13*, DIC+9, DIC+10
DSTOP EN+15~, A+9*, A+10, A+11*, A+12*
DSTRT EN+15~, A+8*, A+10, A+11*
DSYS EN+15~, EN+22*
DT EN+21*
DTYPE EN+15~, A+2*, A+3, A+5, A+6, A+25, B+1, B+7, B+12, B+17
ENT DIC~, DIC+3, PRE~, PRE+2, POST~, POST+2
ENTITY EN~, A+1, A+2, A+3
ERROR EN~, EN+20, ENQ+1*
FILE EN+16~, A+5*, A+6, A+18, DIC+2, DIC+9, DIC+10, DIC+11
FILTER EN~, DIC+5, DIC+6
FILTER( DIC+7
FILTER("from" DIC+4
FILTER("id" A+15
FILTER("init" EN+19
FILTER("notag" B+2
FILTER("partial" DIC+4
FILTER("patient" A+16
FILTER("start" A+8
FILTER("stop" A+9
FORMAT EN~, A+22
FROM DIC+2~, DIC+4*, DIC+10
I DIC+2~, DIC+7~*, DIC+13*, ERROR+1~*, ERROR+2*
ICN EN+16~, A+16*, A+17
ID EN~, EN+22*, A+15*, A+18, B+3, B+11*, B+12, DIC+9, DIC+10, DIC+13
LIST EN+16~, B+2*, B+4*, B+12
MAX EN~, A+13
MSG ERROR~, ERROR+2
PART DIC+2~, DIC+4*, DIC+10
PAT VALID~, VALID+1*, VALID+3, VALID+4, VALID+6, VALID+7
QUERY EN+16~, B+1*, B+6
SCR DIC+2~, DIC+3*, DIC+9, DIC+10
TARGET EN~, EN+18, ENQ+1*
U A+5, B+13, DIC+3, VALID+6
VAL DIC+2~, DIC+3*, DIC+5, DIC+8
X A+11~*, PRE+1~, PRE+2*, POST+1~, POST+2*
XREF DIC+2~, DIC+3*, DIC+9, DIC+10

Marked Items

Name Field # of Occurrence
$T(@(4) B+6
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items  | All