Overview
The advanced search endpoint provides powerful multi-criteria search capabilities across healthcare vocabularies. Use complex queries, filters, and ranking to find the most relevant medical concepts.Best for: Complex search scenarios requiring multiple filters, specific vocabularies, or advanced ranking criteria.
Endpoint
/v1/concepts/search/advanced
Authentication
Bearer token with your API key
Request Body
The search query termExample:
"diabetes mellitus type 2"
Array of vocabulary IDs to search withinOptions:
SNOMED
, ICD10CM
, ICD9CM
, RxNorm
, LOINC
, HCPCS
, etc.Default: All vocabulariesArray of domain IDs to filter byOptions:
Condition
, Drug
, Procedure
, Measurement
, Observation
, etc.Array of concept class IDs to filter byExamples:
Clinical Finding
, Pharmaceutical Substance
, Procedure
Whether to include only standard concepts
Whether to include invalid/deprecated concepts
Array of relationship filter objects
Filter by validity date range
Maximum number of results to return (max: 1000)
Number of results to skip for pagination
Response
Whether the request was successful
Pagination information
Examples
Basic Search
Filtered Search
Complex Relationship Filtering
Search Features
Full-Text Search
- Multi-field search: Searches concept names, synonyms, and descriptions
- Phrase matching: Use quotes for exact phrases:
"myocardial infarction"
- Wildcard support: Use
*
for partial matching:diabet*
- Boolean operators: Use AND, OR, NOT:
diabetes AND type 2
Relevance Scoring
Results are ranked by relevance using:- Exact matches: Exact concept name matches score highest
- Phrase matches: Complete phrase matches in names or synonyms
- Term frequency: Frequency of query terms in concept text
- Vocabulary priority: Standard concepts ranked higher
- Clinical relevance: Healthcare-specific ranking adjustments
Faceted Search
Use facets to understand result distribution:Performance Tips
- Use specific vocabularies: Limit search to relevant vocabularies only
- Filter by domain: Reduce result set with domain filters
- Reasonable page sizes: Use limit of 20-100 for best performance
- Cache results: Cache frequently accessed searches
- Use standard concepts: Set
standard_concepts_only: true
for faster queries