Skip to content

Add apnea-hypopnea index & cigarette smoking status measurement terms (#2747) - #2748

Merged
aleixpuigb merged 2 commits into
masterfrom
worktree-issue-2747
Jul 13, 2026
Merged

aleixpuigb merged 2 commits into
masterfrom
worktree-issue-2747

Conversation

@aleixpuigb

Copy link
Copy Markdown
Collaborator

Summary

Adds the two EFO measurement terms requested in #2747 (originally raised in OBA #364, redirected to EFO in OBA #428) for the BioData Catalyst Harmonization Pilot.

All 4 pre-supplied PMIDs were independently verified against Europe PMC — real papers, correct citations, and their abstracts support the definitions and synonym typing.

Beyond the ticket as filed, the AHI term was given the logical relationships the curation had left out: the ticket recommended leaving it bare, but AHI measures apnea and hypopnea events, so it now carries is_about both — HP:0002104 (Apnea, already imported) and HP:0040213 (Hypopnea, imported in this PR). The parent EFO:0007817 definition was also widened to mention hypopnea for consistency with its new child.

Per the maintainer's decision, only the parent cigarette smoking status measurement was minted — the current/former/never value subclasses were not created.

⚠️ Temporary IDs: every EFO_099xxxx ID below is a placeholder for an agent-generated term. It is replaced with a definitive EFO ID by automation after this PR merges to master — do not treat these numbers as stable.

Changes

Action Term EFO ID Temp? Parent / axioms Source ontology
Added apnea-hypopnea index measurement EFO_0990001 ⚠️ temporary is_a sleep apnea measurement (EFO:0007817); is_about apnea (HP:0002104) + hypopnea (HP:0040213) —
Added cigarette smoking status measurement EFO_0990002 ⚠️ temporary is_a measurement (EFO:0001444); is_about smoking behavior (EFO:0004318) —
Imported Hypopnea HP:0040213 — native HP parent HP:0002793 HP
Edited sleep apnea measurement (definition widened to include hypopnea) EFO:0007817 — unchanged —

References (all verified, not hallucinated)

  • PMID:8464434 — Young et al. 1993, NEJM. Defines "episodes of apnea and hypopnea per hour of sleep (the apnea-hypopnea score)" with cutoffs ≥5/≥10/≥15. Supports AHI definition + apnea-hypopnea score synonym.
  • PMID:23066376 — Berry et al. 2012, AASM Task Force. Consensus scoring rules for apnea/hypopnea events.
  • PMID:22649464 — Ryan et al. 2012. Cigarette-specific current-smoking definitions.
  • PMID:15213107 — Doll et al. 2004, BMJ. Smoker / ex-smoker / lifelong non-smoker convention.

Deliberate omissions (not oversights)

  • "respiratory disturbance index" / RDI not added as an AHI synonym — it also counts RERAs, so it is genuinely broader.
  • current/former/never value subclasses not minted — parent term only, per maintainer decision.

Checks

  • OLS pre-check: neither term exists in an imported ontology (confirmed in ticket + import search)
  • Parents verified non-obsolete (EFO:0007817, EFO:0001444, EFO:0004318, HP:0002104, HP:0040213)
  • ≥2 PMIDs per new term (reified on the definition), synonyms typed and each xref-sourced
  • make normalize_src clean; robot reason -r ELK exit 0, no unsatisfiable classes
  • Both terms signed AI agent and linked to New terms: apnea-hypopnea index & cigarette smoking status (from OBA #364/#428) #2747 via term_tracker_item
  • Temporary EFO_099xxxx IDs flagged

Notes / open questions

  • HP import diff is not purely additive. Refreshing the HP mirror to import Hypopnea also pulled ~a dozen minor upstream HPO metadata refinements (updated definitions/xrefs on unrelated pre-existing terms, e.g. hyperuricemia, aneurysm). These are legitimate HPO changes surfaced by the mirror refresh, not hand edits — flagging so the diff in imports/hp_import.owl is expected.
  • The optional EFO:0007817 definition widening was applied (reviewer can revert if undesired).

Closes #2747

…s (refs #2747)

- apnea-hypopnea index measurement (EFO_0990001): is_a sleep apnea
  measurement; is_about apnea (HP:0002104) and hypopnea (HP:0040213)
- cigarette smoking status measurement (EFO_0990002): is_a measurement;
  is_about smoking behavior (EFO:0004318)
- import HP:0040213 (Hypopnea)
- widen EFO:0007817 definition to include hypopnea events

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Comment thread src/ontology/efo-edit.owl Resolved
@aleixpuigb aleixpuigb self-assigned this Jul 13, 2026
@aleixpuigb
aleixpuigb merged commit 7378e07 into master Jul 13, 2026
1 check passed
@aleixpuigb
aleixpuigb deleted the worktree-issue-2747 branch July 13, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New terms: apnea-hypopnea index & cigarette smoking status (from OBA #364/#428)

1 participant