forked from pophealth/popHealth
-
Notifications
You must be signed in to change notification settings - Fork 45
Static Baseline Report Setup
Luke R edited this page May 17, 2017
·
2 revisions
Instruction for Enabling Static Baseline Report
-
Set in config/popHealth.yml by changing show_measure_baseline_report to true
-
Update baseline configuration file located under the popHealth directory: test/fixtures/measure_baselines.json - see the following for an example of the baseline report. Note following for the details on setting the JSON file:
- Each column is defined by the "source" section in the JSON file.
- The "source":"name" in the JSON file defines the column header.
- The "baselines" element may have repeating sections to display measure that have sub-parts.
- The "baselines":"measure_id" is the hqmf_id of the corresponding measure. The hqmf_id can found from the downloaded measure bundle, i.e., bundle-2016.zip, under the "measures" subdirectory.
- The CQM reporting period used must be within the dates set in the "start_date", "end_date", and the "calculation date" element of the JSON file.
- Loading is done via the command line: rake import:measure_baselines[json_path,clear_existing], where clear_existing allows you to clear out all existing baselines before loading the new file.
Example of the command:
rake import:measure_baselines[test/fixtures/measure_baselines.json,true] RAILS_ENV=production
- If the baseline report button does not appear right away, you may need to clear the cached assets
rake tmp:clear
rake assets:clobber