PSSHRQ21 ;WOIFO/AV,TS - Parses a PEPS drugDrugChecks XML element ; 08 Jun 2016 5:49 PM
Source file <PSSHRQ21.m>
| 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  |