projecttacoma / fqm-execution-demo

Apache License 2.0
2 stars 0 forks source link

fqm-execution-demo

This is a React app that demonstrates the capabilities of the fqm-execution library in calculating FHIR-based electronic Clinical Quality Measures (eCQMs).

Hosted Version

This app is hosted on GitHub Pages, at https://projecttacoma.github.io/fqm-execution-demo/, for demonstration use without standing up a local development environment.

Options/fields

Measure Bundle

In order to run calculation, the demo app requires a Bundle resource that includes the Measure resource, all required Library resources, and all required ValueSet resources. Users can provide measure bundles in three different ways:

Patient Bundle

In order to run calculation, the demo app requires a Bundle resource that includes the Patient resource, and all other required clinical resources (Procedures, Encounters, etc.). Users can provide patient bundles in four different ways:

Output type

This field selects the type of output from fqm-execution's calculation engine:

Calculation Options

Measurement Period

Local Development

To run fqm-execution-demo locally, you will need Node.JS installed on your system. fqm-execution-demo is tested with Node version 12, but more recent versions may also work.

To install the prerequisites for development: in a terminal window open to the fqm-execution-demo base directory, run npm install.

To serve the app in development mode, run npm start. This will start a webserver that will compile the app and serve it locally on http://localhost:3000/fqm-execution-demo. This server will automatically re-compile the app when code in the src directory is changed.

To execute the test suite, run npm test. This will run all the unit tests, and will "watch" the src/ directory and re-run the test suite when the source code changes. Press q to quit the test watcher.

To execute code style checking, run npm run prettier. This will check the style of all code in src/ against the specified styles for the project. To autofix any automatically fixable issues, run npm run prettier:fix.

License

Copyright 2020 The MITRE Corporation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.