find_curated_definition
Find validated cohort definitions by searching the OHDSI Phenotype Library with a natural language query. Returns curated ICD-10-CM concepts ready for use instead of generated ones.
Instructions
Search the OHDSI Phenotype Library for a validated cohort definition.
Use this FIRST for any population description that plausibly matches a
peer-reviewed phenotype (e.g. "type 2 diabetes", "diabetic ketoacidosis")
— a match here is curated provenance, safe to use as-is citing the
cohort id. Only fall back to search_concepts/expand_hierarchy if
nothing matches; those return generated provenance requiring human
confirmation. This demo bundles a small, hand-picked set of
diabetes/kidney-related cohorts, not the full library — a miss here
does not mean no curated definition exists.
:param query: Free-text population description.
:returns: The best-matching cohort's resolved ICD-10-CM concepts tagged
curated, or an empty set with an explanatory unmappable
entry if nothing in the bundled set matches or the library has not
been fetched yet.
:rtype: ConceptSet
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| concepts | No | ||
| unmappable | No |