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 |  Local Variables  | All
Print Page as PDF
Routine: ORWGAPI

Package: Order Entry Results Reporting

Routine: ORWGAPI


Information

ORWGAPI ; SLC/STAFF - Graph API ;12/21/05 08:14

Source Information

Source file <ORWGAPI.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Order Entry Results Reporting 12 (OITEM,TIUTITLE)^ORWGAPIA  (ACC,DRUGC,TESTSPEC)^ORWGAPIC  (DETAIL,DETAILS,GETDATES,TAX)^ORWGAPID  (FASTDATA,FASTITEM,FASTLABS)^ORWGAPIF  ($$PUBLIC,$$RPTPARAM,ALLVIEWS,DELVIEWS,GETPREF,GETSIZE,GETVIEWS,SETPREF,SETSIZE,SETVIEWS)^ORWGAPIP  (DATA,ITEMS)^ORWGAPIR  TYPES^ORWGAPIT  FILE^ORWGAPIU  
(GENERIC,RETURN)^ORWGAPIW  ($$NOW,$$UP)^ORWGAPIX  (SETLAST,UPDATE)^ORWGTASK  TESTING^ORWGTEST  

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

Package Total Caller Graph
Order Entry Results Reporting 3 ORWGRPC  ORWGTASK  ORWLRRG  

Entry Points

Name Comments DBIA/ICR reference
ALLITEMS(ITEMS,DFN) ; API - return all items of data on patient (procedures, tests, codes,..)
ALLVIEWS(DATA,VIEW,USER) ; API - get all graph views
CLASS(DATA,TYPE) ; API - get classification
DATEDATA(DATA,OLDEST,NEWEST,TYPEITEM,DFN) ; API - return all data for an item on patient for date range
DATEITEM(ITEMS,OLDEST,NEWEST,TYPE,DFN) ; API - return all file items on patient for date range
DELVIEWS(DATA,NAME,PUBLIC) ; API - delete a graph view
DETAIL(DATA,DFN,DATE1,DATE2,VAL,COMP) ; API - get all reports for types of data from items and date range
DETAILS(DATA,DFN,DATE1,DATE2,TYPE,COMP) ; API - get report for type of data for a date or date range
FASTDATA(DATA,DFN) ; API - get all data (non-lab) on patient
FASTITEM(ITEMS,DFN) ; API - get all items on patient
FASTLABS(DATA,DFN) ; API - get all lab data on patient
FASTTASK(STATUS,DFN,OLDDFN) ; API - process cache of all data and items on patient, -1 if turned off
; this should be able to be turned off if needbe (D CLEAN^ORWGTASK)
GETDATES(DATA,REPORTID) ; API - get graph date ranges
GETPREF(DATA) ; API - get graph settings
GETSIZE(DATA) ; API - get graph positions and sizes
GETVIEWS(DATA,ALL,PUBLIC,EXT,USER) ; API - get graph views
ITEMDATA(DATA,TYPEITEM,START,DFN,BACKTO) ; API - return data of an item on patient (glucose results)
ITEMS(ITEMS,DFN,TYPE) ; API - return items of a type of data on patient (lab tests)
LOOKUP(VAL,FILE,FROM,DIR) ; API - get item names for long lookup
PUBLIC(USER) ; API - $$(user) -> 1 if user can edit public settings and views
RPTPARAM(IEN) ; API - $$(ien) -> PARAM1^PARAM2 for graph report else ""
SETPREF(DATA,VAL,PUBLIC) ; API - set a graph setting
SETSIZE(DATA,VAL) ; API - set graph positions and settings
SETVIEWS(DATA,NAME,PUBLIC,VAL) ; API - set a graph view
TAX(DATA,ALL,REMTAX) ; API - get reminder taxonomies
TESTING(DATA) ; API - return test data
TESTSPEC(DATA) ; API - return test/spec info on all lab tests
TYPES(TYPES,DFN,SUB) ; API - return all types of data on patient (if no dfn, return all)

External References

