Examples mexAPI

From MedITEX - Wiki

(Difference between revisions)
Jump to: navigation, search
Line 647: Line 647:
 
</tbody>
 
</tbody>
 
</table>
 
</table>
 +
<p>You can get the PatientID with the function GetPatientID in the Patient tab and the TherapieID with the function GetTherapieID in the Therapie tab.</p>
 
<p><span class="toctext"><br /></span></p>
 
<p><span class="toctext"><br /></span></p>
 
<h3><span class="toctext">OpenPatientCryoOverview</span></h3>
 
<h3><span class="toctext">OpenPatientCryoOverview</span></h3>
Line 702: Line 703:
 
</tbody>
 
</tbody>
 
</table>
 
</table>
<p>You can get the TherapieID with the function GetTherapieID in the Therapie tab.</p>
 
 
<table style="float: right;" border="0">
 
<table style="float: right;" border="0">
 
<tbody>
 
<tbody>

Revision as of 10:42, 12 August 2013

On this page you get more informations about using mexAPI. Here you can get examples for all functions of the program.

 

Contents

Commands

<tbody> </tbody>
 

 

 

ExportCSVData

<tbody> </tbody>
 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#ExportCSVData">Back to the function ExportCSVData</a>

 

 

 

SaveData

<tbody> </tbody>
 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveData">Back to the function SaveData</a>

 

 

 

GetData

<tbody> </tbody>
 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetData">Back to the function GetData</a>

 

 

 

 

GetLanguageCode

The language code of your database will be shown. RDA_EN = English, RDA_DE = German, ...

<tbody> </tbody>
 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetLanguageCode">Back to the function GetLanguageCode</a>

 

 

 

GetExpertData

<tbody> </tbody>
 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetExpertData">Back to the function GetExpertData</a>
<a href="#top">Back to top</a>

 

 

 

 

Patient

<tbody> </tbody>
ApiPatient.png

 

GetPatientID

After calling the function GetPatientID the following window opens:

<tbody> </tbody>
<img src="/images/GetPatientID1.png" alt="" width="550" height="379" />

In this window you can search the patient. You can search by surname, date of birth or patient ID. You can also open the list and search there.

 

If you have found the correct name, choose it with a double click on it.

The window will close automatically and show you the associated patient ID.

For the example we take the patient Jane DEMO with the patient ID 1.

GetPatientID.png

After this step you can work with the other functions. At each place where the patient ID is needed in the mexAPI, the field is filled automatically.

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetPatientID">Back to the function GetPatientID</a>

 

 

 

GetPatientName

With this function, you can get the name of a patient. 

<tbody> </tbody>
<img src="/images/GetPatientName.png" alt="" width="105" height="118" /> If you call the function GetPatientName, the name of the patient with the patient ID 1 will be displayed in a new window: Jane DEMO.
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetPatientName">Back to the function GetPatientName</a>

 

 

 

GetPartnerPatID

With this function, you can get the ID of the patients partner.

<tbody> </tbody>
GetPartnerPatID.png

After activating the function GetPartnerID, the program jumps to the parnter of the patient and shows the partner as the real patient.

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetPartnerPatID">Back to the function GetPartnerPatID</a>

 

 

 

 

SaveFileByPatient

<tbody> </tbody>
SaveFileByPatient.png

With the function SaveFileByPatient, you can save files of a patient in the associated file storage folder.

Necessary parameters are the correct patient ID and the fully file path.

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveFileByPatient">Back to the function SaveFileByPatient</a>

 

 

 

SaveLabData

<tbody> </tbody>
SaveLabData.png

Via this function you can save lab data manually. Enter the required data and values and save it at the laboratory area in MedITEX IVF.

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveLabData">Back to the function SaveFileByPatient</a>

 

 

 

SavePatientImage

<tbody> </tbody>
 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SavePatientImage">Back to the function SavePatientImage</a>
<a href="#top">Back to top</a>

 

 

 


Therapie - Cycle

<tbody> </tbody>
ApiTherapie.png


GetTherapieID

This function allows you to see all cycles of the transferred patient.

<tbody> </tbody>
GetTherapieID.png

After this function has been called, a window opens. This window is showing all cycles from the transferred patient. Choose the wished cycle.

The chosen ID will be added in all tabs where the Therapie ID is necessary.

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetTherapieID">Back to the function GetTherapieID</a>

 

 

 

GetTherapieIDEx

<tbody> </tbody>
 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetTherapieIDEx">Back to the function GetTherapieIDEx</a>

 

 

 

SaveUSImage

After calling this function you can choose the cycle, the USImage should be added.

<tbody> </tbody>
SaveUSImage2.png
SaveUSImage.png

In the first field you see the patient ID. Next you have to add the date of recording, the path and file of the picture. For the path and file you can use the browse button on the right. Go to the storage where your picture was saved, select the file and click on open. Choose one of the boxes beneath. At the end call the function button. Your US Image will be saved at the file storage of the patient. You can also see it in your cycle overview in MedITEX IVF.

