Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ A Node.js framework for extracting mCODE FHIR resources. All resources are profi
- [Masking Patient Data](#masking-patient-data)
- [Extraction Date Range](#extraction-date-range)
- [CLI From-Date and To-Date (NOT recommended use)](#cli-from-date-and-to-date-not-recommended-use)
- [Troubleshooting](#troubleshooting)
- [Byte Order Markers in CSV Files](#byte-order-markers-in-csv-files)
- [Terminology and Architecture](#terminology-and-architecture)
- [Glossary](#glossary)
- [High Level Diagram](#high-level-diagram)
Expand Down Expand Up @@ -161,6 +163,18 @@ If a `from-date` is provided as an option when running the mCODE Extraction Clie
npm start -- --entries-filter --from-date <YYYY-MM-DD> --to-date <YYYY-MM-DD> --config-filepath <path>
```

### Troubleshooting

#### Byte Order Markers in CSV Files

The extraction client has built-in handling of byte order markers for CSV files in UTF-8 and UTF-16LE encodings. When using CSV files in other encodings, if you experience unexpected errors be sure to check for a byte order marker at the beginning of the file. One way to check is to run the following command from the command line:

```bash
cat -v <file.csv>
```

If there is an unexpected symbol at the beginning of the file, then there may be a byte order marker that needs to be removed.

## Terminology and Architecture

This framework consists of three key components: Extractors, Modules and Templates. Below is, in order:
Expand Down