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

Package: Diabetes Registry

Routine: BDMCODE


Information

BDMCODE ; IHS/CMI/LAB - INTERFACE TO SELECT ICD CODES ;

Source Information

Source file <BDMCODE.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
Diabetes Registry 2 (LOOK,SETDIR)^BDMCOD0  $$ICDDX^BDMUTL  
VA Fileman 2 ^DIC  ^DIR  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Diabetes Registry 1 BDMCOD0  

Entry Points

Name Comments DBIA/ICR reference
A
RANGES ;DISPLAY TABLE OF ALL RANGES
BEGIN
ASK1 ;
SHOW ; ENTRY POINT - ALLOW USER TO SELECT FROM RANGES TO DISPLAY CODES
PROCESS ;EVALUATE USER RESPONSE
EOJ ;
TAX ;PLACE CODES FROM SELECTED TAXONOMY IN BDMTBLE
CHECK ;ASKS USER IF SATISFIED WITH ENTERED RANGES
A1
INIT ;
X3
X2
X
X1
DISPLAY ;EP - SHOW CODES IN RANGE SELECTED

External References

Name Field # of Occurrence
LOOK^BDMCOD0 PROCESS+4, PROCESS+11, PROCESS+12, PROCESS+13
SETDIR^BDMCOD0 ASK1+3
$$ICDDX^BDMUTL DISPLAY+3, DISPLAY+5
^DIC TAX+2, TAX+3
^DIR ASK1+3, CHECK+1

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: $C(7)," ?? Not allowed"
  • Line Location: PROCESS+2
Function Call: WRITE
  • Prompt: $C(7)," ?? No previous codes entered!"
  • Line Location: PROCESS+5
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: PROCESS+6
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: PROCESS+7
Function Call: WRITE
  • Prompt: $C(7)," ??"
  • Line Location: PROCESS+8
Function Call: WRITE
  • Prompt: !
  • Line Location: PROCESS+11
Function Call: WRITE
  • Prompt: !
  • Line Location: PROCESS+13
Function Call: WRITE
  • Prompt: $P(BDM("LOW")," ")
  • Line Location: DISPLAY+2
Function Call: WRITE
  • Prompt: ?9,$P(^ICD9(BDMDFN,0),U,3)
  • Line Location: DISPLAY+2
Function Call: WRITE
  • Prompt: !!,"ICD codes in this range =>",!!
  • Line Location: DISPLAY+3
Function Call: WRITE
  • Prompt: $P(BDM("LOW")," ")
  • Line Location: DISPLAY+3
Function Call: WRITE
  • Prompt: $P(BDM("LOW")," ")
  • Line Location: DISPLAY+3
Function Call: WRITE
  • Prompt: !,$P(BDM," "),?9,$P(^ICD9(BDMDFN,0),U,3)
  • Line Location: DISPLAY+4
Function Call: WRITE
  • Prompt: !,$P(BDM," "),?9,$P($$ICDDX^BDMUTL(BDMDFN),U,4)
  • Line Location: DISPLAY+5
Function Call: READ
  • Prompt: "<>"
  • Formatting: !
  • Timeout: DTIME
  • Variable: BDMR
  • Line Location: A1+0
Function Call: WRITE
  • Prompt: !
  • Line Location: A1+2
Function Call: WRITE
  • Prompt: !!,"ICD Code Range(s) Selected So Far =>",!
  • Line Location: RANGES+2
Function Call: WRITE
  • Prompt: !
  • Line Location: RANGES+4
Function Call: READ
  • Timeout: 300
  • Variable: BDM("N")
  • Line Location: A+0
Function Call: WRITE
  • Prompt: " ??",$C(7)
  • Line Location: A+0
Function Call: WRITE
  • Prompt: !
  • Line Location: X3+0
Function Call: WRITE
  • Prompt: !
  • Line Location: CHECK+1
Function Call: WRITE
  • Prompt: !
  • Line Location: CHECK+2