<tbody> </tbody>
<img src="/images/SaveUSImage1.png" alt="" width="487" height="262" />
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveUSImage">Back to the function SaveUSImage</a> <a href="#top">Back to top</a>

 

 

 

Kultur - Culture

The therapie ID is necessary for using the culture tab. You can get it with the function getTherapieID in the therapie tab.

<tbody> </tbody>
ApiCulture.png

 

GetEZID

If you click the function GetEZID, a graphical culture view opens. In this window you can choose the wished EZ with a double click.

<tbody> </tbody>
GetEZID2.png

Then the fields of the culture tab will be filled with informations. You can get the TherapieID with the function GetTherapieID in the Therapie tab.

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetEZID">Back to the function GetEZID  </a>

 

 

 

 

GetMeditexEZID

To get the Meditex EZID you have to click the function GetMeditexEZID.

<tbody> </tbody>
GetMeditexEZID.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetMeditexEZID">Back to the function GetMeditexEZID</a>

 

 

 

GetKulturtag

This field is automatically filled if you select a EZ for the function GetEZID.

<tbody> </tbody>
GetEZID1.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetKulturtag">Back to the function GetKulturtag</a>

 

 

 

GetKulturtagAsDate

If you click this function you get the culture date in a separate window.

<tbody> </tbody>
GetKulturTag.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetKulturtagAsDate">Back to the function GetKulturtagAsDate</a>

 

 

 

SaveEZImage

With this function you can save EZ images in a wished cycle directly at the selected culture day.

<tbody> </tbody>
GetEZID1.png

In the following window you can see the saved picture directly in the graphical culture of MedITEX IVF.

<tbody> </tbody>
<img src="/images/SaveUSImage3.png" alt="" width="381" height="280" />
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveEZImage">Back to the function SaveEZImage </a>
<a href="#top">Back to top</a>

 

 

 

 

Spermiogramm - Semen analysis

GetNewSpermiogrammID

The condition for using the semen analysis tab is that the patient ID has a male owner.

Is this condition true, the program generate a new Sperm ID and you can enter all the other informations.

<tbody> </tbody>
GetNewSpermiogrammID1.png

In the following window you can see the saved picture directly in the semen analysis of MedITEX IVF.

<tbody> </tbody>
<img src="/images/GetNewSpermiogrammID2.png" alt="" />
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetNewSpermiogrammID">Back to the function GetNewSpermiogrammID</a>   

 

 

 

SaveSpermData

<tbody> </tbody>
 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveSpermData">Back to the function SaveSpermData</a>

 

 

 

GetSpermiogrammID

<tbody> </tbody>
 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetSpermiogrammID">Back to the function GetSpermiogrammID</a>

 

 

 

SaveFileBySpermiogramm

<tbody> </tbody>
 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveFileBySpermiogramm">Back to the function SaveFileBySpermiogramm</a> <a href="#top">Back to top</a>

 

 

 

 

Inkubator - Incubator

GetInkubatorID

<tbody> </tbody>
 


<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetInkubatorID">Back to the function GetInkubatorID  </a>

 

 

 

SaveFileToInkubator

<tbody> </tbody>
 

 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#SaveFileToInkubator">Back to the function SaveFileToInkubator </a>
<a href="#top">Back to top</a>

 

 

 

 

OpenCommands

In this tab you can open some views out of MedITEX IVF.

<tbody> </tbody>
OpenCommands1.png

You can get the PatientID with the function GetPatientID in the Patient tab and the TherapieID with the function GetTherapieID in the Therapie tab.


OpenPatientCryoOverview

Opens the oocyte and embryo cryo storage for a female patient.

<tbody> </tbody>
OpenPatientCryoOverview.png

 

Opens the sperm cryo storage for a male patient.

<tbody> </tbody>
OpenPatientCryoOverviewSperm.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#OpenPatientCryoOverview">Back to the function OpenPatientCryoOverview </a>

 

 

 

OpenPatientOverview

<tbody> </tbody>
OpenPatientOverview.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#OpenPatientOverview">Back to the function OpenPatientOverview</a>

 

 

 

OpenTherapieOverview

<tbody> </tbody>
OpenTherapieOvervie.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#OpenTherapieOverview">Back to the function OpenTherapieOverview </a>

 

 

 

OpenEizellOverview

 

 

 

<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#OpenEizellOverview">Back to the function OpenEizellOverview </a>

 

 

 

GetAblageDateien

<tbody> </tbody>
GetAblageDateien.png
<tbody> </tbody>
<a href="/index.php?title=MedITEX_API_manual#GetAblageDateien">Back to the function GetAblageDateien </a><a href="/index.php?title=MedITEX_API_manual#GetAblageDateien"> </a>
<a href="/index.php?title=MedITEX_API_manual#GetAblageDateien"> </a><a href="/index.php?title=MedITEX_API_manual">Back to MexAPI manual</a> <a href="#top">Back to top</a>