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 |  Label References |  Local Variables  | All
Print Page as PDF
Routine: XLFJSON

Package: Kernel

Routine: XLFJSON


Information

XLFJSON ;SLC/KCM/TJB - Decode/Encode JSON ;26 Oct 2016

Source Information

Source file <XLFJSON.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Kernel 2 ($$UES,DIRECT)^XLFJSOND  ($$ESC,DIRECT)^XLFJSONE  

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

Package Total Caller Graph
Scheduling 5 SDEC52CJSON  SDEC52CRMVJSON  SDES25  SDESCKNSTEP  SDESJSON  
E Claims Management Engine 2 BPSRPC01  BPSRPC02  
Kernel 2 XLFJSOND  XLFJSONE  
Integrated Billing 1 IBTASFAC  
Mental Health 1 YTWJSONE  
Order Entry Results Reporting 1 ORWU  
Registration 1 DGUAMWS  
VA FileMan 1 DDEG  

Entry Points

Name Comments DBIA/ICR reference
DECODE(XUJSON,XUROOT,XUERR)
  • ICR #6682
    • Status: Active
    • Usage: Controlled Subscription
    ENCODE(XUROOT,XUJSON,XUERR) ; XUROOT (M structure) --> XUJSON (array of strings)
    ; Examples: D ENCODE^XLFJSON("^GLO(99,2)","^TMP($J)")
    ; D ENCODE^XLFJSON("LOCALVAR","MYJSON","LOCALERR")
  • ICR #6682
    • Status: Active
    • Usage: Controlled Subscription
    ESC(X) ; Escape string for JSON
    ; X: Required; String to be escaped
  • ICR #6682
    • Status: Active
    • Usage: Controlled Subscription
    UES(X) ; Unescape JSON string
    ; X: Required; String to be unescaped
  • ICR #6682
    • Status: Active
    • Usage: Controlled Subscription
    ERRX(ID,VAL) ; Set the appropriate error message
    ; switch (ID) -- XERRX ends statement
    XERRX ; end switch

    External References

    Name Field # of Occurrence
    $$UES^XLFJSOND UES+2
    DIRECT^XLFJSOND DECODE+12
    $$ESC^XLFJSONE ESC+2
    DIRECT^XLFJSONE ENCODE+8

    Label References

    Name Line Occurrences
    XERRX ERRX+6, ERRX+7, ERRX+8, ERRX+9, ERRX+10, ERRX+11, ERRX+12, ERRX+13, ERRX+14, ERRX+15
    , ERRX+16, ERRX+17, ERRX+18, ERRX+19, ERRX+20, ERRX+21, ERRX+22, ERRX+23, ERRX+24, ERRX+25
    , ERRX+29, ERRX+30

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ERRMSG ERRX+2~, ERRX+6*, ERRX+7*, ERRX+8*, ERRX+9*, ERRX+10*, ERRX+11*, ERRX+12*, ERRX+13*, ERRX+14*
    , ERRX+15*, ERRX+16*, ERRX+17*, ERRX+18*, ERRX+19*, ERRX+20*, ERRX+21*, ERRX+22*, ERRX+23*, ERRX+24*
    , ERRX+25*, ERRX+29*, ERRX+30*, ERRX+31*, XERRX+2
    ID ERRX~, ERRX+6, ERRX+7, ERRX+8, ERRX+9, ERRX+10, ERRX+11, ERRX+12, ERRX+13, ERRX+14
    , ERRX+15, ERRX+16, ERRX+17, ERRX+18, ERRX+19, ERRX+20, ERRX+21, ERRX+22, ERRX+23, ERRX+24
    , ERRX+25, ERRX+29, ERRX+30, ERRX+31
    VAL ERRX~, ERRX+13, ERRX+14, ERRX+15, ERRX+16, ERRX+17, ERRX+24, ERRX+25, ERRX+29, ERRX+30
    , ERRX+31
    X ESC~, ESC+2, UES~, UES+2
    XUERR DECODE~, ENCODE~, XERRX+1, XERRX+2
    >> XUERRORS XERRX+3*
    XUJSON DECODE~, ENCODE~
    XUROOT DECODE~, ENCODE~
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Label References |  Local Variables  | All