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

Package: Order Entry Results Reporting

Routine: ORWGAPIC


Information

ORWGAPIC ; SLC/STAFF - Graph Application Calls - Labs, Meds ;11/1/06 12:49

Source Information

Source file <ORWGAPIC.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
Pharmacy Data Management 4 DATA^PSS50  ZERO^PSS50P7  ZERO^PSS52P6  ZERO^PSS52P7  
Lab Service 3 EN^LR7OSUM  LRPXRM^LRPXAPI  ($$ITEMNM,$$LRDFN,$$LRIDT)^LRPXAPIU  
Order Entry Results Reporting 2 (RETURN,SETUP)^ORWGAPIW  ($$EXT,$$LOW,$$TRIM)^ORWGAPIX  
Outpatient Pharmacy 2 RX^PSO52API  (NVA,PSRX)^PSOPXRM1  
Inpatient Medications 1 OEL^PSJPXRM1  
National Drug File 1 ($$ROOT,IEN)^PSN50P65  

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

Package Total Caller Graph
Order Entry Results Reporting 13 ORWGAPI  ORWGAPI1  ORWGAPI3  ORWGAPI5  ORWGAPI7  ORWGAPIB  ORWGAPID  ORWGAPIE  
ORWGAPIR  ORWGAPIT  ORWGAPIU  ORWGAPIW  ORWLRRG  

Entry Points

Name Comments DBIA/ICR reference
AA(IEN) ; $$(ien) -> external display of accession area
AALAB(TEST) ; $$(lab test) -> accession ien^acc name^acc abbrev
ACC(DATA) ; API - get accession areas - from ORWGAPI
ACCLAB(AA) ; $$(accession ien) -> acc name^acc abbrev
ADDDRUG(IEN) ; $$(additive) -> drug in 50 else ""
BCMAX(DFN) ; $$(dfn) -> 1 if patient has data else 0
DC(IEN) ; $$(ien) -> external display of drug class
DRGCLASS(DRUG) ; $$(drug) -> drug class^classification
DRUG(NUM) ; $$(bcma entry) -> drug in 50 else ""
DRUGC(VALUES) ; API - get drug classes - from ORWGAPI
INSIG(NODE) ; $$(node) -> sig
LAB(ORVALUE,NODE,ITEM) ; from ORWGAPI3
LABNAME(Y) ; $$(item ien) -> item name
LABSUM(ORDATA,DFN,DATE1,DATE2,ORSUB) ; from ORWGAPID
LRDFN(DFN) ; $$(dfn) -> lrdfn
LRIDT(LRDT) ; $$(date) -> inverse date
NVASIG(NODE) ; $$(node) -> sig on non-va drug
NVAX(DFN) ; $$(dfn) -> 1 if patient has data else 0
POINAME(IEN) ; $$(poi entry) - > name and dosage form else ""
RXIN(NODE,ORVALUE) ; from ORWGAPI3
RXNUM(DFN,RXIEN) ; $$(dfn,prescription ien) -> rx#
RXNVA(NODE,ORVALUE,XSTART,XSTOP) ; from ORWGAPI1, ORWGAPI3, ORWGAPID
RXOUT(NODE,ORVALUE) ; from ORWGAPI3
SIG(DFN,RXIEN) ; $$(dfn,prescription ien) -> sig
SOLDRUG(IEN) ; $$(iv solution) -> drug in 50 else ""
TESTSPEC(DATA) ; from ORWGAPI

External References

