Map a source concept
map_conceptMaps a source vocabulary code or known OMOP concept ID to another vocabulary, such as ICD10CM to SNOMED, and returns verified target mappings.
Instructions
Map a source vocabulary code or a known numeric OMOP concept ID to another vocabulary. For ICD10CM to SNOMED, supply vocabulary_id="ICD10CM", the original concept_code and target_vocabularies="SNOMED". The tool resolves the exact source code before reading its mappings. Report only the targets in successful mappings rows. On error, the mapping is unverified. Follow has_more for further pages.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "map_concept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based, default 1) | |
| page_size | No | Mappings per page (1-200, default 100). A concept can have thousands — check has_more in the response and increment page until it is false, otherwise your code list will be incomplete. | |
| concept_id | No | Known numeric source OMOP ID, as an alternative to a vocabulary and code | |
| concept_code | No | Original code in the source vocabulary | |
| vocabulary_id | No | Source vocabulary for an exact code lookup | |
| on_monthly_limit | No | Return an explicitly partial report if the source lookup succeeds and monthly quota blocks the mapping read. Defaults to an MCP error. | |
| target_vocabularies | No | Comma-separated vocabulary IDs to map TO. Examples: 'ICD10CM', 'SNOMED', 'RxNorm'. Omit to see all available mappings. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mapped | Yes | Null when the source was verified but quota prevented checking its mappings. | |
| message | No | ||
| mappings | Yes | ||
| mapping_error | No | ||
| source_concept_id | Yes |