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

Package: Outpatient Pharmacy

Routine: PSOERXO1


Information

PSOERXO1 ;ALB/BWF - eRx Outbound Error messages ; 8/3/2016 5:14pm

Source Information

Source file <PSOERXO1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Outpatient Pharmacy 4 $$PRESOLV^PSOERXA1  ($$ERRSEQ,FILERR,UPDSTAT)^PSOERXU1  ($$GETREQ,$$RESOLV)^PSOERXU2  $$FINDNRX^PSOERXU6  
Kernel 2 UNWIND^%ZTER  ($$FMTE,$$FMTHL7,$$NOW)^XLFDT  
VA FileMan 2 UPDATE^DIE  ($$GET1,GETS)^DIQ  
M XML Parser 1 $$SYMENC^MXMLUTL  
Web Services Client 1 ($$GETREST,$$POST)^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: 9

Package Total Caller Graph
Outpatient Pharmacy 9 PSOERX1B  PSOERXA5  PSOERXU4  PSOERXU5  PSOERXU6  PSOERXX1  PSOERXX2  PSOERXX3  
PSOERXX4  

Entry Points

Name Comments DBIA/ICR reference
MSGERR() ;check errors from XML return
; note - not currently in use
C ;
POST(ERXIEN,PSSOUT,ECODE,DESCODE,DESC,RXVERIFY,INST,OVRESP) ;
GETREADR(RESTOBJ) ; set up and return a Textreader object to be used to parse the XML stream
; input: RESTOBJ- REST object
; output: returns a %XML.TextReader object.
EXTIME(IDTTM) ;
RESTPOST(PSSOUT,GBL) ;
PRSSTRM(RESTOBJ,PSSOUT) ; parse the XML into token
; input: RESTOBJ--a rest object
; output: PSSOUT - array containing the list of route names for the given drug.
ERRHNDL(DFN) ;handle any errors that may get thrown in call to GET^ORRDI1
GETATTS(AREADER) ; get attributes
; input: AREADER-%XML.TextReader object
; Output: returns the attributes
PARSXML(AREADER,PSSOUT) ; extract the list of routes from XML results
; input: AREADER-%XML.TextReader object.
; output: PSSOUT - array containing the list of route names for the given drug.
GETTOKEN(READER) ; get a token at a time
; input: AREADER-%XML.TextReader object
; Output: returns a token
CMFILE(HUBID,MID,RTMID,TOQUAL,TO,FRQUAL,FROM,RXREFN,PON,RESPONSE,RESTYPE,MTYPE,INST) ;
POSTRES(AREADER,PSSOUT,ATOKEN) ; get value of success/failure
POSTERR(AREADER,PSSOUT) ; get error message

External References

