Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
Print Page as PDF
Routine: PSSHRQ22

Package: Pharmacy Data Management

Routine: PSSHRQ22


Information

PSSHRQ22 ;WOIFO/AV,TS - Handles parsing a PEPS drugTherapyChecks XML element ;09/20/07

Source Information

Source file <PSSHRQ22.m>

Entry Points

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.
Info |  Source |  Entry Points