Skip to content

Domain routing facts, column-role review pack, and cold-start fix - #26

Merged
gkennos merged 6 commits into
mainfrom
omop-domain-routing
Oct 24, 2026
Merged

gkennos merged 6 commits into
mainfrom
omop-domain-routing

Conversation

@gkennos

@gkennos gkennos commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

Summary

1. Publish domain routing facts (groundworkers.omop_domains)

A new public module that other components import instead of keeping their own copies:

  • DOMAIN_TO_TABLE: which CDM table each clinical domain routes to (9 domains)
  • CLASSIFIABLE_DOMAINS: the 6 clinical domains domain_classify can return
  • NON_CLINICAL: Metadata and Identifier. These are labels for non-clinical data-dictionary fields, not OMOP domains
  • DOMAIN_CLASSIFY_OUTPUTS: the union of the two above

2. Ship the column-role review pack with Groundworkers

groundcrew-source-column-classification moves here from groundcrew-prompts, so it sits next to the ColumnRole contract it describes. It's published through a new ohdsi_prompt_registry.packs entry point (groundworkers.prompt_packs).

3. Fix the embedding tier on cold start

On the first grounding call after startup, the knowledge graph wasn't built yet, so the embedding tier was left out of the plan and the answer silently fell back to lexical-only.

@gkennos gkennos changed the title Publish omop_domains routing facts Publish domain routing facts and ship the column-role review pack Oct 24, 2026
@gkennos gkennos changed the title Publish domain routing facts and ship the column-role review pack Domain routing facts, column-role review pack, and cold-start fix Oct 24, 2026
@gkennos
gkennos merged commit 0ee66c8 into main Oct 24, 2026
5 checks passed
@gkennos
gkennos deleted the omop-domain-routing branch October 24, 2026 18:59
@gkennos gkennos mentioned this pull request Nov 6, 2026
1 task done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant