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

Package: Lab Service

Routine: LRMIEDZ2


Information

LRMIEDZ2 ;SLC/CJS/BA,AVAMC/REG - MICROBIOLOGY EDIT ROUTINE ; 22-Oct-2013 09:22 ; MKK

Source Information

Source file <LRMIEDZ2.m>

Call Graph

Call Graph Total: 17

Package Total Call Graph
Lab Service 9 ^LRCAPV1  UNDO^LRMIEDZ  TIME^LRMIEDZ3  EC^LRMIEDZ4  LRANX^LRMIU4  STF^LRMIUT  VT^LRMIUT1  UPDATE^LRPXRM  
PT^LRX  
IHS Changes To Lab 5 ^BLRALAF  ^BLREVTQ  LABSTOR^BLRRLMUM  $$ADDON^BLRUTIL  $$PATCH^BLRUTIL4  
VA Fileman 3 ^%DT  YN^DICN  ^DIE  

Caller Graph

Caller Graph Total: 4

Package Total Caller Graph
Lab Service 4 LRFAST  LRMIEDZ  LRSLOW  LRVER  

Entry Points

Name Comments DBIA/ICR reference
PAT1 ; EP
PAT ; EP
BB ; EP
TRIG ; EP
UPDATE ; EP
ORDER ; EP
EC3 ; EP
CHECK ; EP

External References

Name Field # of Occurrence
^%DT CHECK+2
^BLRALAF TRIG+1
^BLREVTQ PAT1+32
LABSTOR^BLRRLMUM BB+5
$$ADDON^BLRUTIL TRIG+1
$$PATCH^BLRUTIL4 PAT1+30, PAT1+43, PAT1+44
YN^DICN PAT1+15
^DIE PAT1+43, PAT1+44
^LRCAPV1 PAT+3
UNDO^LRMIEDZ PAT1+20
TIME^LRMIEDZ3 PAT1+23, EC3+1
EC^LRMIEDZ4 PAT1+18
LRANX^LRMIU4 PAT+2
STF^LRMIUT EC3+1
VT^LRMIUT1 PAT1+34
UPDATE^LRPXRM PAT1+30, PAT1+43
PT^LRX PAT1+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Enter the accession number"
  • Line Location: PAT+3
Function Call: WRITE
  • Prompt: !,"No tests associated with this accession"
  • Line Location: PAT1+2
Function Call: WRITE
  • Prompt: !,"Verify with accession #: ",$G(^LRO(68,LRAA,1,LRAD,1,LRAN,.2))
  • Line Location: PAT1+4
Function Call: WRITE
  • Prompt: !!?10,"Someone else is editing this accession ",!,$C(7)
  • Line Location: PAT1+5
Function Call: WRITE
  • Prompt: !!,?5,PNM," SSN: ",SSN
  • Line Location: PAT1+8
Function Call: WRITE
  • Prompt: " LOC: ",$S($L(LRWRD):LRWRD,1:$S($D(^LR(LRDFN,.1)):^(.1),1:"??"))
  • Condition for execution: LRDPF=2
  • Line Location: PAT1+8
Function Call: WRITE
  • Prompt: !!,?5,PNM," HRCN: ",HRCN
  • Line Location: PAT1+11
Function Call: WRITE
  • Prompt: !,"Final report has been verified by microbiology supervisor.",$C(7),!,"If you proceed in editing, this report will need to be reverified."
  • Line Location: PAT1+14
Function Call: WRITE
  • Prompt: !,?10,"OK"
  • Line Location: PAT1+15
Function Call: WRITE
  • Prompt: !,"Enter 'Y' or 'N':"
  • Line Location: PAT1+15
Function Call: READ
  • Prompt: "Choose: "
  • Formatting: !
  • Timeout: DTIME
  • Variable: LRI
  • Line Location: PAT1+18
Function Call: WRITE
  • Prompt: !,DR," template doesn't exist for Microbiology."
  • Line Location: PAT1+37
