create-definitions-from-ohdsi
БесплатноЗапускает вложенные скриптыНе проверенGenerate dismech definitions from OHDSI/ATLAS cohort definitions or other computable phenotype logic. Use when converting OMOP cohort JSON, drafting…
от monarch-initiative★ 77 звёзд на GitHubОб этом скилле
Create Definitions From OHDSI
Use this skill to convert OHDSI/ATLAS cohort definitions into dismech definitions blocks and to map FHIR/CQL logic into the same structure.
Quick start
- Export an ATLAS/WebAPI cohort definition JSON.
- Generate a YAML fragment:
uv run python .claude/skills/create-definitions-from-ohdsi/scripts/ohdsi_cohort_to_definition.py /path/to/cohort.json --wrap
- Paste the fragment into the target disorder file under
definitions. - Normalize to dismech norms (add evidence snippets, scope, criteria set names, and any available term objects).
- Validate:
just validate kb/disorders/<Disease>.yaml
Workflow guardrails
- Keep logic concise: express cohort entry, inclusion rules, and exit criteria in
criteria_sets. - Use
minimum_requiredfor numeric logic; put temporal logic indescription. - Add evidence snippets from abstracts when the algorithm is derived from a publication.
- Only add
termobjects when the CURIE is in a configured prefix (ICD10CM, NCIT, HP, etc.).
References
- Mapping guide:
references/model-mapping.md(FHIR/OHDSI/CQL to dismech)
Scripts
scripts/ohdsi_cohort_to_definition.py: Convert ATLAS/WebAPI cohort JSON to a dismech definition fragment.- Use
--wrapto emit a top-leveldefinitionskey.
- Use
Установить create-definitions-from-ohdsi в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл create-definitions-from-ohdsi?
Generate dismech definitions from OHDSI/ATLAS cohort definitions or other computable phenotype logic. Use when converting OMOP cohort JSON, drafting PheKB-/OHDSI-style phenotype algorithms, or mapping FHIR/CQL/OMOP rules into dismech `definitions` blocks.
Как установить скилл create-definitions-from-ohdsi?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл create-definitions-from-ohdsi запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic