bulk-data-bundle-generator

1.0.3 • Public • Published

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:

  1. Follow Synthea Quickstart to generate patient bundles
  2. $ generate-ndjson-bundle -d ./output/<fhir-output-folder>/ will generate an ndjson file of all the Patient bundles from Synthea's output

Readme

Keywords

none

Package Sidebar

Install

npm i bulk-data-bundle-generator

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

3.63 kB

Total Files

5

Last publish

Collaborators

  • mgramigna