Skip to content

Add procedures NER domain scaffold#330

Closed
wyf027 wants to merge 2 commits into
maziyarpanahi:masterfrom
wyf027:procedures-domain-313
Closed

Add procedures NER domain scaffold#330
wyf027 wants to merge 2 commits into
maziyarpanahi:masterfrom
wyf027:procedures-domain-313

Conversation

@wyf027

@wyf027 wyf027 commented Jun 14, 2026

Copy link
Copy Markdown

Summary

  • Add a procedures zero-shot domain with procedure, surgery, diagnostic procedure, device, and approach labels
  • Add PROCEDURE, DEVICE, and APPROACH canonical labels with aliases for procedure/surgery/device terms
  • Add Procedures entity-type scaffolding and route procedure-heavy text to a Procedures domain suggestion when no trained model exists yet
  • Add regression coverage for the new domain, routing, and label normalization

Verification

  • uvx --with '.[dev]' pytest tests/unit/core/test_labels.py tests/unit/ner/test_label_map_consistency.py -q
  • acceptance assertion for available_domains, get_default_labels, get_model_suggestions, and normalize_label
  • git diff --check
  • uvx --with '.[dev]' pytest tests/ -q

Closes #313

@maziyarpanahi maziyarpanahi added the roadmap-v2 OpenMed V2 roadmap backlog label Jun 18, 2026
# Conflicts:
#	openmed/core/labels.py
#	openmed/core/model_registry.py
#	tests/unit/ner/test_label_map_consistency.py
@wyf027 wyf027 closed this by deleting the head repository Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

roadmap-v2 OpenMed V2 roadmap backlog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add procedures domain to NER catalog and zero-shot label maps

2 participants