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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
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>

Call Graph

Call Graph

Call Graph Total: 4

Package Total Call Graph
M XML Parser 1 $$XMLHDR^MXMLUTL  
Pharmacy Data Management 1 $$ATRIBUTE^PSSHRCOM  
Registration 1 $$SITE^VASITE  
VA FileMan 1 $$GET1^DIQ  

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

Package Total Caller Graph
Pharmacy Data Management 1 PSSHRQ2  

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

External References

Name Field # of Occurrence
$$GET1^DIQ HDRMUSER+16
$$XMLHDR^MXMLUTL BLDPREQ+11
$$ATRIBUTE^PSSHRCOM BLDPREQ+12, BLDPREQ+13, HEADER+13, HDRTIME+9, HDRSERVR+9, HDRSERVR+13, HDRSERVR+15, HDRSERVR+22, HDRSERVR+26, HDRMUSER+11
, HDRMUSER+13, HDRMUSER+16, CHECKS+11, CHECKS+16, CHECKS+20, DEMOGRAF+10, DEMOGRAF+13, DEMOGRAF+16, RITEDRUG+11, RITEDRUG+13
, RITEDRUG+15, RITEDRUG+21, RITEDRUG+25
$$SITE^VASITE HDRSERVR+19

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP( BLDPREQ+21, HEADER+12, CHECKS+10, CHECKS+15, CHEKDOSE+11, DEMOGRAF+9, DEMOGRAF+12, DEMOGRAF+15, CHEKDRUG+11, CHEKTHER+10
, READRUGS+18, READRUGS+20, READDOSE+11, READDOSE+12, READDOSE+13, READDOSE+15

Label References

Name Line Occurrences
$$BODY BLDPREQ+21
$$CHECKS DRGCHEK+10
$$CHEKDOSE CHECKS+26
$$CHEKDRUG CHECKS+27
$$CHEKTHER CHECKS+28
$$DEMOGRAF CHEKDOSE+14
$$DRGCHEK BODY+10
$$DRUGPROF MEDPROF+10
$$DRUGPROS DRGCHEK+11
$$HDRMUSER HEADER+19
$$HDRSERVR HEADER+18
$$HDRTIME HEADER+17
$$HEADER BLDPREQ+20
$$MEDPROF DRGCHEK+12
$$RITEDOSE RITEDRUG+28
$$RITEDRGS DRUGPROS+14, DRUGPROF+12
$$RITEDRUG RITEDRGS+13
READDOSE READRUGS+37
READRUGS DRUGPROS+10, DRUGPROF+10

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
DRUGTYPE READRUGS~, READRUGS+18, READRUGS+20
DT HDRTIME+9
DUZ HDRMUSER+9, HDRMUSER+16
I RITEDOSE~, RITEDOSE+10, RITEDOSE+14, RITEDOSE+15, RITEDOSE+16, RITEDOSE+17, RITEDOSE+18, RITEDOSE+19, RITEDOSE+20, RITEDOSE+21
IO("IP" HDRSERVR+9
ORDRNM READDOSE~, READDOSE+11, READDOSE+12, READDOSE+13, READDOSE+15
PSS BLDPREQ+9~, HEADER+9~, HDRTIME+7~, HDRSERVR+7~, HDRMUSER+7~, CHECKS+7~, DEMOGRAF+7~, MEDPROF+7~, READRUGS+11~, RITEDRUG+8~
, READDOSE+8~
PSS("DUZ" HDRMUSER+11*, HDRMUSER+19
PSS("IP" HDRSERVR+9*, HDRSERVR+29
PSS("PSSXMLHeader" BLDPREQ+11*, BLDPREQ+15
PSS("UCI" HDRSERVR+26*, HDRSERVR+33
PSS("age" DEMOGRAF+15*, DEMOGRAF+16
PSS("ageInDays" DEMOGRAF+16*, DEMOGRAF+18
PSS("bodySurfaceAreaInSqM" DEMOGRAF+10*, DEMOGRAF+18
PSS("bsa" DEMOGRAF+9*, DEMOGRAF+10
PSS("count" READRUGS+14*, READRUGS+19*, READRUGS+22, READRUGS+24, READRUGS+26, READRUGS+28, READRUGS+30, READRUGS+32, READRUGS+34, READRUGS+37
PSS("drugName" RITEDRUG+11*, RITEDRUG+27
PSS("gcnSeqNo" RITEDRUG+13*, RITEDRUG+27
PSS("ien" READRUGS+13*, RITEDRUG+15*, RITEDRUG+27
PSS("jobNumber" HDRMUSER+13*, HDRMUSER+20
PSS("nameSpace" HDRSERVR+13*, HDRSERVR+30
PSS("orderNumber" READRUGS+17*, READRUGS+18*, READRUGS+20, READRUGS+22, READRUGS+37, RITEDRUG+21*, RITEDRUG+27
PSS("pingOnly" HEADER+13*, HEADER+16
PSS("prospectiveOnly" CHECKS+11*, CHECKS+16*, CHECKS+23
PSS("serverName" HDRSERVR+15*, HDRSERVR+31
PSS("stationNumber" HDRSERVR+22*, HDRSERVR+32
PSS("useCustomTables" CHECKS+20*, CHECKS+24
PSS("userName" HDRMUSER+16*, HDRMUSER+21
PSS("value" HDRTIME+9*, HDRTIME+12, READRUGS+20*, READRUGS+24, READRUGS+26, READRUGS+28, READRUGS+30, READRUGS+32, READRUGS+34, READDOSE+15*
, READDOSE+18, READDOSE+19, READDOSE+20, READDOSE+21, READDOSE+22, READDOSE+23, READDOSE+24, READDOSE+25
PSS("vuid" RITEDRUG+25*, RITEDRUG+27
PSS("weightInKG" DEMOGRAF+13*, DEMOGRAF+18
PSS("wt" DEMOGRAF+12*, DEMOGRAF+13
PSS("xmlns" BLDPREQ+12*, BLDPREQ+17
PSS("xsi" BLDPREQ+13*, BLDPREQ+18
PSSBASE BLDPREQ~, BLDPREQ+20, BLDPREQ+21, HEADER~, HEADER+12, BODY~, BODY+10, DRGCHEK~, DRGCHEK+10, DRGCHEK+11
, DRGCHEK+12, CHECKS~, CHECKS+10, CHECKS+15, CHECKS+26, CHECKS+27, CHECKS+28, CHEKDOSE~, CHEKDOSE+11, CHEKDOSE+14
, DEMOGRAF~, DEMOGRAF+9, DEMOGRAF+12, DEMOGRAF+15, CHEKDRUG~, CHEKDRUG+11, CHEKTHER~, CHEKTHER+10, MEDPROF~, MEDPROF+10
, DRUGPROS~, DRUGPROS+10, DRUGPROF~, DRUGPROF+10, READRUGS~, READRUGS+18, READRUGS+20, READRUGS+37, READDOSE~, READDOSE+11
, READDOSE+12, READDOSE+13, READDOSE+15
PSSCOUNT RITEDRGS+7~, RITEDRGS+10*, RITEDRGS+11*, RITEDRGS+13, RITEDRUG~, RITEDRUG+10, RITEDRUG+11, RITEDRUG+13, RITEDRUG+15, RITEDRUG+19
, RITEDRUG+24, RITEDRUG+25, RITEDRUG+28, READDOSE~, READDOSE+11, READDOSE+13, READDOSE+18, READDOSE+19, READDOSE+20, READDOSE+21
, READDOSE+22, READDOSE+23, READDOSE+24, READDOSE+25
PSSDRUGS DRUGPROS+7~, DRUGPROS+10, DRUGPROS+14, DRUGPROF+7~, DRUGPROF+10, DRUGPROF+12, READRUGS~, READRUGS+37, RITEDRGS~, RITEDRGS+13
, RITEDRUG~, RITEDRUG+28
PSSDRUGS("DRUG" DRUGPROS+12, READRUGS+22*, READRUGS+24*, READRUGS+26*, READRUGS+28*, READRUGS+30*, READRUGS+32*, READRUGS+34*, RITEDRGS+11, RITEDRUG+10
, RITEDRUG+11, RITEDRUG+13, RITEDRUG+15, RITEDRUG+19, RITEDRUG+24, RITEDRUG+25
PSSHASH READDOSE~, RITEDOSE~
PSSHASH("DRUG" READDOSE+11*, READDOSE+13*, READDOSE+18*, READDOSE+19*, READDOSE+20*, READDOSE+21*, READDOSE+22*, READDOSE+23*, READDOSE+24*, READDOSE+25*
, RITEDOSE+10, RITEDOSE+14, RITEDOSE+15, RITEDOSE+16, RITEDOSE+17, RITEDOSE+18, RITEDOSE+19, RITEDOSE+20, RITEDOSE+21
PSSNTDJB HDRMUSER+7~, HDRMUSER+13*
PSSNTDS1 HDRSERVR+7~, HDRSERVR+19*, HDRSERVR+20*, HDRSERVR+21, HDRSERVR+22
PSSNTDS2 HDRSERVR+7~, HDRSERVR+20*, HDRSERVR+21
PSSNTDS3 HDRSERVR+7~, HDRSERVR+21*
PSSNTDS4 HDRSERVR+7~, HDRSERVR+21*
PSSNTDS5 HDRSERVR+7~, HDRSERVR+20*, HDRSERVR+21*
PSSNTDZ HDRMUSER+7~, HDRMUSER+9*, HDRMUSER+11
PSSORDR RITEDRUG+8~, RITEDRUG+19*, RITEDRUG+21
PSSXML BLDPREQ+9~, BLDPREQ+15*, BLDPREQ+16*, BLDPREQ+17*, BLDPREQ+18*, BLDPREQ+19*, BLDPREQ+20*, BLDPREQ+21*, BLDPREQ+22*, BLDPREQ+24
, HEADER+9~, HEADER+16*, HEADER+17*, HEADER+18*, HEADER+19*, HEADER+20*, HEADER+23, HDRTIME+7~, HDRTIME+11*, HDRTIME+12*
, HDRTIME+13*, HDRTIME+15, HDRSERVR+7~, HDRSERVR+28*, HDRSERVR+29*, HDRSERVR+30*, HDRSERVR+31*, HDRSERVR+32*, HDRSERVR+33*, HDRSERVR+34*
, HDRSERVR+36, HDRMUSER+7~, HDRMUSER+18*, HDRMUSER+19*, HDRMUSER+20*, HDRMUSER+21*, HDRMUSER+22*, HDRMUSER+24, BODY+7~, BODY+9*
, BODY+10*, BODY+11*, BODY+13, DRGCHEK+7~, DRGCHEK+9*, DRGCHEK+10*, DRGCHEK+11*, DRGCHEK+12*, DRGCHEK+13*, DRGCHEK+16
, CHECKS+7~, CHECKS+22*, CHECKS+23*, CHECKS+24*, CHECKS+25*, CHECKS+26*, CHECKS+27*, CHECKS+28*, CHECKS+29*, CHECKS+32
, CHEKDOSE+7~, CHEKDOSE+9*, CHEKDOSE+12*, CHEKDOSE+14*, CHEKDOSE+15*, CHEKDOSE+18, DEMOGRAF+7~, DEMOGRAF+18*, DEMOGRAF+19, CHEKDRUG+7~
, CHEKDRUG+9*, CHEKDRUG+12*, CHEKDRUG+15, CHEKTHER+7~, CHEKTHER+8*, CHEKTHER+11*, CHEKTHER+14, MEDPROF+7~, MEDPROF+9*, MEDPROF+10*
, MEDPROF+11*, MEDPROF+13, DRUGPROS+7~, DRUGPROS+12*, DRUGPROS+14*, DRUGPROS+16, DRUGPROF+7~, DRUGPROF+12*, DRUGPROF+14, RITEDRGS+7~
, RITEDRGS+9*, RITEDRGS+13*, RITEDRGS+16, RITEDRUG+8~, RITEDRUG+27*, RITEDRUG+28*, RITEDRUG+29*, RITEDRUG+31, RITEDOSE+7~, RITEDOSE+9*
, RITEDOSE+10, RITEDOSE+13*, RITEDOSE+14*, RITEDOSE+15*, RITEDOSE+16*, RITEDOSE+17*, RITEDOSE+18*, RITEDOSE+19*, RITEDOSE+20*, RITEDOSE+21*
, RITEDOSE+24*, RITEDOSE+26
>> XMV("NETNAME" HDRSERVR+15
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All