Search Autocomplete
Get real-time autocomplete suggestions for OMOP medical terminology searches with optional phonetic matching for typo-tolerant clinical lookups.
Overview
This endpoint provides autocomplete functionality for medical terminology searches. It offers real-time suggestions as users type, helping them find the correct medical terms quickly. The endpoint supports both standard prefix matching and phonetic (Soundex) matching for handling common misspellings.Query Parameters
Search query for autocompletion (minimum 2 characters, maximum 100)
Filter suggestions to specific vocabularies (comma-separated)
Examples:
Examples:
SNOMED, ICD10CM,LOINC, RXNORMFilter suggestions to specific domains (comma-separated)
Examples:
Examples:
Condition, Drug,ProcedurePage number (1-based indexing)
Number of suggestions to return per page (1-20)
Matching algorithm to use
Options:
Use
Options:
default, soundexUse
soundex for phonetic matching to handle misspellingsSpecific vocabulary release version (defaults to latest)
Response
Array of autocomplete suggestions with concept details
Usage Examples
Basic Autocomplete
Get suggestions for a partial query:Vocabulary-Filtered Autocomplete
Focus suggestions on specific vocabularies:Domain-Filtered Autocomplete
Get suggestions only for specific domains:Phonetic Matching (Soundex)
Use phonetic matching to handle misspellings:Algorithms
Default Algorithm
- Standard prefix matching
- Fast and accurate for correctly spelled queries
- Best for real-time autocomplete UX
Soundex Algorithm
- Phonetic matching based on pronunciation
- Handles common misspellings and typos
- Useful for voice-to-text input or uncertain spellings
- Example: “noomonia” matches “pneumonia”
Performance Notes
- Minimum query length: 2 characters required
- Response time: Optimized for real-time use (<100ms typical)
- Caching: Results are cached for 24 hours per vocabulary release
- Rate limiting: Standard rate limits apply
Related Endpoints
- Basic Search - Full-text search with filters
- Similarity Search - Find semantically similar concepts