You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,7 @@ In order to send an email, users must specify the hostname or IP address of an S
111
111
-`port`: (Optional) The port to connect to (defaults to 587)
112
112
-`to`: Comma separated list or an array of recipients email addresses that will appear on the _To:_ field
113
113
-`from`: (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)
114
+
-`tlsRejectUnauthorized`: (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`)
114
115
115
116
An example of this object can be found in [`config/csv.config.example.json`](config/csv.config.example.json).
116
117
@@ -126,6 +127,23 @@ Users can specify a different location for the file by using the `--run-log-file
Currently, patient data can be masked within the extracted `Patient` resource. When masked, the value of the field will be replaced with a [Data Absent Reason extension](https://www.hl7.org/fhir/extension-data-absent-reason.html) with the code `masked`.
133
+
Patient properties that can be masked are: `gender`, `mrn`, `name`, `address`, `birthDate`, `language`, `ethnicity`, `birthsex`, and `race`.
134
+
To mask a property, provide an array of the properties to mask in the `constructorArgs` of the Patient extractor. For example, the following configuration can be used to mask `address` and `birthDate`:
135
+
136
+
```bash
137
+
{
138
+
"label": "patient",
139
+
"type": "CSVPatientExtractor",
140
+
"constructorArgs": {
141
+
"filePath": "./data/patient-information.csv"
142
+
"mask": ["address", "birthDate"]
143
+
}
144
+
}
145
+
```
146
+
129
147
### Extraction Date Range
130
148
131
149
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