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 |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: AMHPROB

Package: Mental Health Social Services

Routine: AMHPROB


Information

AMHPROB ; IHS/CMI/LAB - Display Problems and Notes ;

Source Information

Source file <AMHPROB.m>

Call Graph

Call Graph Total: 2

Package Total Call Graph
IHS VA Utilities 1 $$VAL^XBDIQ1  
VA Fileman 1 $$GET1^DIQ  

Caller Graph

Caller Graph Total: 2

Package Total Caller Graph
Mental Health Social Services 2 AMHBPL2  AMHLEPOV  

Entry Points

Name Comments DBIA/ICR reference
DSPFACN ; DISPLAY NOTES FOR SELECTED FACILITY
NOTEDSP ; DISPLAY NOTES UNDER PROBLEM
PRTTXT ; GENERALIZED TEXT PRINTER
PROBDSP ;
PROBSCH ;
DSPN ; DISPLAY SINGLE NOTE
COMMON ;
PROBX
PRTICD ;
GETSITE ;
GETFRAG
PRTTXT2

External References

Name Field # of Occurrence
$$GET1^DIQ PROBDSP+3
$$VAL^XBDIQ1 PROBDSP+12

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!,"PCC Problem List for ",$P(^DPT(AMHPAT,0),U),"."
  • Line Location: AMHPROB+6
Function Call: WRITE
  • Prompt: !,"Press any key to continue"
  • Line Location: AMHPROB+11
Function Call: WRITE
  • Prompt: !,"********** No ",$S(AMHTTAT="A":"ACTIVE",1:"INACTIVE")," Problems on file for this Patient",!
  • Line Location: COMMON+1
Function Call: WRITE
  • Prompt: !,"********** No ",$S(AMHTTAT="A":"ACTIVE",1:"INACTIVE")," Problems on file for this Patient",!
  • Line Location: COMMON+4
Function Call: WRITE
  • Prompt: !!,"******************",$S(AMHTTAT="A":" ACTIVE ",1:" INACTIVE "),"PROBLEMS AND NOTES ********************",!!
  • Line Location: COMMON+5
Function Call: WRITE
  • Prompt: AMHTPLN,?22,$$VAL^XBDIQ1(9000011,AMHTDFN,.01)
  • Line Location: PROBDSP+12
Function Call: WRITE
  • Prompt: AMHTPNM,AMHTFCN,$P(AMHTN,U),?12,AMHTDOI,?24,$P(AMHTN,U,3),!
  • Line Location: DSPN+5
Function Call: WRITE
  • Prompt: ?AMHTICL
  • Line Location: PRTTXT2+0
