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

Package: Lab Service

Routine: LRPXAPIU


Information

LRPXAPIU ; SLC/STAFF Lab Extract API Utilities ;1/29/04 14:32

Source Information

Source file <LRPXAPIU.m>

Call Graph

Call Graph

Call Graph Total: 5

Package Total Call Graph
Lab Service 2 ($$CONDOK,NORMALS)^LRPXAPI2  $$ICD9^LRPXAPIU  
VA FileMan 2 ^%DT  Y^DIQ  
DRG Grouper 1 ($$ICDD,$$ICDDX)^ICDCODE  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 29

Package Total Caller Graph
Lab Service 16 LRPX  LRPXAPI1  LRPXAPI2  LRPXAPI3  LRPXAPI4  LRPXAPI5  LRPXAPIU  LRPXAPP  
LRPXAPPU  LRPXCHK  LRPXCHKA  LRPXCHKM  LRPXRM  LRPXSXRA  LRPXSXRB  LRPXSXRL  
Virtual Patient Record 5 VPRDJ0  VPRDLR  VPRDLRA  VPRDLRO  VPRSDAB  
Methicillin Resistant Staph Aurerus Initiative Reports 2 MMRSCRE3  MMRSIPC3  
Order Entry Results Reporting 2 ORWGAPIC  ORWLRRG  
VA FileMan 2 ^DDE  ITEM  
Enterprise Health Management Platform 1 HMPDJ0  
Patient Assessment Documentation 1 NUPAOBJ1  

Entry Points