Routine Call
  • DIE
  • Line Location:
    • PAT1+43
    • PAT1+44

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^LR - [#63] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DIE - [#.402] PAT1+37, PAT1+38
^DIE("B" PAT1+37
^LR - [#63] PAT+2, PAT1+5, PAT1+6, PAT1+7, PAT1+10, PAT1+12, PAT1+14, PAT1+17, PAT1+24, PAT1+34
, BB+1*, BB+2*, BB+3*, EC3+1, CHECK+1
^LRO(68 - [#68] PAT1+1, PAT1+2, PAT1+3, PAT1+4, BB+3, CHECK+1, CHECK+3, CHECK+5
^LRO(69 - [#69] CHECK+6, ORDER+1*, ORDER+2

Label References

Name Line Occurrences
BB PAT1+7
CHECK UPDATE+1
EC3 PAT1+31, PAT1+43, PAT1+44
ORDER CHECK+6
PAT1 PAT+2
TRIG PAT1+35
UPDATE EC3+1

Naked Globals

Name Field # of Occurrence
^( PAT1+1, PAT1+12, CHECK+3, CHECK+5, CHECK+6, ORDER+2
^(0 PAT1+1, PAT1+6, PAT1+10, PAT1+24, BB+2, BB+3, EC3+1, CHECK+3*, ORDER+2*
^(3 PAT1+1
^(5 PAT1+1

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> % PAT1+15*, PAT1+16
>> BLRLOG PAT1+32
>> DA PAT1+21*
>> DA(1 PAT1+21*
>> DFN PAT1+10*
>> DIE PAT1+21*
DR PAT1+21!, PAT1+23!, PAT1+33!, PAT1+37*!, PAT1+43*!, PAT1+44*!
DR( PAT1+38*
DR(1 PAT1+43, PAT1+44
DTIME PAT+1, PAT1+18
DUZ(2 TRIG+1
>> HRCN PAT1+11
>> I PAT+1*, PAT1+15*, PAT1+18*, CHECK+3*, CHECK+6*, ORDER+2*
>> J PAT1+38*, CHECK+3*, CHECK+4, CHECK+6*, ORDER+1, ORDER+2
>> K PAT1+38*, ORDER+2*
>> LRAA PAT1+1, PAT1+2, PAT1+3, PAT1+4, BB+3
>> LRAD PAT1+1, PAT1+2, PAT1+3, PAT1+4, BB+3
LRAN PAT+1, PAT+3!, PAT1+1, PAT1+2, PAT1+3, PAT1+4, BB+3
>> LRANOK PAT+2*, PAT+3, PAT1+2*, PAT1+5*
>> LRBG0 PAT1+6*, BB+3*
>> LRCAPOK PAT+2*, PAT+3, PAT1+16*, PAT1+19*
>> LRCDT PAT1+1*, BB+3
>> LRDFN PAT+2, PAT1+1*, PAT1+5, PAT1+6, PAT1+7, PAT1+10, PAT1+12, PAT1+14, PAT1+17, PAT1+21
, PAT1+24, PAT1+30, PAT1+34, PAT1+43, BB+1, BB+2, BB+3, BB+5, EC3+1, CHECK+1
>> LRDPF PAT1+10*, PAT1+12
>> LREAL PAT1+1*, BB+3
>> LREND PAT1+23*, PAT1+31, EC3+1
>> LRFIFO PAT1+23*
>> LRI PAT1+1*, PAT1+18*, PAT1+19, PAT1+20, PAT1+22, PAT1+23, PAT1+27, PAT1+28, PAT1+37
>> LRIDT PAT+2, PAT1+1*, PAT1+5, PAT1+6, PAT1+7, PAT1+14, PAT1+17, PAT1+21, PAT1+24, PAT1+30
, PAT1+34, PAT1+43, BB+2, BB+3, BB+5, EC3+1, CHECK+1
>> LRNPTP PAT1+18
>> LRPARAM PAT+3
>> LRSAME PAT1+23*, EC3+1*
>> LRSB PAT1+22*, PAT1+27, PAT1+34
>> LRSPEC PAT1+1*, BB+3
LRSSC PAT1+24*, EC3+1!, CHECK+3, ORDER+2
LRSSCA UPDATE+1!, CHECK+1*, CHECK+2
LRSSCAA UPDATE+1!, CHECK+1*, CHECK+3, CHECK+5
LRSSCAN UPDATE+1!, CHECK+2*, CHECK+3, CHECK+5
LRSSCAY UPDATE+1!, CHECK+2*, CHECK+3, CHECK+5
LRSSCN EC3+1*!, CHECK+3, ORDER+1, ORDER+2
LRSSCOD UPDATE+1!, CHECK+5*, CHECK+6, ORDER+1, ORDER+2
LRSSCOM UPDATE+1!
LRSSCOM1 UPDATE+1!
LRSSCON UPDATE+1!, CHECK+5*, CHECK+6
LRTS PAT+3!, PAT1+20*
LRTS( PAT1+20
>> LRTX( PAT1+22, PAT1+23, PAT1+27, PAT1+28, PAT1+37
>> LRUNDO PAT1+10*, PAT1+17*, PAT1+20, PAT1+34
>> LRWRD PAT1+12
>> N PAT1+18
>> PNM PAT1+11
U PAT+1, PAT+3, PAT1+1, PAT1+3, PAT1+10, PAT1+14, PAT1+17, PAT1+18, PAT1+19, PAT1+24
, PAT1+34, BB+2, BB+3, EC3+1, CHECK+1, CHECK+5, ORDER+1
>> X PAT+1*, PAT1+37*, PAT1+38, CHECK+2*
>> Y CHECK+2
>> Y(0 PAT1+6*, BB+3*
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