Todd,

Thanks for this info.  I didn't respond earlier because I was still
digesting it.

I made a wikki entry that documents this.

http://openforum.worldvista.org/~forum/index.php?title=MAGGADDIMAGE

I am still a little confused between the RPC calls:
MAGGADDIMAGE
and
MAG4 ADD IMAGE

Perhaps there is more than one to skin a cat, so to speak.

thanks
Kevin



On 9/19/05, Todd Berman <[EMAIL PROTECTED]> wrote:

-snip-
>
> 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

Reply via email to