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

From VistApedia
Jump to: navigation, search
 
m (moved RPC Calls to VistA Imaging Issues/RPC Calls: Collect VistA Imaging notes together.)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
Back to [[VistA Imaging Issues]]
 +
 
  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.
 +
 +
 +
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.

Latest revision as of 14:04, 21 March 2012

Back to VistA Imaging Issues

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.