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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: PSOERXA1

Package: Outpatient Pharmacy

Routine: PSOERXA1


Information

PSOERXA1 ;ALB/BWF - eRx Utilities/RPC's ; 8/3/2016 5:14pm

Source Information

Source file <PSOERXA1.m>

Call Graph

Call Graph

Call Graph Total: 16

Package Total Call Graph
Outpatient Pharmacy 8 $$CONVDTTM^PSOERXA1  ($$STRES,FAC,PHR,PRE,SUP)^PSOERXA2  MED^PSOERXA3  (BFC,CANRX,MEDDISP,REFRESP)^PSOERXA5  ($$ERRSEQ,FILERR)^PSOERXU1  ($$FINDPAT,$$GETREQ,$$GETSTAT,ERR)^PSOERXU2  $$GETPAT^PSOERXU5  $$FINDNRX^PSOERXU6  
VA FileMan 5 ^%DT  $$FIND1^DIC  FIELD^DID  (FILE,UPDATE)^DIE  $$GET1^DIQ  
Kernel 2 $$NOW^XLFDT  $$UP^XLFSTR  
Web Services Client 1 $$STATCHK^XOBWLIB  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

protocol O screenman SM broker B event driver Ed print P extended action Ea limited protocol LP edit E server Se subscriber Su inquire I run routine RR action A

Caller Graph

Caller Graph Total: 11

Package Total Caller Graph
Outpatient Pharmacy 11 PSO527PO  PSOERX  PSOERXA1  PSOERXA1 INCERX  PSOERXA3  PSOERXA5  PSOERXEN  PSOERXH1  
PSOERXO1  PSOERXU2  PSOERXX1  

Entry Points

Name Comments DBIA/ICR reference
HDR(MTYPE) ; header information
PARSE(STREAM,ERXVALS,NPI,STREAM2) ;
SPUSH(S,X) ;places X on the stack S and returns the current level of the stack
SPEEK(S,X) ;same as SPOP except the top item is not removed
SPOP(S,X) ;removes the top item from the stack S and put it into the variable X and returns the level that X was at
PATC(IEN) ; patient communication
APUT(S,X,LN) ; what am i doing here?
SPUT(S,X) ;implementation specific, uses the stack to form a global node
INCERX(RES,XML,PRCHK,PACHK,DACHK,STATION,DIV,ERXHID,ERXVALS,XML2,VADAT) ;
OBS(ERXIEN,MTYPE) ; Observation
PAT(ERXIEN,MTYPE) ; patient
PRESOLV(VAL,TYPE) ;
CONVDTTM(VAL) ;

External References

Name Field # of Occurrence
^%DT CONVDTTM+7
$$FIND1^DIC PARSE+44
FIELD^DID HDR+31
FILE^DIE INCERX+12, INCERX+14, INCERX+54, PARSE+49, PARSE+53, OBS+13, PAT+40, PAT+41, PAT+42, PATC+23
, PATC+28
UPDATE^DIE HDR+61, HDR+72, HDR+76, HDR+78, HDR+81, OBS+12, PAT+35, PATC+12, PATC+27
$$GET1^DIQ INCERX+24, INCERX+25, PATC+21
$$CONVDTTM^PSOERXA1 HDR+26, OBS+10, PAT+15
$$STRES^PSOERXA2 PAT+22
FAC^PSOERXA2 PARSE+63
PHR^PSOERXA2 PARSE+54
PRE^PSOERXA2 PARSE+54
SUP^PSOERXA2 PARSE+55
MED^PSOERXA3 PARSE+55
BFC^PSOERXA5 PARSE+54
CANRX^PSOERXA5 PARSE+60
MEDDISP^PSOERXA5 PARSE+56
REFRESP^PSOERXA5 PARSE+57
$$ERRSEQ^PSOERXU1 INCERX+29, INCERX+37, INCERX+58, INCERX+62
FILERR^PSOERXU1 INCERX+30, INCERX+38, INCERX+59, INCERX+63
$$FINDPAT^PSOERXU2 PAT+26
$$GETREQ^PSOERXU2 HDR+69
$$GETSTAT^PSOERXU2 HDR+49
ERR^PSOERXU2 HDR+82
$$GETPAT^PSOERXU5 PARSE+52
$$FINDNRX^PSOERXU6 HDR+67, HDR+70
$$NOW^XLFDT HDR+45
$$UP^XLFSTR HDR+32, PAT+7, PAT+8, PAT+9, PAT+11, PAT+12
$$STATCHK^XOBWLIB PARSE+9, PARSE+25

