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 |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: LR7OR1

Package: Lab Service

Routine: LR7OR1


Information

LR7OR1 ;DALIO/JMC - Get Lab results ;MAR 13, 2013@09:08

Source Information

Source file <LR7OR1.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Lab Service 8 (BB1,PLS)^LR7OB63  MI^LR7OB63A  SS^LR7OB63C  AU^LR7OB63D  69^LR7OB69  CH^LR7OR2  EN^LR7OU1  ^LRDPA  
VA FileMan 2 ^%DT  ^DIC  

Caller Graph

Caller Graph Total: 60

Package Total Caller Graph
Lab Service 21 LR7OF0  LR7OGU  LR7OR2  LR7OSBB1  LR7OSBR  LR7OSMZ0  LR7OSOS  LR7OSOS1  
LR7OSUM  LRAPQOR3  LRAPS3  LRBLPAB  LRBLPD1  LREPI2  LREPI2A  LRFRSLT  
LRGEN  LROR1  LROW2RP  LRRP4  LRUQ  
Order Entry Results Reporting 10 ORCDVBEC  ORCHTAB1  ORCXPND1  ORCXPND3  ORMLR  ORQQLR  ORQQLR1  ORWDPLM1  
ORWDXVB  ORWOR2  
Virtual Patient Record 6 VPRDJ0  VPRDJ08A  VPRDLR  VPRDLRA  VPRDLRO  VPRSDAQ  
Emergency Department Integration Software 4 EDPDTL  EDPHIST  EDPLAB  EDPQPP  
Enterprise Health Management Platform 4 HMPDJ0  HMPDJ08A  HMPDLR  HMPDLRA  
VBECS 4 VBECA1A  VBECA3  VBECA4  VBECRPCA  
Methicillin Resistant Staph Aurerus Initiative Reports 3 MMRSCDI1  MMRSCRE3  MMRSIPC3  
National Health Information Network 3 NHINVLR  NHINVLRA  NHINVLRO  
Mental Health 2 YSCLTST2  YSCLTST4  
Automated Lab Instruments 1 LA7DVM  
Care Management 1 ORRCACK  
Text Integration Utility 1 TIUWRIIS  

Entry Points

