Summary
The same term grounds differently by section (a drug under 'Allergies' is an allergen, under 'Medications' an active drug, under 'Family History' not the patient's). A grounding-context layer that biases and constrains candidate concepts by the detected section materially improves grounding precision.
Scope
Acceptance criteria
Out of scope
- The clinical section detector itself (already shipped/wired)
- Concept-normalization confidence calibration (separate task)
Files
- openmed/clinical/grounding/section_context.py
- tests/unit/clinical/grounding/test_section_context.py
Task: OM-572 · Milestone: v2.2 · Priority: P2 · Size: M
Depends on: OM-510 · Blocks: —
Roadmap: v2.2 trustworthy clinical data exchange follow-on wave
Spec: PLANS/V2/EXECUTION/tasks/OM-572.md
Summary
The same term grounds differently by section (a drug under 'Allergies' is an allergen, under 'Medications' an active drug, under 'Family History' not the patient's). A grounding-context layer that biases and constrains candidate concepts by the detected section materially improves grounding precision.
Scope
Acceptance criteria
Out of scope
Files
Task: OM-572 · Milestone: v2.2 · Priority: P2 · Size: M
Depends on: OM-510 · Blocks: —
Roadmap: v2.2 trustworthy clinical data exchange follow-on wave
Spec: PLANS/V2/EXECUTION/tasks/OM-572.md