Skip to content

QPPA-11240: Implement dataDisplayFormat#1021

Open
chetanmunegowda wants to merge 3 commits intodevelopfrom
QPPA-11240
Open

QPPA-11240: Implement dataDisplayFormat#1021
chetanmunegowda wants to merge 3 commits intodevelopfrom
QPPA-11240

Conversation

@chetanmunegowda
Copy link
Contributor

@chetanmunegowda chetanmunegowda commented Mar 20, 2026

Related Tickets & Documents

https://jira.cms.gov/browse/QPPA-11240


Description

Implement dataDisplayFormat


What type of PR is this?

  • 📊 Data Update
  • 📝 Documentation Update
  • 🧑‍💻 Code Update
  • 🍕 Feature
  • 🐛 Bug Fix
  • ✅ Test
  • 🤖 Build
  • 🔁 CI
  • 📦 Chore
  • ⏩ Revert

🔴 IMPORTANT: Add required labels

At least one of each type of PR label should be added for checks to pass.

  • notes:*
  • version:*

Patch versions are code-only changes, with no data updates.
Minor versions are data changes, such as updates to the measures-data.json files.
Major versions are annual and tied to a PY's data becoming avaliable, determined by QPPA's PO.


Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 Confluence
  • 🙅 no documentation needed

@peter-stancic
Copy link

peter-stancic commented Mar 20, 2026

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@chetanmunegowda chetanmunegowda changed the title QPPA-11240: QPPA-11240: Implement dataDisplayFormat Mar 20, 2026
@chetanmunegowda chetanmunegowda requested a review from Copilot March 20, 2026 18:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new dataDisplayFormat field across measure types and corresponding data artifacts, aligning exported TypeScript interfaces with the measures schemas and generated datasets used by package consumers.

Changes:

  • Added dataDisplayFormat to QualityMeasure and AggregateCostMeasure TypeScript interfaces and introduced a DataDisplayFormat enum.
  • Updated measures schemas (2025/2026) to define and require dataDisplayFormat, and updated ordering/defaults used by scripts.
  • Regenerated/updated downstream data outputs to include dataDisplayFormat (e.g., measures data and MVP enriched data).

Reviewed changes

Copilot reviewed 7 out of 11 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
util/interfaces/measure.ts Adds dataDisplayFormat to interfaces and defines DataDisplayFormat enum.
scripts/constants.ts Adds ordering/defaults for dataDisplayFormat and introduces DATA_DISPLAY_FORMAT list.
scripts/measures/lib/measures-lib.spec.ts Updates expectations to include dataDisplayFormat for created quality/QCDR measures.
scripts/measures/2022/update-measures-util.spec.ts Updates expectations to include dataDisplayFormat.
measures/2025/measures-schema.yaml Adds dataDisplayFormat definition/property and updates required fields.
measures/2026/measures-schema.yaml Adds dataDisplayFormat definition/property and updates required fields.
measures/2026/measures-data.json Adds dataDisplayFormat across measure entries.
mvp/2025/mvp-enriched.json Adds dataDisplayFormat to enriched measures within MVP output.
lcov.info Updates coverage report to reflect added lines/changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants