Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
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>

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
Info |  Source |  Entry Points