MedITEX API manual

From MedITEX - Wiki

Revision as of 15:55, 30 July 2013 by JuRu (Talk | contribs)

Jump to: navigation, search

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.

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.

Example:

 

 

OpenPatientCryoOverview

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.

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

Parameters:
AUser, APassword (PAnsiChar)  
A specific user in MedITEX IVF which can be used in external programs.                  
APatientID (PAnsiChar) This is the ID of your patient.

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

Example:

 

 

Back to MedITEX products Back to top