PSSHRQ22 ;WOIFO/AV,TS - Handles parsing a PEPS drugTherapyChecks XML element ;09/20/07
Source file <PSSHRQ22.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
THERAPY(DOCHAND,NODE,BASE) | ;
; @DRIVER ; @DESC Parses the drugTherapyChecks XML elements |
|
MSGREAD(DOCHAND,NODE,HASH,COUNT) | ;
; @DESC Handles parsing message section |
|
THERREAD(DOCHAND,NODE,HASH,COUNT,MSGHASH,MSGCNT) | ;
; @DESC Handles parsing and storage of drugTherapyCheck element |
|
THERWRIT(HASH,BASE) | ;
; @DESC Handles writing drugDrugChecks drugTherapy section of the XML document |
|
SUBCOUNT(COUNT,BASE) | ;
; @DESC Returns the next subcount for drug therapy output global ; Format is ^TMP($JOB,BASE,"OUT","THERAPY",COUNT,SUBCOUNT) |
|
MAKEINDX(INDX,HASH) | ;
; @DESC Creates index of drug list combinations. Uses gcn as the ; unique identifier of drug. |
|
DLISTID(HASH,I) | ;
; @DESC Returns the id of the drug list. The id of the drug list ; consist of the gcn in sorted order separated by '^'. |
|
TMPGLOB(HASH,MAINCNT,CHEKCNT,DRUGNUM,BASE) | ;
; @DESC Writes the drugList to the proper global |
|
VALUE(HASH,MAINCNT,DRUGNUM) | ;
; @DESC Provides the ""piece" data we use when creating the output global. |