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

Caller Graph Total: 61

Package Total Caller Graph
Scheduling 38 SDEC46  SDEC52CJSON  SDEC52CRMVJSON  SDES25  SDESAPPTREQ40984  SDESBUILDJSON  SDESCANAPPT2  SDESCANCELAPPTS  
SDESCKNSTEP  SDESCLINDAILYSCH  SDESCREATEAPPREQ  SDESCRTAPPTWRAP  SDESCRTWALKIN  SDESEDITAPPTREQ  SDESGETALLCANCOM  SDESGETAPPTREQ  
SDESGETAPPTSIEN  SDESGETAPPTWRAP  SDESGETAPPTWRAP2  SDESGETAPPTWRAP4  SDESGETAREQINST  SDESGETCLINAPPT  SDESGETCLINSIEN  SDESGETCLNSCHEDS  
SDESGETCONSULTS  SDESGETPATAPPT  SDESGETRECALL  SDESGETREQSIEN  SDESGETREQWRAPPR  SDESJSON  SDESMISSIONELG  SDESPATRPC  
SDESPATSEARCH  SDESPRINTPATAPPT  SDESPROVCLINSRCH  SDESREQAPPCREATE  SDESSEARCHRCLN  SDESUNDOCHECKOUT  
Mental Health 8 YS187PST  YTQRCAT  YTQREST  YTQRQAD4  YTQRQAD7  YTQRUTL  YTSCAT  YTWJSONE  
Registration 4 DGAUDIT  DGAUDIT1  DGAUDIT2  DGUAMWS  
Outpatient Pharmacy 3 PSO7P529  PSO7P684  PSODEAU0  
E Claims Management Engine 2 BPSRPC01  BPSRPC02  
Integrated Billing 2 IBCEMSRI  IBTASFAC  
Kernel 2 XLFJSOND  XLFJSONE  
Order Entry Results Reporting 1 ORWU  
VA FileMan 1 DDEG  

Entry Points

Name Comments DBIA/ICR reference
DECODE(XUJSON,XUROOT,XUERR)
  • ICR #6682
    • Status: Active
    • Usage: Supported
    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: Supported
    ESC(X) ; Escape string for JSON
    ; X: Required; String to be escaped
  • ICR #6682
    • Status: Active
    • Usage: Supported
    UES(X) ; Unescape JSON string
    ; X: Required; String to be unescaped
  • ICR #6682
    • Status: Active
    • Usage: Supported
    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