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

Package: Virtual Patient Record

Routine: VPRJSON


Information

VPRJSON ;SLC/KCM -- Decode/Encode JSON ;8/14/13 11:22

Source Information

Source file <VPRJSON.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Virtual Patient Record 2 ($$UES,DIRECT)^VPRJSOND  ($$ESC,DIRECT)^VPRJSONE  

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

Package Total Caller Graph
Virtual Patient Record 4 VPRDCRC  VPRDJ  VPRJSOND  VPRJSONE  
Mental Health 1 YTXCHGT  
PCE Patient Care Encounter 1 PXVRPC7  

Entry Points

Name Comments DBIA/ICR reference
DECODE(VVJSON,VVROOT,VVERR)
  • ICR #6411
    • Status: Active
    • Usage: Controlled Subscription
    ENCODE(VVROOT,VVJSON,VVERR) ; VVROOT (M structure) --> VVJSON (array of strings)
    ; Examples: D ENCODE^VPRJSON("^GLO(99,2)","^TMP($J)")
    ; D ENCODE^VPRJSON("LOCALVAR","MYJSON","LOCALERR")
  • ICR #6411
    • Status: Active
    • Usage: Controlled Subscription
    ESC(X) ; Escape string for JSON
    UES(X) ; Unescape JSON string
    ERRX(ID,VAL) ; Set the appropriate error message
    ; switch (ID) -- XERRX ends statement
    XERRX ; end switch

    External References

    Name Field # of Occurrence
    $$UES^VPRJSOND UES+1
    DIRECT^VPRJSOND DECODE+12
    $$ESC^VPRJSONE ESC+1
    DIRECT^VPRJSONE 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+28
    , ERRX+29

    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+28*, ERRX+29*, ERRX+30*, 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+28, ERRX+29, ERRX+30
    VAL ERRX~, ERRX+13, ERRX+14, ERRX+15, ERRX+16, ERRX+17, ERRX+24, ERRX+28, ERRX+29, ERRX+30
    VVERR DECODE~, ENCODE~, XERRX+1, XERRX+2
    >> VVERRORS XERRX+3*
    VVJSON DECODE~, ENCODE~
    VVROOT DECODE~, ENCODE~
    X ESC~, ESC+1, UES~, UES+1
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Label References |  Local Variables  | All