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 |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call  | All
Print Page as PDF
Routine: VPRD

Package: Virtual Patient Record

Routine: VPRD


Information

VPRD ;SLC/MKB -- Serve VistA data as XML via RPC ;8/2/11 15:29

Source Information

Source file <VPRD.m>

Entry Points

Name Comments DBIA/ICR reference
GET(VPR,DFN,TYPE,START,STOP,MAX,ID,FILTER) ; -- Return search results as XML in @VPR@(n)
; RPC = VPR GET PATIENT DATA
  • ICR #7135
    • Status: Active
    • Usage: Private
    GTQ ; end
    RTN(X) ; -- Return name of VPRDxxxx routine for clinical domain X
    ; X is also enforced as expected group tag name, if passed by ref
    TAG(X) ; -- return plural name for group tags
    ALL() ; -- return string for all types of data
    ERR(X,VAL) ; -- return error message
    ESC(X) ; -- escape outgoing XML
    ; Q $ZCONVERT(X,"O","HTML") ; uncomment for fastest performance on Cache
    ADD(X) ; Add a line @VPR@(n)=X
    STRING(ARRAY) ; -- Return text in ARRAY(n) or ARRAY(n,0) as a string
    FAC(X) ; -- return Institution file station# for location X
    PROVTAGS() ; -- Return attribute tags for provider info as built below
    PROVSPC(NP) ; -- Return contact & specialty info for provider NP
    ; save strings in ^TMP("VPRD",$J,NP) for efficiency
    VUID(IEN,FILE) ; -- Return VUID for item
    VERSION(RET) ; -- Return current version of data extracts
    TEST(DFN,TYPE,ID,START,STOP,MAX,TEXT,IN) ; -- test GET, write results to screen

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,@IDX
    • Line Location: TEST+7

    Used in RPC

    RPC Name Call Tags
    VPR GET PATIENT DATA GET
    VPR DATA VERSION VERSION

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^VA(200 - [#200] GET1^DIQ
    ^SC - [#44] GET1^DIQ
    Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call  | All