Difference between revisions of "VistA Imaging Issues/RPC Calls"

From VistApedia
Jump to: navigation, search
Line 8: Line 8:
 
   3. use RPC call [[MAG3 TIU IMAGE]] with IMAGE IEN, and note IEN
 
   3. use RPC call [[MAG3 TIU IMAGE]] with IMAGE IEN, and note IEN
 
   4. save image to the file path and name given by the server.
 
   4. save image to the file path and name given by the server.
 +
 +
 +
Steps for getting pictures from the Server
 +
 +
1. Call [[MAG3 CPRS TIU NOTE]] with IEN of current note.
 +
    get back a list of available images (file path and file name)
 +
2. load image(s) from specified locations.

Revision as of 16:30, 18 September 2005

Steps for uploading a picture to the Server

1. use RPC call TIU CREATE RECORD and get back IEN of created note
2. use RPC call MAG4 ADD IMAGE with patient information and image
        information.  Get back a file path and file name where
        image should be saved to.  Also get back IEN in IMAGE file
        of stored image metainfo.
 3. use RPC call MAG3 TIU IMAGE with IMAGE IEN, and note IEN
 4. save image to the file path and name given by the server.


Steps for getting pictures from the Server

1. Call MAG3 CPRS TIU NOTE with IEN of current note.
   get back a list of available images (file path and file name)
2. load image(s) from specified locations.