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

Package: Health Summary

Routine: GMTSPXOP


Information

GMTSPXOP ; SLC/SBW,KER - PCE Outpatient Encounter comp ; 02/27/2002

Source Information

Source file <GMTSPXOP.m>

Call Graph

Call Graph Total: 8

Package Total Call Graph
Health Summary 4 ($$GETCPT,GETICDDX,ORDERPRO,TXTFMT)^GMTSPXU1  ($$CPT,REGDT4)^GMTSU  $$EN2^GMTSUMX  CKP^GMTSUP  
DRG Grouper 1 $$MOD^ICPTMOD  
Kernel 1 $$DT^XLFDT  
PCE Patient Care Encounter 1 VISIT^PXRHS01  
VA Fileman 1 ^DIWP  

Entry Points

Name Comments DBIA/ICR reference
DSPVIS ; Display outpatient visit data
DMOD ; Display CPT Modifier Comments
HDR ; Display header
DSPCPT ; Display Procedures performed during the visit
DCPT ; Display CPT Comments
FORMAT ; Formats Diagnosis/Procedure line of text
LINE2 ; Writes indented formatted lines
DSPPOV ; Display Purpose of visit
DSPPROV ; Display Providers for visit
PURPOSE ; Encounters with ICD9 and providers
LINE ; Writes formatted lines
MAIN ; Entry for Purpose of Visit and Outpatient Encounters
OUTPT ; Encounters with ICD9, CPT, and providers
FCM(X) ; Format CPT Modifier comment

External References

Name Field # of Occurrence
^DIWP FORMAT+1
$$GETCPT^GMTSPXU1 DSPCPT+8
GETICDDX^GMTSPXU1 DSPPOV+9
ORDERPRO^GMTSPXU1 DSPPROV+3
TXTFMT^GMTSPXU1 DSPPOV+14, DSPCPT+11
$$CPT^GMTSU MAIN+6
REGDT4^GMTSU MAIN+36
$$EN2^GMTSUMX FCM+5
CKP^GMTSUP MAIN+48, DSPPOV+4, DSPPOV+18, DSPCPT+3, DCPT+3, DCPT+6, DSPPROV+4, DSPPROV+7, DSPPROV+11, DSPPROV+12
, DSPVIS+3, LINE+1, LINE2+1
$$MOD^ICPTMOD FCM+3
VISIT^PXRHS01 MAIN+28
$$DT^XLFDT FCM+2

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: MAIN+49
Function Call: WRITE
  • Prompt: ?3,"Diagnosis:"
  • Line Location: DSPPOV+4
Function Call: WRITE
  • Prompt: ?GMTSICL+$S(GMTSX>1:GMTAB,1:0),$G(^UTILITY($J,"W",DIWL,GMTSX,0)),!
  • Line Location: DSPPOV+20
Function Call: WRITE
  • Prompt: ?3,"Procedure:"
  • Line Location: DSPCPT+3
Function Call: WRITE
  • Prompt: ?GMTSICL+$S(GMTSX>1:GMTAB,1:0)
  • Line Location: DCPT+4
Function Call: WRITE
  • Prompt: $G(^UTILITY($J,"W",DIWL,GMTSX,0))
  • Line Location: DCPT+5
Function Call: WRITE
  • Prompt: !
  • Line Location: DCPT+6
Function Call: WRITE
  • Prompt: !,?10,"Comments:"
  • Line Location: DCPT+11
Function Call: WRITE
  • Prompt: !
  • Line Location: DMOD+2
Function Call: WRITE
  • Prompt: ?3," Provider:"
  • Line Location: DSPPROV+4
Function Call: WRITE
  • Prompt: ?60,GMPROV(GMCNT)
  • Line Location: DSPPROV+10
Function Call: WRITE
  • Prompt: !
  • Line Location: DSPPROV+12
Function Call: WRITE
  • Prompt: GMTSDAT,?14,GMTSITE,?29,GMTSLOC,?61,GMTSELIG
  • Line Location: DSPVIS+2
Function Call: WRITE
  • Prompt: !
  • Line Location: DSPVIS+3
Function Call: WRITE
  • Prompt: ?3,"Date",?14,"Facility",?29,"Hospital Location",?61,"Encounter Elig.",!!
  • Line Location: HDR+1
Function Call: WRITE
  • Prompt: ?20,^UTILITY($J,"W",DIWL,GMTSLN,0),!
  • Line Location: LINE+1
