Import records with batch file

Last modified by Mr on 2025/08/05 13:21

New records can be add automatically via batch import. It is performed from menu section Setings - Details - specify laboratory. Permissions for batch import are needed. 

https://confluence.imtm.cz/download/attachments/173604900/image-2025-5-13_16-7-19.png?version=1&modificationDate=1747145241367&api=v2

The batch import must meet the following conditions:

  • The file extension is txt or csv.
  • The file encoding is UTF-8 without BOM.
  • The first row contains a header with the identification of the imported parameters.
  • The column separator is a comma. If a comma exists within a text, it should be enclosed in quotation marks.
  • Decimal numbers are separated by a dot.
  • Dates are in the format DD/MM/YYYY.
     

The following parameters can be used for patient identification:

 
 
 firstNamenametext
lastNamesurnametext
sexsex

M - male

F - female

addressadresstext
personalIDpersonal identification number700101/1111
emailemailtext@email.cz
telephonetelephone number(+420)731111111
healthInsurancehealth insurance companyName of health insurance company
citycityBrno
postalCodepostal code60100
birthDatedate of birth08/01/2012

Identification of other form parameters

The identification of other parameters on the form can be found in the data export to XLSX. An example of some parameters is shown in the image.

https://confluence.imtm.cz/download/attachments/74055691/image2022-4-20_14-56-11.png?version=1&modificationDate=1650466571000&api=v2
 

Before granting parameter a number, it is necessary to insert the form ID with an underscore in which the parameter is located. The form ID can be obtained by selecting Setings - Details - specify laborary (6) from the menu. IDs of forms (7) are displayed from the CRF templates tab section (6). An example for parameter number for import is form19_param18584.

https://confluence.imtm.cz/download/attachments/173604900/image-2025-5-13_16-22-28.png?version=1&modificationDate=1747146150558&api=v2

Example of batch import file:

https://confluence.imtm.cz/download/attachments/74055691/image2022-4-20_15-11-41.png?version=1&modificationDate=1650467501000&api=v2