Skip to content

feat: add Chikungunya vaccine and missing combinations#893

Open
steffenrapp wants to merge 2 commits into
afairgiant:mainfrom
steffenrapp:vaccines
Open

feat: add Chikungunya vaccine and missing combinations#893
steffenrapp wants to merge 2 commits into
afairgiant:mainfrom
steffenrapp:vaccines

Conversation

@steffenrapp

@steffenrapp steffenrapp commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Summary

This adds 9 additional vaccines (Chikungunya and some missing combinations) for the selection in the new vaccine selector.

Related issue

Type of change

  • Bug fix
  • New feature
  • Refactor / code quality
  • Documentation
  • Translation / i18n
  • Other

Testing

It only includes new data for the vaccine selector.

Checklist

  • Tests added or updated (or N/A with reason)
  • npm run lint and npm run build pass
  • Backend tests pass (pytest) if backend code changed
  • No PHI, secrets, or console.log left in the diff
  • User-facing strings go through t() translations
  • Documentation updated if API, schema, or service behavior changed

Summary by CodeRabbit

  • New Features
    • Vaccine library updated to version 1.4.0 with refreshed metadata and recent update date.
    • Expanded vaccine coverage with many additional combined vaccine entries (e.g., Hep A+Typhoid, Hep B+Hib, Mumps+Measles, DTaP/Hib/IPV variants) and a new Chikungunya entry.
    • Revised common names and aliases for several vaccines to improve naming consistency and searchability.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: abc339b6-e0bc-47f5-abfe-7ff11ea8a0f6

📥 Commits

Reviewing files that changed from the base of the PR and between ff21dcc and 082adb1.

📒 Files selected for processing (1)
  • shared/data/vaccine_library.json
🚧 Files skipped from review as they are similar to previous changes (1)
  • shared/data/vaccine_library.json

📝 Walkthrough

Walkthrough

Vaccine library data updated to version 1.4.0 with timestamp refresh, common name aliases adjusted for existing vaccine entries (DTaP-IPV/Hib expanded, DT-IPV narrowed), and new vaccine entries added for combined vaccines and Chikungunya.

Changes

Vaccine Library Expansion

Layer / File(s) Summary
Metadata and existing vaccine adjustments
shared/data/vaccine_library.json
Version updated to 1.4.0 with lastUpdated date set to 2026-06-09. DTaP-IPV/Hib common_names expanded to include additional aliases and brand names. DT-IPV common_names replaced with restricted set (Diphtheria-Tetanus-Polio, DT Polio).
New vaccine type entries
shared/data/vaccine_library.json
Multiple new vaccine objects added including Hepatitis A + Typhoid, Hepatitis B + Hib, Mumps + Measles, Diphtheria/Tetanus/Hib combinations, several adult acellular pertussis variants with Hib/IPV, and Chikungunya vaccine entry, each with vaccine_name, short_name, category, common_names, components, and disease_keys fields.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

  • afairgiant/MediKeep#865: Both PRs modify shared/data/vaccine_library.json to expand the vaccines array with new vaccine entries into the same library dataset.

Suggested labels

enhancement

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: adding a Chikungunya vaccine entry and multiple missing combination vaccine entries to the vaccine library dataset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@shared/data/vaccine_library.json`:
- Around line 1020-1058: Several combined vaccine entries ("short_name":
"Tdap-Hib", "Tdap-IPV", "Tdap-Hib-IPV") include generic aliases "Tdap" and
"Adult Tdap" which collide with the standalone Tdap entry and prevent those
combinations from being indexed/searchable; edit the JSON entries for those
three vaccines and remove "Tdap" and "Adult Tdap" from their common_names
arrays, leaving only specific identifiers/brand names (e.g., "Tdap-Hib",
"Boostrix Polio", "Repevax", etc.), so the setdefault-based alias indexing will
not drop the combination vaccines in favor of the standalone Tdap.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5612dd18-091d-4659-b2b9-04d06cd8ecd2

📥 Commits

Reviewing files that changed from the base of the PR and between 2774548 and ff21dcc.

📒 Files selected for processing (1)
  • shared/data/vaccine_library.json

Comment thread shared/data/vaccine_library.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant