Skip to main content
Version: Current (1.x)

Import / Export of Data Providers

There are a few reasons why you might want to import/export the full data provider configuration:

  • Backup of current configuration
  • Transfer configuration between environments (e.g. Test and Production)
  • Manually reviewing the full configuration

Export Data Providers

The full set of configurations for every Data Provider can be exported from the system into a JSON file. This includes associated Event Types, Data Sources and Import Formats.

On the Data Providers page, you will find a Export Data Providers link below the list of providers. Clicking on this link takes you to another page where the download of the full set of data provider configuration will begin immediately.

Data Provider Export

If the download does not automatically occur, you can click on the Download icon to manually trigger it.

An example of the beginning of the exported JSON file:

{
"EventCategories": [
"Hospital Admissions",
"Category"
],
"ImportFormats": [
{
"Name": "Hospital",
"Type": "ByIndex",
"IgnoreMissingColumns": false,
"Columns": [
{
"Name": "Source Unique ID",
"Field": "SourceUniqueId",
"Index": 1,
"StartPosition": null,
"EndPosition": null,
"Format": null
},
{
"Name": "Given Name",
"Field": "GivenName",
"Index": 4,
"StartPosition": null,
"EndPosition": null,
"Format": null
},
...

Import Data Providers

A JSON file that was created from the data provider export process can be imported into any LinXmart instance, even the one it originated from.

To import data providers, click the Import Data Providers link below the list of providers on the Data Providers page. From here, select the JSON file to import and click the Import button.

The file will be validated. If it isn't a valid data provider export, an error will be displayed. If it is valid, the system will assess what components of the file, determining conflicts, warnings and errors.

A summary of the components in the file will be displayed, along with the validation results that may contain conflicts with existing components in the system.

Data Provider Import Conflicts

Below the validation results is a confirmation form, prior to applying the new data. If any conflicts are detected, you will have the option to either ignore item with the conflict or update it. Import formats have an additional option to rename the incoming import format to avoid a conflict.

Data Provider Import Confirm

Once you have determined how to manage the conflicts, click the Import button to apply the changes. Alternatively, click the Cancel button to completely cancel the import process.

If you do choose to apply the changes, a summary of the changes made will be displayed.