Name Comments DBIA/ICR reference
LRDFN(DFN) ; API $$(dfn) -> lrdfn
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    DFN(LRDFN) ; API $$(lrdfn) -> dfn
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    LRIDT(DATETIME) ; API $$(datetime) -> lridt (or lridt to datetime)
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    LRDN(TEST) ; API $$(test) -> data number (subscript for test in ^LR)
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    TEST(LRDN) ; API $$(lrdn) -> test
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    AB(ABDN) ; API $$(antimicrobial data number) -> antimicrobial ien
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    ABDN(AB) ; API $$(62.06 ien) -> antimicrobial data number
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    TB(TBDN) ; API $$(mycobacteria data number) -> mycobacteria field number
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    TBDN(TB) ; API $$(mycobacteria field number) -> mycobacteria data number
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    CATEGORY(SUB,TYPE) ; API $$(subscript, type) -> Micro category [B P F M V], AP category [A C E M S]
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    CATSUB(CAT,TYPE) ; API $$(category letter, type) -> subscript
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    DFNM(DFN) ; API $$(dfn) -> patient name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    LRDFNM(LRDFN) ; API $$(lrdfn) -> patient name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    TESTNM(TEST) ; API $$(test ien) -> test name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    LRDNM(LRDN) ; API $$(data number) -> test name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    SPECNM(SPEC) ; API $$(spec ien) -> specimen name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    BUGNM(BUG) ; API $$(organism ien) -> organism name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    ABNM(AB) ; API $$(antimicrobial ien) -> antimicrobial name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    TBNM(TB) ; API $$(mycobacteria field number) -> mycobacteria drug name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    ORGNM(ORGAN) ; API $$(organ/tissue ien) -> organ/tissue name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    DISNM(DISEASE) ; API $$(disease ien) -> disease name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    ETINM(ETIOLOGY) ; API $$(etiology ien) -> etiology name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    MORPHNM(MORPH) ; API $$(morphology ien) -> morphology name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    FUNNM(FUNCTION) ; API $$(function ien) -> function name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    PROCNM(PROC) ; API $$(procedure ien) -> procedure name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    ICD9(ICD9) ; API $$(icd9 ien) -> icd code^name
    DOD(DFN) ; API $$(dfn) -> date of death else 0
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    EXTVALUE(Y,REF) ; API $$(internal value,index ref) -> external value
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    ITEMNM(INFO) ; API $$(ap or micro item) -> item name
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    CONDOK(COND,TYPE) ; API $$(condition,type) -> 1 for valid condition, else 0
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    NORMALS(LOW,HIGH,TEST,SPEC) ; API return low and high ref range on test
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    DATES(DATE1,DATE2) ; API return proper date range
    ; DATE1 always returns oldest value
  • ICR #4246
    • Status: Active
    • Usage: Controlled Subscription
    EXTTOFM(X) ; $$(external date/time) -> FM date/time
    VRESULT(TEST,RESULT) ; $$(test,result) -> valid result
    RESULT(TEST,RESULT) ; $$(test,result) -> result Convert CH result to external format
    STRIP(TEXT) ; $$(text) -> stripped text Strips white space from text

    External References

    Name Field # of Occurrence
    ^%DT EXTTOFM+3
    Y^DIQ EXTVALUE+5
    $$ICDD^ICDCODE ICD9+3
    $$ICDDX^ICDCODE ICD9+2
    $$CONDOK^LRPXAPI2 CONDOK+1
    NORMALS^LRPXAPI2 NORMALS+1
    $$ICD9^LRPXAPIU ITEMNM+22

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DD(63.04 EXTVALUE+4
    ^DD(63.39 TB+1, TBDN+2, TBNM+1
    ^DPT - [#2] LRDFN+1, DFNM+1, DOD+1
    ^LAB(60 - [#60] LRDN+1, TEST+1, TESTNM+1, RESULT+4
    ^LAB(61 - [#61] SPECNM+1, ORGNM+1
    ^LAB(61.1 - [#61.1] MORPHNM+1
    ^LAB(61.2 - [#61.2] BUGNM+1, ETINM+1
    ^LAB(61.3 - [#61.3] FUNNM+1
    ^LAB(61.4 - [#61.4] DISNM+1
    ^LAB(61.5 - [#61.5] PROCNM+1
    ^LAB(62.06 - [#62.06] AB+1, ABDN+2, ABNM+1
    ^LR - [#63] DFN+2, DFN+3

    Label References

    Name Line Occurrences
    $$ABNM ITEMNM+11
    $$BUGNM ITEMNM+10
    $$DFN LRDFNM+1
    $$DFNM LRDFNM+1
    $$DISNM ITEMNM+17
    $$ETINM ITEMNM+19
    $$EXTTOFM DATES+3, DATES+4
    $$FUNNM ITEMNM+20
    $$MORPHNM ITEMNM+18
    $$ORGNM ITEMNM+16
    $$PROCNM ITEMNM+21
    $$RESULT VRESULT+1
    $$SPECNM ITEMNM+8
    $$STRIP VRESULT+1
    $$TBNM ITEMNM+12
    $$TEST LRDNM+1
    $$TESTNM LRDNM+1, ITEMNM+2, ITEMNM+9, ITEMNM+15

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    %DT EXTTOFM+1~, EXTTOFM+2*
    AB ABDN~, ABDN+2, ABNM~, ABNM+1
    ABDN AB~, AB+1, ABDN+1~, ABDN+2*, ABDN+3, ABDN+4
    BUG BUGNM~, BUGNM+1
    C EXTVALUE+1~, EXTVALUE+4*
    CAT CATEGORY+1~, CATEGORY+3, CATEGORY+4*, CATEGORY+5*, CATEGORY+6*, CATEGORY+7*, CATEGORY+8*, CATEGORY+9*, CATSUB~, CATSUB+2*
    , CATSUB+4, CATSUB+5, CATSUB+6, CATSUB+7, CATSUB+8, CATSUB+10, CATSUB+11, CATSUB+12, CATSUB+13
    COND CONDOK~, CONDOK+1
    DATE1 DATES~, DATES+3*, DATES+6*
    DATE2 DATES~, DATES+4*, DATES+5*, DATES+6*, DATES+7*
    DATETIME LRIDT~, LRIDT+1, LRIDT+2
    DFN LRDFN~, LRDFN+1, DFNM~, DFNM+1, DOD~, DOD+1
    DISEASE DISNM~, DISNM+1
    ETIOLOGY ETINM~, ETINM+1
    FIELD EXTVALUE+1~, EXTVALUE+3*, EXTVALUE+4
    FILE ITEMNM+1~, ITEMNM+5*, ITEMNM+8, ITEMNM+9, ITEMNM+10, ITEMNM+11, ITEMNM+12, ITEMNM+14, ITEMNM+15, ITEMNM+16
    , ITEMNM+17, ITEMNM+18, ITEMNM+19, ITEMNM+20, ITEMNM+21, ITEMNM+22
    FUNCTION FUNNM~, FUNNM+1
    HIGH NORMALS~, NORMALS+1
    I STRIP+1~, STRIP+2*
    ICD9 ICD9~, ICD9+2*, ICD9+3, ICD9+4
    INFO ITEMNM~, ITEMNM+2, ITEMNM+4, ITEMNM+5, ITEMNM+6, ITEMNM+14
    LOW NORMALS~, NORMALS+1
    LRCW RESULT+3~, RESULT+4*
    LRDFN DFN~, DFN+1*, DFN+2, DFN+3, LRDFNM~, LRDFNM+1
    LRDN TEST~, TEST+1, LRDNM~, LRDNM+1
    LRTMP ICD9+1~, ICD9+3*
    LRTMP(1 ICD9+4
    MORPH MORPHNM~, MORPHNM+1
    NAME ITEMNM+1~, ITEMNM+3*, ITEMNM+4, ITEMNM+5, ITEMNM+6, ITEMNM+7, ITEMNM+8*, ITEMNM+9*, ITEMNM+10*, ITEMNM+11*
    , ITEMNM+12*, ITEMNM+13, ITEMNM+14*, ITEMNM+15*, ITEMNM+16*, ITEMNM+17*, ITEMNM+18*, ITEMNM+19*, ITEMNM+20*, ITEMNM+21*
    , ITEMNM+22*, ITEMNM+23
    NUM ITEMNM+1~, ITEMNM+6*, ITEMNM+8, ITEMNM+9, ITEMNM+10, ITEMNM+11, ITEMNM+12, ITEMNM+15, ITEMNM+16, ITEMNM+17
    , ITEMNM+18, ITEMNM+19, ITEMNM+20, ITEMNM+21, ITEMNM+22
    ORGAN ORGNM~, ORGNM+1
    PROC PROCNM~, PROCNM+1
    REF EXTVALUE~, EXTVALUE+2, EXTVALUE+3
    RESULT VRESULT~, VRESULT+1, RESULT~, RESULT+4
    SPEC SPECNM~, SPECNM+1, NORMALS~, NORMALS+1
    SUB CATEGORY~, CATEGORY+2*, CATEGORY+4, CATEGORY+5, CATEGORY+6, CATEGORY+7, CATEGORY+8, CATEGORY+10, CATEGORY+11, CATEGORY+12
    , CATEGORY+13, CATEGORY+14, CATEGORY+15, CATEGORY+16, CATSUB+1~, CATSUB+3, CATSUB+4*, CATSUB+5*, CATSUB+6*, CATSUB+7*
    , CATSUB+8*, CATSUB+9*
    TB TBDN~, TBDN+2, TBNM~, TBNM+1
    TBDN TB~, TB+1, TBDN+1~, TBDN+2*, TBDN+3, TBDN+4
    TEMP DATES+2~, DATES+6*
    TEST LRDN~, LRDN+1, TESTNM~, TESTNM+1, NORMALS~, NORMALS+1, VRESULT~, VRESULT+1, RESULT~, RESULT+4
    TEXT STRIP~, STRIP+2
    TYPE CATEGORY~, CATEGORY+3, CATSUB~, CATSUB+3, ITEMNM+1~, ITEMNM+4*, ITEMNM+7, ITEMNM+13, CONDOK~, CONDOK+1
    U DFN+2, DFN+3, LRDN+1, ABDN+2, TBDN+2, DFNM+1, TESTNM+1, SPECNM+1, BUGNM+1, ABNM+1
    , TBNM+1, ORGNM+1, DISNM+1, ETINM+1, MORPHNM+1, FUNNM+1, PROCNM+1, ICD9+2, ICD9+4, EXTVALUE+4
    , RESULT+4
    X EXTTOFM~, RESULT+3~, RESULT+4*, RESULT+5, STRIP+1~, STRIP+2*, STRIP+3
    X1 RESULT+3~, RESULT+4*
    Y EXTVALUE~, EXTVALUE+2, EXTVALUE+6, EXTTOFM+1~, EXTTOFM+4, EXTTOFM+5
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Global Variables Directly Accessed |  Label References |  Local Variables  | All