Name Field # of Occurrence
EN^LR7OSUM LABSUM+1
LRPXRM^LRPXAPI LAB+1
$$ITEMNM^LRPXAPIU LABNAME+2
$$LRDFN^LRPXAPIU LRDFN+1
$$LRIDT^LRPXAPIU LRIDT+1
RETURN^ORWGAPIW ACC+2, TESTSPEC+2
SETUP^ORWGAPIW ACC+8
$$EXT^ORWGAPIX INSIG+11
$$LOW^ORWGAPIX SIG+8
$$TRIM^ORWGAPIX TESTSPEC+10, TESTSPEC+11
OEL^PSJPXRM1 RXIN+1
$$ROOT^PSN50P65 DRUGC+3
IEN^PSN50P65 DC+3
RX^PSO52API RXNUM+3, SIG+3
NVA^PSOPXRM1 RXNVA+2
PSRX^PSOPXRM1 RXOUT+1
DATA^PSS50 DRGCLASS+3
ZERO^PSS50P7 POINAME+3
ZERO^PSS52P6 ADDDRUG+3
ZERO^PSS52P7 SOLDRUG+3

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^LAB(60 - [#60] AALAB+4, AALAB+6, TESTSPEC+5, TESTSPEC+7, TESTSPEC+9
^LRO(68 - [#68] AA+1, ACC+5, ACC+6, ACCLAB+2
^PSB(53.79 - [#53.79] BCMAX+1, DRUG+4, DRUG+8, DRUG+14
^PXRMINDX("55NVA" NVAX+1
^TMP( TESTSPEC+12*
^TMP("ORWGRPC" DRUGC+10*
^TMP($J ADDDRUG+1!, ADDDRUG+4, ADDDRUG+5!, DC+1!, DC+4, DC+5!, DRGCLASS+1!, DRGCLASS+4, DRGCLASS+5!, POINAME+1!
, POINAME+4, POINAME+5!, RXNUM+1!, RXNUM+4, RXNUM+6!, SIG+1!, SIG+6, SIG+7, SIG+9!, SOLDRUG+1!
, SOLDRUG+4, SOLDRUG+5!

Label References

Name Line Occurrences
$$ACCLAB AALAB+5, AALAB+7
$$ADDDRUG DRUG+9
$$DC DRGCLASS+6
$$SOLDRUG DRUG+15
RXIN INSIG+3
RXNVA NVASIG+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AA AALAB+1~, AALAB+4*, AALAB+5, AALAB+6*, AALAB+7, ACCLAB~, ACCLAB+2
CLASS DRUGC+1~, DRUGC+4*, DRUGC+5*, DRUGC+7, DRUGC+9
CNT ACC+1~, ACC+3*, ACC+8, TESTSPEC+1~, TESTSPEC+3*, TESTSPEC+8*, TESTSPEC+12, TESTSPEC+13
DATA ACC~, ACC+2, ACC+8, TESTSPEC~, TESTSPEC+2, TESTSPEC+12
DATA( TESTSPEC+13*
DATE1 LABSUM~, LABSUM+1
DATE2 LABSUM~, LABSUM+1
DFN BCMAX~, BCMAX+1, LABSUM~, LABSUM+1, LRDFN~, LRDFN+1, NVAX~, NVAX+1, RXNUM~, RXNUM+3
, RXNUM+4, SIG~, SIG+3, SIG+6, SIG+7
DIV AALAB+1~, AALAB+3*, AALAB+4
DONE DRUG+1~, DRUG+2*, DRUG+4*, DRUG+5, DRUG+8, DRUG+10*, DRUG+11, DRUG+14, DRUG+16*, DRUG+17
DRUG DRGCLASS~, DRGCLASS+2, DRGCLASS+3, DRGCLASS+4, DRUG+1~, DRUG+6*, DRUG+9*, DRUG+10, DRUG+11, DRUG+12*
, DRUG+15*, DRUG+16, DRUG+17
DUZ(2 AALAB+3
IEN AA~, AA+1, ACC+1~, ACC+4*, ACC+5*, ACC+6, ACC+7, ADDDRUG~, ADDDRUG+2, ADDDRUG+3
, ADDDRUG+4, DC~, DC+2, DC+3, DC+4, DRUGC+1~, DRUGC+6*, DRUGC+7*, DRUGC+9, POINAME~
, POINAME+2, POINAME+3, POINAME+4, SOLDRUG~, SOLDRUG+2, SOLDRUG+3, SOLDRUG+4
ITEM LAB~, LAB+1
LINE TESTSPEC+1~, TESTSPEC+9*, TESTSPEC+10*, TESTSPEC+11*, TESTSPEC+12, TESTSPEC+13
LNUM SIG+1~, SIG+5*, SIG+6*, SIG+7
LRDT LRIDT~, LRIDT+1
NAME POINAME+1~, POINAME+4*, POINAME+6
NODE INSIG~, INSIG+2, INSIG+3, LAB~, LAB+1, NVASIG~, NVASIG+2, NVASIG+3, RXIN~, RXIN+1
, RXNVA~, RXNVA+2, RXOUT~, RXOUT+1
NUM DRUG~, DRUG+2*, DRUG+4, DRUG+8, DRUG+14, DRUGC+1~, DRUGC+2*, DRUGC+8*, DRUGC+9
NUM1 DRUG+1~, DRUG+3*, DRUG+4*, DRUG+5, DRUG+7*, DRUG+8*, DRUG+9, DRUG+13*, DRUG+14*, DRUG+15
ORDATA LABSUM~, LABSUM+1
ORSUB LABSUM~, LABSUM+1
ORVALUE LAB~, LAB+1, RXIN~, RXIN+1, RXNVA~, RXNVA+2, RXOUT~, RXOUT+1
ORVALUE("DISC ONTINUED DATE" , RXNVA+6
ORVALUE("DOCU MENTED DATE" , RXNVA+4
ORVALUE("STAR T DATE" , RXNVA+3, RXNVA+4*
RESULT ACC+1~, ACC+7*, ACC+8, ADDDRUG+1~, ADDDRUG+4*, ADDDRUG+6, DC+1~, DC+4*, DC+6, DRGCLASS+1~
, DRGCLASS+4*, DRGCLASS+6, POINAME+1~, SOLDRUG+1~, SOLDRUG+4*, SOLDRUG+6
RESULTS NVASIG+1~!, NVASIG+3
RESULTS("DOSAGE" NVASIG+4
RESULTS("MEDI CATION ROUTE" , NVASIG+5
RESULTS("SCHEDULE" NVASIG+6
ROOT DRUGC+1~, DRUGC+3*, DRUGC+5, DRUGC+7
RXIEN RXNUM~, RXNUM+2*, RXNUM+3, RXNUM+4, SIG~, SIG+2*, SIG+3, SIG+6, SIG+7
RXNUM RXNUM+1~, RXNUM+4*, RXNUM+5*, RXNUM+7
SIG INSIG+1~, INSIG+4*, INSIG+6*, INSIG+7*, INSIG+8*, INSIG+10*, INSIG+11*, INSIG+12*, INSIG+13, NVASIG+1~
, NVASIG+4*, NVASIG+5*, NVASIG+6*, NVASIG+7, SIG+1~, SIG+4*, SIG+7*, SIG+8*, SIG+10
SPEC TESTSPEC+1~, TESTSPEC+6*, TESTSPEC+7*, TESTSPEC+9
SUB INSIG+1~, INSIG+2*, INSIG+5, INSIG+9
TEST AALAB~, AALAB+2*, AALAB+4, AALAB+6, TESTSPEC+1~, TESTSPEC+4*, TESTSPEC+5*, TESTSPEC+7, TESTSPEC+9
TMP ACC+1~, ACC+2, ACC+8, TESTSPEC+1~, TESTSPEC+2, TESTSPEC+12
U AA+1, AALAB+4, AALAB+5, AALAB+6, AALAB+7, ACC+7, ACCLAB+3, ADDDRUG+4, DRGCLASS+6, DRUGC+9
, INSIG+7, INSIG+8, POINAME+4, SOLDRUG+4, TESTSPEC+9, TESTSPEC+10, TESTSPEC+11
VALUES DRUGC~, DRUGC+1!, DRUGC+10!, INSIG+1~!, INSIG+3
VALUES( DRUGC+9*
VALUES("DO" INSIG+10
VALUES("MR" INSIG+6
VALUES("SCH" INSIG+7, INSIG+8, INSIG+12
VALUES("START" INSIG+11
XSTART RXNVA~, RXNVA+1*, RXNVA+5*
XSTOP RXNVA~, RXNVA+1*, RXNVA+7*
Y LABNAME~, LABNAME+1, LABNAME+2
ZERO ACC+1~, ACC+6*, ACC+7, ACCLAB+1~, ACCLAB+2*, ACCLAB+3
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All