Name Comments DBIA/ICR reference
RR(DFN,ORD,SDATE,EDATE,SUB,TEST,FLAG,COUNT,SPEC,UNVER) ;Get LAB results for patient
  • ICR #2503
    • Status: Active
    • Usage: Controlled Subscription
    MI(SDATE,EDATE,COUNT,SPEC) ;Get MI Subscript data
    BB(SDATE,EDATE,COUNT,SPEC) ;Get BB Subscript data
    AP(SDATE,EDATE,COUNT) ;Get AP Subscript data (EM,CY,AU,SP)
    TEST ;Test the RR entry point
    O1
    T1
    T2
    DTRNG ; Date range setup
    SN ; Get the subs
    LRDFN(IFN,FILEROOT)
  • ICR #2503
    • Status: Active
    • Usage: Controlled Subscription

    External References

    Name Field # of Occurrence
    ^%DT O1+3, O1+4
    ^DIC O1+2, O1+5
    BB1^LR7OB63 BB+4
    PLS^LR7OB63 SN+14
    MI^LR7OB63A MI+3
    SS^LR7OB63C AP+4
    AU^LR7OB63D AP+3
    69^LR7OB69 SN+7
    CH^LR7OR2 RR+43
    EN^LR7OU1 RR+39
    ^LRDPA TEST+3

    Interaction Calls

    Name Line Occurrences
    Function Call: READ
    • Variable: X
    • Timeout: DTIME
    • Line Location: O1+0
    Function Call: WRITE
    • Prompt: !!,X_" is not a valid order number."
    • Line Location: O1+1
    Function Call: READ
    • Variable: X
    • Timeout: DTIME
    • Line Location: T1+0
    Function Call: WRITE
    • Prompt: !!,"Bad input, enter ALL, CH, MI, or AP"
    • Line Location: T1+1
    Function Call: WRITE
    • Prompt: !!,$S($D(^TMP("LRRR",$J)):"Data found!",1:"NO Data found!")
    • Line Location: T2+1
    Routine Call
    • DIC
    • Line Location:
      • O1+2
      • O1+5

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^LAB(60 - [#60] RR+28, RR+29, RR+30, RR+37
    ^LR - [#63] MI+3, BB+4, AP+4, LRDFN+6
    ^LRO(68 - [#68] SN+18
    ^LRO(69 - [#69] RR+41, O1+1, O1+2
    ^TMP( SN+27!
    ^TMP("LRAPI" RR+32!, TEST+2!
    ^TMP("LRRR" RR+32!, MI+3*, BB+4*, AP+3*, AP+4*, TEST+2!, T2+1, SN+23, SN+24*, SN+25*
    ^TMP("LRX" MI+2!, MI+3, MI+4!, BB+3!, BB+4, BB+5!, AP+1!, AP+3, AP+4, AP+5!
    , SN+7, SN+17, SN+18, SN+20, SN+21, SN+24, SN+25

    Label References

    Name Line Occurrences
    $$LRDFN RR+20
    AP RR+46
    DTRNG RR+25
    MI RR+44
    O1 O1+1
    RR T2
    SN RR+40, RR+41, RR+42
    T1 T1+1
    T2 O1+2

    Naked Globals

    Name Field # of Occurrence
    ^("LR" LRDFN+5
    ^(0 RR+37

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    %DT TEST+1~, O1+3*, O1+4*
    %DT("A" O1+3*, O1+4*
    AGE RR+17~, RR+24*
    COUNT RR~, RR+34*, RR+43, RR+44, RR+46, MI~, MI+1, MI+3, BB~, BB+2
    , BB+4, AP~, AP+2, AP+4
    CT1 RR+17~, RR+34*, MI+1, MI+3*, BB+2, BB+4*, AP+2, AP+4*
    CTR MI+3*, BB+4*, AP+3*, AP+4*, SN+11~, SN+12*
    DFN RR~, RR+19, RR+20, RR+23, RR+24, MI+3, BB+4, AP+3, AP+4, TEST+3
    , T2, SN+23, SN+24, SN+25
    DIC TEST+1~, O1+2*, O1+5*
    DIC("A" O1+2*, O1+5*
    DIC(0 O1+2*, O1+5*
    DOB RR+17~, RR+24*
    DRAW RR+17~, SN+18*, SN+23, SN+24, SN+25
    DT RR+24
    DTIME O1, T1
    EDATE RR~, RR+43, RR+44, RR+46, MI~, MI+1, MI+3, BB~, BB+2, BB+4
    , AP~, AP+2, AP+4, DTRNG+1*, DTRNG+2*, DTRNG+4*, DTRNG+5*
    FILEROOT LRDFN~, LRDFN+4*, LRDFN+5
    FLAG RR~, RR+26*, RR+28, RR+29
    I SN+2~, SN+22*, SN+23*, SN+24, SN+27*
    IFN LRDFN~, LRDFN+3, LRDFN+5
    II RR+17~, SN+2~, SN+16*, SN+17*, SN+18, SN+20, SN+21, SN+24, SN+25
    III RR+17~, SN+2~, SN+19*, SN+20*, SN+21, SN+22, SN+24
    IVDT MI+3*, BB+4*, AP+4*, SN+11~, SN+12*, SN+13*
    LRDFN RR+17~, RR+20*, RR+21, MI+3, BB+4, AP+4
    LRDPF RR+17~, RR+20*, RR+23, RR+24
    LRPLSAVE SN+2~, SN+5*
    LRPLSAVE("CH" SN+13
    LRPLSAVE(0 SN+10, SN+12
    LRSS AP+1~, AP+4*
    LRX MI+3!, BB+4!, AP+4!
    ORD RR~, RR+36, RR+40, RR+41, RR+42
    ORDT RR+17~, RR+36*, RR+40*, RR+41*, RR+42*, SN+7
    ORSN RR+17~, RR+40*, RR+41*, RR+42*, SN+7
    SDATE RR~, RR+43, RR+44, RR+46, MI~, MI+1, MI+3, BB~, BB+2, BB+4
    , AP~, AP+2, AP+4, DTRNG+1*, DTRNG+4*, DTRNG+5*
    SEX RR+17~, RR+23*
    SPEC RR~, RR+43, RR+44, RR+46, MI~, MI+3, BB~, BB+4
    SS RR+17~, SN+18*, SN+23, SN+24, SN+25
    SUB RR~, RR+26*, RR+30*, RR+43, RR+44, RR+46
    TEST RR~, RR+28, RR+29*, RR+30, RR+37, RR+38, RR+39, RR+43
    TSTY RR+17~, SN+20
    TSTY( RR+38*, SN+20
    U SN+21
    UNVER RR~, RR+43
    X RR+37*, RR+38, RR+39, TEST+1~, O1*, O1+1, O1+2, O1+3, O1+4, O1+5
    , T1*, T1+1, T1+2, DTRNG+1*, DTRNG+5*, LRDFN+5*, LRDFN+6*, LRDFN+7
    X1 TEST+1~, TEST+2*, O1+3*, T2
    X2 TEST+1~, TEST+2*, O1+4*, T2
    X3 TEST+1~, TEST+2*, O1+2*, O1+5*, O1+6, T2
    X4 TEST+1~, TEST+2*, T1+2*, T2
    X5 TEST+1~, TEST+2*, O1+2*, T2
    Y TEST+1~, O1+2, O1+3, O1+4, O1+5
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All