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

Package: National Drug File

Routine: PSNFDAMG


Information

PSNFDAMG ;BIR/DMA - On-Demand FDA Med Guide Display ; 14 Oct 2015 8:26 AM

Source Information

Source file <PSNFDAMG.m>

Call Graph

Call Graph

Call Graph Total: 7

Package Total Call Graph
Kernel 2 ($$CONVERT,$$VERSION)^XLFIPV  $$LOW^XLFSTR  
VA FileMan 2 $$GET1^DIQ  ^DIR  
List Manager 1 PAUSE^VALM1  
National Drug File 1 $$FDAMG^PSNAPIS  
Toolkit 1 $$GETURL^XTHC10  

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
National Drug File 2 PSN FDA MED GUIDE PRINT QUEUE  PSNMEDG  
Outpatient Pharmacy 1 PSOFDAMG  

Entry Points

Name Comments DBIA/ICR reference
EN(VAPRDIEN) ; Entry point for FDA Med Guide On-Demand Printing
  • ICR #5517
    • Status: Active
    • Usage: Private
    PAUSE ;
    HELP(MGURL) ; Help Text
    PRTURL(FDAMGURL) ; Prints the FDA Med Guide URL

    External References

    Name Field # of Occurrence
    $$GET1^DIQ EN+13
    ^DIR PAUSE+3
    $$FDAMG^PSNAPIS EN+2
    PAUSE^VALM1 HELP+16
    $$CONVERT^XLFIPV EN+18
    $$VERSION^XLFIPV EN+18
    $$LOW^XLFSTR PRTURL+1
    $$GETURL^XTHC10 EN+24

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!,"There is no FDA Medication Guide associated with this medication.",!
    • Line Location: EN+4
    Function Call: WRITE
    • Prompt: !!,"The following URL provides the link to the FDA Medication Guide associated"
    • Line Location: EN+7
    Function Call: WRITE
    • Prompt: !,"with this medication. Thin Client users: copy/paste the URL below into a"
    • Line Location: EN+8
    Function Call: WRITE
    • Prompt: !,"browser to access the FDA Medication Guide for this drug:"
    • Line Location: EN+9
    Function Call: WRITE
    • Prompt: !!
    • Line Location: EN+10
    Function Call: WRITE
    • Prompt: !!,"Please wait...",!
    • Line Location: EN+21
    Function Call: WRITE
    • Prompt: !,"The system is unable to display FDA Med Guide automatically."
    • Line Location: EN+27
    Function Call: WRITE
    • Prompt: !
    • Line Location: EN+28
    Function Call: WRITE
    • Prompt: !,"The FDA Medication Guide will not automatically open on Thin Client and some"
    • Line Location: EN+29
    Function Call: WRITE
    • Prompt: !,"types of encrypted sessions. If you do not believe this is the reason contact"
    • Line Location: EN+30
    Function Call: WRITE
    • Prompt: !,"your local technical support for assistance."
    • Line Location: EN+31
    Function Call: WRITE
    • Prompt: !
    • Line Location: EN+32
    Function Call: WRITE
    • Prompt: !,"You can copy/paste the link above into your browser's address bar to retrieve"
    • Line Location: EN+33
    Function Call: WRITE
    • Prompt: !,"the FDA Medication Guide."
    • Line Location: EN+34
    Function Call: WRITE
    • Prompt: !
    • Line Location: EN+35
    Function Call: WRITE
    • Prompt: !,"When unable to get the FDA Medication Guide to display, review the following"
    • Line Location: HELP+2
    Function Call: WRITE
    • Prompt: !,"suggestion(s) for troubleshooting potential problems:"
    • Line Location: HELP+3
    Function Call: WRITE
    • Prompt: !
    • Line Location: HELP+4
    Function Call: WRITE
    • Prompt: !,"1) The browser did not open automatically. This may be due to the following:"
    • Line Location: HELP+6
    Function Call: WRITE
    • Prompt: !," - You might be connected to VistA via Thin Client or an encrypted session"
    • Line Location: HELP+7
    Function Call: WRITE
    • Prompt: !," that prevents the FDA Med Guide from automatically displaying. Please"
    • Line Location: HELP+8
    Function Call: WRITE
    • Prompt: !," copy and paste the URL link below into your browser's address bar to"
    • Line Location: HELP+9
    Function Call: WRITE
    • Prompt: !," retrieve the FDA Medication Guide:"
    • Line Location: HELP+10
    Function Call: WRITE
    • Prompt: !!
    • Line Location: HELP+11
    Function Call: WRITE
    • Prompt: !
    • Line Location: HELP+11
    Function Call: WRITE
    • Prompt: !," - The computer might not have the required Java software component"
    • Line Location: HELP+12
    Function Call: WRITE
    • Prompt: !," installed or the software might not be functioning properly. Please,"
    • Line Location: HELP+13
    Function Call: WRITE
    • Prompt: !," contact technical support for assistance."
    • Line Location: HELP+14
    Function Call: WRITE
    • Prompt: !
    • Line Location: HELP+15
    Function Call: WRITE
    • Prompt: !,"2) When doing a copy/paste of the link into the browser's address and an HTTP"
    • Line Location: HELP+18
    Function Call: WRITE
    • Prompt: !," 404 - File Not Found error is received. This may be due to the following:"
    • Line Location: HELP+19
    Function Call: WRITE
    • Prompt: !," - A common issue exists when the link is displayed in two lines in the"
    • Line Location: HELP+20
    Function Call: WRITE
    • Prompt: !," terminal screen. When you copy both lines at the same time and paste it"
    • Line Location: HELP+21
    Function Call: WRITE
    • Prompt: !," into the browser's address, the second line is ignored by the browser"
    • Line Location: HELP+22
    Function Call: WRITE
    • Prompt: !," resulting in a 'broken' link. To resolve this issue, copy and paste one"
    • Line Location: HELP+23
    Function Call: WRITE
    • Prompt: !," line at a time from the terminal screen into the browser's address to"
    • Line Location: HELP+24
    Function Call: WRITE
    • Prompt: !," make sure the complete link is used."
    • Line Location: HELP+25
    Function Call: WRITE
    • Prompt: !," - The FDA Medication Guide Server may be down at the moment. Please, wait"
    • Line Location: HELP+26
    Function Call: WRITE
    • Prompt: !," a few minutes and try again. If the problem persists, contact technical"
    • Line Location: HELP+27
    Function Call: WRITE
    • Prompt: !," support for assistance."
    • Line Location: HELP+28
    Function Call: WRITE
    • Prompt: !!,"3) The browser opened automatically, however you receive an HTTP 404 - File"
    • Line Location: HELP+30
    Function Call: WRITE
    • Prompt: !," Not Found error. This may be due to the following:"
    • Line Location: HELP+31
    Function Call: WRITE
    • Prompt: !," - The FDA Medication Guide Server may be down at the moment. Please, wait"
    • Line Location: HELP+32
    Function Call: WRITE
    • Prompt: !," a few minutes and try again. If the problem persists, contact technical"
    • Line Location: HELP+33
    Function Call: WRITE
    • Prompt: !," support for assistance."
    • Line Location: HELP+34
    Function Call: WRITE
    • Prompt: !
    • Line Location: HELP+35
    Function Call: WRITE
    • Prompt: !,"1) If no FDA Medication Guide exists for a product that you believe should"
    • Line Location: HELP+37
    Function Call: WRITE
    • Prompt: !," have one, confirm that one is required by visiting the FDA website"
    • Line Location: HELP+38
    Function Call: WRITE
    • Prompt: !," (www.fda.gov). If one is required, log a support ticket to request its"
    • Line Location: HELP+39
    Function Call: WRITE
    • Prompt: !," addition. Please understand that there may be a delay between the time"
    • Line Location: HELP+40
    Function Call: WRITE
    • Prompt: !," that a new Medication Guide is posted to the FDA website and when it is"
    • Line Location: HELP+41
    Function Call: WRITE
    • Prompt: !," made available in VistA through a National Drug File data update patch."
    • Line Location: HELP+42
    Function Call: WRITE
    • Prompt: $E(X,1,80)
    • Line Location: PRTURL+2
    Function Call: WRITE
    • Prompt: !,$E(X,1,80)
    • Line Location: PRTURL+3
    Routine Call
    • DIR
    • Line Location:
      • PAUSE+3

    Used in RPC

    RPC Name Call Tags
    PSN FDA MED GUIDE PRINT QUEUE RETRIEVE

    FileMan Files Accessed Via FileMan Db Call

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

    Label References

    Name Line Occurrences
    PAUSE EN+5, EN+37
    PRTURL EN+15, HELP+11

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DIR PAUSE+1~, HELP+1~
    DIR("?" PAUSE+3*
    DIR("A" PAUSE+2*, HELP+16*
    DIR(0 PAUSE+2*
    DIROUT HELP+1~, HELP+16
    DIRUT HELP+1~, HELP+16
    FDAMGFN EN+1~, EN+2*, EN+3, EN+13
    FDAMGURL EN+1~, EN+13*, EN+15, EN+24, PAUSE+3, PRTURL~, PRTURL+1
    >> IO("IP" EN+17
    MGURL HELP~, HELP+5, HELP+11
    PCURL EN+1~, EN+19*, EN+24
    PSNIP EN+1~, EN+17*, EN+18*, EN+19
    STATUS EN+1~, EN+24*, EN+26
    VAPRDIEN EN~, EN+2
    X EN+1~, PRTURL+1*, PRTURL+2, PRTURL+3*
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables  | All