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

Package: Outpatient Pharmacy

Routine: PSO7P289


Information

PSO7P289 ;CMF - PSO*7*289 Convert file 52.25/field 24 to pointer ;06/09/2008

Source Information

Source file <PSO7P289.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Kernel 5 ^%ZTLOAD  ($$FMADD,$$FMTE,$$FMTH,$$HTE,$$NOW)^XLFDT  $$RJ^XLFSTR  (BMES,MES)^XPDUTL  RESCH^XUTMOPT  
VA FileMan 3 ^DIE  $$GET1^DIQ  EN^DIU2  
MailMan 1 ^XMD  

Entry Points

Name Comments DBIA/ICR reference
QUIT ;
STATUS ;show status of job running
STOP ;stop job command
ST() ;status
INITXTMP(NAMSP,TITLE,LIFE) ;create ^Xtmp according to SAC std
NAMSP() ;
EN ;
CONVERT ;
RESUME ;
REJECT ;
NOTIFY ; build mail message
RESTORE ; restore old set of code values (backstop)
SETD0(VALUE) ;;
GETD0() ;;
SETD1(VALUE) ;;
GETD1() ;
SETCWS ;set cross-walk values
SETCW(VALUE) ;;
GETCW(VALUE) ;get cross-walk value
SETSTOP(VALUE) ;;
GETSTOP() ;
DESP ;delete ePharmacy site parameter file if it exists

External References

Name Field # of Occurrence
^%ZTLOAD PSO7P289+59
^DIE RESUME+13, RESTORE+7
$$GET1^DIQ RESUME+12, NOTIFY+36, NOTIFY+42
EN^DIU2 DESP+7
$$FMADD^XLFDT INITXTMP+3, REJECT+2
$$FMTE^XLFDT PSO7P289+20, STATUS+4, STATUS+9
$$FMTH^XLFDT PSO7P289+39
$$HTE^XLFDT PSO7P289+42
$$NOW^XLFDT PSO7P289+39, PSO7P289+46, PSO7P289+49, PSO7P289+51, INITXTMP+2, CONVERT+7, RESUME+16, REJECT+2, SETSTOP+2
$$RJ^XLFSTR NOTIFY+14, NOTIFY+15, NOTIFY+16, NOTIFY+17, NOTIFY+18, NOTIFY+19, NOTIFY+20, NOTIFY+21, NOTIFY+22, NOTIFY+23
NOTIFY+24, NOTIFY+25, NOTIFY+30, NOTIFY+31, NOTIFY+43
^XMD NOTIFY+44
BMES^XPDUTL PSO7P289+11, PSO7P289+19, PSO7P289+40, PSO7P289+44, PSO7P289+62, PSO7P289+63
MES^XPDUTL PSO7P289+12, PSO7P289+20, PSO7P289+21, PSO7P289+22, PSO7P289+23, PSO7P289+24, PSO7P289+25, PSO7P289+41, PSO7P289+42, PSO7P289+43
PSO7P289+61, DESP+4, DESP+5, DESP+6, DESP+8
RESCH^XUTMOPT REJECT+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Halting..."
  • Line Location: PSO7P289+35
Function Call: WRITE
  • Prompt: !,"Currently processing:"
  • Line Location: STATUS+2
Function Call: WRITE
  • Prompt: !,"Completed on ",$$FMTE^XLFDT($P($G(^XTMP($$NAMSP,0,"STATUS")),"^",2)),!
  • Line Location: STATUS+4
Function Call: WRITE
  • Prompt: !?5,"Rx being processed > ",$$GETD0
  • Line Location: STATUS+5
Function Call: WRITE
  • Prompt: !?5," Reject being processed > ",$$GETD1
  • Line Location: STATUS+6
Function Call: WRITE
  • Prompt: !,"Completed on ",$$FMTE^XLFDT($P($G(^XTMP($$NAMSP,0,"STATUS")),"^",2)),!
  • Line Location: STATUS+9
Function Call: WRITE
  • Prompt: !,"CLARIFICATION CODE CONVERSION Job - set to STOP Soon"
  • Line Location: STOP+2
Function Call: WRITE
  • Prompt: !!,"Check TASKMAN or Status to ensure it has stopped..."
  • Line Location: STOP+3
