bulk-data-bundle-generator
v1.0.3
Published
* [Node.js](https://nodejs.org/en/)
Downloads
5
Readme
CLI to generate an ndjson file of FHIR Bundles from Patient data
Prerequisites
Installation
$ npm install -g bulk-data-bundle-generator
Usage
Usage: generate-ndjson-bundle -d /path/to/bundles [-g] [-m <id>]
Options:
-d --directory <directory> Path to directory where the bundles are located
-g --generate-report If specified, generate a MeasureReport for each bundle
-m --measure-id <id> ID of the Measure that the generated MeasureReport should reference
-h, --help output usage information
Output files are written to ndjson-output/<uuid>-bundle.ndjson
in your current working directory
Usage with Synthea
This module is generally targeted towards Synthea Patient bundles. The following is a simple workflow for integration with Synthea bundles:
- Follow Synthea Quickstart to generate patient bundles
$ generate-ndjson-bundle -d ./output/<fhir-output-folder>/
will generate an ndjson file of all the Patient bundles from Synthea's output