Name Field # of Occurrence
OITEM^ORWGAPIA CLASS+4
TIUTITLE^ORWGAPIA CLASS+3
ACC^ORWGAPIC CLASS+2
DRUGC^ORWGAPIC CLASS+1
TESTSPEC^ORWGAPIC TESTSPEC+1
DETAIL^ORWGAPID DETAIL+1
DETAILS^ORWGAPID DETAILS+1
GETDATES^ORWGAPID GETDATES+1
TAX^ORWGAPID TAX+1
FASTDATA^ORWGAPIF FASTDATA+1
FASTITEM^ORWGAPIF FASTITEM+1
FASTLABS^ORWGAPIF FASTLABS+1
$$PUBLIC^ORWGAPIP PUBLIC+1
$$RPTPARAM^ORWGAPIP RPTPARAM+1
ALLVIEWS^ORWGAPIP ALLVIEWS+1
DELVIEWS^ORWGAPIP DELVIEWS+1
GETPREF^ORWGAPIP GETPREF+1
GETSIZE^ORWGAPIP GETSIZE+1
GETVIEWS^ORWGAPIP GETVIEWS+1
SETPREF^ORWGAPIP SETPREF+1
SETSIZE^ORWGAPIP SETSIZE+1
SETVIEWS^ORWGAPIP SETVIEWS+1
DATA^ORWGAPIR DATEDATA+13, ITEMDATA+10
ITEMS^ORWGAPIR ALLITEMS+10, DATEITEM+12, ITEMS+6
TYPES^ORWGAPIT TYPES+5
FILE^ORWGAPIU LOOKUP+2
GENERIC^ORWGAPIW LOOKUP+4
RETURN^ORWGAPIW ALLITEMS+5, DATEDATA+9, DATEITEM+7, ITEMDATA+6, ITEMS+4, TYPES+4
$$NOW^ORWGAPIX DATEDATA+4, ITEMDATA+5
$$UP^ORWGAPIX DATEDATA+8, ITEMDATA+4
SETLAST^ORWGTASK ALLITEMS+11, FASTITEM+2, ITEMS+7
UPDATE^ORWGTASK FASTTASK+2
TESTING^ORWGTEST TESTING+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("ORWGAPI" ALLITEMS+2!, ALLITEMS+8, ALLITEMS+9, ALLITEMS+12!, DATEITEM+2!, DATEITEM+5*, DATEITEM+10, DATEITEM+11, DATEITEM+13!
^TMP("ORWGRPC" DETAIL+2, DETAILS+2

Label References

Name Line Occurrences
ITEMDATA DATEDATA+6
TYPES ALLITEMS+4, DATEITEM+6

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALL GETVIEWS~, GETVIEWS+1, TAX~, TAX+1
BACKTO ITEMDATA~, ITEMDATA+10
CNT ALLITEMS+1~, ALLITEMS+6*, ALLITEMS+10, DATEDATA+1~, DATEDATA+12*, DATEDATA+13, DATEITEM+1~, DATEITEM+8*, DATEITEM+12, ITEMDATA+1~
, ITEMDATA+9*, ITEMDATA+10, ITEMS+1~, ITEMS+5*, ITEMS+6
COMP DETAIL~, DETAILS~
DATA ALLVIEWS~, ALLVIEWS+1, CLASS~, CLASS+1, CLASS+2, CLASS+3, CLASS+4, DATEDATA~, DATEDATA+6, DATEDATA+9
, DATEDATA+13, DELVIEWS~, DELVIEWS+1, DETAIL~, DETAIL+2*, DETAILS~, DETAILS+2*, FASTDATA~, FASTDATA+1, FASTLABS~
, FASTLABS+1, GETDATES~, GETDATES+1, GETPREF~, GETPREF+1, GETSIZE~, GETSIZE+1, GETVIEWS~, GETVIEWS+1, ITEMDATA~
, ITEMDATA+6, ITEMDATA+10, SETPREF~, SETPREF+1, SETSIZE~, SETSIZE+1, SETVIEWS~, SETVIEWS+1, TAX~, TAX+1
, TESTING~, TESTING+1, TESTSPEC~, TESTSPEC+1
DATE1 DETAIL~, DETAIL+1, DETAILS~, DETAILS+1
DATE2 DETAIL~, DETAIL+1, DETAILS~, DETAILS+1
DFN ALLITEMS~, ALLITEMS+3*, ALLITEMS+4, ALLITEMS+10, ALLITEMS+11, DATEDATA~, DATEDATA+2*, DATEDATA+6, DATEDATA+13, DATEITEM~
, DATEITEM+3*, DATEITEM+6, DATEITEM+12, DETAIL~, DETAIL+1, DETAILS~, DETAILS+1, FASTDATA~, FASTDATA+1, FASTITEM~
, FASTITEM+1, FASTITEM+2, FASTLABS~, FASTLABS+1, FASTTASK~, FASTTASK+2, ITEMDATA~, ITEMDATA+2*, ITEMDATA+10, ITEMS~
, ITEMS+2*, ITEMS+6, ITEMS+7, TYPES~, TYPES+2*, TYPES+5
DIR LOOKUP~, LOOKUP+4
DUZ FASTTASK+2
EXT GETVIEWS~, GETVIEWS+1
FILE LOOKUP~, LOOKUP+2, LOOKUP+4
FROM LOOKUP~, LOOKUP+4
IEN RPTPARAM~, RPTPARAM+1
ITEM DATEDATA+1~, DATEDATA+11*, DATEDATA+13, ITEMDATA+1~, ITEMDATA+8*, ITEMDATA+10
ITEMS ALLITEMS~, ALLITEMS+5, ALLITEMS+10, DATEITEM~, DATEITEM+7, DATEITEM+12, FASTITEM~, FASTITEM+1, ITEMS~, ITEMS+4
, ITEMS+6
NAME DELVIEWS~, DELVIEWS+1, SETVIEWS~, SETVIEWS+1
NEWEST DATEDATA~, DATEDATA+4*, DATEDATA+6, DATEDATA+7, DATEDATA+13, DATEITEM~, DATEITEM+4*, DATEITEM+12
OLDDFN FASTTASK~, FASTTASK+2
OLDEST DATEDATA~, DATEDATA+3*, DATEDATA+6, DATEDATA+7, DATEDATA+13, DATEITEM~, DATEITEM+4*, DATEITEM+12
PUBLIC DELVIEWS~, DELVIEWS+1, GETVIEWS~, GETVIEWS+1, SETPREF~, SETPREF+1, SETVIEWS~, SETVIEWS+1
REF LOOKUP+1~, LOOKUP+2, LOOKUP+3, LOOKUP+4
REMTAX TAX~, TAX+1
REPORTID GETDATES~, GETDATES+1
SCREEN LOOKUP+1~, LOOKUP+2, LOOKUP+4
START ITEMDATA~, ITEMDATA+5*, ITEMDATA+10
STATUS FASTTASK~, FASTTASK+2
SUB ALLITEMS+1~, ALLITEMS+7*, ALLITEMS+8*, ALLITEMS+9, DATEDATA+1~, DATEITEM+1~, DATEITEM+9*, DATEITEM+10*, DATEITEM+11, TYPES~
, TYPES+3*, TYPES+5
TMP ALLITEMS+1~, ALLITEMS+5, ALLITEMS+10, DATEDATA+1~, DATEDATA+9, DATEDATA+13, DATEITEM+1~, DATEITEM+7, DATEITEM+12, ITEMDATA+1~
, ITEMDATA+6, ITEMDATA+10, ITEMS+1~, ITEMS+4, ITEMS+6, TYPES+1~, TYPES+4, TYPES+5
TYPE ALLITEMS+1~, ALLITEMS+9*, ALLITEMS+10, CLASS~, CLASS+1, CLASS+2, CLASS+3, CLASS+4, DATEDATA+1~, DATEDATA+10*
, DATEDATA+13, DATEITEM~, DATEITEM+4*, DATEITEM+5, DATEITEM+6, DATEITEM+11*, DATEITEM+12, DETAILS~, DETAILS+1, ITEMDATA+1~
, ITEMDATA+7*, ITEMDATA+10, ITEMS~, ITEMS+3*, ITEMS+6, ITEMS+7
TYPEITEM DATEDATA~, DATEDATA+5*, DATEDATA+6, DATEDATA+8*, DATEDATA+10, DATEDATA+11, ITEMDATA~, ITEMDATA+3*, ITEMDATA+4*, ITEMDATA+7
, ITEMDATA+8
TYPES TYPES~, TYPES+4, TYPES+5
U ALLITEMS+9, DATEDATA+5, DATEDATA+10, DATEDATA+11, DATEITEM+11, ITEMDATA+3, ITEMDATA+7, ITEMDATA+8
USER ALLVIEWS~, ALLVIEWS+1, GETVIEWS~, GETVIEWS+1, PUBLIC~, PUBLIC+1
VAL DETAIL~, DETAIL+1, LOOKUP~, LOOKUP+4, SETPREF~, SETPREF+1, SETSIZE~, SETSIZE+1, SETVIEWS~, SETVIEWS+1
VIEW ALLVIEWS~, ALLVIEWS+1
XREF LOOKUP+1~, LOOKUP+2, LOOKUP+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All