Home

Awesome

Cedar

Cedar is a tool for testing the strength of Electronic Clinical Quality Measure (eCQM) collection systems that receive Quality Reporting Document Architecture (QRDA) files. The Cedar tool is open source and freely available for use or adoption by state health agencies or any other organization that is set up to receive QRDA files.

To report a software bug, submit a feature request, or leave usability feedback, please use the Cedar issue tracker. For all other questions, comments, or concerns, email mailto:cedar-feedback-list@lists.mitre.org.

Technical Architecture

Cedar is a Ruby on Rails application with a mongo database backend. Wherever possible, Cedar attempts to conform to rails conventions.

Note: below you will find instructions for using Cedar on unix-based systems. A windows-based version of Cedar is planned, but is not currently available

Local Development Installation

To start a local instance of Cedar for development purposes, ensure that you have done the following:

  1. Download and install xcode and xcode developer tools from the app store (OSX only)
  2. Install homebrew: brew link openssl --force
  3. Install mongodb using homebrew: brew install mongodb
  4. Start mongodb and set it up to run unattended at boot:
  1. Install GPG
  2. Install RVM
  1. Restart your terminal
  2. Pull Cedar down from github: git clone https://github.com/mitre/cedar
  3. Go into the new directory: cd cedar
  4. Install the ruby bundler library: gem install bundler
  5. Use the Gemfile to grab all the dependencies and install Cedar: bundle install
  6. Import Cypress measure bundles (containing seed information for measures, patients, value sets, etc.): ./bundle_import.sh
  1. Start the background job worker: bundle exec rake jobs:work
  2. In a separate shell, start the Cedar application: bundle exec rails s

Production Docker Installation

Note: if you are running docker on OSX or Windows, make sure that you have installed a version >= 1.12.0, as this allows for containers to run without docker-machine.

  1. Pull Cedar down from github: git clone https://github.com/mitre/cedar
  2. Go into the new directory: cd cedar
  3. Generate new secrets for devise and rails: ./prod_setup.sh
  4. Build and start the docker image: docker-compose build && docker-compose up
  5. In a separate terminal window, start the Cedar application: docker-compose run cedar
  6. In yet another terminal window, download the 2014, 2015, and 2016 Measure Bundles and import them:
  1. You should be able to use Cedar running at http://localhost:3000

API

API documentation is located at http://localhost:3000/apidocs

Unit and System Tests

Currently, tests only exist for the Cedar::Invalidator module: bundle exec rake test test/unit/lib/invalidator_test.rb

Project Practices

Cedar uses rubocop to enforce consistent syntax.

License

Copyright 2016 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.

This project contains content developed by The MITRE Corporation. If this code is used in a deployment or embedded within another project, it is requested that you send an email to mailto:opensource@mitre.org in order to let us know where this software is being used.

MITRE

MITRE is a not-for-profit company that operates Federally Funded Research and Development Centers (FFRDC).

Cedar was initiated as part of the CMS Alliance to Modernize Healthcare (CAMH) and strives to accelerate the IHI's Triple AIM of improved patient care, better population health, and reduced per capita cost in the United States healthcare system.