VistA Imaging Issues/RPC Calls

From VistApedia
Jump to: navigation, search

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.