Function Call: WRITE
  • Prompt: ?GMTST,^UTILITY($J,"W",DIWL,GMTSLN,0),!
  • Line Location: LINE2+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^TMP("PXHSV" MAIN+29, MAIN+31, MAIN+33, MAIN+34, MAIN+50!, DSPPOV+1, DSPPOV+6, DSPPOV+7, DSPPOV+11, DSPPOV+21
, DSPCPT+1, DSPCPT+5, DSPCPT+6, DCPT+8, DMOD+3, DSPPROV+1
^UTILITY($J DSPPOV+15, DSPPOV+17, DSPPOV+20, DSPPOV+22, DSPPOV+23, DSPCPT+12, DCPT+2, DCPT+5, DCPT+9, DCPT+10
, DMOD+6, DMOD+7, FORMAT+1!, LINE+1, LINE2+1

Label References

Name Line Occurrences
$$FCM DMOD+5
DCPT DSPCPT+12
DMOD DCPT+13
DSPCPT MAIN+49
DSPPOV MAIN+49
DSPPROV MAIN+48
DSPVIS MAIN+48, DSPPOV+4, DSPPOV+18, DSPCPT+3, DCPT+3, DSPPROV+4, DSPPROV+7
FORMAT DSPPOV+22, DCPT+9, DMOD+6
HDR DSPVIS+1
LINE DSPPOV+23, DCPT+12
LINE2 DMOD+7
MAIN PURPOSE+1, OUTPT+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
% FCM+1~
%H FCM+1~
COMMENT DSPPOV+3~, DSPPOV+21*, DSPPOV+22, DCPT+8*, DCPT+9, DMOD+5~*, FORMAT+1
>> DFN MAIN+28
DIWF FORMAT+1~
DIWL MAIN+1~, MAIN+10*, DSPPOV+14, DSPPOV+17, DSPPOV+20, DSPPOV+23, DSPCPT+11, DCPT+2, DCPT+5, DCPT+10
, DMOD+7, FORMAT+1*, LINE+1, LINE2+1
DIWR FORMAT+1~*
DT FCM+2*
DTYPE PURPOSE+1~*, OUTPT+1~*, MAIN+28, DCPT+7
GMCKP MAIN+1~, DSPPOV+5*, DSPPOV+18, DSPPOV+19*, DSPCPT+4*, DCPT+3, DCPT+4*
GMCNT DSPPROV+2~, DSPPROV+5*, DSPPROV+6*, DSPPROV+7, DSPPROV+8*, DSPPROV+9*, DSPPROV+10, DSPPROV+11
GMICL MAIN+3~, DSPPOV+22*, DCPT+9*, DMOD+6*, FORMAT+1
GMPROV DSPPROV+2~, DSPPROV+3
GMPROV( DSPPROV+6, DSPPROV+8, DSPPROV+9, DSPPROV+10, DSPPROV+11
>> GMPXCMOD MAIN+6
>> GMPXHLOC MAIN+39
>> GMPXICDF DSPPOV+2, DSPPOV+9
>> GMPXNARR DSPPOV+2, DSPPOV+11
GMTAB MAIN+1~, MAIN+12*, DSPPOV+14, DSPPOV+20, DSPPOV+22*, DSPCPT+11, DCPT+4, DCPT+9*, DMOD+6*, FORMAT+1
GMTS DSPPOV+3~
>> GMTSBEG MAIN+28
GMTSC FCM+1~, FCM+4*, FCM+6, FCM+7, FCM+8
GMTSCPT DSPCPT+2~, DSPCPT+8*, DSPCPT+11
GMTSCPTM MAIN+3~, MAIN+6*, DCPT+13
GMTSDAT MAIN+1~, MAIN+36*, DSPVIS+2
GMTSDTU MAIN+1~, MAIN+37*, DSPVIS+1, DSPVIS+4*
>> GMTSEGN MAIN+6
GMTSELIG MAIN+2~, MAIN+41*, DSPVIS+2
>> GMTSEND MAIN+28
GMTSEVT MAIN+2~, MAIN+35*
GMTSFLG DSPCPT+2~, DSPCPT+10*, DCPT+11*
GMTSHIS MAIN+2~, MAIN+35*, MAIN+42, MAIN+43
GMTSICD DSPPOV+3~, DSPPOV+9*, DSPPOV+12, DSPPOV+14, DSPCPT+2~
GMTSICL MAIN+2~, MAIN+8*, DSPPOV+14, DSPPOV+20, DSPCPT+11, DCPT+4, DSPPROV+8
GMTSIEN FCM+1~*, FCM+3
GMTSINS MAIN+2~, MAIN+38*
GMTSITE MAIN+2~, MAIN+37*, MAIN+38*, MAIN+42, MAIN+44, MAIN+45*, MAIN+46*, MAIN+47*, DSPVIS+2
GMTSIVD MAIN+1~, MAIN+30*, MAIN+31*, MAIN+33, MAIN+34, DSPPOV+1, DSPPOV+6, DSPPOV+7, DSPPOV+11, DSPPOV+21
, DSPCPT+1, DSPCPT+5, DSPCPT+6, DCPT+8, DMOD+3, DSPPROV+1
GMTSLN DSPPOV+23*, DCPT+1~, DCPT+10*, DMOD+7*, LINE+1, LINE2+1
GMTSLOC MAIN+1~, MAIN+2~, MAIN+37*, MAIN+39*, MAIN+40*, MAIN+42*, MAIN+44*, MAIN+45, MAIN+46*, MAIN+47
, DSPVIS+2
GMTSM DMOD+1~*, DMOD+3*, DMOD+4, DMOD+5
GMTSMOD DSPPOV+3~, DSPPOV+8*, DSPPOV+9
GMTSMOK DCPT+1~*, DCPT+4*, DCPT+13*
GMTSN MAIN+1~, MAIN+34*, MAIN+35, MAIN+36, MAIN+38, MAIN+39, MAIN+40, MAIN+41, DSPPOV+3~, DSPPOV+7*
, DSPPOV+8, DSPPOV+9, DSPPOV+13, DSPCPT+2~, DSPCPT+6*, DSPCPT+7, DSPCPT+8
GMTSNARR DSPPOV+3~, DSPPOV+10*, DSPPOV+11*, DSPPOV+12*, DSPPOV+14, DSPCPT+2~, DSPCPT+7*, DSPCPT+8*, DSPCPT+11
>> GMTSNDM MAIN+28
>> GMTSNPG DSPVIS+1
GMTSOVT MAIN+1~, MAIN+26*, MAIN+28
GMTSPDN DSPPOV+3~, DSPPOV+5*, DSPPOV+6*, DSPPOV+7, DSPPOV+11, DSPPOV+21, DSPCPT+2~, DSPCPT+4*, DSPCPT+5*, DSPCPT+6
, DCPT+8, DMOD+3
GMTSPRI DSPPOV+3~, DSPPOV+13*, DSPPOV+14, DSPCPT+2~, DSPCPT+4*, DSPCPT+9*, DSPCPT+11
GMTSPRIM DSPCPT+2~, DSPCPT+7*, DSPCPT+9
>> GMTSQIT MAIN+31, MAIN+33, MAIN+48, MAIN+49, DSPPOV+4, DSPPOV+6, DSPPOV+17, DSPPOV+18, DSPPOV+23, DSPCPT+3
, DSPCPT+5, DCPT+2, DCPT+3, DCPT+6, DCPT+10, DMOD+3, DMOD+7, DSPPROV+4, DSPPROV+6, DSPPROV+7
, DSPPROV+11, DSPPROV+12, DSPVIS+3, LINE+1, LINE2+1
GMTSQTY DSPPOV+3~, DSPPOV+5*, DSPPOV+14, DSPCPT+2~, DSPCPT+7*, DSPCPT+9*, DSPCPT+11
GMTSS FCM+1~, FCM+4*, FCM+5, FCM+7, FCM+8
GMTST FCM+1~, FCM+5*, FCM+6, FCM+7, FCM+8, LINE2+1~*
GMTSVDF MAIN+2~, MAIN+32*, MAIN+33*, MAIN+34, DSPPOV+1, DSPPOV+6, DSPPOV+7, DSPPOV+11, DSPPOV+21, DSPCPT+1
, DSPCPT+5, DSPCPT+6, DCPT+8, DMOD+3, DSPPROV+1
GMTSX MAIN+1~, DSPPOV+16*, DSPPOV+17*, DSPPOV+20, DCPT+1~*, DCPT+2*, DCPT+4, DCPT+5
U MAIN+35, MAIN+36, MAIN+38, MAIN+39, MAIN+40, MAIN+41, DSPPOV+8, DSPPOV+9, DSPPOV+13, DSPPOV+21
, DSPCPT+7, DSPCPT+8, DCPT+8
X MAIN+2~, MAIN+36*, FORMAT+1~*, FCM~, FCM+1, FCM+3*, FCM+4, FCM+9*, FCM+10
Y FCM+1~, FCM+5*, FCM+6*, FCM+7*, FCM+8*, FCM+9*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All