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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: PSXBLD

Package: CMOP

Routine: PSXBLD


Information

PSXBLD ;BIR/BAB-Build HL7 Data for CMOP Rx Queue ;24 Jun 2002 5:19 PM

Source Information

Source file <PSXBLD.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
CMOP 4 (DIV,MRX)^PSXBLD1  NEWWARN^PSXBLD2  (LOADMSG,NEWMSG,RXMSG)^PSXRXQU  SET^PSXSYS  
Outpatient Pharmacy 3 EN^PSOHLSN1  IBCP^PSOLBL  OTHL1^PSOLBL3  
VA FileMan 2 ^DIK  ^DIWP  
Kernel 1 $$PATCH^XPDUTL  
National Drug File 1 $$PROD2^PSNAPIS  
Pharmacy Data Management 1 $$DRUG^PSSWRNA  

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

Package Total Caller Graph
CMOP 3 PSXBLD1  PSXRSUS  PSXRTRAN  

Entry Points

Name Comments DBIA/ICR reference
EN ; build entries into 550.1 by alpha patient
ORD ; PSXMSG was returned by call to NEWMSG^PSXRXQU
; Loop RXs, RXFs in Transmission PSXBAT
ORC ;builds RX HL7 segments into PSXORD(
REF ;
RX1 ;
ZX1 ;
A
SIG ;
STRIP ;strip out any HL7 delimiters
EXPAND ;expands the sig
DGST ; returns PSXDGST
COPAYCK ; RECHECK COPAY STATUS FOR EACH FILL
DEL5502 ; RX was removed from 52.5 during transmission
WARN ;

External References

Name Field # of Occurrence
^DIK EN+4, DEL5502+3
^DIWP EXPAND+3, EXPAND+14
$$PROD2^PSNAPIS DGST+6
EN^PSOHLSN1 ORD+11
IBCP^PSOLBL COPAYCK+7
OTHL1^PSOLBL3 EXPAND+10
$$DRUG^PSSWRNA ORC+9
DIV^PSXBLD1 EN+13
MRX^PSXBLD1 EN+12
NEWWARN^PSXBLD2 ZX1+21
LOADMSG^PSXRXQU EN+12
NEWMSG^PSXRXQU EN+12
RXMSG^PSXRXQU ORD+9
SET^PSXSYS EN+1, ZX1+8
$$PATCH^XPDUTL EXPAND+10

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSX(550.1 - [#550.1] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] SIG+6
^PS(51 - [#51] A
^PS(52.5 - [#52.5] ORD+4, ORD+8*
^PS(53 - [#53] ZX1+15, COPAYCK+3
^PS(55 - [#55] ORD+2, EXPAND+10
^PS(59 - [#59] ZX1+2
^PS(59.7 - [#59.7] EN+8, ORC+7, ORC+8, ZX1+1, ZX1+20, ZX1+21, EXPAND+7, EXPAND+15, EXPAND+16, WARN+1
, WARN+2
^PSDRUG - [#50] ORC+6, ORC+10, RX1+3, ZX1+11, DGST+4, DGST+5, COPAYCK+4
^PSRX - [#52] ORD+6, ORD+7, ORC+3, ORC+4, ORC+14, ORC+17, REF+3, REF+6, ZX1+6, ZX1+7
, ZX1+11, ZX1+15, SIG+1, SIG+2, EXPAND+3, DGST+3, COPAYCK+5, COPAYCK+9
^PSX(550.1 - [#550.1] EN+4
^PSX(550.2 - [#550.2] EN+9, EN+10, ORD+3, ORD+6, DEL5502+2
^SC - [#44] ZX1+16
^TMP($J ZX1+5
^UTILITY($J EXPAND+2!, EXPAND+4, EXPAND+9!, EXPAND+16, EXPAND+18!
^VA(200 - [#200] ORC+13, REF+1, ZX1+6

Label References

Name Line Occurrences
A SIG+3
COPAYCK ORC+5
DEL5502 ORD+5
DGST RX1+4
EXPAND SIG+1
ORC ORD+7
ORD EN+12
REF ORC+12
RX1 ORC+18
SIG RX1+8
STRIP ORC+6, EXPAND+3, EXPAND+14
WARN ZX1+14

Naked Globals

Name Field # of Occurrence
^( A, EXPAND+3, EXPAND+5, EXPAND+6, EXPAND+16
^("NHC" SIG+6
^(0 ORC+6, ORC+13, REF+1, ZX1+2, ZX1+6, ZX1+16, COPAYCK+4
^(40.1 ZX1+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% A*, SIG+7!, STRIP+1*
COPAY ORD+12!, ORC+4*, ZX1+9, COPAYCK+3*, COPAYCK+4*, COPAYCK+6*, COPAYCK+8*, COPAYCK+9*, COPAYCK+10*
DA EN+4!*, DEL5502+1~, DEL5502+2*
DA(1 DEL5502+3*
DAYS ORD+12!, ORC+13*, REF+1*, ZX1+9
DEA ORD+12!, ORC+6*, ZX1+15
DFN EN+10*, EN+14!, ORD+2, ORD+3, ORD+6, ORC+9, ZX1+5, SIG+6, EXPAND+10
DIK EN+4!*, DEL5502+1~, DEL5502+3*
DIWF EXPAND+2*, EXPAND+9!, EXPAND+13*, EXPAND+18!
DIWL EXPAND+2*, EXPAND+9!, EXPAND+13*, EXPAND+18!
DIWR EXPAND+2*, EXPAND+9!, EXPAND+13*, EXPAND+18!
DRUG ORD+12!, ORC+6*, ORC+10
>> DRUGCHK DGST+6*, DGST+7
DT ORD+8
EXPDT ORC+17*, REF+6*, RX1+1, ZX1+18!
FDT ORD+12!, ORC+3*, REF+2*, ZX1+9
FLG RX1+8*!, A+1, A+2, A+3, A+4*, SIG+4, SIG+5
ISD ORC+11*, RX1+1, ZX1+18!
J SIG+7!, WARN+3*, WARN+4!
L WARN+3*, WARN+4!
LSTFIL ORD+12!, ORC+15*, ORC+16*, REF+4*, REF+5*, RX1+7
MAX RX1+8!
MSG EN+11*, EN+14!, ORC+3*, RX1+8*, ZX1+19*, A+3*, A+4, SIG+4, SIG+5*, SIG+6*
, EXPAND+5, EXPAND+6*, EXPAND+7, EXPAND+16*, EXPAND+17
NTESEQ EXPAND+1~, EXPAND+5*, EXPAND+7*, EXPAND+12*, EXPAND+17*
P ORD+12!, A, SIG+3*
PHYS ORD+12!, ORC+13*, REF+1*
PSCAP EN+14!, ORD+2*, ZX1+9
PSCLN ORD+12!, ZX1+16*
PSODBQ COPAYCK+1~
>> PSOINST ZX1+8*, ZX1+9
PSOLBLCP ORC+2~, COPAYCK+7, COPAYCK+8, COPAYCK+9
PSOLBLDR COPAYCK+1~, COPAYCK+2*, COPAYCK+4
PSOLBLPS COPAYCK+1~, COPAYCK+2*, COPAYCK+3
PSOQI COPAYCK+1~, COPAYCK+5*, COPAYCK+6
>> PSOSITE ZX1+1
PSSWSITE EN+8*, EN+14!, ORC+7*, ORC+8, ZX1+20*, ZX1+21, EXPAND+7, EXPAND+15*, EXPAND+16, EXPAND+18!
, WARN+1*, WARN+2
PSX EN+11!
PSX( ORC+3*
>> PSXBAT EN+9, EN+10, ORD+3, ORD+6, DEL5502+2, DEL5502+3
PSXCSB ZX1+11*, ZX1+13!
PSXCSC ZX1+11*, ZX1+12, ZX1+13!
PSXCSD ZX1+12*, ZX1+13!
PSXCSRX ZX1+12*, ZX1+13!
PSXDGST RX1+5, DGST+2!, DGST+7*
>> PSXFLAG ORD+8, ORD+11
>> PSXMSG EN+7*
PSXNM EN+7*, EN+9*, EN+10, EN+14!, ORD+3, ORD+6, ZX1+5
PSXORD EN+11!
PSXORD( ORC+3*, RX1+8*, ZX1+19*, A+3*, A+4*, SIG+4*, SIG+5*, SIG+6*, EXPAND+5*, EXPAND+6*
, EXPAND+7*, EXPAND+16*, EXPAND+17*
PSXPTR EN+14!, DGST+1~, DGST+2*, DGST+3
>> PSXSYS RX1+2, ZX1+8
>> PTR ORD+7*
PTRA DGST+1~, DGST+5*, DGST+6
PTRB DGST+1~, DGST+5*, DGST+6
PTST ORD+12!, ZX1+15*, ZX1+16*
QTY ORD+12!, ORC+13*, REF+1*, RX1+1
>> REC ORD+4*, ORD+5, ORD+8
REF ORD+12!, ZX1+15*
REFDIV ZX1+1*, ZX1+2, ZX1+3!
REG EN+14!, ORD+2*, ZX1+6
RNEW ZX1+15*, ZX1+16, ZX1+18!
RX EN+14!, ORD+2*, ORD+3*, ORD+4, ORD+6, ORD+7, ORD+11, ORC+3, ORC+4, ORC+14
, ORC+17, REF+3, REF+6, ZX1+5, ZX1+6, ZX1+7, ZX1+9, ZX1+11, ZX1+15, SIG+1
, SIG+2, EXPAND+3, EXPAND+10, DGST+2, COPAYCK+5, COPAYCK+9, DEL5502+2
RXEX DGST+1~, DGST+3*
RXF EN+14!, ORD+6*, ORD+7, ORC+1, ORC+3, ORC+12, RX1+2, RX1+6, ZX1+6, ZX1+15
RXN ORD+12!, ORC+4*
RXNUM DGST+1~, DGST+3*, DGST+4, DGST+5
RXY ORD+2!, ORD+6*, ORD+12!, ORC+4, ORC+6, ORC+9, ORC+11, ORC+13, RX1+2, RX1+3
, RX1+6, RX1+7, ZX1+2, ZX1+6, ZX1+15, ZX1+16, EXPAND+7, EXPAND+17, COPAYCK+2
RXY1 ORD+2!, ORD+7*, ORD+12!, ORC+1, REF+1, REF+2
SGY ZX1+18!, A+1*, A+2*, A+3*, A+4*, SIG+3*, SIG+4, SIG+5, SIG+7!
SIG ZX1+18!, A, SIG+2*, SIG+3, SIG+7!
SIG2 EXPAND+18!
SIG2( EXPAND+11!, EXPAND+14
SIG2(0 EXPAND+10
TECH ORD+12!, ORC+13*, REF+1*, ZX1+7
U ORC+17, RX1+3, DGST+5
VRPH ORD+12!, ORC+4*, ZX1+7*
W WARN+3*, WARN+4!
W1 WARN+3*, WARN+4!
WARN ORD+12!, ORC+6*, ORC+9*, WARN+3, WARN+4!
X EN+14!, ORC+4*!, RX1+1*, RX1+2*, RX1+5*, RX1+6*, RX1+7*, RX1+8!, ZX1+2*, ZX1+6*
, ZX1+7*, ZX1+9*, ZX1+13*, ZX1+16*, ZX1+19, A*, A+1, A+2, A+3, A+4
, SIG+3*, SIG+7!, EXPAND+3*, EXPAND+9!, EXPAND+14*, EXPAND+18!, WARN+4*
XX EXPAND+3*, EXPAND+9!, EXPAND+11*, EXPAND+13*, EXPAND+14*, EXPAND+18!
Y EN+14!, ORC+6*!, ZX1+5*, ZX1+6!, A*, STRIP+1*, EXPAND+3*, EXPAND+9!, EXPAND+14*, EXPAND+18!
Y1 RX1+3*, ZX1+5*, ZX1+6!
YY EXPAND+4*, EXPAND+5, EXPAND+6, EXPAND+9!, EXPAND+13*, EXPAND+16*, EXPAND+18!
Z SIG+7!, EXPAND+9!
>> ZCNT EN+7*
ZDU ORD+12!, ORC+10*
ZFIL ORC+14*, ORC+15, REF+3*, REF+4, RX1+8!
ZX DGST+1~, DGST+6*, DGST+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All