diff --git a/README.md b/README.md index 49aaf18..cda817f 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,19 @@ To mask a property, provide an array of the properties to mask in the `construct } ``` +Alternatively, providing a string with a value of `all` in the `constructorArgs` of the Patient extractor will mask all of the supported properties listed above. The following configuration can be used to mask all properties of the `Patient` resource, rather than listing each individual property: + + ```bash + { + "label": "patient", + "type": "CSVPatientExtractor", + "constructorArgs": { + "filePath": "./data/patient-information.csv" + "mask": "all" + } + } + ``` + ## Extraction Date Range The ICARE 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. diff --git a/package-lock.json b/package-lock.json index 67d969e..567a31f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5523,7 +5523,7 @@ } }, "mcode-extraction-framework": { - "version": "git+https://github.com/mcode/mcode-extraction-framework.git#a9ee34977ee65adc07cd6a65052505f0c356500b", + "version": "git+https://github.com/mcode/mcode-extraction-framework.git#a9e3e1883e7dbc8364252f4bef890b86b7ecc609", "from": "git+https://github.com/mcode/mcode-extraction-framework.git#develop", "requires": { "ajv": "^6.12.6",