Code that uploads Documents to an Allscripts System