cms-qpp-legacy-conv

1.1.0 • Public • Published

CMS - Quality Payment Program (QPP) Legacy Converter

Ventera’s solution to the prototype exercise is a conversion tool built using Python that can process, validate, and transform QRDA-III XML input into QPP Standard formatted JSON or XML data files. In developing this prototype, Ventera used best practices for open source software, reusable code, code quality, CI/CD pipeline, and design patterns to meet the business and architectural needs of CMS.

NPM

npm install --save cms-qpp-legacy-conv

Usage

var cms_qpp_legacy_conv = require('cms-qpp-legacy-conv')
cms_qpp_legacy_conv(['-i', 'sample.xml', '-o', 'test.json'])

GitHub - Source Code and Examples

  • Ensure Python 3.6.0 is correctly installed
    • Please ensure pip is also installed, and Python variables are included as part of the PATH system variable.
git clone https://github.com/Ventera-Corporation/cms-qpp-legacy-conv.git
npm install
node index.js -i samples/qrda3-valid.xml -o test.out
node index.js -i samples/qrda3-invalid-wrong-template-id.xml -o test.out

Arguments:

Example: node index.js -i [input file] -o [output file]

  • -i [input file] REQUIRED path to input file
  • -o [output file] REQUIRED path to output file
  • -f [file type] specify either qpp_xml or qpp_json

Tests

npm test

Readme

Keywords

none

Package Sidebar

Install

npm i cms-qpp-legacy-conv

Weekly Downloads

2

Version

1.1.0

License

ISC

Last publish

Collaborators

  • devopsadmin