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

Package: Pharmacy Data Management

Routine: PSSHRQ21


Information

PSSHRQ21 ;WOIFO/AV,TS - Parses a PEPS drugDrugChecks XML element ; 08 Jun 2016 5:49 PM

Source Information

Source file <PSSHRQ21.m>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
Pharmacy Data Management 2 ($$GETTEXT,$$ISPROF,DRUGLIST,PARSEMSG)^PSSHRCOM  $$ERRMSG^PSSHRVL1  
M XML Parser 1 ($$CHILD,$$NAME)^MXMLDOM  
VA FileMan 1 NOW^%DTC  

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

Package Total Caller Graph
Pharmacy Data Management 2 PSSHRQ22  PSSHRQ23  

Entry Points

Name Comments DBIA/ICR reference
DRUGDRUG(DOCHAND,NODE,BASE) ;
; @DESC Handles putting the drugDrugChecks XML element into
; the DrugOrderChecks object
MSGREAD(DOCHAND,NODE,HASH,COUNT) ;
; @DESC Handles parsing message section
MSGWRITE(HASH,BASE,SUB) ;
; @DESC Handles writing message section of the XML document
; @NOTE:Error nodes for drugsnotchecked and for drug dosing messages are set
; in PSSHRQ23
; @HASH ByRef, Hash used to store response
; @BASE Base of output global
; @SUB Type of message --DRUGDRUG, THERAPY OR DOSE
; @RETURNS Nothing. Stores values in output global.
DRUGREAD(DOCHAND,NODE,HASH,COUNT,MSGHASH,MSGCNT) ;
; @DESC Handles parsing and storage of drugDrugCheck element
MONOGRAF(DOCHAND,NODE,HASH,MONOTYPE,COUNT) ;
; @DESC Parses and stores the monograph of the monograph type
REF(DOCHAND,NODE,HASH,MONOTYPE,COUNT) ;
; @DESC Parses and stores the reference element of references element.
DRUGWRIT(HASH,BASE) ;
; @DESC Handles writing drugDrugChecks drugDrugCheck section of the XML document
CHKHASH(HASH,CNT,SUB1,SUB2) ;
TRANSEV(SEV) ;
; @DESC Translates the severity attribute returned by the XML into
; a VistA specific severity
SEVCODE(SEV) ;
; @DESC Returns the proper severity code depending on the VistA specific severity
COPYRITE(SOURCE) ;
; @DESC Returns correct copyright disclaimer for FDB OR VA PBM in format
; @Copyright [Current Year] First DataBank, Inc.
; @Information provided by VA PBM-SHG
; @INPUT: source FDB OR Custom
; @RETURNS FDB copyright OR va pbm information

External References

Name Field # of Occurrence
NOW^%DTC COPYRITE+10
$$CHILD^MXMLDOM DRUGDRUG+15, DRUGREAD+17, MONOGRAF+15, REF+15
$$NAME^MXMLDOM DRUGDRUG+16, DRUGREAD+18, MONOGRAF+17, REF+17
$$GETTEXT^PSSHRCOM DRUGREAD+29, DRUGREAD+32, DRUGREAD+35, MONOGRAF+19, MONOGRAF+26, REF+19
$$ISPROF^PSSHRCOM DRUGWRIT+22
DRUGLIST^PSSHRCOM DRUGREAD+25
PARSEMSG^PSSHRCOM MSGREAD+11
$$ERRMSG^PSSHRVL1 MSGWRITE+27

Label References

