search_notes
Search clinical notes by keyword to retrieve relevant snippets with surrounding context, preventing information overload. Filter by note type for efficient exploration.
Instructions
🔍 Search clinical notes by keyword.
Returns snippets around matches to prevent context overflow. Use get_note() to retrieve full text of specific notes.
Note types: 'discharge' (summaries), 'radiology' (reports), or 'all'
Args: dataset: Dataset name, e.g. 'mimic-iv-note'. query: Search term to find in notes. note_type: Type of notes to search ('discharge', 'radiology', or 'all'). limit: Maximum number of results per note type (default: 5). snippet_length: Characters of context around matches (default: 300).
Returns: Matching snippets with note IDs for follow-up retrieval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| note_type | No | all | |
| limit | No | ||
| snippet_length | No | ||
| dataset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |