13461 chest pain missing from symptoms for plague#13570
13461 chest pain missing from symptoms for plague#13570KarnaiahPesula merged 3 commits intodevelopmentfrom
Conversation
WalkthroughAdds a respiratory symptom grouping annotation to Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant UI as SymptomsForm
participant Case as Case Model
User->>UI: Open symptoms form
UI->>Case: getPlagueType()
Case-->>UI: PlagueType (e.g., PNEUMONIC / other)
UI->>UI: Show CHEST_PAIN only if PlagueType == PNEUMONIC
UI-->>User: Render form with/without CHEST_PAIN
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
✨ Finishing Touches
🧪 Generate 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
sormas-api/src/main/java/de/symeda/sormas/api/symptoms/SymptomsDto.java (1)
504-506: Chest pain re-grouped to respiratory — verify UX intentRe-grouping CHEST_PAIN under SymptomGroup.RESPIRATORY affects all diseases globally. If that’s intended (e.g., for pneumonic plague), LGTM; otherwise consider whether CHEST_PAIN should remain under a more general/cardiovascular grouping for non-respiratory diseases.
Confirm with product/UX that CHEST_PAIN should appear in the Respiratory section across all diseases.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (2)
sormas-api/src/main/java/de/symeda/sormas/api/symptoms/SymptomsDto.java(1 hunks)sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms/SymptomsForm.java(2 hunks)
🔇 Additional comments (1)
sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms/SymptomsForm.java (1)
71-71: Import is appropriateNeeded for the new CHEST_PAIN visibility rule.
|
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=13570 |
|
SonarCloud analysis: https://sonarcloud.io/dashboard?id=SORMAS-Project&pullRequest=13570 |
Fixes #
Summary by CodeRabbit
Bug Fixes
New Features