Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Repository Descriptions and Relationships

Matt Mayer edited this page Mar 13, 2017 · 26 revisions

Descriptions and Relationships

Bonnie

git repository

Bonnie is an application that enables measure developers to test their electronic clinical quality measures (eCQMs) by creating a test deck of synthetic patient records. These synthetic patient records are calculated against the measure logic and help ensure that the clinical intent of the measure is being met.

Bonnie depends on:

  • Bonnie Bundler
  • Health Data Standards
  • Quality Measure Engine
  • HQMF2js
  • HQuery Patient API
  • SimpleXML Parser

Bonnie Bundler

git repository

Bonnie Bundler manages loading XML or MAT packages and outputting reports. It uses the Health Data Standards library to manage the HQMF XML loading and the SimpleXML Parser to manage the SimpleXML loading. It uses the Quality Measure Engine for creating bundle export. The bundle exports are used by the Cypress team. Bonnie Bundler is given a configuration file from Bonnie (bonnie/config/bonnie.yml).

Bonnie Bundler depends on:

  • Health Data Standards
  • Quality Measure Engine
  • HQMF2js
  • HQuery Patient API
  • SimpleXML Parser

Health Data Standards

git repository

Health Data Standards is a library that parses and generates various health data standards. Relevant to Bonnie, Health Data Standards manages parsing HQMF-QDM measures and puts them into an HQMF document model. Additionally, Health Data Standards generates the QRDA documents associated with the synthetic patient test sets included in Bonnie.

Health Data Standards does not have any internal dependencies.

HQMF2js

git repository

HQMF2js takes a measure represented as an HQMF document model (as defined in Health Data Standards) and converts the measure logic to javascript code to be used in client-side measure calculations.

HQMF2js depends on

  • HQuery Patient API
  • Health Data Standards.

hQuery Patient API

git repository

The hQuery Patient API creates an interface to allow patient calculations to be done across patient models. In Bonnie, the Patient API is only used in the auto-generated JavaScript logic. It takes a patient model as an argument. The resulting patient object is used in all of the calculation methods.

hQuery Patient API does not have any internal dependencies.

Quality Measure Engine

git repository

The Quality Measure Engine calculates clinical quality measures over a given population. The results are output in JSON and the measure logic is output in JavaScript. The Quality Measure Engine is exclusively used in Bonnie to create bundles for Cypress. It is used by the Bonnie Bundler project.

Quality Measure Engine has no internal dependencies.

SimpleXML Parser

git repository

SimpleXML Parser parses the MAT SimpleXML format into the HQMF Document model, the representation of a measure in Health Data Standards.

SimpleXML Parser depends on

  • Health Data Standards

Diagrams

Parsing measure uploads

MAT package

MAT package upload repository flow

HQMF XML

HQMF upload repository flow

SimpleXML

SimpleXML upload repository flow

Measure Logic Generation (on Measure Upload)

Upload measure repository flow

QRDA Export

Export QRDA repository flow

Patient Calculation

Calculate patient repository flow

Patient Representation

Patient Representation Between Repositories