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

Package Total Caller Graph
Scheduling 69 SDEC46  SDEC52CJSON  SDEC52CRMVJSON  SDES25  SDES2BLCKANDMOV2  SDES2BLOCKANDMOV  SDES2BLOCKMOVE  SDES2CANCLNAVAIL  
SDES2CRTCLNAVAIL  SDES2CRTCLNAVAL2  SDES2CRTVETAPPT  SDES2CRTWALKIN  SDES2CRTWALKIN2  SDES2GETCLINAVL  SDES2GETCLNSTA  SDES2JSON  
SDES2PATSEARCH  SDES2QRYAPREQS  SDES2SDECBLKMOVE  SDES2SEARCHRCLN  SDES2SNODEUTIL  SDES2SRCHCLNBYSC  SDESAPPTREQ40984  SDESBLOCKANDMOVE  
SDESBUILDJSON  SDESCANAPPT2  SDESCANCELAPPTS  SDESCHECKLOCK  SDESCKNSTEP  SDESCLINDAILYSCH  SDESCLINPRECAN  SDESCREATEAPPREQ  
SDESCRTAPPTWRAP  SDESCRTNEEDPREFS  SDESCRTWALKIN  SDESEDITAPPT  SDESEDITNEEDPREF  SDESGETALLCANCOM  SDESGETAPPTREQ  SDESGETAPPTSIEN  
SDESGETAPPTSIEN2  SDESGETAPPTTYPE  SDESGETAPPTWRAP  SDESGETAPPTWRAP2  SDESGETAPPTWRAP4  SDESGETAREQINST  SDESGETAREQINST2  SDESGETCLINAPPT  
SDESGETCLINSIEN  SDESGETCLNSCHEDS  SDESGETCONDETAIL  SDESGETCONSULTS  SDESGETPATAPPT  SDESGETPATINQUIR  SDESGETRECALL  SDESGETREQSIEN  
SDESGETREQWRAPPR  SDESGETSTOREDPAT  SDESJSON  SDESMISSIONELG  SDESNEEDSPREFS  SDESPATRPC  SDESPATSEARCH  SDESPRINTPATAPPT  
SDESPROVCLINSRCH  SDESREQAPPCREATE  SDESSEARCHRCLN  SDESSTOREPATIENT  SDESUNDOCHECKOUT  
Order Entry Results Reporting 10 OREDITOR  ORHEDITOR  ORHRPC  ORIRPC  ORIRPC1  ORIRPCCL  ORITEST  ORSPECAUTH  
ORWEB  ORWU  
Mental Health 8 YS187PST  YTQRCAT  YTQREST  YTQRQAD4  YTQRQAD7  YTQRUTL  YTSCAT  YTWJSONE  
Integrated Billing 5 IBACCRPT  IBCE837ACC2A  IBCE837ACCU3  IBCEMSRI  IBTASFAC  
Outpatient Pharmacy 5 PSO7P529  PSO7P684  PSODEAU0  PSOVCC0  PSOVCC1  
Registration 5 DGAUDIT  DGAUDIT1  DGAUDIT2  DGRTAUWS  DGUAMWS  
Kernel 3 XLFJSOND  XLFJSONE  XUEPCSU1  
E Claims Management Engine 2 BPSRPC01  BPSRPC02  
PCE Patient Care Encounter 1 PXSPECAUTH  
Problem List 1 GMPLSPECAUTH  
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