Skip to content

feat(wallace): add Wallace Rule of Nines with fluid resuscitation#21

Merged
vgpastor merged 1 commit intomainfrom
feat/wallace-rule
Mar 27, 2026
Merged

feat(wallace): add Wallace Rule of Nines with fluid resuscitation#21
vgpastor merged 1 commit intomainfrom
feat/wallace-rule

Conversation

@vgpastor
Copy link
Copy Markdown
Contributor

Summary

  • Add Regla de Wallace (Rule of Nines) burn assessment calculator with adult and pediatric modes
  • Integrate Parkland formula and USAISR Rule of 10 fluid resuscitation calculations
  • 8 body zones, 4 age groups, special zone alerts, urine output targets
  • 26 clinical tests, 8 references

Closes #14, closes #15

New files

File Description
lib/features/wallace/domain/wallace_calculator.dart Pure Dart calculator: SCQ%, severity, Parkland, Rule of 10
lib/features/wallace/domain/wallace_data.dart Zone percentages, age groups, infoSections, 8 clinical references
lib/features/wallace/presentation/wallace_screen.dart UI with age selector, zone checkboxes, weight input, fluid panel
test/domain/wallace_calculator_test.dart 26 tests covering all clinical scenarios

Modified files

  • app_router.dart — route /wallace
  • tool_registry.dart — registered in valoracion category
  • version.json — bump to 0.1.11

Test plan

  • dart format . — 0 changes
  • flutter analyze — 0 issues
  • flutter test — 187/187 passed (26 new Wallace tests)
  • Manual: verify screen renders correctly on device
  • Manual: verify fluid calculation panel appears with weight + SCQ >= threshold

🤖 Generated with Claude Code

…esuscitation (#14, #15)

Add complete burn assessment tool using Wallace Rule of Nines with:
- 8 body zones with adult and pediatric age-adjusted percentages
- 4 age groups (Adult, 10y, 5y, 1y) with modified proportions
- Parkland formula fluid calculation (4 mL x kg x %TBSA)
- USAISR Rule of 10 simplified fluid rate calculation
- Special zone detection (head, perineum) with visual alerts
- Urine output targets (adult and pediatric)
- 26 clinical tests covering all calculation paths
- 8 clinical references (Wallace 1951, Baxter/Parkland 1968, ISBI 2016, etc.)

Closes #14, closes #15

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vgpastor vgpastor merged commit c398183 into main Mar 27, 2026
1 check passed
@vgpastor vgpastor deleted the feat/wallace-rule branch March 27, 2026 15:40
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.

feat(quemados): Calculadora Regla 10 USAISR - Reposición hídrica gran quemado feat(quemados): Calculadora Regla de Wallace y modificada

1 participant