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 |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: PSOERXOA

Package: Outpatient Pharmacy

Routine: PSOERXOA


Information

PSOERXOA ;ALB/BWF - eRx parsing Utilities ; 11/14/2019 3:46pm

Source Information

Source file <PSOERXOA.m>

Call Graph

Call Graph

Call Graph Total: 18

Package Total Call Graph
Outpatient Pharmacy 11 INCERX^PSOERXI1  ($$EXTIME,$$RESTPOST)^PSOERXO1  (OALLERGY,OBENEFIT,OFAC,OOBSERVE)^PSOERXOB  PATIENT^PSOERXOC  OPHARM^PSOERXOD  PERSON^PSOERXOE  MEDDIS^PSOERXOF  MEDS^PSOERXOG  
($$CHREQ,$$GETCODES,MEDCODES)^PSOERXON  UPDSTAT^PSOERXU1  (CONVXML,DIRE)^PSOERXX1  
Kernel 3 $$NOW^XLFDT  ($$NAME,$$WHAT)^XUAF4  $$NPI^XUSNPI  
VA FileMan 2 ($$GET1,GETS)^DIQ  ^DIR  
List Manager 1 FULL^VALM1  
M XML Parser 1 $$SYMENC^MXMLUTL  

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

Package Total Caller Graph
Outpatient Pharmacy 2 PSOERCR0  PSOERXX1  

Entry Points

Name Comments DBIA/ICR reference
RENEWREQ(PSOIEN,RXIEN,ORNUM,PSOSITE,MESSID,REFREQ) ;Renewal request
RXCHREQ(PSOIEN,PSOSITE) ;RxChange request
MSG(GBL,HF) ; 2017071 MSG segment
HEADER(GBL,IEN) ; Adapted from PSOERXX2
BHF(GBL,HF) ;
BL(GBL,CNT,TAG,VAR) ;
C ;
RTYPE(GBL,RTYPE,HF) ;

External References

Name Field # of Occurrence
$$GET1^DIQ RENEWREQ+4, RXCHREQ+6, RXCHREQ+7, RXCHREQ+10, RXCHREQ+14, RXCHREQ+57, RXCHREQ+64, RXCHREQ+76
GETS^DIQ HEADER+5
^DIR RXCHREQ+4, RXCHREQ+67, RXCHREQ+68, RXCHREQ+69, RXCHREQ+83
$$SYMENC^MXMLUTL BL+2
INCERX^PSOERXI1 RXCHREQ+78
$$EXTIME^PSOERXO1 HEADER+29
$$RESTPOST^PSOERXO1 RXCHREQ+65
OALLERGY^PSOERXOB RXCHREQ+36
OBENEFIT^PSOERXOB RENEWREQ+14, RXCHREQ+37
OFAC^PSOERXOB RENEWREQ+15, RXCHREQ+38
OOBSERVE^PSOERXOB RENEWREQ+19, RXCHREQ+42
PATIENT^PSOERXOC RENEWREQ+16, RXCHREQ+39
OPHARM^PSOERXOD RENEWREQ+17, RXCHREQ+40
PERSON^PSOERXOE RENEWREQ+18, RENEWREQ+23, RENEWREQ+24, RXCHREQ+41, RXCHREQ+51
MEDDIS^PSOERXOF RENEWREQ+20
MEDS^PSOERXOG RENEWREQ+21, RENEWREQ+22, RXCHREQ+45, RXCHREQ+46
$$CHREQ^PSOERXON RXCHREQ+48
$$GETCODES^PSOERXON RXCHREQ+29
MEDCODES^PSOERXON RXCHREQ+33
UPDSTAT^PSOERXU1 RXCHREQ+85
CONVXML^PSOERXX1 HEADER+6
DIRE^PSOERXX1 RXCHREQ+13, RXCHREQ+15, RXCHREQ+30, RXCHREQ+62, RXCHREQ+84
FULL^VALM1 RXCHREQ+18
$$NOW^XLFDT HEADER+16
$$NAME^XUAF4 RXCHREQ+58
$$WHAT^XUAF4 RXCHREQ+59, RXCHREQ+61
$$NPI^XUSNPI RXCHREQ+60

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"RxChangeRequest cancelled."
  • Line Location: RXCHREQ+30