Used in RPC

RPC Name Call Tags
PSOERXA1 INCERX INCERX

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] FIND1^DIC
^PSDRUG - [#50] GET1^DIQ
^PS(50.7 - [#50.7] GET1^DIQ
52.465 GET1^DIQ
^PS(52.49 - [#52.49] FIELD^DID

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT("AICN" INCERX+42, INCERX+47
^DPT("SSN" INCERX+49, INCERX+53
^PS(52.45 - [#52.45] PRESOLV+4
^PS(52.46 - [#52.46] PATC+5!, PATC+14!, PATC+20
^PS(52.49 - [#52.49] HDR+16, HDR+30, HDR+71, HDR+75, HDR+77, HDR+80
^TMP($J PARSE+2, PARSE+40, PARSE+42, HDR+3, HDR+4, OBS+2, PAT+5

Label References

Name Line Occurrences
$$HDR PARSE+47
$$PARSE INCERX+3
APUT PARSE+18, PARSE+34
OBS PARSE+55
PAT PARSE+54
PATC PAT+39, PAT+41
SPOP PARSE+22, PARSE+38
SPUSH PARSE+15, PARSE+19, PARSE+31, PARSE+35
SPUT PARSE+21, PARSE+23, PARSE+37, PARSE+39

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
%XML PARSE+1~
AL1 PAT+1~, PAT+17*, PAT+26, PAT+31
AL2 PAT+1~, PAT+18*, PAT+31
ATTR PARSE+4~, PARSE+16*, PARSE+17, PARSE+32*, PARSE+33
BREAK PARSE+10~, PARSE+11*, PARSE+26~, PARSE+27*
C PAT+1~, PATC+6*, PATC+7, PATC+8
CDONE PAT+1~
CITY PAT+1~, PAT+19*, PAT+31
COMARY PATC+1~
COMARY( PATC+9*
COMPSTR HDR+2~, HDR+35*, HDR+36, HDR+37
COMQUAL PAT+1~
COMVAL PAT+1~
CQUAL PAT+1~, PATC+1~, PATC+7*, PATC+9, PATC+11
CURREC INCERX+1~, INCERX+3*, INCERX+4, INCERX+5, INCERX+7, INCERX+8*, INCERX+12, INCERX+14, INCERX+21, INCERX+22
, INCERX+23, INCERX+26, INCERX+30, INCERX+33, INCERX+34, INCERX+38, INCERX+46, INCERX+47, INCERX+52, INCERX+53
, INCERX+59, INCERX+63
CVAL PAT+1~, PATC+1~, PATC+8*, PATC+9, PATC+10
DACHK INCERX~
DACHK("IEN" INCERX+20, INCERX+22, INCERX+24
DACHK("error" INCERX+28
DACHK("success" INCERX+19, INCERX+27
DIM OBS+1~, OBS+6*
DIV INCERX~, INCERX+2
DOB PAT+1~, PAT+15*, PAT+16*, PAT+26, PAT+29
DONE HDR+2~, HDR+33*, HDR+34, HDR+36*, HDR+37*
DUZ INCERX+12
EDATE CONVDTTM+1~, CONVDTTM+3*, CONVDTTM+7
EIEN INCERX+1~, INCERX+7*, INCERX+29, INCERX+37, INCERX+58, INCERX+62
EIENS OBS+1~, OBS+3*, OBS+5, OBS+6, OBS+7, OBS+8, OBS+9, OBS+10, OBS+11, OBS+13
, PAT+2~, PAT+4*, PAT+40, PAT+42
ERR PARSE+46~
ERRSEQ INCERX+1~, INCERX+29*, INCERX+30, INCERX+37*, INCERX+38, INCERX+58*, INCERX+59, INCERX+62*, INCERX+63
ERRTXT INCERX+1~, INCERX+28*, INCERX+30, INCERX+36*, INCERX+38, INCERX+57*, INCERX+59, INCERX+61*, INCERX+63
ERXHID INCERX~, PARSE+59, HDR+16, HDR+28, HDR+41
ERXIEN HDR+1~, HDR+62*, HDR+63*, HDR+64, HDR+67, HDR+69, HDR+71, HDR+72, HDR+75, HDR+76
, HDR+77, HDR+78, HDR+80, HDR+81, HDR+82, HDR+84, OBS~, OBS+3, PAT~, PAT+4
ERXIENS HDR+1~, HDR+14*, HDR+39, HDR+41, HDR+43, HDR+44, HDR+45, HDR+46, HDR+48, HDR+50
, HDR+51, HDR+52, HDR+53, HDR+54, HDR+55, HDR+56, HDR+57, HDR+58, HDR+59
ERXISTAT HDR+2~, HDR+49*, HDR+50
ERXPAT PAT+2~, PAT+26*, PAT+41, PAT+42
ERXVALS INCERX~, INCERX+3, PARSE~, PARSE+55
ETIME CONVDTTM+1~, CONVDTTM+3*, CONVDTTM+5, CONVDTTM+6*, CONVDTTM+8
ETZ CONVDTTM+1~, CONVDTTM+5*
F OBS+1~, OBS+3*, OBS+5, OBS+6, OBS+7, OBS+8, OBS+9, OBS+10, OBS+11, PAT+2~
, PAT+3*, PAT+28, PAT+29, PAT+30, PAT+31, PAT+32, PAT+33
FDA INCERX+1~, INCERX+12!, INCERX+14!, INCERX+17!, INCERX+54!, PARSE+49!, PARSE+53!, HDR+1~, HDR+61!, OBS+1~
, OBS+12!, OBS+13!, PAT+2~, PAT+35!, PAT+40!, PAT+41!, PAT+42!, PATC+1~, PATC+12!, PATC+23!
, PATC+27!, PATC+28!
FDA( INCERX+12*, INCERX+14*, INCERX+21*, INCERX+22*, INCERX+23*, INCERX+26*, INCERX+33*, INCERX+34*, INCERX+46*, INCERX+47*
, INCERX+52*, INCERX+53*, PARSE+49*, PARSE+53*, HDR+39*, HDR+41*, HDR+43*, HDR+44*, HDR+45*, HDR+46*
, HDR+48*, HDR+50*, HDR+51*, HDR+52*, HDR+53*, HDR+54*, HDR+55*, HDR+56*, HDR+57*, HDR+58*
, HDR+59*, OBS+5*, OBS+6*, OBS+7*, OBS+8*, OBS+9*, OBS+10*, OBS+11*, OBS+13*, PAT+28*
, PAT+29*, PAT+30*, PAT+31*, PAT+32*, PAT+33*, PAT+40*, PAT+42*, PATC+10*, PATC+11*, PATC+23*
, PATC+25*, PATC+26*, PATC+28*
FDA2 HDR+72!, HDR+76!, HDR+78!, HDR+81!
FDA2( HDR+72*, HDR+76*, HDR+78*, HDR+81*
FMID HDR+1~, HDR+13*, HDR+43
FN PAT+1~, PAT+7*, PAT+10, PAT+28
FQUAL HDR+1~, HDR+6*, HDR+52
FROM HDR+1~, HDR+9*, HDR+51
GEN PAT+1~, PAT+14*, PAT+26, PAT+29
GL PARSE+1~, PARSE+2*, PARSE+3, HDR+1~, HDR+3*, HDR+9, HDR+10, HDR+11, HDR+18, HDR+20
, HDR+21, HDR+23, HDR+24, HDR+26, HDR+27, OBS+1~, OBS+2*, OBS+4, OBS+6, OBS+7
, OBS+8, OBS+9, OBS+10, OBS+11, OBS+13, PAT+1~, PAT+5*, PAT+6, PAT+7, PAT+8
, PAT+9, PAT+11, PAT+12, PAT+13, PAT+14, PAT+15, PAT+17, PAT+18, PAT+19, PAT+20
, PAT+21, PAT+25, PATC+6, PATC+7, PATC+8, PATC+15, PATC+16, SPUT+3, APUT+3
GL2 HDR+1~, HDR+4*, HDR+6, HDR+7
HUBDENY PARSE+1~, PARSE+59*, PARSE+60
I HDR+2~, HDR+34*, HDR+35, OBS+1~, OBS+4*, OBS+6, OBS+7, OBS+8, OBS+9, OBS+10
, OBS+11, PAT+1~, SPUSH+1~*, SPUSH+2, SPOP+1~*, SPOP+2, SPOP+3, SPOP+4, SPEEK+1~*, SPEEK+2
, SPEEK+3, SPUT+1~, SPUT+4*, SPUT+5, SPUT+7, APUT+1~, APUT+4*, APUT+5
IDARY PATC+1~
IDARY( PATC+18*
IDDONE PAT+1~
IDFND PAT+2~, PATC+1~, PATC+19*, PATC+22*, PATC+24
IDNM PAT+2~, PATC+1~, PATC+15*, PATC+16, PATC+17, PATC+18, PATC+21, PATC+25
IDVAL PAT+2~, PATC+1~, PATC+16*, PATC+17, PATC+18, PATC+23, PATC+26
IEN PATC~, PATC+2, PATC+3, PATC+5, PATC+14, PATC+20, PATC+21, PATC+23, PATC+25, PATC+26
IENS PATC+1~, PATC+3*, PATC+10, PATC+11, PATC+28
J SPOP+3~*
LAST OBS+1~
LN PAT+1~, PAT+8*, PAT+10, PAT+28, APUT~, APUT+9
MATCH PRESOLV+1~, PRESOLV+2*, PRESOLV+4*, PRESOLV+6
MDQUAL OBS+1~, OBS+7*
MES HDR+1~, HDR+16, HDR+17*
MID HDR+1~, HDR+11*, HDR+13
MN PAT+1~, PAT+9*, PAT+10, PAT+28
MSOURCE OBS+1~, OBS+8*
MTCODE HDR+2~, HDR+37*, HDR+38, HDR+39, HDR+49, HDR+68
MTVALS HDR+1~
MTVALS("POINTER" HDR+35
MTYPE PARSE+1~, PARSE+40*, PARSE+42, PARSE+47, PARSE+51, PARSE+54, PARSE+55, PARSE+56, PARSE+57, PARSE+58
, PARSE+60, HDR~, HDR+32, HDR+82, OBS~, OBS+2, PAT~, PAT+5
MUNIT OBS+1~, OBS+9*
MVAL OBS+1~, OBS+11*
NERXIEN PARSE+46~, PARSE+47*, PARSE+48, PARSE+49, PARSE+51, PARSE+52, PARSE+53, PARSE+54, PARSE+55, PARSE+56
, PARSE+57, PARSE+60, PARSE+63, PARSE+65
NEWERX HDR+1~
NEWERX( HDR+63
NEWERX(0 HDR+63
NEWPAT PAT+2~
NEWPAT( PAT+36
NEWPAT(0 PAT+36
NPI INCERX+1~, INCERX+2*, INCERX+3, PARSE~, PARSE+42*, PARSE+43, PARSE+44
NPIEN PAT+2~, PAT+36*, PAT+37, PAT+38*, PAT+39, PAT+40
NRXIEN HDR+66~, HDR+67*, HDR+70*, HDR+71, HDR+72, HDR+74, HDR+75, HDR+76
NUM SPUT+6~*, SPUT+7*, SPUT+8, APUT+6~*, APUT+9
OBSCNT OBS+1~, OBS+4*, OBS+5*
OBSDT OBS+1~, OBS+10*
OBSNOTE OBS+1~, OBS+13*
PACHK INCERX~
PACHK("EandEerror" INCERX+57
PACHK("ICN" INCERX+40
PACHK("MVIerror" INCERX+39, INCERX+61
PACHK("ssn" INCERX+48, INCERX+49, INCERX+53
PACHK("success" INCERX+55
PACNT INCERX+1~, INCERX+42*, INCERX+43*, INCERX+45
PAICN INCERX+1~, INCERX+40*, INCERX+41, INCERX+42, INCERX+47
PAIEN INCERX+1~, INCERX+42*, INCERX+49*
PARENT PARSE+12~, PARSE+14*, PARSE+15, PARSE+28~, PARSE+30*, PARSE+31
PASCNT INCERX+1~, INCERX+49*, INCERX+50*, INCERX+51
PATIEN PARSE+46~, PARSE+52*, PARSE+53
PATSSN PAT+2~, PAT+25*, PAT+26, PAT+30, PATC+1~, PATC+17*, PATC+28
PFN PAT+2~, PAT+10*, PAT+26, PAT+28
PIENS PAT+2~, PAT+26*, PAT+28, PAT+29, PAT+30, PAT+31, PAT+32, PAT+33, PAT+34
PLQUAL PAT+1~
PONUM HDR+1~, HDR+18*, HDR+46
PRCHK INCERX~
PRCHK("IEN" INCERX+32, INCERX+34
PRCHK("error" INCERX+36
PRCHK("success" INCERX+31, INCERX+35
PREF PAT+1~, PAT+12*, PAT+28
PREL PAT+2~, PAT+6*, PAT+30
PRELATE PAT+1~, PAT+13*
PUSHED PARSE+12~, PARSE+15*, PARSE+19, PARSE+28~, PARSE+31*, PARSE+35
READER PARSE+4~, PARSE+7
READER2 PARSE+4~, PARSE+8
REFREQ HDR+66~, HDR+69*, HDR+70
RES INCERX~, INCERX+5*, INCERX+6*, INCERX+15*, INCERX+18*, INCERX+64*
RTHID HDR+2~, HDR+28*, HDR+30, HDR+48
RTHIEN HDR+2~, HDR+29*, HDR+30*, HDR+49, HDR+65, HDR+77, HDR+78, HDR+80, HDR+81
RTMID HDR+1~, HDR+27*, HDR+44, HDR+49
RTMIEN HDR+2~
S PARSE+4~, PARSE+15, PARSE+18, PARSE+19, PARSE+21, PARSE+22, PARSE+23, PARSE+26~, PARSE+31, PARSE+34
, PARSE+35, PARSE+37, PARSE+38, PARSE+39, SPUSH~, SPOP~, SPEEK~, SPUT~, APUT~
S( SPUSH+1*, SPOP+2!, SPOP+3*, SPEEK+2, SPUT+4, SPUT+5, SPUT+7, APUT+4, APUT+5
S("" SPUSH+1, SPOP+1, SPEEK+1
SENTTIME HDR+1~, HDR+26*, HDR+55
SIEN PAT+2~, PAT+22*, PAT+32
SRCH PAT+2~, PATC+1~, PATC+20*, PATC+21, PATC+23
SRSID HDR+1~, HDR+20*, HDR+58
SRTID HDR+1~, HDR+21*, HDR+59
SSSID HDR+1~, HDR+23*, HDR+56
SSTID HDR+1~, HDR+24*, HDR+57
STATE PAT+1~, PAT+20*, PAT+22
STATION INCERX~
STATUS PARSE+4~, PARSE+7*, PARSE+9
STATUS2 PARSE+4~, PARSE+8*, PARSE+24, PARSE+25
STR SPUT+1~, SPUT+3*, SPUT+5*, SPUT+8*, SPUT+9*, SPUT+10, SPUT+11, SPUT+12, APUT+1~, APUT+3*
, APUT+5*, APUT+9*, APUT+10*, APUT+11, APUT+12, APUT+13
STREAM PARSE~, PARSE+5*, PARSE+7
STREAM2 PARSE~, PARSE+6*, PARSE+8
SUFF PAT+1~, PAT+11*, PAT+28
TO HDR+1~, HDR+10*, HDR+53
TQUAL HDR+1~, HDR+7*, HDR+54
TYPE PRESOLV~, PRESOLV+3, PRESOLV+4
U INCERX+2, INCERX+4, INCERX+5, INCERX+11, INCERX+13, INCERX+14, INCERX+18, PARSE+48, PARSE+59, HDR+16
, HDR+28, HDR+41
UPMTYPE HDR+2~, HDR+32*, HDR+37
VADAT INCERX~, INCERX+10, INCERX+11, INCERX+13, INCERX+14, INCERX+18
VAINST INCERX+1~, PARSE+1~, PARSE+44*, PARSE+45, PARSE+49, PARSE+60
VAL PRESOLV~, PRESOLV+3, PRESOLV+4, CONVDTTM~, CONVDTTM+2, CONVDTTM+3, CONVDTTM+8*, CONVDTTM+9
VAOI INCERX+1~, INCERX+24*, INCERX+25
VPATINST INCERX+1~, INCERX+25*, INCERX+26
X PARSE+12~, PARSE+22, PARSE+28~, PARSE+38, SPUSH~, SPUSH+1, SPOP~, SPOP+2*, SPOP+3, SPEEK~
, SPEEK+2*, SPUT~, SPUT+2*, SPUT+10, SPUT+11, APUT~, APUT+2*, APUT+11, APUT+12, CONVDTTM+1~
, CONVDTTM+7*
XML INCERX~, INCERX+3
XML2 INCERX~, INCERX+3
XOBERR PARSE+4~, PARSE+9
XOBERR2 PARSE+4~, PARSE+25
Y CONVDTTM+1~, CONVDTTM+7, CONVDTTM+8
ZIP PAT+1~, PAT+21*, PAT+22, PAT+33
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All