Name Line Occurrences
$$CHKHASH DRUGWRIT+37, DRUGWRIT+38, DRUGWRIT+39, DRUGWRIT+40, DRUGWRIT+54, DRUGWRIT+55, DRUGWRIT+58, DRUGWRIT+61, DRUGWRIT+64, DRUGWRIT+67
, DRUGWRIT+70, DRUGWRIT+73, DRUGWRIT+76, DRUGWRIT+79, DRUGWRIT+88
$$COPYRITE DRUGWRIT+88
$$TRANSEV DRUGREAD+29
DRUGREAD DRUGDRUG+22
DRUGWRIT DRUGDRUG+28
MONOGRAF DRUGREAD+38, DRUGREAD+41
MSGREAD DRUGDRUG+19, DRUGREAD+22
MSGWRITE DRUGDRUG+27
REF MONOGRAF+24

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%I COPYRITE+9~
%I(3 COPYRITE+11
BASE DRUGDRUG~, DRUGDRUG+27, DRUGDRUG+28, MSGWRITE~, DRUGWRIT~
CNT CHKHASH~, CHKHASH+10, CHKHASH+11
COUNT MSGREAD~, MSGREAD+11, DRUGREAD~, DRUGREAD+25, DRUGREAD+29, DRUGREAD+32, DRUGREAD+35, DRUGREAD+38, DRUGREAD+41, MONOGRAF~
, MONOGRAF+19, MONOGRAF+24, MONOGRAF+27, MONOGRAF+31, REF~, REF+19, REF+22
DOCHAND DRUGDRUG~, DRUGDRUG+15, DRUGDRUG+16, DRUGDRUG+19, DRUGDRUG+22, MSGREAD~, MSGREAD+11, DRUGREAD~, DRUGREAD+17, DRUGREAD+18
, DRUGREAD+22, DRUGREAD+25, DRUGREAD+29, DRUGREAD+32, DRUGREAD+35, DRUGREAD+38, DRUGREAD+41, MONOGRAF~, MONOGRAF+15, MONOGRAF+17
, MONOGRAF+19, MONOGRAF+24, MONOGRAF+26, REF~, REF+15, REF+17, REF+19
DRUGHASH DRUGDRUG+9~, DRUGDRUG+22, DRUGDRUG+28
FIRST DRUGWRIT+8~, DRUGWRIT+20*, DRUGWRIT+23*, DRUGWRIT+33, DRUGWRIT+34, DRUGWRIT+43
HASH MSGREAD~, MSGREAD+11, MSGWRITE~, DRUGREAD~, DRUGREAD+25, DRUGREAD+38, DRUGREAD+41, MONOGRAF~, MONOGRAF+24, REF~
, DRUGWRIT~, DRUGWRIT+37, DRUGWRIT+38, DRUGWRIT+39, DRUGWRIT+40, DRUGWRIT+54, DRUGWRIT+55, DRUGWRIT+58, DRUGWRIT+61, DRUGWRIT+64
, DRUGWRIT+67, DRUGWRIT+70, DRUGWRIT+73, DRUGWRIT+76, DRUGWRIT+79, DRUGWRIT+88, CHKHASH~
HASH( MSGWRITE+11, MSGWRITE+19, MSGWRITE+20, MSGWRITE+21, MSGWRITE+22, MSGWRITE+24, MSGWRITE+25, MSGWRITE+27, DRUGREAD+29*, DRUGREAD+32*
, DRUGREAD+35*, MONOGRAF+19*, MONOGRAF+27*, MONOGRAF+31*, REF+19*, REF+22*, DRUGWRIT+13, DRUGWRIT+15, DRUGWRIT+22, DRUGWRIT+33
, DRUGWRIT+34, DRUGWRIT+37, DRUGWRIT+38, DRUGWRIT+39, DRUGWRIT+42, DRUGWRIT+43, DRUGWRIT+49, DRUGWRIT+54, DRUGWRIT+56, DRUGWRIT+59
, DRUGWRIT+62, DRUGWRIT+65, DRUGWRIT+68, DRUGWRIT+71, DRUGWRIT+74, DRUGWRIT+77, DRUGWRIT+81, DRUGWRIT+83, DRUGWRIT+88, CHKHASH+10
, CHKHASH+11
I MSGWRITE+8~, MSGWRITE+10*, MSGWRITE+11*, MSGWRITE+19, MSGWRITE+20, MSGWRITE+21, MSGWRITE+22, MSGWRITE+24, MSGWRITE+25, MSGWRITE+27
, DRUGWRIT+8~, DRUGWRIT+12*, DRUGWRIT+13*, DRUGWRIT+15, DRUGWRIT+22, DRUGWRIT+33, DRUGWRIT+34, DRUGWRIT+37, DRUGWRIT+38, DRUGWRIT+39
, DRUGWRIT+40, DRUGWRIT+42, DRUGWRIT+43, DRUGWRIT+49, DRUGWRIT+54, DRUGWRIT+55, DRUGWRIT+56, DRUGWRIT+58, DRUGWRIT+59, DRUGWRIT+61
, DRUGWRIT+62, DRUGWRIT+64, DRUGWRIT+65, DRUGWRIT+67, DRUGWRIT+68, DRUGWRIT+70, DRUGWRIT+71, DRUGWRIT+73, DRUGWRIT+74, DRUGWRIT+76
, DRUGWRIT+77, DRUGWRIT+79, DRUGWRIT+81, DRUGWRIT+83, DRUGWRIT+88
IPMON DRUGWRIT+8~, DRUGWRIT+16*, DRUGWRIT+82*, DRUGWRIT+83, DRUGWRIT+85*, DRUGWRIT+86, DRUGWRIT+88*
L DRUGWRIT+8~, DRUGWRIT+80*, DRUGWRIT+81*, DRUGWRIT+83
MONOTYPE MONOGRAF~, MONOGRAF+24, MONOGRAF+27, MONOGRAF+31, REF~, REF+19, REF+22
MSGCNT DRUGREAD~, DRUGREAD+15
MSGHASH DRUGDRUG+9~, DRUGDRUG+19, DRUGDRUG+22, DRUGDRUG+27, DRUGREAD~, DRUGREAD+22
NODE DRUGDRUG~, DRUGDRUG+15, MSGREAD~, MSGREAD+11, MSGWRITE+8~, MSGWRITE+14*, MSGWRITE+16, MSGWRITE+17*, MSGWRITE+20, MSGWRITE+21
, MSGWRITE+22, MSGWRITE+24, MSGWRITE+27, DRUGREAD~, DRUGREAD+17, MONOGRAF~, MONOGRAF+15, REF~, REF+15, DRUGWRIT+8~
, DRUGWRIT+28*, DRUGWRIT+29*, DRUGWRIT+35, DRUGWRIT+37, DRUGWRIT+38, DRUGWRIT+39, DRUGWRIT+49, DRUGWRIT+54, DRUGWRIT+56, DRUGWRIT+57
, DRUGWRIT+59, DRUGWRIT+60, DRUGWRIT+62, DRUGWRIT+63, DRUGWRIT+65, DRUGWRIT+66, DRUGWRIT+68, DRUGWRIT+69, DRUGWRIT+71, DRUGWRIT+72
, DRUGWRIT+74, DRUGWRIT+75, DRUGWRIT+77, DRUGWRIT+78, DRUGWRIT+83, DRUGWRIT+86, DRUGWRIT+88
NODECNT MSGWRITE+8~, MSGWRITE+16*
PSMSGCNT DRUGDRUG+9~, DRUGDRUG+13*, DRUGDRUG+18*, DRUGDRUG+19, DRUGDRUG+22
PSS DRUGDRUG+9~, MSGWRITE+8~, DRUGREAD+11~, MONOGRAF+10~, REF+10~, DRUGWRIT+8~, COPYRITE+7~
PSS("child" DRUGDRUG+11*, DRUGDRUG+15*, DRUGDRUG+16, DRUGDRUG+19, DRUGDRUG+22, DRUGREAD+13*, DRUGREAD+17*, DRUGREAD+18, DRUGREAD+22, DRUGREAD+25
, DRUGREAD+29, DRUGREAD+32, DRUGREAD+35, DRUGREAD+38, DRUGREAD+41, MONOGRAF+12*, MONOGRAF+15*, MONOGRAF+17, MONOGRAF+19, MONOGRAF+24
, MONOGRAF+26, REF+12*, REF+15*, REF+17, REF+19
PSS("childName" DRUGDRUG+16*, DRUGDRUG+18, DRUGDRUG+19, DRUGDRUG+21, DRUGDRUG+22, DRUGREAD+18*, DRUGREAD+20, DRUGREAD+24, DRUGREAD+27, DRUGREAD+31
, DRUGREAD+34, DRUGREAD+37, DRUGREAD+40, MONOGRAF+17*, MONOGRAF+18, MONOGRAF+23, MONOGRAF+27, REF+17*, REF+18
PSS("drugCount" DRUGDRUG+12*, DRUGDRUG+21*, DRUGDRUG+22
PSS("fileManYear" COPYRITE+11*, COPYRITE+13
PSS("i" MONOGRAF+13*, MONOGRAF+20*, MONOGRAF+31, REF+13*, REF+19, REF+20*, REF+22
PSS("messageCount" DRUGREAD+15*, DRUGREAD+21*, DRUGREAD+22
PSS("sectionText" MONOGRAF+26*, MONOGRAF+27
PSS("source" COPYRITE+16*, COPYRITE+17*, COPYRITE+18
PSS("value" DRUGWRIT+33*, DRUGWRIT+34*, DRUGWRIT+35
PSS("year" COPYRITE+13*, COPYRITE+17
PSSCHK DRUGWRIT+8~, DRUGWRIT+93!
PSSCHK( DRUGWRIT+46, DRUGWRIT+48*
PSSCLIN DRUGWRIT+8~, DRUGWRIT+42*, DRUGWRIT+44, DRUGWRIT+46, DRUGWRIT+48, DRUGWRIT+93!
PSSDRGNM DRUGWRIT+8~, DRUGWRIT+43*, DRUGWRIT+44, DRUGWRIT+46, DRUGWRIT+48, DRUGWRIT+93!
RESULT CHKHASH+7~, CHKHASH+10*, CHKHASH+11*, CHKHASH+12
SECOND DRUGWRIT+8~, DRUGWRIT+21*, DRUGWRIT+24*, DRUGWRIT+33, DRUGWRIT+34
SEV TRANSEV~, TRANSEV+13, SEVCODE~, SEVCODE+7
SOURCE COPYRITE~, COPYRITE+16
SUB MSGWRITE~, MSGWRITE+27, DRUGWRIT+8~, DRUGWRIT+9*, DRUGWRIT+40, DRUGWRIT+54, DRUGWRIT+55, DRUGWRIT+58, DRUGWRIT+61, DRUGWRIT+64
, DRUGWRIT+67, DRUGWRIT+70, DRUGWRIT+73, DRUGWRIT+76, DRUGWRIT+79
SUB1 CHKHASH~, CHKHASH+10, CHKHASH+11
SUB2 CHKHASH~, CHKHASH+9, CHKHASH+10
WARNFLG MSGWRITE+8~, MSGWRITE+25*, MSGWRITE+27
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Label References |  Local Variables  | All