Repository navigation
Conversation
… node The manifest gains `condition_extension`, the conditions the corpus names that MONDO has no node for, sourced from pondie's `curated/condition-extension.tsv`. Its one term is mild cognitive impairment, under MONDO:0002039 cognitive disorder (`hierarchy`: the term's `mondo_parent`). The normalizer writes a `mondo` entry for that parent with `rollup: true` beside it, so a MONDO search finds the group without this vocabulary. Pinned to neurostuff/pondie#37's head; to be repinned to its merge commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…plit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keeps both vocabulary lists in Normalization.vocabulary's description: condition_extension from this branch, ConditionRole and RiskBasis from #63. Generated models regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
condition_extensionto the vocabulary manifest: conditions the corpus names that MONDO has no node for, each under the MONDO node it falls under. Its one term is mild cognitive impairment, underMONDO:0002039cognitive disorder. The linker change is neurostuff/pondie#37.Draft until neurostuff/pondie#37 merges. The source is pinned to #37's head (
d561931), and moves to its merge commit before this merges. Pin merge commits only.The entry
pondie/vocabularies/curated/condition-extension.tsvat the pinned commit, with its sha256 (checked against the file GitHub serves at that commit). This is howcanonical_tasksources ns-pond's inventory.hierarchy: kindfield, fieldmondo_parent, parent vocabularymondo.values:["mild_cognitive_impairment"].id_form:<snake_case condition>.legacy_vocabularies:["condition_extension"]. A new vocabulary has no pre-rename string, but the model requires at least one, so it lists the string pondie writes.How it's used
For an MCI head the normalizer writes two entries:
mondoentry namingMONDO:0002039withrollup: true, so a MONDO search and its descendant expansion find the group;condition_extensionentry namingmild_cognitive_impairment.Neurostore builds a vocabulary's ancestors within its own release, so a separate release couldn't place MCI under a MONDO node. The MONDO entry carries the rollup, and this vocabulary needs no download. When MONDO adds a term, the term leaves this vocabulary.
Also
Normalization.vocabulary's description lists the new name (extraction-evidence.yaml), with the generatedmodels/extraction.pyandjsonschema/extraction-record.schema.jsonregenerated.tools/generate_models.py --checkpasses.tests/test_vocabularies.pylists it and checks it falls under MONDO.Checks
In a fresh venv with CI's install (
pip install ".[test,generate,layouts,parquet]" jsonschema):pytestgave 322 passed, 1 skipped (building a wheel needs setuptools, already skipped before this change).After this
condition_extensiontoMEDICAL_CONDITION_VOCABULARIESiningest/analysis_features.pyand bumps its study_schema pin.🤖 Generated with Claude Code