qpp-measures-data
Advanced tools
Comparing version 1.0.0-alpha.24 to 1.0.0-alpha.25
{ | ||
"name": "qpp-measures-data", | ||
"version": "1.0.0-alpha.24", | ||
"version": "1.0.0-alpha.25", | ||
"description": "Quality Payment Program Measures Data Repository", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -103,3 +103,3 @@ const fs = require('fs'); | ||
const stratification = stratifications.find(stratum => stratum.eMeasureId === measure.eMeasureId); | ||
if (stratification) { | ||
if (stratification && stratification.strataMaps) { | ||
measure.strata.forEach(subPopulation => { | ||
@@ -106,0 +106,0 @@ const mapping = stratification.strataMaps.find(map => |
@@ -96,3 +96,3 @@ const parse = require('csv-parse/lib/sync'); | ||
newMeasure['metricType'] = 'multiPerformanceRate'; | ||
newMeasure['metricType'] = 'registryMultiPerformanceRate'; | ||
@@ -192,3 +192,3 @@ const overallPerformanceRate = _.lowerCase(_.trim(record[12])); | ||
} else { | ||
newMeasure['metricType'] = 'singlePerformanceRate'; | ||
newMeasure['metricType'] = 'registrySinglePerformanceRate'; | ||
} | ||
@@ -195,0 +195,0 @@ } else { |
@@ -6,3 +6,3 @@ [ | ||
"lastPerformanceYear": null, | ||
"metricType": "singlePerformanceRate", | ||
"metricType": "registrySinglePerformanceRate", | ||
"measureId": "AAAAI2", | ||
@@ -22,3 +22,3 @@ "title": "Asthma: Assessment of Asthma Control – Ambulatory Care Setting", | ||
"lastPerformanceYear": null, | ||
"metricType": "multiPerformanceRate", | ||
"metricType": "registryMultiPerformanceRate", | ||
"measureId": "AAAAI4", | ||
@@ -38,3 +38,3 @@ "title": "Allergen Immunotherapy Treatment: Allergen Specific Immunoglobulin E (IgE) Sensitivity Assessed and Documented Prior to Treatment", | ||
"lastPerformanceYear": null, | ||
"metricType": "singlePerformanceRate", | ||
"metricType": "registrySinglePerformanceRate", | ||
"measureId": "AAAAI5", | ||
@@ -41,0 +41,0 @@ "title": "Allergen Immunotherapy Treatment: Allergen Specific Immunoglobulin E (IgE) Sensitivity Assessed and Documented Prior to Treatment", |
@@ -50,3 +50,3 @@ // Libraries | ||
const multiPerformanceRateMeasure = _.find(measures, {measureId: 'AAAAI4'}); | ||
assert.equal(multiPerformanceRateMeasure.metricType, 'multiPerformanceRate'); | ||
assert.equal(multiPerformanceRateMeasure.metricType, 'registryMultiPerformanceRate'); | ||
}); | ||
@@ -53,0 +53,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6205856
88