New Noah WSI methods:



int RequestWSIConformanceLevel(int requestlevel);

 

Negotiate between the Backend service and Noah on the level of WSI.



Backend sends a request to Noah on which WSIConformanceLevel it wants to work with. Noah responds with the level Noah can handle, this level should be used for future communication (WSIConformanceLevel attribute in NoahDataExchange and BESQuery xml).

The default is level 1 (Previous to Noah 4.4)



Please note the differences in the schemas for the different WSIConformanceLevels. Schema files are versioned by the V(x) in the filename. E.g. PatientExport.xsd and PatientExportV2.xsd for Level 1 and 2.

Noah is looking for the WSIConformanceLevel attribute in the received XML, to determine which schemas to use for validation etc. If no WSIConformanceLevel attribute Level 1 (default) is used.



bool Resend(string jobid);

 

Request to resend previous failed transmissions. If jobid parameter is an empty string, Noah will resend all failed transmissions, else only for the specified jobid.

Noah returns true if executed. The Resend operation might not result in any transmissions, if either the jobid was not found or no transmissions could be set to the resend state.



JobStatus[] Status(string jobid);

 

Request status for either a single job identified by jobid, or for all currently queued transmissions (if jobid is an empty string).

The returned data is an array of JobStatus structure.

JobStatus structure:

Jobid    : The id of the job. (Empty string means not belonging to a specific job)

Pending : number of transmissions not yet transmitted.

Queued : number of transmissions that is put into the failed queue.