On this page:
   34.18    ETL Import: CSV Properties 34.20    FHIR Binary Storage   

34.19ETL Import: Source

 

The ETL Import: Source configuration category includes the following configurable options:

  • Asynchronous Mode Enabled

  • Import Source

  • Mapping Script

  • Worker Row Hashing Function

  • Worker Thread Count

34.19.1Property: Asynchronous Mode Enabled

 
Property Name Asynchronous Mode Enabled
Property Key
Property Type BOOLEAN
Description If enabled, data will be imported asynchronously. See Asynchronous Mode for more information.
Applies to Modules
  • ETL Importer
Default Value false
Example Property
module.[MODULE_ID].config.asynchronous_mode.enabled = false

34.19.2Property: Import Source

 
Property Name Import Source
Property Key
Property Type ENUM
Values
  • CSV
Description This setting defines the format for files being imported.
Applies to Modules
  • ETL Importer
Default Value CSV
Example Property
module.[MODULE_ID].config.import_source = CSV

34.19.3Property: Mapping Script

 
Property Name Mapping Script
Property Key
Property Type JAVASCRIPT
Description This is the script that processes each received row. It must have at least one function, with signature function handleEtlImportRow(inputMap, context). See ETL Importer module for details on how this function works.
Applies to Modules
  • ETL Importer
Default Value function handleEtlImportRow(inputMap, context) { // Mapping goes here }
Example Property
module.[MODULE_ID].config.mapping.script = function handleEtlImportRow(inputMap, context) {
   // Mapping goes here
}

34.19.4Property: Worker Row Hashing Function

 
Property Name Worker Row Hashing Function
Property Key
Property Type JAVASCRIPT
Description If set, this script is used to provide an appropriate hash for each individual row in order to ensure that rows are processed in an appropriate order. This setting may be left blank if in-order processing of individual rows is not necessary.
Applies to Modules
  • ETL Importer
Default Value (no default)
Example Property
module.[MODULE_ID].config.parallelism.hashing.script = 

34.19.5Property: Worker Thread Count

 
Property Name Worker Thread Count
Property Key
Property Type POSITIVE_INTEGER
Description This setting configures the number of worker threads that will be allocated to processing rows of the CSV file. If set to 1, the file will be processed in a single-threaded manner.
Applies to Modules
  • ETL Importer
Default Value 4
Example Property
module.[MODULE_ID].config.parallelism.threadcount = 4
   34.18    ETL Import: CSV Properties 34.20    FHIR Binary Storage