Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points
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>

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
    Info |  Source |  Entry Points