Function Call: WRITE
  • Prompt: !," (D STATUS^PSO7P289)"
  • Line Location: STOP+4
Function Call: WRITE
  • Prompt: !,"*** NOT CURRENTLY RUNNING! ***",!
  • Line Location: ST+3
Routine Call
  • DIE
  • Line Location:
    • RESUME+13
    • RESTORE+7

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^BPS(9002313.25 - [#9002313.25] SETCW+2
^PS(52.86 - [#52.86] DESP+3
^PSRX - [#52] RESUME+3, RESUME+7, RESUME+9
^TMP($J NOTIFY+6!, NOTIFY+7*, NOTIFY+8*, NOTIFY+9*, NOTIFY+10*, NOTIFY+11*, NOTIFY+12*, NOTIFY+13*, NOTIFY+14*, NOTIFY+15*
NOTIFY+16*, NOTIFY+17*, NOTIFY+18*, NOTIFY+19*, NOTIFY+20*, NOTIFY+21*, NOTIFY+22*, NOTIFY+23*, NOTIFY+24*, NOTIFY+25*
NOTIFY+26*, NOTIFY+27*, NOTIFY+28*, NOTIFY+29*, NOTIFY+30*, NOTIFY+31*, NOTIFY+32*, NOTIFY+43*, NOTIFY+45!
^XTMP( PSO7P289+10, PSO7P289+15, PSO7P289+18, PSO7P289+20, PSO7P289+46*, PSO7P289+48, PSO7P289+49*, PSO7P289+51*, PSO7P289+58, QUIT+1
STATUS+3, STATUS+4, STATUS+8, STATUS+9, ST+1, ST+2, INITXTMP+4*, CONVERT+1, CONVERT+2, CONVERT+7*
CONVERT+8*, CONVERT+9*, RESUME+14*, RESUME+16*, NOTIFY+5, NOTIFY+35, NOTIFY+38, NOTIFY+40, NOTIFY+41, RESTORE+3
RESTORE+5, RESTORE+6, RESTORE+8!, SETD0+1*, GETD0+1, SETD1+1*, GETD1+1, SETCW+3*, GETCW+2, SETSTOP+1*
, SETSTOP+2*, GETSTOP+1

Label References

Name Line Occurrences
$$GETCW RESUME+11
$$GETD0 STATUS+5, RESUME+2
$$GETD1 STATUS+6, RESUME+6
$$GETSTOP RESUME+3, RESUME+15
$$NAMSP PSO7P289+5, STATUS+3, STATUS+4, STATUS+8, STATUS+9, ST+1, ST+2, CONVERT+1, CONVERT+2, CONVERT+7
CONVERT+8, CONVERT+9, RESUME+14, RESUME+16, NOTIFY+5, NOTIFY+35, NOTIFY+38, NOTIFY+40, NOTIFY+41, RESTORE+3
RESTORE+5, RESTORE+6, RESTORE+8, SETD0+1, GETD0+1, SETD1+1, GETD1+1, SETCW+3, GETCW+2, SETSTOP+1
, SETSTOP+2, GETSTOP+1
$$ST STATUS+1, STOP+1
CONVERT EN+1
INITXTMP PSO7P289+15
NOTIFY RESUME+17
QUIT PSO7P289+13, PSO7P289+26, PSO7P289+44
REJECT EN+2
SETCW SETCWS+13
SETCWS CONVERT+6
SETD0 CONVERT+3, RESUME+4
SETD1 CONVERT+4, RESUME+5, RESUME+8
SETSTOP STOP+1, CONVERT+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BEGDT INITXTMP+1~, INITXTMP+2*, INITXTMP+3, INITXTMP+4
DA RESUME+1~, RESUME+13*, RESTORE+1~, RESTORE+7*
DA(1 RESUME+13*, RESTORE+7*
DIE RESUME+1~, RESUME+13*, RESTORE+1~, RESTORE+7*
>> DILOCKTM PSO7P289+10
DIU DESP+7*!
DIU(0 DESP+7*
DR RESUME+1~, RESUME+13*, RESTORE+1~, RESTORE+7*
DTOUT PSO7P289+4~
DUOUT PSO7P289+4~
DUZ PSO7P289+7
ERR REJECT+1~, REJECT+2
I NOTIFY+1~, NOTIFY+33*, NOTIFY+39*, NOTIFY+43, SETCWS+12~, SETCWS+13*
JOBDUZ PSO7P289+4~, PSO7P289+7*, CONVERT+8
JOBN PSO7P289+4~, PSO7P289+6*, PSO7P289+11, PSO7P289+15, PSO7P289+41, PSO7P289+44, PSO7P289+55, CONVERT+9
LIFE INITXTMP~, INITXTMP+3
NAMSP PSO7P289+4~, PSO7P289+5*, PSO7P289+10, PSO7P289+15, PSO7P289+18, PSO7P289+20, PSO7P289+22, PSO7P289+46, PSO7P289+48, PSO7P289+49
PSO7P289+51, PSO7P289+58, QUIT+1, INITXTMP~, INITXTMP+4
NEWCODE RESUME+1~, RESUME+11*, RESUME+12, RESUME+14
NEWCODEE RESUME+1~, RESUME+12*, RESUME+13
NEWDESC NOTIFY+1~, NOTIFY+42*, NOTIFY+43
NEWVALUE NOTIFY+1~, NOTIFY+41*, NOTIFY+42, NOTIFY+43
OLDCODE RESUME+1~, RESUME+9*, RESUME+10, RESUME+11, RESUME+14
OLDVALUE NOTIFY+1~, NOTIFY+40*, NOTIFY+43, RESTORE+1~, RESTORE+6*, RESTORE+7
PATCH PSO7P289+4~, PSO7P289+8*, PSO7P289+15, PSO7P289+55
POINTER SETCW+1~, SETCW+2*, SETCW+3
PURGDT INITXTMP+1~, INITXTMP+3*, INITXTMP+4
QUIT PSO7P289+4~, PSO7P289+16*
REJIEN RESUME+1~, RESUME+6*, RESUME+7*, RESUME+8, RESUME+9, RESUME+13, RESUME+14, NOTIFY+1~, NOTIFY+37*, NOTIFY+38*
NOTIFY+40, NOTIFY+41, NOTIFY+43, RESTORE+1~, RESTORE+4*, RESTORE+5*, RESTORE+6, RESTORE+7
RX NOTIFY+1~, NOTIFY+36*, NOTIFY+43
RXIEN RESUME+1~, RESUME+2*, RESUME+3*, RESUME+4, RESUME+7, RESUME+9, RESUME+13, RESUME+14, NOTIFY+1~, NOTIFY+34*
NOTIFY+35*, NOTIFY+36, NOTIFY+38, NOTIFY+40, NOTIFY+41, NOTIFY+43, RESTORE+1~, RESTORE+2*, RESTORE+3*, RESTORE+5
RESTORE+6, RESTORE+7
TITLE INITXTMP~, INITXTMP+4
U CONVERT+1, CONVERT+2, CONVERT+7, RESUME+9, RESUME+14, RESUME+16, SETSTOP+2
VALUE SETD0~, SETD0+1, SETD1~, SETD1+1, SETCW~, SETCW+2, SETCW+3, GETCW~, GETCW+1, GETCW+2
, SETSTOP~, SETSTOP+1, SETSTOP+2
XMDUZ NOTIFY+1~, NOTIFY+3*
XMSUB NOTIFY+1~, NOTIFY+2*
XMTEXT NOTIFY+1~, NOTIFY+4*
XMY NOTIFY+1~
XMY( NOTIFY+5*
Y PSO7P289+4~
ZTDESC PSO7P289+4~, PSO7P289+55*
ZTDTH PSO7P289+4~, PSO7P289+39*, PSO7P289+42, PSO7P289+44
ZTIO PSO7P289+4~, PSO7P289+54*
ZTQUEUED PSO7P289+4~
ZTREQ PSO7P289+4~
ZTRTN PSO7P289+4~, PSO7P289+53*
ZTSAVE PSO7P289+4~
ZTSAVE("JOBDUZ" PSO7P289+57*
ZTSAVE("JOBN" PSO7P289+56*
ZTSK PSO7P289+4~, PSO7P289+60, PSO7P289+61

Marked Items

Name Field # of Occurrence
$T( NAMSP+1
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All