|
1 | 1 | # mCODE Extraction Framework
|
2 | 2 |
|
3 |
| -A Node.js framework for extracting mCODE FHIR resources. All resources are profiled per the [mCODE v1.0.0 R4 FHIR Implementation Guide](https://mcodeinitiative.github.io/index.html) |
| 3 | +A Node.js framework for extracting mCODE FHIR resources. All resources are profiled per the [mCODE v1.16.0 R4 FHIR Implementation Guide](http://hl7.org/fhir/us/mcode/2021May/) |
4 | 4 |
|
5 | 5 | ## Table of Contents
|
6 | 6 |
|
@@ -44,7 +44,7 @@ There are various extractors, modules, and helper functions exposed by the frame
|
44 | 44 |
|
45 | 45 | Each extractor exposes an asynchronous `get` function that will return a bundle of extracted mCODE data.
|
46 | 46 |
|
47 |
| -``` JavaScript |
| 47 | +```JavaScript |
48 | 48 | // Example
|
49 | 49 | const { CSVCancerDiseaseStatusExtractor, logger} = require('mcode-extraction-framework');
|
50 | 50 |
|
@@ -116,7 +116,7 @@ In order to send an email, users must specify the hostname or IP address of an S
|
116 | 116 | - `port`: `<number>` (Optional) The port to connect to (defaults to 587)
|
117 | 117 | - `to`: `<string[]>` Comma separated list or an array of recipients email addresses that will appear on the _To:_ field
|
118 | 118 | - `from`: `<string>` (Optional) The email address of the sender. All email addresses can be plain `'sender@server.com'` or formatted `'"Sender Name" sender@server.com'` (defaults to mcode-extraction-errors@mitre.org, which cannot receive reply emails)
|
119 |
| -- `tlsRejectUnauthorized`: `<boolean>` (Optional) A boolean value to set the [node.js TLSSocket option](https://nodejs.org/api/tls.html#tls_class_tls_tlssocket) for rejecting any unauthorized connections, `tls.rejectUnauthorized`. (defaults to `true`) |
| 119 | +- `tlsRejectUnauthorized`: `<boolean>` (Optional) A boolean value to set the [node.js TLSSocket option](https://nodejs.org/api/tls.html#tls_class_tls_tlssocket) for rejecting any unauthorized connections, `tls.rejectUnauthorized`. (defaults to `true`) |
120 | 120 |
|
121 | 121 | An example of this object can be found in [`config/csv.config.example.json`](config/csv.config.example.json).
|
122 | 122 |
|
@@ -161,6 +161,7 @@ Alternatively, providing a string with a value of `all` in the `constructorArgs`
|
161 | 161 | }
|
162 | 162 | }
|
163 | 163 | ```
|
| 164 | + |
164 | 165 | ### Extraction Date Range
|
165 | 166 |
|
166 | 167 | The mCODE Extraction Client will extract all data that is provided in the CSV files by default, regardless of any dates associated with each row of data. It is recommended that any required date filtering is performed outside of the scope of this client.
|
|
0 commit comments