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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: PSSHREQ

Package: Pharmacy Data Management

Routine: PSSHREQ


Information

PSSHREQ ;WOIFO/AV,TS - Creates PSSXML to send to PEPS using input global ;09/20/07

Source Information

Source file <PSSHREQ.m>

Entry Points

Name Comments DBIA/ICR reference
BLDPREQ(PSSBASE) ;
; @DRIVER
HEADER(PSSBASE) ;
; @DESC Builds the Header PSSXML element. A header is the section of the PSSXML
; that includes time, server, and user. This item holds no business logic, it
; only records debugging information.
HDRTIME() ;
; @DESC Builds the Time PSSXML element which resides in the header
HDRSERVR() ;
; @DESC Builds the MServer PSSXML element
HDRMUSER() ;
; @DESC Builds the user element of the PSSXML
BODY(PSSBASE) ;
; @DESC Builds the Body PSSXML element
DRGCHEK(PSSBASE) ;
; @DESC Builds the DrugCheck PSSXML element
CHECKS(PSSBASE) ;
; @DESC Builds the checks PSSXML element
CHEKDOSE(PSSBASE) ;
; @DESC Sets the drugDoseCheck element
DEMOGRAF(PSSBASE) ;
; @DESC Builds the demographic element
CHEKDRUG(PSSBASE) ;
; @DESC Sets the drugDrugCheck element
CHEKTHER(PSSBASE) ;
; @DESC Sets the drugTherapyCheck element
MEDPROF(PSSBASE) ;
; @DESC Builds a medicationProfile element
DRUGPROS(PSSBASE) ;
; @DESC Builds prospectiveDrugs element
DRUGPROF(PSSBASE) ;
; @DESC Builds a prospective drug element
READRUGS(PSSBASE,DRUGTYPE,PSSDRUGS) ;
; @DESC Builds either a prospective or a profile drug element.
; Note the "DRUGTYPE" parameter. This param allows for re-use, so either
; a profile or a prospective drug can be created.
RITEDRGS(PSSDRUGS) ;
; @DESC Loop through the drugs and return PSSXML
RITEDRUG(PSSDRUGS,PSSCOUNT) ;
; @DESC Builds a single drug xml element
READDOSE(PSSBASE,PSSHASH,PSSCOUNT,ORDRNM) ;
; @DESC Sets the individual drugDose elements, including all dosing amounts,
; frequency, etc for an individual drug.
RITEDOSE(PSSHASH,I) ;
; @DESC Writes the doseInformation PSSXML element

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
Info |  Source |  Entry Points |  FileMan Files Accessed Via FileMan Db Call