MedITEX API manual

From MedITEX - Wiki

(Difference between revisions)
Jump to: navigation, search
Line 10: Line 10:
 
<h2>ExportCSVData</h2>
 
<h2>ExportCSVData</h2>
 
<p>This function enables the export of files and reports out of MedITEX IVF with LDT. File format is CSV.</p>
 
<p>This function enables the export of files and reports out of MedITEX IVF with LDT. File format is CSV.</p>
<p>&nbsp;</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> </em></p>
 
 
<table border="0">
 
<table border="0">
 
<tbody>
 
<tbody>
 +
<tr>
 +
<td colspan="3">
 +
<p>
 +
<p><span><em>function <span style="color: #3366ff;"><strong>ExportCSVData </strong></span>(</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> </em></p>
 +
</p>
 +
</td>
 +
</tr>
 
<tr>
 
<tr>
 
<td colspan="3"><strong>Parameters:</strong></td>
 
<td colspan="3"><strong>Parameters:</strong></td>
Line 45: Line 50:
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<h2>OpenPatientCryoOverview</h2>
 
<h2>OpenPatientCryoOverview</h2>
<p><em>function OpenPatientCryoOverview(</em><em>AUser, APassword: PAnsiChar; </em><em>APatientID: PAnsiChar): Integer; stdcall;</em></p>
+
<table border="0">
 +
<tbody>
 +
<tr>
 +
<td colspan="2">
 +
<p><em>function <strong><span style="color: #3366ff;">OpenPatientCryoOverview</span></strong>(</em><em>AUser, APassword: PAnsiChar; </em><em>APatientID: PAnsiChar): Integer; stdcall;</em></p>
 +
</td>
 +
</tr>
 +
</tbody>
 +
</table>
 
<p>This function offers the opportunity to call up the cryo storage in MedITEX IVF using the DLL.</p>
 
<p>This function offers the opportunity to call up the cryo storage in MedITEX IVF using the DLL.</p>
 
<p>The parameters user, password (PAnsiChar) and patientID (PAnsiChar) should be passed to the function.</p>
 
<p>The parameters user, password (PAnsiChar) and patientID (PAnsiChar) should be passed to the function.</p>
 
<p>After each call of the function, if MedITEX is running, the cryo storage of the respective patient will open.</p>
 
<p>After each call of the function, if MedITEX is running, the cryo storage of the respective patient will open.</p>
<p>The type of the return value is integer. The function returns 1 on success or -1 on failure.</p>
 
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 +
<p><strong>Return Type:</strong> The type of the return value is integer. The function returns 1 on success or -1 on failure.</p>
 +
<p><strong>Example: </strong></p>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>
 
<p>&nbsp;</p>

Revision as of 15:48, 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> <tr> <td colspan="3">Parameters:</td> </tr> <tr> <td colspan="2">AUser, APassword (PAnsiChar)</td> <td>A specific user in MedITEX IVF which can be used in external programs.</td> </tr> <tr> <td colspan="2">AExportID (PAnsiChar)</td> <td>This is the ID of your report.</td> </tr> <tr> <td colspan="2">APathAndFile (PAnsiChar)</td> <td>Path where the file should be saved.</td> </tr> <tr> <td colspan="2">AFilter (PAnsiChar, optional)</td> <td>

Filter condition for the export.

Example: Patient_ID = 1000 and dt_gewinnung > '01.01.2010'

</td> </tr> </tbody> </table>

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

Example:

 

 

OpenPatientCryoOverview

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

</p>

<tbody> </tbody>

function OpenPatientCryoOverview(AUser, APassword: PAnsiChar; APatientID: PAnsiChar): Integer; stdcall;

This function offers the opportunity to call up the cryo storage in MedITEX IVF using the DLL.

The parameters user, password (PAnsiChar) and patientID (PAnsiChar) should be passed to the function.

After each call of the function, if MedITEX is running, the cryo storage of the respective patient will open.

 

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

Example:

 

 

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