Function Call: WRITE
  • Prompt: !!,"NPI could not be established. Cannot create renewal request."
  • Line Location: RXCHREQ+62
Function Call: WRITE
  • Prompt: !,$P(PSSRET(0),U,2)
  • Line Location: RXCHREQ+67
Function Call: WRITE
  • Prompt: !,PSSRET("errorMessage")
  • Line Location: RXCHREQ+68
Function Call: WRITE
  • Prompt: !,"The eRx Processing hub did not return a Hub identification number."
  • Line Location: RXCHREQ+69
Function Call: WRITE
  • Prompt: !,"eRx Change Request sent."
  • Line Location: RXCHREQ+84
Routine Call
  • DIR
  • Line Location:
    • RXCHREQ+4
    • RXCHREQ+67
    • RXCHREQ+68
    • RXCHREQ+69
    • RXCHREQ+83

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^PS(52.49 - [#52.49] GET1^DIQ
^PS(59 - [#59] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(52.49 - [#52.49] RXCHREQ+9
^TMP("CREQ^PSOERXOA" RXCHREQ+8
^TMP("RENEWREQ^PSOERXOA" RENEWREQ+5
^XUSEC("PSDRPH" RXCHREQ+3
^XUSEC("PSO ERX ADV TECH" RXCHREQ+3

Label References

Name Line Occurrences
$$HEADER RENEWREQ+9, RXCHREQ+22
BHF RENEWREQ+11, RENEWREQ+26, RXCHREQ+24, RXCHREQ+53
BL HEADER+37, HEADER+55, HEADER+56, HEADER+57, HEADER+60, HEADER+61
C MSG+6, MSG+7, HEADER+32, HEADER+33, HEADER+34, HEADER+35, HEADER+38, HEADER+40, HEADER+43, HEADER+46
, HEADER+47, HEADER+49, HEADER+51, HEADER+52, HEADER+53, HEADER+54, HEADER+58, HEADER+62, BHF+2, BL+2
, RTYPE+2
MSG RENEWREQ+7, RENEWREQ+27, RXCHREQ+20, RXCHREQ+54
RTYPE RENEWREQ+13, RENEWREQ+25, RXCHREQ+26, RXCHREQ+52

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT RENEWREQ+2~, RENEWREQ+6*, RENEWREQ+14, RENEWREQ+15, RENEWREQ+16, RENEWREQ+17, RENEWREQ+18, RENEWREQ+19, RENEWREQ+20, RENEWREQ+21
, RENEWREQ+22, RENEWREQ+23, RENEWREQ+24, RXCHREQ+2~, RXCHREQ+17*, RXCHREQ+33, RXCHREQ+36, RXCHREQ+37, RXCHREQ+38, RXCHREQ+39
, RXCHREQ+40, RXCHREQ+41, RXCHREQ+42, RXCHREQ+45, RXCHREQ+46, RXCHREQ+48, RXCHREQ+51, MSG+6, MSG+7, HEADER+32
, HEADER+33, HEADER+34, HEADER+35, HEADER+37, HEADER+38, HEADER+40, HEADER+43, HEADER+46, HEADER+47, HEADER+49
, HEADER+51, HEADER+52, HEADER+53, HEADER+54, HEADER+55, HEADER+56, HEADER+57, HEADER+58, HEADER+60, HEADER+61
, HEADER+62, BHF+3, BL~, BL+2, C+1*, RTYPE+3
CODES RXCHREQ+2~, RXCHREQ+29, RXCHREQ+33
CODES("MRCODE" RXCHREQ+31
CODES("NOTE" RXCHREQ+32
CONT2 RXCHREQ+2~, RXCHREQ+48*, RXCHREQ+49
CONTINUE RXCHREQ+2~, RXCHREQ+29*, RXCHREQ+30
CRFOUND RXCHREQ+2~, RXCHREQ+10*, RXCHREQ+11
DIR RXCHREQ+4!, RXCHREQ+67!, RXCHREQ+68!, RXCHREQ+69!, RXCHREQ+83!
DIR(0 RXCHREQ+4*, RXCHREQ+67*, RXCHREQ+68*, RXCHREQ+69*, RXCHREQ+83*
DIV RXCHREQ+56~, RXCHREQ+63*, RXCHREQ+78
DUZ RXCHREQ+3, RXCHREQ+75
DUZ(2 HEADER+14
ERXHID HEADER+1~, HEADER+7*, HEADER+60
ERXIEN RENEWREQ+2~, RXCHREQ+6, RXCHREQ+7, RXCHREQ+14
ESTAT RXCHREQ+2~, RXCHREQ+7*, RXCHREQ+14
F HEADER+1~, HEADER+3*, HEADER+5, HEADER+7, HEADER+9, HEADER+10, HEADER+12, HEADER+13, HEADER+17, HEADER+19
, HEADER+21, HEADER+22, HEADER+24, HEADER+28
FRQUAL HEADER+1~, HEADER+12*, HEADER+31, HEADER+34
FRVAL HEADER+1~, HEADER+13*, HEADER+31, HEADER+34
FUPRES RENEWREQ+2~
GBL RENEWREQ+2~, RENEWREQ+5*, RENEWREQ+7, RENEWREQ+9, RENEWREQ+11, RENEWREQ+13, RENEWREQ+14, RENEWREQ+15, RENEWREQ+16, RENEWREQ+17
, RENEWREQ+18, RENEWREQ+19, RENEWREQ+20, RENEWREQ+21, RENEWREQ+22, RENEWREQ+23, RENEWREQ+24, RENEWREQ+25, RENEWREQ+26, RENEWREQ+27
, RENEWREQ+28, RXCHREQ+2~, RXCHREQ+8*, RXCHREQ+20, RXCHREQ+22, RXCHREQ+24, RXCHREQ+26, RXCHREQ+33, RXCHREQ+36, RXCHREQ+37
, RXCHREQ+38, RXCHREQ+39, RXCHREQ+40, RXCHREQ+41, RXCHREQ+42, RXCHREQ+45, RXCHREQ+46, RXCHREQ+48, RXCHREQ+49, RXCHREQ+51
, RXCHREQ+52, RXCHREQ+53, RXCHREQ+54, RXCHREQ+65, RXCHREQ+73, RXCHREQ+74, RXCHREQ+86, MSG~, MSG+6, MSG+7
, HEADER~, HEADER+32, HEADER+33, HEADER+34, HEADER+35, HEADER+37, HEADER+38, HEADER+40, HEADER+43, HEADER+46
, HEADER+47, HEADER+49, HEADER+51, HEADER+52, HEADER+53, HEADER+54, HEADER+55, HEADER+56, HEADER+57, HEADER+58
, HEADER+60, HEADER+61, HEADER+62, BHF~, BHF+3, BL~, BL+2, RTYPE~, RTYPE+3
HF MSG~, MSG+2, MSG+3, MSG+7, BHF~, BHF+1, BHF+3, RTYPE~, RTYPE+1, RTYPE+3
HUBID RXCHREQ+56~, RXCHREQ+69*, RXCHREQ+71*, RXCHREQ+77*, RXCHREQ+78
I RXCHREQ+72~, RXCHREQ+73*, RXCHREQ+74
IEN HEADER~, HEADER+4, HEADER+16
IENS HEADER+1~, HEADER+4*, HEADER+5, HEADER+7, HEADER+9, HEADER+10, HEADER+12, HEADER+13, HEADER+17, HEADER+19
, HEADER+21, HEADER+22, HEADER+24, HEADER+28
INNAME RXCHREQ+56~, RXCHREQ+58*, RXCHREQ+63
INST HEADER+1~, HEADER+14*, HEADER+16
MEDREQ RXCHREQ+2~, RXCHREQ+48
MEDREQ(0 RXCHREQ+50
MESSID RENEWREQ~, RENEWREQ+9*, RXCHREQ+22*
MID HEADER+1~, HEADER+16*, HEADER+31, HEADER+35, HEADER+63
MTYPE RENEWREQ+2~, RENEWREQ+4*, RENEWREQ+21, RENEWREQ+22
NPI RXCHREQ+56~, RXCHREQ+60*, RXCHREQ+61*, RXCHREQ+62, RXCHREQ+63
NPIINST RXCHREQ+56~, RXCHREQ+57*, RXCHREQ+58, RXCHREQ+59, RXCHREQ+60, RXCHREQ+61
ORNUM RENEWREQ~, RENEWREQ+20
PATIEN RENEWREQ+2~
PON HEADER+1~, HEADER+19*, HEADER+61
PRESIEN RENEWREQ+2~
PSDAT HEADER+1~
PSDAT( HEADER+7, HEADER+9, HEADER+10, HEADER+12, HEADER+13, HEADER+17, HEADER+19, HEADER+21, HEADER+22, HEADER+24
, HEADER+28
PSOIEN RENEWREQ~, RENEWREQ+3, RENEWREQ+4, RENEWREQ+9, RENEWREQ+14, RENEWREQ+15, RENEWREQ+16, RENEWREQ+17, RENEWREQ+18, RENEWREQ+19
, RENEWREQ+20, RENEWREQ+21, RENEWREQ+22, RENEWREQ+23, RENEWREQ+24, RXCHREQ~, RXCHREQ+5, RXCHREQ+9, RXCHREQ+22, RXCHREQ+29
, RXCHREQ+36, RXCHREQ+37, RXCHREQ+38, RXCHREQ+39, RXCHREQ+40, RXCHREQ+41, RXCHREQ+42, RXCHREQ+45, RXCHREQ+46, RXCHREQ+48
, RXCHREQ+51, RXCHREQ+64, RXCHREQ+76, RXCHREQ+85
PSOIENS RENEWREQ+2~, RXCHREQ+2~
PSOSITE RENEWREQ~, RENEWREQ+16, RENEWREQ+17, RENEWREQ+18, RENEWREQ+23, RENEWREQ+24, RXCHREQ~, RXCHREQ+39, RXCHREQ+40, RXCHREQ+41
, RXCHREQ+51, RXCHREQ+57
PSSRET RXCHREQ+56~, RXCHREQ+65*
PSSRET("errorMessage" RXCHREQ+68
PSSRET("outboundMsgId" RXCHREQ+69
PSSRET(0 RXCHREQ+67
REFREQ RENEWREQ~, RENEWREQ+20
REQCODE RXCHREQ+2~, RXCHREQ+31*, RXCHREQ+32, RXCHREQ+48, RXCHREQ+50
REQNOTE RXCHREQ+2~, RXCHREQ+32*, RXCHREQ+45, RXCHREQ+46
REQREF HEADER+1~, HEADER+22*, HEADER+23*
RES RXCHREQ+72~, RXCHREQ+78, RXCHREQ+79, RXCHREQ+82
RESVAL RENEWREQ+2~, RENEWREQ+4*
RETREC HEADER+1~, HEADER+21*, HEADER+23*
RSECID HEADER+1~, HEADER+28*
RTERTID HEADER+1~, HEADER+30*, HEADER+39, HEADER+48, HEADER+51
RTHID RXCHREQ+2~, RXCHREQ+76*, RXCHREQ+77
RTMID HEADER+1~, HEADER+17*, HEADER+37
RTYPE RTYPE~, RTYPE+3
RXIEN RENEWREQ~, RENEWREQ+20, RXCHREQ+64*
S2017 RXCHREQ+2~, RXCHREQ+6*, RXCHREQ+14
SENTTIME HEADER+2~, HEADER+29*, HEADER+31, HEADER+38
SSECID HEADER+1~, HEADER+24*
STATION RXCHREQ+56~, RXCHREQ+59*, RXCHREQ+78
STERTID HEADER+2~, HEADER+27*, HEADER+39, HEADER+42, HEADER+46
STIME HEADER+2~
SUPIEN RENEWREQ+2~
TAG BL~, BL+2
TOQUAL HEADER+2~, HEADER+9*, HEADER+31, HEADER+33
TOVAL HEADER+2~, HEADER+10*, HEADER+31, HEADER+33
TXT HEADER+2~
U RXCHREQ+60, RXCHREQ+63, RXCHREQ+67, RXCHREQ+77, RXCHREQ+79, RXCHREQ+82
VADAT RXCHREQ+56~, RXCHREQ+75*, RXCHREQ+78
>> VALMBCK RXCHREQ+16*, RXCHREQ+19*
VAR BL~, BL+1, BL+2
X RXCHREQ+2~, RXCHREQ+9*, RXCHREQ+10
XL1 MSG+1~, MSG+4*, MSG+6
XL2 MSG+1~, MSG+5*, MSG+6
XXL1 RXCHREQ+72~, RXCHREQ+74*, RXCHREQ+78
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All