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

From VistApedia
Jump to: navigation, search
 
Line 1: Line 1:
 
  Steps for uploading a picture to the Server
 
  Steps for uploading a picture to the Server
 
   
 
   
  1. use RPC call 'TIU CREATE RECORD' and get back IEN of created note
+
  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
+
  2. use RPC call [[MAG4 ADD IMAGE]] with patient information and image
 
         information.  Get back a file path and file name where
 
         information.  Get back a file path and file name where
 
         image should be saved to.  Also get back IEN in IMAGE file
 
         image should be saved to.  Also get back IEN in IMAGE file
 
         of stored image metainfo.
 
         of stored image metainfo.
   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.

Revision as of 15:57, 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.