get_rxnorm_mappings_for_setid
Retrieve RxNorm medication identifiers for a specific SET ID to map drug information from the FDA DailyMed database for accurate drug data integration.
Instructions
Get RxNorm mappings for a specific SET ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| setId | Yes | The SET ID to get RxNorm mappings for |
Implementation Reference
- src/clients/dailymed-client.ts:153-155 (handler)The actual implementation of the tool, calling the mapping service.
async getRxNormMappingsForSetId(setId: string) { return this.mappingService.getRxNormMappings(setId); } - src/tools.ts:516-529 (registration)The tool registration and input schema definition.
{ name: "get_rxnorm_mappings_for_setid", description: "Get RxNorm mappings for a specific SET ID", inputSchema: { type: "object", properties: { setId: { type: "string", description: "The SET ID to get RxNorm mappings for", }, }, required: ["setId"], }, }, - src/index.ts:372-380 (handler)The handler logic in the main switch statement that calls the client method.
case "get_rxnorm_mappings_for_setid": const rxNormMappings = await this.client.getRxNormMappingsForSetId( args.setId as string, ); return { content: [ { type: "text", text: JSON.stringify(rxNormMappings, null, 2),