Skip to content

034.03 Case Attributes

Description

As a Researcher, I want to add attributes to cases so that I can capture demographics.

Acceptance Criteria

  • [ ] #1 I can define attribute types (text, number, date)
  • [ ] #2 I can assign attribute values to cases
  • [ ] #3 I can filter cases by attributes
  • [ ] #4 Attributes are available in reports

Implementation Notes

Implementation Status (2026-02-06): - ✅ Domain: CaseAttribute entity, AttributeType enum, CaseAttributeSet/Removed events - ✅ Infra: cas_attribute table, save_attribute/get_attributes in repo - ✅ Command Handlers: set_case_attribute, remove_case_attribute - ❌ MCP Tool: Not exposed - ❌ Presentation: No AttributeEditorDialog - ❌ E2E tests: None - ❌ Docs: None