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

Package: Health Summary Components

Routine: BHSENC2


Information

BHSENC2 ;IHS/CIA/MGH - Encounters from PCC ;09-Mar-2016 09:59;du

Source Information

Source file <BHSENC2.m>

Call Graph

Call Graph Total: 6

Package Total Call Graph
Health Summary 2 REGDT4^GMTSU  CKP^GMTSUP  
Health Summary Components 2 QUAL^BHSENC  (GETICDDX,GETNARR,GETSITEV,PRTICD)^BHSUTL  
Patient Care Component Reports 1 $$PRIMPROV^APCLV  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
NOPOV ;
GETPROV ;
ONEDATE ;
GETCLN ;
INHOSP ; ********** INHOSPITAL ENCOUNTERS * 9000010/9000010.07 **********
; <SETUP>
COMMON ;
OUTPTX ; <CLEANUP>
INHOSPX
DSPVIS ;
OUTPT ; ********** OUTPATIENT ENCOUNTERS WITHOUT CHR * 9000010/9000010.07 **********
; <SETUP>
HASPOV ;

External References

Name Field # of Occurrence
$$PRIMPROV^APCLV ONEDATE+9, GETPROV+1
QUAL^BHSENC HASPOV+9, COMMON+16
GETICDDX^BHSUTL HASPOV+2
GETNARR^BHSUTL HASPOV+7
GETSITEV^BHSUTL ONEDATE+8
PRTICD^BHSUTL COMMON+15
$$GET1^DIQ HASPOV+3, HASPOV+4
REGDT4^GMTSU ONEDATE+2
CKP^GMTSUP OUTPT+6, COMMON+1, INHOSP+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: BHSDAT
  • Line Location: COMMON+2
Function Call: WRITE
  • Prompt: ?10,BHSFAC
  • Line Location: COMMON+10
Function Call: WRITE
  • Prompt: ?23,$E(BHSCLI,1,6),?30,BHSPRV
  • Line Location: COMMON+11
Function Call: WRITE
  • Prompt: ?23,BHSCLI
  • Line Location: COMMON+12