Name Field # of Occurrence
UNWIND^%ZTER ERRHNDL+2
UPDATE^DIE CMFILE+20, CMFILE+28, CMFILE+30
$$GET1^DIQ POST+48, POST+49, POST+51
GETS^DIQ POST+11
$$SYMENC^MXMLUTL POST+28
$$PRESOLV^PSOERXA1 CMFILE+9
$$ERRSEQ^PSOERXU1 POST+65
FILERR^PSOERXU1 POST+66
UPDSTAT^PSOERXU1 POST+64
$$GETREQ^PSOERXU2 CMFILE+22
$$RESOLV^PSOERXU2 POST+9
$$FINDNRX^PSOERXU6 CMFILE+23
$$FMTE^XLFDT POST+48, POST+51
$$FMTHL7^XLFDT EXTIME+3, EXTIME+5
$$NOW^XLFDT POST+14, EXTIME+3, EXTIME+5, CMFILE+6
$$GETREST^XOBWLIB RESTPOST+13
$$POST^XOBWLIB RESTPOST+27

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PSRX - [#52] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.49 - [#52.49] CMFILE+27, CMFILE+29
^PSRX - [#52] POST+50
^TMP( RESTPOST+14!, RESTPOST+24!, RESTPOST+28!
^TMP("POST^PSOERXO1" POST+6
^TMP($J MSGERR+6, MSGERR+8, MSGERR+9, ERRHNDL+1!, RESTPOST+5!
^XTMP("ORRDI" ERRHNDL+1!

Label References

Name Line Occurrences
$$EXTIME POST+31
$$GETATTS GETTOKEN+32
$$GETREADR PRSSTRM+9
$$GETTOKEN PARSXML+6, POSTRES+4, POSTERR+3
C POST+29, POST+30, POST+31, POST+32, POST+33, POST+34, POST+38, POST+55, POST+56, POST+57
, POST+58, POST+73, POST+74, POST+75, POST+76
CMFILE POST+70
PARSXML PRSSTRM+10
POSTERR PARSXML+9
POSTRES PARSXML+10, PARSXML+11
PRSSTRM RESTPOST+39
PSS RESTPOST+22
RESTPOST POST+39, POST+59, POST+77

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALLTOKEN GETTOKEN+24~, GETTOKEN+25*, GETTOKEN+44*, GETTOKEN+45
AREADER PRSSTRM+8~, PRSSTRM+9*, PRSSTRM+10, PARSXML~, PARSXML+6, PARSXML+9, PARSXML+10, PARSXML+11, POSTRES~, POSTRES+4
, POSTERR~, POSTERR+3, GETREADR+4~, GETREADR+5*, GETREADR+6, GETREADR+7, GETATTS~
ATOKEN PARSXML+4~, PARSXML+6*, PARSXML+7, PARSXML+8*, PARSXML+9, PARSXML+10, PARSXML+11, POSTRES~, POSTRES+2, POSTRES+7
ATTRB GETATTS+4~, GETATTS+8*
C POST+1~, POST+3*, POST+29, POST+30, POST+31, POST+32, POST+33, POST+34, POST+38, POST+40!
, POST+55, POST+56, POST+57, POST+58, POST+71!, POST+73, POST+74, POST+75, POST+76, POST+78!
, C+1*
CREQ CMFILE+1~, CMFILE+22*, CMFILE+23, CMFILE+25
DD EXTIME+1~, EXTIME+7*, EXTIME+13
DESC POST~, POST+75
DESCODE POST~, POST+74
DFN ERRHNDL~, ERRHNDL+1
DTTM EXTIME+1~, EXTIME+3*, EXTIME+4, EXTIME+6*, EXTIME+7
DUZ POST+14, CMFILE+17
ECODE POST~, POST+73
ERRSEQ POST+2~, POST+65*, POST+66
ERXIEN POST~, POST+7, POST+8, POST+9, POST+14, POST+64, POST+65
ERXIENS POST+2~, POST+8*, POST+11, POST+12, POST+16, POST+18, POST+19, POST+21, POST+22, POST+24
, POST+25, POST+66
EXDT EXTIME+1~, EXTIME+13*, EXTIME+14
F POST+2~, POST+3*, POST+11, POST+12, POST+16, POST+18, POST+19, POST+21, POST+22, POST+24
, POST+25, CMFILE+1~, CMFILE+2*, CMFILE+4, CMFILE+5, CMFILE+6, CMFILE+7, CMFILE+8, CMFILE+9, CMFILE+10
, CMFILE+11, CMFILE+12, CMFILE+13, CMFILE+14, CMFILE+15, CMFILE+16, CMFILE+17, CMFILE+18, CMFILE+19
FDA CMFILE+1~, CMFILE+20!, CMFILE+28!, CMFILE+30!
FDA( CMFILE+4*, CMFILE+5*, CMFILE+6*, CMFILE+7*, CMFILE+8*, CMFILE+9*, CMFILE+10*, CMFILE+11*, CMFILE+12*, CMFILE+13*
, CMFILE+14*, CMFILE+15*, CMFILE+16*, CMFILE+17*, CMFILE+18*, CMFILE+19*, CMFILE+28*, CMFILE+30*
FFILL POST+1~, POST+48*, POST+52
FROM POST+2~, POST+18*, POST+30, POST+70, CMFILE~, CMFILE+11
FRQUAL POST+2~, POST+19*, POST+30, POST+70, CMFILE~, CMFILE+12
GBL POST+1~, POST+6*, POST+29, POST+30, POST+31, POST+32, POST+33, POST+34, POST+38, POST+39
, POST+40, POST+55, POST+56, POST+57, POST+58, POST+59, POST+71, POST+73, POST+74, POST+75
, POST+76, POST+77, POST+78, RESTPOST~, RESTPOST+19, RESTPOST+20
GDAT RESTPOST+2~, RESTPOST+20*, RESTPOST+22
GLOOP RESTPOST+2~, RESTPOST+19*, RESTPOST+20
HUBID POST+62*, POST+68*, POST+70, CMFILE~, CMFILE+4
I MSGERR+7~*, MSGERR+8, MSGERR+9, POST+50*, GETATTS+4~, GETATTS+7*, GETATTS+8, EXTIME+1~, EXTIME+10*
IDTTM EXTIME~, EXTIME+2*, EXTIME+3
INDEX GETATTS+4~, GETATTS+6*, GETATTS+7
INST POST~, POST+5*, POST+12*, POST+14, POST+70, CMFILE~, CMFILE+7, CMFILE+15
J MSGERR+8~*, MSGERR+9
LDDATE POST+2~, POST+51*, POST+52
MID POST+2~, POST+14*, POST+30, POST+70, CMFILE~, CMFILE+16
MM EXTIME+1~, EXTIME+7*, EXTIME+13
MTYPE CMFILE~, CMFILE+8
NERXIEN POST+2~, CMFILE+21*, CMFILE+22, CMFILE+27, CMFILE+28, CMFILE+29, CMFILE+30
NEWRX CMFILE+1~, CMFILE+23*, CMFILE+25*, CMFILE+27, CMFILE+28, CMFILE+29, CMFILE+30
NEWRXIEN POST+1~, POST+9*
NODETYPE PARSXML+4~, PARSXML+8*, GETTOKEN+24~, GETTOKEN+25*, GETTOKEN+31*, GETTOKEN+33*, GETTOKEN+34, GETTOKEN+35, GETTOKEN+36, GETTOKEN+37
, GETTOKEN+38, GETTOKEN+39, GETTOKEN+40, GETTOKEN+41, GETTOKEN+44
NRXIEN CMFILE+1~
NRXIEN( CMFILE+21
NRXIEN(0 CMFILE+21
ORRET MSGERR+5~*, MSGERR+10*, MSGERR+11
ORSTR MSGERR+9~*, MSGERR+10
OVRESP POST~, POST+46, POST+47
PON POST+1~, POST+24*, POST+33, POST+70, CMFILE~
PSODAT POST+2~
PSODAT( POST+12, POST+16, POST+18, POST+19, POST+21, POST+22, POST+24, POST+25
PSREQ POST+1~, RESTPOST+1~, RESTPOST+2~
PSS POST+1~, RESTPOST+2~
PSS("parameterName" RESTPOST+9*
PSS("path" RESTPOST+8*, RESTPOST+27
PSS("postResult" RESTPOST+27*, RESTPOST+33, RESTPOST+39
PSS("restObject" RESTPOST+13*, RESTPOST+18*, RESTPOST+27, RESTPOST+39
PSS("result" RESTPOST+35*, RESTPOST+39*, RESTPOST+41
PSS("server" RESTPOST+6*, RESTPOST+13
PSS("webserviceName" RESTPOST+7*, RESTPOST+13
PSSERR POST+1~, RESTPOST+2~, RESTPOST+27
PSSFDBRT POST+1~, POST+4*
PSSOUT POST~, POST+39, POST+59, POST+77, RESTPOST~, RESTPOST+14, RESTPOST+24, RESTPOST+28, RESTPOST+39, PRSSTRM~
, PRSSTRM+10, PARSXML~, PARSXML+9, PARSXML+10, PARSXML+11, POSTRES~, POSTERR~
PSSOUT( POSTRES+7*
PSSOUT("errorMessage" POST+61*, POST+62*, POST+63, POST+66, POSTERR+6*
PSSOUT("outboundMsgId" POST+62
PSSOUT(0 POST+12*, POST+61, RESTPOST+14*, RESTPOST+24*, RESTPOST+28*, RESTPOST+34*, RESTPOST+39*
QPARAM POSTRES+1~, POSTRES+2*, POSTRES+3, POSTRES+6
READER GETTOKEN~, GETTOKEN+32
REFL POST+1~, POST+50*, POST+52
RESPONSE POST+44~, POST+45*, POST+46*, POST+52*, POST+56, POST+57, POST+70, CMFILE~, CMFILE+19
RESTAG POST+44~, POST+54*, POST+55, POST+58
RESTOBJ PRSSTRM~, PRSSTRM+9, GETREADR~
RESTYP POST+44~, POST+53*, POST+56, POST+57, POST+70
RESTYPE CMFILE~, CMFILE+18
RTMID POST+2~, POST+16*, POST+31, POST+70, CMFILE~, CMFILE+5
RXIEN POST+2~, POST+47, POST+48, POST+49, POST+50, POST+51
RXREFN POST+1~, POST+25*, POST+32, POST+70, CMFILE~, CMFILE+10
RXVERIFY POST~, POST+37, POST+43, POST+45, POST+53, POST+54
SUBTOKEN GETTOKEN+24~, GETTOKEN+25*, GETATTS+4~, GETATTS+5*, GETATTS+9*, GETATTS+10, GETATTS+11
TIME EXTIME+1~, EXTIME+7*, EXTIME+8, EXTIME+9, EXTIME+11*, EXTIME+13
TLEN EXTIME+1~, EXTIME+9*, EXTIME+10
TO POST+2~, POST+21*, POST+30, POST+70, CMFILE~, CMFILE+13
TOKEN POSTRES+1~, POSTRES+3, POSTRES+4*, POSTRES+5*, POSTRES+6, POSTRES+7, POSTERR+1~, POSTERR+2, POSTERR+3*, POSTERR+4*
, POSTERR+5, POSTERR+6, GETTOKEN+24~, GETTOKEN+25*, GETTOKEN+32*, GETTOKEN+33, GETTOKEN+34*, GETTOKEN+35*, GETTOKEN+36*, GETTOKEN+37*
, GETTOKEN+38*, GETTOKEN+39*, GETTOKEN+40*, GETTOKEN+41*, GETTOKEN+42*, GETTOKEN+44, GETATTS+4~, GETATTS+5*, GETATTS+10*, GETATTS+11*
, GETATTS+12
TOQUAL POST+2~, POST+22*, POST+30, POST+70, CMFILE~, CMFILE+14
TOTREFL POST+1~, POST+49*, POST+50
TYPE POSTRES+1~, POSTRES+5*, POSTERR+1~, POSTERR+4*
TZONE EXTIME+1~, EXTIME+4*, EXTIME+5*, EXTIME+6*, EXTIME+13
U POST+12, POST+61, RESTPOST+34
VAR POST+1~, POST+27*, POST+28
YY EXTIME+1~, EXTIME+7*, EXTIME+13
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