MedITEX API manual

From MedITEX - Wiki

(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
 
<tr>
 
<tr>
 
<td colspan="3">
 
<td colspan="3">
<p><em>function <strong><span style="color: #3366ff;">ExportCSVData</span></strong>(</em><span style="font-family: courier new,courier;"><em>AUser, APassword: </em></span><em>&nbsp;</em><em>PAnsiChar</em><em>; </em><em><span style="font-family: courier new,courier;">AExportID: </span>PAnsiChar; <span style="font-family: courier new,courier;">APathAndFile:</span> PAnsiChar;<span style="font-family: courier new,courier;"> AFilter:</span> PAnsiChar = nil): Integer; stdcall;</em><em> <br /></em></p>
+
<p><span><em>function <strong><span style="color: #3366ff;">ExportCSVData </span></strong>(</em><em>AUser, APassword: </em><em>&nbsp;</em><em>PAnsiChar</em><em>; </em><em>AExportID: PAnsiChar; APathAndFile: PAnsiChar; AFilter: PAnsiChar = nil): Integer; stdcall;</em></span><em> <br /></em></p>
 
</td>
 
</td>
 
</tr>
 
</tr>
Line 21: Line 21:
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><span style="font-family: courier new,courier;">AUser</span>, <span style="font-family: courier new,courier;">APassword: </span><br /></td>
+
<td colspan="2">AUser, APassword (PAnsiChar)</td>
<td>PAnsiChar</td>
+
 
<td>A specific user in MedITEX IVF which can be used in external programs.</td>
 
<td>A specific user in MedITEX IVF which can be used in external programs.</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><span style="font-family: courier new,courier;">AExportID:</span></td>
+
<td colspan="2">AExportID (PAnsiChar)</td>
<td>PAnsiChar</td>
+
 
<td>This is the ID of your report.</td>
 
<td>This is the ID of your report.</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td>&nbsp;<span style="font-family: courier new,courier;">APathAndFile: </span><br /></td>
+
<td colspan="2">APathAndFile (PAnsiChar)</td>
<td>PAnsiChar</td>
+
<td>Path where the file should be saved.</td>
<td>&nbsp;Path where the file should be saved.</td>
+
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><span style="font-family: courier new,courier;">AFilter: </span><br /></td>
+
<td colspan="2">AFilter (PAnsiChar, optional)</td>
<td>PAnsiChar (optional)</td>
+
<td>
<td>Filter condition for the export.</td>
+
<p>Filter condition for the export.</p>
 +
<p>Example: Patient_ID = 1000 and dt_gewinnung &gt; '01.01.2010'</p>
 +
</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
Line 45: Line 44:
 
<tr>
 
<tr>
 
<td><strong>Example:</strong><strong> </strong></td>
 
<td><strong>Example:</strong><strong> </strong></td>
<td colspan="2">Patient_ID = 1000 and dt_gewinnung &gt; '01.01.2010'</td>
+
<td colspan="2"></td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>

Revision as of 16:33, 30 July 2013

<tbody> </tbody>
<img src="/images/Api1.png" alt="" width="765" height="196" />

Obtained using the mexAPI.dll it is possible to get reports out of MedITEX IVF by calling the functions which are included in the DLL. It is also conceivable to control program functions in MedITEX IVF out of another program.

 

ExportCSVData

This function enables the export of files and reports out of MedITEX IVF with LDT. File format is CSV.

<tbody> </tbody>

function ExportCSVData (AUser, APassword:  PAnsiChar; AExportID: PAnsiChar; APathAndFile: PAnsiChar; AFilter: PAnsiChar = nil): Integer; stdcall;

Parameters:
AUser, APassword (PAnsiChar) A specific user in MedITEX IVF which can be used in external programs.
AExportID (PAnsiChar) This is the ID of your report.
APathAndFile (PAnsiChar) Path where the file should be saved.
AFilter (PAnsiChar, optional)

Filter condition for the export.

Example: Patient_ID = 1000 and dt_gewinnung > '01.01.2010'

 
Example:
Return type:

The type of the return value is integer. The function returns 1 on success or -1 on failure.

 

 

 

 

 

 

 

<tbody> </tbody>
<a href="/index.php?title=Main_Page">Back to MedITEX products</a> <a href="#top">Back to top</a>