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

Package: Pharmacy Data Management

Routine: PSSHRQ2O


Information

PSSHRQ2O ;WOIFO/AV,TS,SG - Handles parsing a PEPS Drug Check Response ;09/20/07

Source Information

Source file <PSSHRQ2O.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
M XML Parser 1 ($$CHILD,$$NAME,$$VALUE,DELETE)^MXMLDOM  
Pharmacy Data Management 1 $$GETTEXT^PSSHRCOM  

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

Package Total Caller Graph
Pharmacy Data Management 1 PSSHRQ2  

Entry Points

Name Comments DBIA/ICR reference
OUT(DOCHAND,BASE) ;
; @DESC Parses the PEPSResponse XML and stores in object
HNDLCK(DOCHAND,BASE) ;
; @DESC This handles the parsing of the PEPSResponse XML element
GTDBINFO(DOCHAND,BASE) ; get the Vendor database info.
; @DOCHAND Handle to XML document
; @BASE Base of output global
GTHANDLE(DOCHAND) ;
; @DESC Get handle to drugCheck element from PEPSResponse element
SELTAG(NAME) ;
; @DESC Returns the appropriate tag to handle the XML element
ALTERROR(BASE) ;
; @DESC Handles alternate PEPS errors like being unable to
; connect to PEPS. Reads info from global in format
ERREAD(DOCHAND,HASH) ;
; @DESC Handles parsing the exception XML element and storing it
; in a hash variable
CLEXP ;Delete Profile drug exceptions for CPRS if all Prospective drugs have exceptions
CLPAR ;Some Exceptions exist, but not all prospective drugs have an exception

External References

Name Field # of Occurrence
$$CHILD^MXMLDOM HNDLCK+17, GTDBINFO+9, GTDBINFO+16, GTHANDLE+12, GTHANDLE+14, ERREAD+14
$$NAME^MXMLDOM OUT+8, HNDLCK+18, GTDBINFO+10, GTDBINFO+17, GTHANDLE+13, ERREAD+15
$$VALUE^MXMLDOM GTDBINFO+19, GTDBINFO+20, GTDBINFO+21, GTDBINFO+22, GTDBINFO+23, GTDBINFO+24
DELETE^MXMLDOM OUT+25
$$GETTEXT^PSSHRCOM ERREAD+16, ERREAD+17

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP( OUT+17*, OUT+20!, HNDLCK+11*, HNDLCK+28*, HNDLCK+29*, GTDBINFO+19*, GTDBINFO+20*, GTDBINFO+21*, GTDBINFO+22*, GTDBINFO+23*
, GTDBINFO+24*, ALTERROR+10*, ALTERROR+13!
^TMP($J OUT+15, OUT+26!, CLEXP+2, CLEXP+3, CLEXP+5, CLEXP+6, CLEXP+8, CLEXP+9!, CLPAR+2, CLPAR+3
CLPAR+4, CLPAR+5, CLPAR+6, CLPAR+7, CLPAR+8!

Label References

Name Line Occurrences
$$GTHANDLE HNDLCK+14
$$SELTAG HNDLCK+21
CLPAR CLEXP+7
ERREAD OUT+12
GTDBINFO HNDLCK+11
HNDLCK OUT+22

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BASE OUT~, OUT+15, OUT+17, OUT+22, HNDLCK~, HNDLCK+11, HNDLCK+28, HNDLCK+29, GTDBINFO~, GTDBINFO+19
, GTDBINFO+20, GTDBINFO+21, GTDBINFO+22, GTDBINFO+23, GTDBINFO+24, ALTERROR~, ALTERROR+10
DOCHAND OUT~, OUT+8, OUT+12, OUT+22, OUT+25, HNDLCK~, HNDLCK+11, HNDLCK+14, HNDLCK+17, HNDLCK+18
, GTDBINFO~, GTDBINFO+9, GTDBINFO+10, GTDBINFO+16, GTDBINFO+17, GTDBINFO+19, GTDBINFO+20, GTDBINFO+21, GTDBINFO+22, GTDBINFO+23
, GTDBINFO+24, GTHANDLE~, GTHANDLE+12, GTHANDLE+13, GTHANDLE+14, ERREAD~, ERREAD+14, ERREAD+15, ERREAD+16, ERREAD+17
HASH OUT+6~, OUT+12, ERREAD~
HASH("code" OUT+14, ERREAD+16*
HASH("message" ERREAD+17*
HEADER GTDBINFO+4~, GTDBINFO+13*, GTDBINFO+16
MESSAGE OUT+6~, OUT+14*, OUT+15*, OUT+16*, OUT+17
NAME SELTAG~, SELTAG+7, SELTAG+9, SELTAG+11, SELTAG+13
PSS OUT+6~, HNDLCK+8~, GTDBINFO+4~, GTHANDLE+7~, ERREAD+9~
PSS("child" HNDLCK+15*, HNDLCK+17*, HNDLCK+18, GTDBINFO+5*, GTDBINFO+9*, GTDBINFO+10, GTDBINFO+13, GTDBINFO+14*, GTDBINFO+16*, GTDBINFO+17
, GTDBINFO+19, GTDBINFO+20, GTDBINFO+21, GTDBINFO+22, GTDBINFO+23, GTDBINFO+24, GTHANDLE+9*, GTHANDLE+12*, GTHANDLE+13, GTHANDLE+14
, ERREAD+11*, ERREAD+14*, ERREAD+15, ERREAD+16, ERREAD+17
PSS("childName" HNDLCK+18*, HNDLCK+21, GTDBINFO+6*, GTDBINFO+8, GTDBINFO+10*, GTDBINFO+15, GTDBINFO+17*, GTHANDLE+13*, GTHANDLE+14, ERREAD+15*
, ERREAD+16, ERREAD+17
PSS("drugCheck" HNDLCK+14*, HNDLCK+17
PSS("drugCheckElement" GTHANDLE+14*, GTHANDLE+16
PSS("executable" HNDLCK+22*, HNDLCK+24
PSS("rootName" OUT+8*, OUT+10, OUT+22
PSS("tag" HNDLCK+21*, HNDLCK+22
PSSPEX1 CLEXP+1~, CLEXP+5*, CLEXP+6
PSSPEX2 CLEXP+1~, CLEXP+8*, CLEXP+9
PSSPEX3 CLPAR+1~, CLPAR+2*, CLPAR+3, CLPAR+4
PSSPEX4 CLPAR+1~, CLPAR+3*, CLPAR+4
PSSPEX5 CLPAR+1~, CLPAR+4*
PSSPEX6 CLPAR+1~, CLPAR+5*, CLPAR+6, CLPAR+7, CLPAR+8
PSSPEX7 CLPAR+1~, CLPAR+6*, CLPAR+7
PSSPEX8 CLPAR+1~, CLPAR+7*
PSSPEXAR CLPAR+1~
PSSPEXAR( CLPAR+4*, CLPAR+7
PSSPEXDL CLEXP+1~, CLEXP+4*, CLEXP+5, CLEXP+6*, CLEXP+7
>> PSSRBASE CLEXP+2, CLEXP+3, CLEXP+5, CLEXP+6, CLEXP+8, CLEXP+9, CLPAR+2, CLPAR+3, CLPAR+4, CLPAR+5
CLPAR+6, CLPAR+7, CLPAR+8
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All