Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

qpp-measures-data

Package Overview
Dependencies
Maintainers
1
Versions
271
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qpp-measures-data - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

scripts/add-cahps-measures.js

2

package.json
{
"name": "qpp-measures-data",
"version": "0.0.30",
"version": "0.0.31",
"description": "Quality Payment Program Measures Data Repository",

@@ -5,0 +5,0 @@ "repository": {

@@ -34,3 +34,39 @@ var chai = require('chai');

});
describe('CAHPS measures', function() {
const cahpsMeasures = measuresData.filter(function(measure) {
return measure.measureId.match(/CAHPS_\d+/);
});
it('contains 12 correct CAHPS measures', function() {
const cahpsMeasures = measuresData.filter(measure => measure.measureId.match(/CAHPS_\d+/));
const commonCahpsProperties = {
'metricType': 'cahps',
'measureType': 'patientEngagementExperience',
'primarySteward': 'Agency for Healthcare Research & Quality',
'submissionMethods': ['certifiedSurveyVendor'],
'measureSets': ['generalPracticeFamilyMedicine'],
'firstPerformanceYear': 2017,
'category': 'quality',
'isHighPriority': true,
'isInverse': false
};
const nqfIdMap = {
'CAHPS for MIPS SSM: Getting Timely Care, Appointments and Information': '0005',
'CAHPS for MIPS SSM: How Well Providers Communicate': '0005',
'CAHPS for MIPS SSM: Patient\'s Rating of Provider': '0005',
'CAHPS for MIPS SSM: Courteous and Helpful Office Staff': '0005'
}
assert.equal(cahpsMeasures.length, 12);
cahpsMeasures.forEach(cahpsMeasure => {
assert.match(cahpsMeasure.title, /^CAHPS for MIPS/);
// these are the same for all CAHPS measures
assert.deepEqual(_.pick(cahpsMeasure, Object.keys(commonCahpsProperties)), commonCahpsProperties);
if (nqfIdMap[cahpsMeasure.title]) {
assert.equal(cahpsMeasure.nqfId, '0005');
}
});
});
});
});
});

@@ -143,3 +143,291 @@ [

"objective": "healthInformationExchange"
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Getting Timely Care, Appointments and Information",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_1",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": "0005",
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: How Well Providers Communicate",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_2",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": "0005",
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Patient's Rating of Provider",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_3",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": "0005",
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Access to Specialists",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_4",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Health Promotion and Education",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_5",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Shared Decision-Making",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_6",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Health Status and Functional Status",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_7",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Care Coordination",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_8",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Courteous and Helpful Office Staff",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_9",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": "0005",
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Helping You Take Medications as Directed",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_10",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Stewardship of Patient Resources",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_11",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
},
{
"category": "quality",
"firstPerformanceYear": 2017,
"lastPerformanceYear": null,
"metricType": "cahps",
"title": "CAHPS for MIPS SSM: Between Visit Communication",
"description": "",
"nationalQualityCode": null,
"measureType": "patientEngagementExperience",
"measureId": "CAHPS_12",
"eMeasureId": null,
"nqfEMeasureId": null,
"nqfId": null,
"isInverse": false,
"strata": [],
"isHighPriority": true,
"primarySteward": "Agency for Healthcare Research & Quality",
"submissionMethods": [
"certifiedSurveyVendor"
],
"measureSets": [
"generalPracticeFamilyMedicine"
]
}
]
]

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 not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc