Get Disease
get_diseaseRetrieve complete rare disease records from Orphanet by ORPHAcode, label, or external reference, including definitions, synonyms, cross-references, classification, age of onset, inheritance, and optional gene and phenotype data.
Instructions
Return an Orphanet disease record: definition, synonyms, grouped cross-references, classification parents/children, age of onset, inheritance, and disorder type. The term accepts an ORPHAcode, a label/synonym, or an external xref CURIE (resolved first). xrefs are grouped by source; any nested count is leaf rows, not groups. Pass fields=['xrefs.OMIM', ...] for a sparse projection, or include=['genes','phenotypes','prevalence','disability'] to compose a full entity in ONE call. Signature: get_disease(term, response_mode=, fields=, include=).
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. | |
| fields | No | Sparse fieldset: return ONLY these top-level keys (dot into a grouped object, e.g. 'xrefs.OMIM'). Identity anchors (orpha_code, name, orphanet_version) are always included. Omit for the full payload. | |
| include | No | Compose extra association sections into the single record (any of: genes, phenotypes, prevalence, disability) so a full entity needs one call instead of a per-section fan-out. Omit for the base record only. | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |