Provide access to FreeMED 0.9.x+ data relay
Backend access to the FreeMED Electronic Medical Record and Practice Management system ( http://freemedsoftware.org/ ) for versions begining with 0.9.0 using the JSON transport capabilities of its data relay.
Returns a FreeMED::Relay object.
new takes "debug" as a boolean argument.
Sets the credentials used to access the FreeMED installation in question.
$base_uri variable should be the base name of the installation,
such as "http://localhost/freemed".
Log into the specified installation of FreeMED. Returns true or false depending on whether or not it is successful.
Execute a remote procedural call, translating to and from JSON transparently. If an argument is a hash with the keys '@var' and '@filename' it is assumed that the filename in question will be uploaded and attached to the form variable '@var'.
Internal method for initializing the LWP user agent, cookie jar and other special things.