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

Package: Pharmacy Data Management

Routine: PSSHRCOM


Information

PSSHRCOM ;WOIFO/AV,TS - Handles common PRE PEPS interface functionality ;09/20/07

Source Information

Source file <PSSHRCOM.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
M XML Parser 2 ($$CHILD,$$NAME,$$VALUE,TEXT)^MXMLDOM  $$SYMENC^MXMLUTL  
Pharmacy Data Management 1 $$UPPER^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: 10

Package Total Caller Graph
Pharmacy Data Management 10 PSSFDBDI  PSSFDBRT  PSSHRCOM  PSSHREQ  PSSHRQ21  PSSHRQ22  PSSHRQ23  PSSHRQ2D  
PSSHRQ2O  PSSHRVAL  

Entry Points

Name Comments DBIA/ICR reference
PARSEMSG(DOCHAND,NODE,HASH,COUNT) ;
; @DESC Parses the message XML element and stores
; severity, type, drugName and text in HASH parameter
DRUGLIST(DOCHAND,NODE,HASH,COUNT) ;
; @DESC Handles reading the interacted drug list and stores to a Hash
PARSEDRG(DOCHAND,NODE,HASH,COUNT) ;
; @DESC Parses a drug element and stores values in HASH parameter
UPPER(PSSTEXT) ;
; @DESC Converts lowercase characters to uppercase
GETTEXT(DOCHAND,NODE) ;
; @DESC Gets text from XML element as a single string
UNPARSE(ARRY) ;
; @DESC Creates a single string from an array
ATRIBUTE(NAME,VALUE) ;
; @DESC Builds a valid encoded attribute from the name/value pair passed in
ISPROF(ORDERNUM) ;
; @DESC Determines if a drug is a profile drug according to
; its orderNumber
STACK ;
; @DESC Prints a stack trace

External References

Name Field # of Occurrence
$$CHILD^MXMLDOM PARSEMSG+15, DRUGLIST+14
$$NAME^MXMLDOM PARSEMSG+16
$$VALUE^MXMLDOM PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17, PARSEDRG+18, PARSEDRG+19
TEXT^MXMLDOM GETTEXT+10
$$SYMENC^MXMLUTL ATRIBUTE+9
$$UPPER^PSSHRCOM ISPROF+7

Label References

Name Line Occurrences
$$GETTEXT PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31
$$UNPARSE GETTEXT+12
PARSEDRG PARSEMSG+19, DRUGLIST+17

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ARRY UNPARSE~
ARRY( UNPARSE+12, UNPARSE+13
COUNT PARSEMSG~, PARSEMSG+19, PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31, DRUGLIST~, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22
, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26, PARSEDRG~, PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17
, PARSEDRG+18, PARSEDRG+19
DOCHAND PARSEMSG~, PARSEMSG+15, PARSEMSG+16, PARSEMSG+19, PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31, DRUGLIST~, DRUGLIST+14
, DRUGLIST+17, PARSEDRG~, PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17, PARSEDRG+18, PARSEDRG+19, GETTEXT~
, GETTEXT+10
DRUGS DRUGLIST+10~, DRUGLIST+16!, DRUGLIST+17
DRUGS( DRUGLIST+19, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26
HASH PARSEMSG~, PARSEMSG+19, DRUGLIST~, PARSEDRG~
HASH( PARSEMSG+22*, PARSEMSG+25*, PARSEMSG+28*, PARSEMSG+31*, DRUGLIST+20*, DRUGLIST+21*, DRUGLIST+22*, DRUGLIST+23*, DRUGLIST+24*, DRUGLIST+25*
, DRUGLIST+26*, PARSEDRG+10*, PARSEDRG+11*, PARSEDRG+12*, PARSEDRG+13*, PARSEDRG+17*, PARSEDRG+18*, PARSEDRG+19*
NAME PARSEMSG+11~, PARSEMSG+16*, PARSEMSG+18, PARSEMSG+21, PARSEMSG+24, PARSEMSG+27, PARSEMSG+30, ATRIBUTE~, ATRIBUTE+9
NODE PARSEMSG~, PARSEMSG+15, DRUGLIST~, DRUGLIST+14, PARSEDRG~, PARSEDRG+10, PARSEDRG+11, PARSEDRG+12, PARSEDRG+13, PARSEDRG+17
, PARSEDRG+18, PARSEDRG+19, GETTEXT~, GETTEXT+10
ORDERNUM ISPROF~, ISPROF+7
PSS PARSEMSG+11~, DRUGLIST+10~, UPPER+7~, ATRIBUTE+7~, ISPROF+5~
PSS("attribute" ATRIBUTE+9*, ATRIBUTE+10
PSS("child" PARSEMSG+13*, PARSEMSG+15*, PARSEMSG+16, PARSEMSG+19, PARSEMSG+22, PARSEMSG+25, PARSEMSG+28, PARSEMSG+31, DRUGLIST+11*, DRUGLIST+14*
, DRUGLIST+17
PSS("interactedCount" DRUGLIST+12*, DRUGLIST+17, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26, DRUGLIST+27*
PSS("isProfile" ISPROF+7*, ISPROF+9
PSS("lower" UPPER+9*, UPPER+11
PSS("upper" UPPER+10*, UPPER+11
PSS("upperText" UPPER+11*, UPPER+12
PSSLOOP STACK+4~, STACK+5*, STACK+6, STACK+7, STACK+8
PSSTEXT UPPER~, UPPER+11
QT ATRIBUTE+7~, ATRIBUTE+8*, ATRIBUTE+9
STRING UNPARSE+7~, UNPARSE+10*, UNPARSE+13*, UNPARSE+14
TEXT GETTEXT+8~, GETTEXT+10, GETTEXT+12*, GETTEXT+14
VAL DRUGLIST+10~, DRUGLIST+18*, DRUGLIST+19*, DRUGLIST+20, DRUGLIST+21, DRUGLIST+22, DRUGLIST+23, DRUGLIST+24, DRUGLIST+25, DRUGLIST+26
, UNPARSE+7~, UNPARSE+9*, UNPARSE+12*, UNPARSE+13
VALUE ATRIBUTE~, ATRIBUTE+9
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Label References |  Local Variables  | All