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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: BHSWH

Package: Health Summary Components

Routine: BHSWH


Information

BHSWH ;IHS/CIA/MGH - Health Summary for Women's health profile ;17-Mar-2006 10:36;MGH

Source Information

Source file <BHSWH.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Health Summary 1 CKP^GMTSUP  
Health Summary Components 1 EP^BHSWPROF  
VA Fileman 1 ^DIWP  

Entry Points

Name Comments DBIA/ICR reference
PROF2 ;Do detailed display of patient profile
FORMAT ; Format Line
DETAIL ;Display the detailed display
HEADER ; Display Header fields from the profile
WHMAIN ; Main Display
RESULT ; Display Data from profile
PROF ; Control Women's health profile retrieval and display;
LINE ; Write Line

External References

Name Field # of Occurrence
EP^BHSWPROF PROF+5, PROF2+5
^DIWP FORMAT+4
CKP^GMTSUP PROF+7, PROF2+7, HEADER+1, HEADER+3, RESULT+2, RESULT+4, RESULT+9, DETAIL+4, DETAIL+17, DETAIL+26
, DETAIL+33, DETAIL+40, DETAIL+56, DETAIL+60, DETAIL+69, DETAIL+73, LINE+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: "* * * Patient Profile * * *",!
  • Line Location: HEADER+1
Function Call: WRITE
  • Prompt: $P($G(^TMP("BHS",$J,GMORDER,GMHR)),U,1)
  • Line Location: HEADER+4
Function Call: WRITE
  • Prompt: ?50,$P($G(^TMP("BHS",$J,GMORDER,GMHR)),U,2),!
  • Line Location: HEADER+5
Function Call: WRITE
  • Prompt: !,"DATE",?16,"PROCEDURE",?27,"RESULTS/DIAGNOSIS",?71,"STATUS"
  • Line Location: RESULT+3
Function Call: WRITE
  • Prompt: !,"--------",?16,"---------",?27,"----------------------------"
  • Line Location: RESULT+5
Function Call: WRITE
  • Prompt: ?71,"------"
  • Line Location: RESULT+6
Function Call: WRITE
  • Prompt: "-"
  • Line Location: DETAIL+10
Function Call: WRITE
  • Prompt: "-----------------"
  • Condition for execution: BWACC["NO ACC#"
  • Line Location: DETAIL+30
Function Call: WRITE
  • Prompt: ?16
  • Line Location: DETAIL+30
Function Call: WRITE
  • Prompt: ?13,^UTILITY($J,"W",DIWL,GMTSLN,0),!
  • Line Location: LINE+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DPT - [#2] PROF+4, PROF2+4
^TMP("BHS" PROF+3!, PROF+6, PROF2+3!, PROF2+6, WHMAIN+4, WHMAIN+7!, HEADER+2, HEADER+4, HEADER+5, RESULT+7
, RESULT+8, DETAIL+2, DETAIL+3
^UTILITY($J FORMAT+3!, LINE+1

Label References

Name Line Occurrences
DETAIL RESULT+1
HEADER WHMAIN+5
RESULT WHMAIN+6
WHMAIN PROF+8, PROF2+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BWACC WHMAIN+2~, DETAIL+27*, DETAIL+28, DETAIL+30, DETAIL+35, DETAIL+43
BWACCP WHMAIN+2~, WHMAIN+3*, RESULT+16*, DETAIL+20*, DETAIL+35, DETAIL+43*
BWD PROF+1~, PROF+2*, PROF+5, PROF2+1~, PROF2+2*, PROF2+5, RESULT+1
COMMENT WHMAIN+1~, FORMAT+4
>> DFN PROF+4, PROF+5, PROF2+4, PROF2+5
DIWF FORMAT+1~
DIWL FORMAT+1~, FORMAT+2*, LINE+1
DIWR FORMAT+1~, FORMAT+2*
GMDT WHMAIN+1~
GMHR WHMAIN+1~, HEADER+2*, HEADER+4, HEADER+5
GMICL WHMAIN+2~, FORMAT+2
GMIFN WHMAIN+1~, RESULT+7*, RESULT+8, DETAIL+2*, DETAIL+3
GMN0 WHMAIN+1~, RESULT+8*, RESULT+11, RESULT+12, RESULT+13, RESULT+14, RESULT+15, RESULT+16, DETAIL+3*, DETAIL+7
, DETAIL+9, DETAIL+10, DETAIL+12, DETAIL+14, DETAIL+16, DETAIL+18, DETAIL+19, DETAIL+20, DETAIL+25, DETAIL+27
, DETAIL+37, DETAIL+39, DETAIL+41, DETAIL+42, DETAIL+55, DETAIL+62, DETAIL+64, DETAIL+68, DETAIL+75, DETAIL+77
, DETAIL+78
GMORDER WHMAIN+1~, WHMAIN+4*, WHMAIN+5, WHMAIN+6, HEADER+2, HEADER+4, HEADER+5, RESULT+7, RESULT+8, DETAIL+2
, DETAIL+3
GMTAB WHMAIN+2~, FORMAT+2
GMTSDAT WHMAIN+1~
GMTSLN WHMAIN+2~, LINE+1
>> GMTSQIT PROF+7, PROF2+7, WHMAIN+4, HEADER+1, HEADER+2, HEADER+3, RESULT+2, RESULT+4, RESULT+7, RESULT+9
, DETAIL+2, DETAIL+4, DETAIL+17, DETAIL+26, DETAIL+33, DETAIL+40, DETAIL+56, DETAIL+60, DETAIL+69, DETAIL+73
, LINE+1
GMW WHMAIN+1~
HF WHMAIN+1~
I DETAIL+1~, DETAIL+10*
LEVEL WHMAIN+1~
PHFC WHMAIN+1~
U PROF+4, PROF2+4, HEADER+4, HEADER+5, RESULT+11, RESULT+12, RESULT+13, RESULT+14, RESULT+15, RESULT+16
, DETAIL+7, DETAIL+9, DETAIL+10, DETAIL+12, DETAIL+14, DETAIL+16, DETAIL+18, DETAIL+19, DETAIL+20, DETAIL+25
, DETAIL+27, DETAIL+37, DETAIL+39, DETAIL+41, DETAIL+42, DETAIL+55, DETAIL+62, DETAIL+64, DETAIL+68, DETAIL+75
, DETAIL+77, DETAIL+78
X WHMAIN+1~, FORMAT+1~, FORMAT+4*
Z WHMAIN+2~, WHMAIN+3*, DETAIL+28, DETAIL+43*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All