On Sat, 2005-09-17 at 16:00 -0400, Kevin Toppenberg wrote: > I have just spent some time going through the code. I have documented > what I found out here: > > http://openforum.worldvista.org/~forum/index.php?title=VistA_Imaging_Issues > > I am fairly sure that the "https://myserver.com/" would be stored in > the PHYSICAL REFERENCE field, as mentioned above. > > Then, if there is a longer path that is needed that should be > concatenated to this location, then it should be stored in the > SUBDIRECTORY field.
As far as RPC usage, to add an image we do the following: Call MAGGADDIMAGE with a key-value parameter with the values as follows: "NETLOCABS" => ABS^STUFFONLY "OBJTYPE" => 3^1 "FileExt" => EXT^JPG "DUZ" => 8^ + (Users DUZ) "DATETIME" => 7^NOW "magDFN" => 5^ + (Patient DFN) that returns a string that is in the following format: image_ien^location^filename Note, the "'s in the above info are important, and the 8^ + (Users DUZ) for a User with a DUZ of 1008 means the string 8^1008 (Same for DFN). We then upload the file and thumbnail data to the place as directed (after converting \ to /, and changing the extension to ABS for the thumbnail data). Then an RPC call of MAG3 TIU IMAGE is called with 2 parameters, first the image_ien returned from the first call, and 2nd the ien of the document you wish to associate. Hope this helps. --Todd ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Hardhats-members mailing list Hardhats-members@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hardhats-members