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

Package: Patient Care Component

Routine: APCHMT


Information

APCHMT ; IHS/CMI/LAB -- create/modify health summary type ;

Source Information

Source file <APCHMT.m>

Call Graph

Call Graph Total: 9

Package Total Call Graph
IHS VA Utilities 4 $$VAL^XBDIQ1  ^XBFMK  $$EXTSET^XBFUNC  EN^XBVK  
Registration 2 EN^VALM  (CLEAR,FULL)^VALM1  
VA Fileman 2 ^DIC  ^DIE  
Kernel 1 DISP^XQORM1  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Patient Care Component 1 APCHMT1  

Entry Points

Name Comments DBIA/ICR reference
EN ; -- main entry point for APCH CREATE/MODIFY TYPE
HDR ;EP -- header code
EOJ ;
S1 ;
SP ;
EXPND ; -- expand code
HMR ;
INIT ;EP -- init variables and list array
FS ;
EXIT ; -- EXIT code
TP ;
LP ;
PCS ;
S(Y,F,C,T) ;EP - set up array
HF ;
EP ;EP - called from option
HELP ; -- help code

External References

Name Field # of Occurrence
^DIC EP+3
^DIE EP+7
EN^VALM EN+1
CLEAR^VALM1 EN+2
FULL^VALM1 EN+3
$$VAL^XBDIQ1 INIT+11, INIT+12, INIT+13, INIT+14, INIT+15, INIT+16, INIT+17
^XBFMK EP+3, EP+7, EOJ+2
$$EXTSET^XBFUNC HF+4
EN^XBVK EOJ+1
DISP^XQORM1 HELP+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !!!,"This option will allow you to create a new or modify an existing"
  • Line Location: EP+1
Function Call: WRITE
  • Prompt: !,"health summary type.",!!
  • Line Location: EP+2
Function Call: WRITE
  • Prompt: !!,"Goodbye",!
  • Line Location: EP+4
Function Call: WRITE
  • Prompt: !,"This summary type is currently locked to prevent alteration.",!
  • Line Location: EP+5
Function Call: WRITE
  • Prompt: !!
  • Line Location: HELP+1
Routine Call
  • VALM
  • Line Location:
    • EN+1
Routine Call
  • DIE
  • Line Location:
    • EP+7
Routine Call
  • DIC
  • Line Location:
    • EP+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^APCHSCTL - [#9001015] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^APCHSCMP - [#9001016] INIT+7
^APCHSCTL - [#9001015] EP+5, HDR+1, INIT+6, INIT+7, INIT+8, INIT+18, INIT+20, INIT+21, LP+1, LP+3
, LP+4, HMR+1, HMR+3, HMR+4, TP+1, TP+3, TP+4, FS+1, FS+3, FS+4
, HF+1, HF+3, HF+4, SP+1, SP+3, SP+4, SP+5, PCS+2, PCS+3, PCS+4
, PCS+7, PCS+8, PCS+9
^APCHSFLC - [#9001020] FS+4
^APCHSMPN - [#9001017] INIT+21
^APCHSUP - [#9001022] SP+4
^APCHSURV - [#9001018] HMR+4, TP+4
^AUTTHF - [#9999999.64] HF+4
^DIC(40.7 - [#40.7] PCS+9
^DIC(7 - [#7] PCS+4
^LAB(60 - [#60] LP+4
^TMP($J INIT+1!, PCS+11, S1+2*
^XUSEC( EP+5

Label References

Name Line Occurrences
EN EP+8
EOJ EP+4, EN+5
EP EP+5
FS TP+1
HF FS+1
HMR LP+1
LP INIT+18
PCS SP+1
S INIT+4, INIT+5, INIT+9, INIT+10, INIT+11, INIT+12, INIT+13, INIT+14, INIT+15, INIT+18
, INIT+19, INIT+22, LP+1, LP+2, LP+5, HMR+1, HMR+2, HMR+5, TP+1, TP+2
, TP+5, FS+1, FS+2, FS+5, HF+1, HF+2, HF+5, SP+1, SP+2, SP+5
, PCS+1, PCS+2, PCS+5, PCS+6, PCS+7, PCS+10
S1 S+4, S+6, S+9
SP HF+1
TP HMR+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % EP+5*, S+7*, S+8*
A INIT+3~, INIT+8*, INIT+9
>> APCHC INIT+2*, S1+1*, S1+2
>> APCHDA EP+6*, EP+7, HDR+1, INIT+6, INIT+7, INIT+8, INIT+11, INIT+12, INIT+13, INIT+14
, INIT+15, INIT+16, INIT+17, INIT+18, INIT+20, INIT+21, LP+1, LP+3, LP+4, HMR+1
, HMR+3, HMR+4, TP+1, TP+3, TP+4, FS+1, FS+3, FS+4, HF+1, HF+3
, HF+4, SP+1, SP+3, SP+4, SP+5, PCS+2, PCS+3, PCS+4, PCS+7, PCS+8
, PCS+9
C INIT+3~, INIT+7*, INIT+9, INIT+21*, INIT+22, LP+4*, LP+5, HMR+4*, HMR+5, TP+4*
, TP+5, FS+4*, FS+5, HF+4*, HF+5, SP+4*, SP+5, PCS+4*, PCS+5, PCS+9*
, PCS+10, S~, S+6
DA EP+3!, EP+7*
DD EP+3!
DIC EP+3*!
DIC(0 EP+3*
>> DIE EP+7*
DO EP+3!
DR EP+3!, EP+7*
DUZ EP+5
F S~, S+1*, S+4*
IOF EN+4
>> L S+6*
M INIT+3~, INIT+8*, INIT+9, HF+4*, HF+5
O INIT+3~, INIT+7*, INIT+9, INIT+21*, INIT+22, LP+4*, LP+5, HMR+4*, HMR+5, TP+4*
, TP+5, FS+4*, FS+5, HF+4*, HF+5, SP+4*, SP+5
T INIT+3~, INIT+8*, INIT+9, HF+4*, HF+5, S~, S+2*, S+6*, S+7, S+8
U EP+5, HDR+1, INIT+7, INIT+8, INIT+21, LP+4, HMR+4, TP+4, FS+4, HF+4
, SP+4, SP+5, PCS+4, PCS+9
>> VALMCNT PCS+11*
>> VALMHDR(1 HDR+1*
X INIT+3~, INIT+4*, INIT+5*, INIT+9*, INIT+10*, INIT+11*, INIT+12*, INIT+13*, INIT+14*, INIT+15*
, INIT+16*, INIT+17*, INIT+18*, INIT+19*, INIT+22*, LP+1*, LP+2*, LP+5*, HMR+1*, HMR+2*
, HMR+5*, TP+1*, TP+2*, TP+5*, FS+1*, FS+2*, FS+5*, HF+1*, HF+2*, HF+5*
, SP+1*, SP+2*, SP+5*, PCS+1*, PCS+2*, PCS+5*, PCS+6*, PCS+7*, PCS+10*, S+4*
, S+5*, S+7*, S+8*, S1+2, HELP+1*
Y EP+4, EP+5, EP+6, INIT+3~, INIT+6*, INIT+7, INIT+8, INIT+20*, INIT+21, LP+3*
, LP+4, HMR+3*, HMR+4, TP+3*, TP+4, FS+3*, FS+4, HF+3*, HF+4, SP+3*
, SP+4, SP+5, PCS+3*, PCS+4, PCS+8*, PCS+9, S~, S+5, S+6, S+8
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 |  Local Variables |  All