lookup_code
Find codes that match free text like 'metoprolol 25' from a terminology catalog. Results ranked by relevance; 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 |