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

Package: Lab Service

Routine: LRUTAD


Information

LRUTAD ;AVAMC/REG - ADD/DELETE LAB TEST/PROCEDURE ; 11/12/88 09:34 ;

Source Information

Source file <LRUTAD.m>

Call Graph

Call Graph

Call Graph Total: 3

Package Total Call Graph
Lab Service 2 (D,YN)^LRU  EN1^LRUWLF  
VA FileMan 1 ^%DT  

Entry Points

Name Comments DBIA/ICR reference
WH
ASK
Z
ADD
LRDEL
L
BAD

External References

Name Field # of Occurrence
^%DT LRUTAD+3
D^LRU LRUTAD+3, ASK+4, ASK+5
YN^LRU LRUTAD+3, ASK+5
EN1^LRUWLF ADD

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: LRAA(1)," TEST/PROCEDURE"
  • Line Location: LRUTAD+2
Function Call: WRITE
  • Prompt: $S($D(LRDEL):" DELETION",1:" ADDITION")
  • Line Location: LRUTAD+2
Function Call: WRITE
  • Prompt: !!,"For ",LRH(0)," OK "
  • Line Location: LRUTAD+3
Function Call: READ
  • Formatting: !!
  • Prompt: "Enter A for Add or D for Delete ==> "
  • Variable: X
  • Timeout: DTIME
  • Line Location: WH+0
Function Call: READ
  • Formatting: !
  • Prompt: "Select Accession Number: "
  • Variable: LRAN
  • Timeout: DTIME
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: $C(7),!!,"Enter whole numbers only",!!
  • Line Location: ASK+0
Function Call: WRITE
  • Prompt: " for ",LRH(0),!
  • Line Location: ASK+1
Function Call: WRITE
  • Prompt: $C(7),!!,"Accession # ",LRAN," for ",LRH(0)," not in file",!!
  • Line Location: ASK+2
Function Call: WRITE
  • Prompt: $C(7),!!,"NO SITE/SPECIMEN",!,"DELETE ACCESSION # AND REENTER",!!
  • Line Location: ASK+6
Function Call: WRITE
  • Prompt: $C(7),!!,"There are NO tests to delete !!!"
  • Line Location: LRDEL+0
Function Call: READ
  • Prompt: ": "
  • Variable: A("A")
  • Timeout: DTIME
  • Line Location: LRDEL+1
Function Call: WRITE
  • Prompt: !!,"Delete by selecting a number from 1",$S(X=1:"",1:"-"_X)
  • Line Location: LRDEL+1
Function Call: WRITE
  • Prompt: $C(7),!!,"Results entered for this test !! Cannot delete it !"
  • Line Location: LRDEL+2
Function Call: READ
  • Prompt: " OK ? YES// "
  • Variable: N1
  • Timeout: DTIME
  • Line Location: LRDEL+3
Function Call: WRITE
  • Prompt: !,"Delete ",$P(^LAB(60,T(A("A")),0),U,1)
  • Line Location: LRDEL+3
Function Call: WRITE
  • Prompt: !,$J(X,38),")",T,?41,$E($P(^(0),U,1),1,38)
  • Line Location: L+0
Function Call: WRITE
  • Prompt: $C(7),!!,"Entry not in file",!!
  • Line Location: BAD+0

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIC - [#1] ASK+3
^LAB(60 - [#60] LRDEL+3, L
^LAB(61 - [#61] ASK+4
^LR - [#63] ASK+3
^LRO(68 - [#68] ASK+2, ASK+3, ASK+4, ASK+5, ASK+6, ZLRDELLRDEL+2, LRDEL+4!*

Label References

Name Line Occurrences
ASK ASKASK+2, ASK+5, BAD
BAD ASK+3
L Z
LRDEL LRDEL+3
WH ADDLRDELLRDEL+1, LRDEL+2, LRDEL+4

Naked Globals

Name Field # of Occurrence
^( Z
^(0 ASK+3, ASK+4, ASK+6, ZLRDELL
^(3 ASK+3, ASK+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % LRUTAD+3*, ASK+5*
>> %DT LRUTAD+3*
>> A("A" LRDEL+1*, LRDEL+2, LRDEL+3, LRDEL+4
DTIME WHASKLRDEL+1, LRDEL+3
>> LRAA ASK+2, ASK+3, ASK+4, ASK+5, ASK+6, ZLRDELLRDEL+2, LRDEL+4
>> LRAA(1 LRUTAD+2
>> LRAD LRUTAD+3*, ASK+2, ASK+3, ASK+4, ASK+5, ASK+6, ZLRDELLRDEL+2, LRDEL+4
>> LRAN ASK*, ASK+2, ASK+3, ASK+4, ASK+5, ASK+6, ZLRDELLRDEL+2, LRDEL+4
LRDEL LRUTAD+2, WH!*, ADD
>> LRDFN ASK+3*
>> LRFNAM ASK+3*
>> LRH(0 LRUTAD+3*, ASK+1, ASK+2
>> LRI ASK+3*
>> LRP ASK+4*
>> LRPF ASK+3*, ASK+4, ASK+6
>> LRPFN ASK+3*
>> LRSIT ASK+4*, ASK+5, ASK+6*
>> LRSS LRUTAD+2, WHASK+6
>> N Z*
>> N1 LRDEL+3*
T LRUTAD+2!, Z*, L
T( Z*, LRDEL+2, LRDEL+3, LRDEL+4!, L
U ASKASK+3, ASK+4, ZLRDELLRDEL+2, LRDEL+3, LRDEL+4, L
>> X WH*, Z*, ADD*, LRDEL+1, L
>> Y LRUTAD+3, ASK+3*, ASK+4*, ASK+5*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables  | All