Get Disease Ancestors
get_disease_ancestorsObtain all broader disease ancestors for an Orphanet disorder, with pagination and adjustable verbosity.
Instructions
Return all transitive ancestors (broader diseases) of an Orphanet disorder via the precomputed closure, with a pagination block {total, returned, limit, offset, truncated, next_offset}. When truncated, next_commands carries a forward-page step. Use get_disease_classification for only the immediate parents. Signature: get_disease_ancestors(term, limit=, offset=, response_mode=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | An ORPHAcode (ORPHA:33069 or 33069), a disease label/synonym, or an external xref CURIE that resolves to a single Orphanet term. | |
| limit | No | Max rows returned (default 200). | |
| offset | No | Rows to skip for forward paging (default 0). | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |