feat: add Chikungunya vaccine and missing combinations#893
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughVaccine 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. ChangesVaccine Library Expansion
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (1)
shared/data/vaccine_library.json
Summary
This adds 9 additional vaccines (Chikungunya and some missing combinations) for the selection in the new vaccine selector.
Related issue
Type of change
Testing
It only includes new data for the vaccine selector.
Checklist
npm run lintandnpm run buildpasspytest) if backend code changedconsole.logleft in the difft()translationsSummary by CodeRabbit