Skip to content

Commit

Permalink
feat: update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonKonar committed Jan 19, 2024
1 parent 782a12b commit 3580544
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ part of BBMRI-ERIC. This tool should support ETL processes by providing the foll

## State

Supports syncing of patients between a [Blaze FHIR store](https://github.com/samply/blaze) and a repository of XML files
Supports syncing of patients between a [Blaze FHIR store](https://github.com/samply/blaze) and a repository of XML or CSV files
stored on a regular filesystem.
Currently, the XML files must have the same structure as this [test file](./test/xml_data/MMCI_1.xml).
This module cannot work with different types of files at the same time, so the records needs to be in either XML or CSV format, not both.

## Quick Start

Expand Down
4 changes: 3 additions & 1 deletion docs/DEPLOYMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ simply specify them in `compose.yaml` in the environment section.
| PARSING_MAP_PATH | /opt/fhir-module/default_map.json | Path to a JSON file containing object parsing mappings. Example [here](../util/default_map.json). |
| MATERIAL_TYPE_MAP_PATH | /opt/fhir-module/default_material_type_map.json | Path to a JSON file containing mappings between organizational and FHIR material types. Example [here](../util/default_material_type_map.json). |
| SAMPLE_COLLECTIONS_PATH | /opt/fhir-module/default_sample_collection.json | Path to a JSON file containing information about Sample collections. Example [here](../util/default_sample_collection.json). |

| RECORDS_DIR_PATH | /mock_dir/ | Path to a folder containing file(s) with records. |
| RECORDS_FILE_TYPE | xml | Type of files containing the records. |
| CSV_SEPARATOR | ; | Separator used inside csv file, if the records are in a csv format. |
## Object mapping

The FHIR module uses dynamically configurable maps currently stored as json files
Expand Down

0 comments on commit 3580544

Please sign in to comment.