Function Call: WRITE
  • Prompt: ?23,BHSPRV
  • Line Location: COMMON+13

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVPOV - [#9000010.07] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVCHS("AD" COMMON+9
^AUPNVPOV - [#9000010.07] DSPVIS+3
^AUPNVPOV("AD" ONEDATE+10, DSPVIS+2, DSPVIS+3
^AUPNVSIT - [#9000010] ONEDATE+7
^AUPNVSIT("AA" OUTPT+4, OUTPT+17, ONEDATE+4, INHOSP+2, INHOSP+7
^DD(9000010.07 COMMON+8
^DIC(40.7 - [#40.7] GETCLN+3, GETCLN+4, GETCLN+5

Label References

Name Line Occurrences
COMMON NOPOV+2
DSPVIS ONEDATE+11
GETCLN ONEDATE+8
GETPROV ONEDATE+8
HASPOV DSPVIS+3
NOPOV DSPVIS+2
ONEDATE OUTPT+19, INHOSP+7

Naked Globals

Name Field # of Occurrence
^(9999999 GETCLN+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BHSCCL OUTPTX+2!, ONEDATE+1*, GETCLN+1*, GETCLN+4*, GETCLN+6*, COMMON+5, COMMON+6
BHSCLI OUTPTX+1!, GETCLN+1*, GETCLN+2*, GETCLN+3, GETCLN+4*, GETCLN+5*, GETCLN+6, COMMON+5*, COMMON+6*, COMMON+7*
, COMMON+11, COMMON+12, INHOSPX!
BHSDAT OUTPT+21, OUTPTX+1!, ONEDATE+2*, ONEDATE+3, COMMON+2, INHOSP+7, INHOSPX!
BHSDCL OUTPT+13*, OUTPT+14*, OUTPT+15*, OUTPT+16*, OUTPTX+2!, COMMON+14
BHSDCX OUTPT+10*, OUTPT+11*, OUTPT+13, OUTPT+14, OUTPT+15, OUTPT+16, OUTPTX+2!, COMMON+11, COMMON+12, COMMON+13
BHSDPR OUTPT+10*, OUTPT+12*, OUTPT+13, OUTPT+14, OUTPT+15, OUTPT+16, OUTPTX+2!, COMMON+11, COMMON+12, COMMON+13
BHSDTU OUTPT+21, OUTPTX+1!, ONEDATE+3*, DSPVIS+1*, INHOSP+7, INHOSPX!
BHSFAC OUTPTX+1!, COMMON+3*, COMMON+4*, COMMON+10, INHOSPX!
BHSICD OUTPTX+1!, NOPOV+1*, HASPOV+2*, COMMON+7, COMMON+8*, COMMON+15*, INHOSPX!
BHSICL OUTPTX+1!, COMMON+14*, INHOSPX!
BHSITE OUTPTX+2!, INHOSPX+1!
BHSIVD OUTPT+17*, OUTPTX+1!, ONEDATE+2, ONEDATE+4, INHOSP+7*, INHOSPX!
BHSMOD OUTPTX+1!, NOPOV+1*, HASPOV+8*, COMMON+8, INHOSPX!
BHSMTX OUTPTX+1!, COMMON+8*, INHOSPX!
BHSN OUTPT+2~, ONEDATE+7*, ONEDATE+8, ONEDATE+10, GETCLN+1, GETCLN+2, DSPVIS+3*, HASPOV+2, HASPOV+6, HASPOV+8
BHSNAB OUTPTX+2!, INHOSPX+1!
BHSNFL OUTPTX+2!, INHOSPX+1!
BHSNORM OUTPTX+2!, HASPOV+4*, HASPOV+7
BHSNRQ OUTPTX+1!, NOPOV+1*, HASPOV+6*, HASPOV+7*, INHOSPX!
BHSNSH OUTPTX+2!, COMMON+3, COMMON+4, INHOSPX+1!
BHSNTE OUTPT+2~, COMMON+9*
BHSOVT OUTPT+5*, OUTPTX+1!, ONEDATE+11, INHOSP+3*, INHOSPX!
BHSPAT OUTPT+2~, OUTPT+3*, OUTPT+4, OUTPT+17, ONEDATE+4, INHOSP+2, INHOSP+7
BHSPDN OUTPTX+1!, DSPVIS+3*, HASPOV+3, HASPOV+4, HASPOV+9, COMMON+16, INHOSPX!
BHSPFN OUTPT+9*, OUTPTX+1!, COMMON+2*, COMMON+3, COMMON+4*, INHOSPX!
BHSPRV OUTPTX+2!, GETPROV+1*, COMMON+11, COMMON+13
BHSPVD OUTPT+8*, OUTPT+21*, OUTPTX+1!, ONEDATE+3, INHOSP+6*, INHOSP+7*, INHOSPX!
BHSQ OUTPTX+2!, ONEDATE+4*, DSPVIS+3*
BHSQT OUTPT+17, OUTPT+18*, OUTPT+22*, OUTPTX+2!, ONEDATE+4, ONEDATE+5*, ONEDATE+14*
BHSSCL OUTPTX+1!, ONEDATE+6*, COMMON+2*, COMMON+4*, COMMON+5, COMMON+6*, COMMON+7, INHOSPX!
BHSSNO OUTPTX+2!, HASPOV+3*, HASPOV+7
BHSVDF OUTPTX+1!, ONEDATE+4*, ONEDATE+7, ONEDATE+9, ONEDATE+10, GETPROV+1, DSPVIS+2, DSPVIS+3, COMMON+9, INHOSPX!
BHSVSC OUTPTX+2!, ONEDATE+11, COMMON+15, INHOSPX+1!
>> DFN OUTPT+3
>> GMPXHLOC OUTPT+11
>> GMTSDLM OUTPT+17, INHOSP+7
>> GMTSNDM OUTPT+17, OUTPT+21*, INHOSP+7*
GMTSNDT OUTPTX+1!, ONEDATE+3*, COMMON+1*, COMMON+2*, INHOSPX!
>> GMTSNPG COMMON+1
>> GMTSQIT OUTPT+6, OUTPT+20, ONEDATE+13, COMMON+1, INHOSP+4, INHOSP+7
U ONEDATE+8, ONEDATE+10, GETCLN+1, GETCLN+2, GETCLN+4, GETCLN+5, HASPOV+2, HASPOV+6, HASPOV+8, COMMON+8
X OUTPT+2~, ONEDATE+2*
Y OUTPTX+2!, INHOSPX+1!
Info |  Source |  Call 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