lookup_code
Search the terminology catalog for medical codes by free text, like 'metoprolol 25' or 'type 2 diabetes', returning ranked matches. Optionally restrict to a code system.
Instructions
Search the terminology catalog for codes matching free text (e.g. 'metoprolol 25', 'type 2 diabetes'). Call this whenever you need a code — use a returned candidate, never invent or recall one. Results are ranked tightest-match-first; optionally restrict to one code system URI.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| system | No |