MedITEX API manual

From MedITEX - Wiki

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
 
</td>
 
</td>
 
</tr>
 
</tr>
</tbody>
 
</table>
 
<table border="0">
 
<tbody>
 
 
<tr>
 
<tr>
 
<td colspan="3"><strong>Parameters:</strong></td>
 
<td colspan="3"><strong>Parameters:</strong></td>
Line 43: Line 39:
 
<td>PAnsiChar (optional)</td>
 
<td>PAnsiChar (optional)</td>
 
<td>Filter condition for the export.</td>
 
<td>Filter condition for the export.</td>
 +
</tr>
 +
<tr>
 +
<td><strong>Example:</strong><strong> </strong></td>
 +
<td colspan="2">Patient_ID = 1000 and dt_gewinnung &gt; '01.01.2010'</td>
 +
</tr>
 +
<tr>
 +
<td><strong>Return type:</strong></td>
 +
<td colspan="2">
 +
<p>The type of the return value is integer. The function returns 1 on success or -1 on failure.</p>
 +
</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 +
<p>&nbsp;</p>
 +
<p>para</p>
 
<table border="0">
 
<table border="0">
 
<tbody>
 
<tbody>
 
<tr>
 
<tr>
<td><strong>Example</strong></td>
+
<td><span style="font-family: courier new,courier;">AUser</span>, <span style="font-family: courier new,courier;">APassword: </span></td>
<td>Patient_ID = 1000 and dt_gewinnung &gt; '01.01.2010'</td>
+
<td>PAnsiChar</td>
 +
<td>A specific user in MedITEX IVF which can be used in external programs.</td>
 
</tr>
 
</tr>
 
<tr>
 
<tr>
<td><strong>Return type:</strong></td>
+
<td>&nbsp;</td>
<td>
+
<td>&nbsp;</td>
<p>The type of the return value is integer. The function returns 1 on success or -1 on failure.</p>
+
<td>&nbsp;</td>
</td>
+
</tr>
 +
<tr>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 +
</tr>
 +
<tr>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 +
</tr>
 +
<tr>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 +
<td>&nbsp;</td>
 
</tr>
 
</tr>
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 +
<p>&nbsp;</p>
 +
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>

Revision as of 15:21, 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'
Return type:

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

 

para

<tbody> </tbody>
AUser, APassword: PAnsiChar A specific user in MedITEX IVF which can be used in external programs.
     
     
     
     

 

 

 

 

 

 

 

 

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