Skip to content

Implemented the warning signs and corrected the warning symptoms of D…#14133

Merged
KarnaiahPesula merged 2 commits into
developmentfrom
bugfix-14125-dengue-missing-symptoms
Jul 3, 2026
Merged

Implemented the warning signs and corrected the warning symptoms of D…#14133
KarnaiahPesula merged 2 commits into
developmentfrom
bugfix-14125-dengue-missing-symptoms

Conversation

@KarnaiahPesula

@KarnaiahPesula KarnaiahPesula commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Implemented the warning signs and corrected the warning symptoms of Dengue.

Corrected the typos.

Fixes #

Summary by CodeRabbit

  • Bug Fixes
    • Corrected the “Other neurological symptoms” symptom label and related form behavior.
    • Fixed symptom field handling so the matching free-text field shows and validates properly.
    • Updated warning-sign wording for dengue-related symptom captions.
    • Improved database compatibility by renaming misnamed symptom fields where needed, preserving existing data.

@KarnaiahPesula KarnaiahPesula linked an issue Jul 2, 2026 that may be closed by this pull request
@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 48e32930-83cd-4b83-a563-84cdca6a0710

📥 Commits

Reviewing files that changed from the base of the PR and between 494154a and 816fb80.

📒 Files selected for processing (4)
  • sormas-api/src/main/java/de/symeda/sormas/api/symptoms/SymptomsDto.java
  • sormas-api/src/main/resources/captions.properties
  • sormas-backend/src/main/resources/sql/sormas_schema.sql
  • sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms/SymptomsForm.java

📝 Walkthrough

Walkthrough

The PR renames the “other neurolocal symptom” fields to “other neurological symptoms” across API models, UI bindings, captions, and the database migration. It also removes the dengue complication annotation from nausea and adds dengue-specific complication captions.

Changes

Symptoms naming and captions

Layer / File(s) Summary
API names and captions
sormas-api/src/main/java/de/symeda/sormas/api/symptoms/SymptomsDto.java, sormas-api/src/main/resources/captions.properties
DTO constants, dependent fields, accessors, and symptom/complication captions are renamed to the neurological variants; the dengue @Complication on nausea is removed.
UI symptom wiring
sormas-ui/src/main/java/de/symeda/sormas/ui/symptoms/SymptomsForm.java
Form field IDs, registration, visibility wiring, and onset listeners use the corrected neurological symptom keys.
Schema column rename
sormas-backend/src/main/resources/sql/sormas_schema.sql
A migration conditionally renames the matching symptoms and symptoms_history columns and records schema version 646.

Estimated code review effort: 4 (Complex) | ~45 minutes

Suggested reviewers: raulbob, obinna-h-n

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is mostly complete, but the required issue reference after 'Fixes #' is missing. Add the related issue number after 'Fixes #' to satisfy the repository template.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the PR's main dengue warning-sign and symptom corrections.
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.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bugfix-14125-dengue-missing-symptoms

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.

@KarnaiahPesula KarnaiahPesula requested review from raulbob and roldy July 2, 2026 11:56
# Conflicts:
#	sormas-backend/src/main/resources/sql/sormas_schema.sql
@KarnaiahPesula KarnaiahPesula merged commit 440a117 into development Jul 3, 2026
7 checks passed
@KarnaiahPesula KarnaiahPesula deleted the bugfix-14125-dengue-missing-symptoms branch July 3, 2026 09:09
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.

Dengue Symptoms - Missing Symptoms

2 participants