VistA Imaging Issues/RPC Calls
From VistApedia
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.