Function Call: WRITE
  • Prompt: AMHTF,!
  • Line Location: PRTTXT2+0

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNPROB - [#9000011] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNPROB - [#9000011] PROBSCH+1, PROBDSP+1, NOTEDSP+1, DSPFACN+1, DSPFACN+2, DSPFACN+3, DSPFACN+4, DSPN+1
^AUPNPROB("AA" COMMON+3, PROBSCH+1
^AUPNPROB("AC" COMMON+1
^AUTTLOC - [#9999999.06] GETSITE+2
^DIC(4 - [#4] GETSITE+3
^DPT - [#2] AMHPROB+6

Label References

Name Line Occurrences
COMMON AMHPROB+8
DSPFACN NOTEDSP+1
DSPN DSPFACN+4
GETFRAG PRTTXT2
GETSITE PROBDSP+6, DSPFACN+3
PROBDSP COMMON+6
PROBSCH COMMON+3
PROBX AMHPROB+10
PRTICD PROBDSP+13
PRTTXT PRTICD+2
PRTTXT2 PRTTXT+3

Naked Globals

Name Field # of Occurrence
^( PROBSCH+1
^(0 GETSITE+3

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % GETSITE+2*, GETSITE+3, GETSITE+4, GETSITE+5
AMHDFT AMHPROB+4~
AMHDOI AMHPROB+4~
>> AMHPAT AMHPROB+3, AMHPROB+6, COMMON+1, COMMON+3, PROBSCH+1
AMHTC AMHPROB+4~, PRTTXT+4!, GETFRAG+1*, GETFRAG+2
AMHTCVD AMHPROB+4~, AMHPROB+7*, AMHPROB+9!, PROBDSP+4, PROBDSP+9, PROBDSP+10, DSPN+4
AMHTDFN AMHPROB+4~, COMMON+6*, PROBX!, PROBSCH+1*, PROBDSP+1, PROBDSP+3, PROBDSP+12, NOTEDSP+1, DSPFACN+1, DSPFACN+2
, DSPFACN+3, DSPFACN+4, DSPN+1
AMHTDFT COMMON+2!, PROBX!
AMHTDFT( COMMON+6, PROBSCH+1*
AMHTDLT AMHPROB+4~, PRTTXT+1*, PRTTXT+4!, PRTTXT2*
AMHTDOI DSPN+4*, DSPN+5, DSPN+6!
AMHTDOO AMHPROB+4~, PROBDSP+4*, PRTTXT+2, PRTTXT+4!
AMHTDTM AMHPROB+4~, PROBX!, PROBDSP+9*, PROBDSP+11
AMHTDTN AMHPROB+4~, PROBX!, PROBDSP+10*
AMHTF AMHPROB+4~, PRTTXT+4!, PRTTXT2, GETFRAG*, GETFRAG+2*
AMHTFAC AMHPROB+4~, COMMON+3*, PROBX!, PROBSCH+1
AMHTFCN AMHPROB+4~, PROBX!, DSPFACN+3*, DSPN+3*, DSPN+5
AMHTFPP AMHPROB+4~, COMMON+6*, PROBX!
AMHTICD AMHPROB+4~, PROBX!, PRTICD+1*, PRTICD+2
AMHTICL AMHPROB+4~, PROBX!, PROBDSP+13*, PRTTXT+1, PRTTXT2*
AMHTILN AMHPROB+4~, PROBX!, PROBDSP+13*, PRTTXT+1*, PRTTXT+4!, PRTTXT2*, GETFRAG, GETFRAG+1
AMHTITE AMHPROB+5~, PROBX+1!, PROBDSP+5*, DSPFACN+3*, GETSITE+1*, GETSITE+2, GETSITE+3, GETSITE+4, GETSITE+5
AMHTN AMHPROB+5~, PROBX!, PROBDSP+1*, PROBDSP+2, PROBDSP+4, PROBDSP+5, PROBDSP+7, PROBDSP+9, PROBDSP+10, DSPN+1*
, DSPN+2, DSPN+4, DSPN+5
AMHTNAB AMHPROB+5~, PROBX+1!, PROBDSP+8, DSPFACN+3, GETSITE+5*
AMHTNDF AMHPROB+5~, COMMON+2*, COMMON+4, PROBX!, PROBSCH+1*, DSPFACN+4*, DSPN+1
AMHTNFL AMHPROB+5~, PROBX+1!, GETSITE+3*
AMHTNFP AMHPROB+5~, PROBX!, NOTEDSP+1*, DSPFACN+1, DSPFACN+2, DSPFACN+3, DSPFACN+4, DSPN+1
AMHTNRQ AMHPROB+5~, PROBX!, PROBDSP+2*, PROBDSP+3*, PRTICD+1*, PRTTXT+2*, PRTTXT+3*
AMHTNSH AMHPROB+5~, PROBX+1!, GETSITE+4*
AMHTPBN AMHPROB+5~, PROBX!
AMHTPLN AMHPROB+5~, PROBX!, PROBDSP+11*, PROBDSP+12
AMHTPNM AMHPROB+5~, PROBX!, PROBDSP+7*, PROBDSP+8*, PROBDSP+11, DSPN+5
AMHTPRB AMHPROB+5~, PROBX!, PROBSCH+1*
AMHTQ AMHPROB+5~, AMHPROB+9!, COMMON+3*, COMMON+6*, PROBSCH+1*, NOTEDSP+1*, DSPFACN+4*, DSPN+3*, PRTTXT+3*
AMHTTAT AMHPROB+5~, AMHPROB+8*, COMMON+1, COMMON+4, COMMON+5, PROBX!, PROBSCH+1
AMHTTXT PRTICD+2*, PRTTXT+3*, PRTTXT+4!, GETFRAG*, GETFRAG+1, GETFRAG+2*
AMHTVSC AMHPROB+5~, PROBX+1!
DTIME AMHPROB+11
U AMHPROB+6, PROBSCH+1, PROBDSP+2, PROBDSP+4, PROBDSP+5, PROBDSP+7, PROBDSP+9, PROBDSP+10, DSPN+2, DSPN+4
, DSPN+5, GETSITE+3, GETSITE+4, GETSITE+5
X AMHPROB+11*, AMHPROB+12!
Y AMHPROB+9!, PROBDSP+4*, PROBDSP+9*, PROBDSP+10*, DSPN+4*
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 |  Naked Globals |  Local Variables |  All