Routine Call
  • DIC
  • Line Location:
    • TAX+2
    • TAX+3
Routine Call
  • DIR
  • Line Location:
    • ASK1+3
    • CHECK+1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ATXAX - [#9002226] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ATXAX - [#9002226] TAX+5
^ICD9("BA" DISPLAY+3, DISPLAY+5

Label References

Name Line Occurrences
@( BEGIN+2
A A
A1 A1
ASK1 BEGIN, ASK1+8
CHECK BEGIN+2
DISPLAY A+1
EOJ X
INIT BDMCODE+5
PROCESS ASK1+5
RANGES INIT+3, ASK1+6, SHOW+1, A+2
TAX PROCESS+3
X BEGIN+1
X1 ASK1+4
X2 PROCESS+2, PROCESS+3, PROCESS+4, PROCESS+5, PROCESS+6, PROCESS+7, PROCESS+8
X3 TAX+4

Naked Globals

Name Field # of Occurrence
^( DISPLAY+5, TAX+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
BDM DISPLAY+5*, RANGES+3*, A+1*, EOJ+1!
BDM("BANG" RANGES+4, A+2*!
BDM("CODE" TAX+5*
BDM("ENTER" INIT+4*
BDM("HI" ASK1+2!, DISPLAY+5, A+1*
BDM("LOW" ASK1+2!, DISPLAY+3, DISPLAY+5, A+1*
BDM("MODIFY" INIT+3*
BDM("N" A*, A+1
BDM("NO DISPL AY" , INIT+1*, ASK1+6, ASK1+7*, PROCESS+2*, PROCESS+6*, PROCESS+7*, PROCESS+8*
BDM("NOT TAX" , INIT+5*
BDM("NUM" RANGES+3*, A
BDM("S" TAX+1*, TAX+2, TAX+3
BDMA ASK1+1*, PROCESS+6*, PROCESS+7*, PROCESS+8*, PROCESS+11, PROCESS+13, EOJ+1!
BDMCNT DISPLAY+5*, EOJ+1!
BDMDFN DISPLAY+3*, DISPLAY+5*, EOJ+1!
BDMFLG EOJ+1!
BDMI A+1*, EOJ+1!
BDMONE PROCESS+1*, PROCESS+4*, PROCESS+12*, EOJ+1!
BDMR DISPLAY+5, A1*, A1+1*, A1+3!, EOJ+1!
BDMSAVE EOJ+1!
BDMSAVE("X" PROCESS+10*, PROCESS+11, PROCESS+12, PROCESS+13*
BDMSTP BEGIN+1*, EOJ+1!
BDMSUB PROCESS+1*, PROCESS+9*, EOJ+1!
>> BDMTBLE BEGIN+2, INIT+3, ASK1+3, ASK1+6, PROCESS+5
>> BDMTBLE( RANGES+3, A+1, TAX+5*
BDMTYP PROCESS+4*, PROCESS+11*, PROCESS+12*, PROCESS+13*, EOJ+1!
>> BDMX INIT+2, TAX+1
DIC TAX+2*!, TAX+3*!
DIC("A" TAX+1*
DIC("S" TAX+2*, TAX+3*
DIC(0 TAX+2*, TAX+3*
DIR ASK1+3!, CHECK+1!, EOJ+1!
DIR("A" ASK1+3*, CHECK+1*
DIR("B" CHECK+1*
DIR(0 CHECK+1*
DTIME A1, A1+1
IOF DISPLAY+1, RANGES+1
IOSL DISPLAY+5
U DISPLAY+3, DISPLAY+5, A1+1
>> X PROCESS+2, PROCESS+3, PROCESS+4, PROCESS+5, PROCESS+6, PROCESS+7, PROCESS+8, PROCESS+9, PROCESS+10, PROCESS+11*
, PROCESS+12*, PROCESS+13*, TAX+2*, TAX+3*
>> Y BEGIN+1, BEGIN+2, ASK1+4, TAX+4, TAX+5
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