@sequoiaport/codes 0.1.2-beta.2 → 0.1.4-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1449 -1
- package/dist/index.d.ts +1449 -1
- package/dist/index.js +96 -0
- package/dist/index.mjs +95 -0
- package/dist/mcp.js +149 -0
- package/package.json +6 -2
package/dist/index.d.mts
CHANGED
|
@@ -2240,6 +2240,1345 @@ type LEGetVersionOutput = z.infer<typeof GetVersionOutputSchema>;
|
|
|
2240
2240
|
type LEHealthOutput = z.infer<typeof LEHealthOutputSchema>;
|
|
2241
2241
|
type LEGetStatsOutput = z.infer<typeof GetStatsOutputSchema>;
|
|
2242
2242
|
|
|
2243
|
+
/** Package info nested inside a product */
|
|
2244
|
+
declare const NdcPackageSchema: z.ZodObject<{
|
|
2245
|
+
package_ndc: z.ZodString;
|
|
2246
|
+
package_ndc_11: z.ZodString;
|
|
2247
|
+
description: z.ZodString;
|
|
2248
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2249
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2250
|
+
}, "strip", z.ZodTypeAny, {
|
|
2251
|
+
package_ndc: string;
|
|
2252
|
+
package_ndc_11: string;
|
|
2253
|
+
description: string;
|
|
2254
|
+
marketing_start?: string | undefined;
|
|
2255
|
+
marketing_end?: string | undefined;
|
|
2256
|
+
}, {
|
|
2257
|
+
package_ndc: string;
|
|
2258
|
+
package_ndc_11: string;
|
|
2259
|
+
description: string;
|
|
2260
|
+
marketing_start?: string | undefined;
|
|
2261
|
+
marketing_end?: string | undefined;
|
|
2262
|
+
}>;
|
|
2263
|
+
/** FDA NDC product result */
|
|
2264
|
+
declare const NdcProductSchema: z.ZodObject<{
|
|
2265
|
+
product_ndc: z.ZodString;
|
|
2266
|
+
product_ndc_11: z.ZodString;
|
|
2267
|
+
generic_name: z.ZodString;
|
|
2268
|
+
brand_name: z.ZodString;
|
|
2269
|
+
labeler_name: z.ZodString;
|
|
2270
|
+
product_type: z.ZodString;
|
|
2271
|
+
dosage_form: z.ZodString;
|
|
2272
|
+
marketing_category: z.ZodString;
|
|
2273
|
+
application_number: z.ZodString;
|
|
2274
|
+
dea_schedule: z.ZodString;
|
|
2275
|
+
active_ingredients: z.ZodString;
|
|
2276
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2277
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2278
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2279
|
+
package_ndc: z.ZodString;
|
|
2280
|
+
package_ndc_11: z.ZodString;
|
|
2281
|
+
description: z.ZodString;
|
|
2282
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2283
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2284
|
+
}, "strip", z.ZodTypeAny, {
|
|
2285
|
+
package_ndc: string;
|
|
2286
|
+
package_ndc_11: string;
|
|
2287
|
+
description: string;
|
|
2288
|
+
marketing_start?: string | undefined;
|
|
2289
|
+
marketing_end?: string | undefined;
|
|
2290
|
+
}, {
|
|
2291
|
+
package_ndc: string;
|
|
2292
|
+
package_ndc_11: string;
|
|
2293
|
+
description: string;
|
|
2294
|
+
marketing_start?: string | undefined;
|
|
2295
|
+
marketing_end?: string | undefined;
|
|
2296
|
+
}>, "many">>;
|
|
2297
|
+
}, "strip", z.ZodTypeAny, {
|
|
2298
|
+
product_ndc: string;
|
|
2299
|
+
product_ndc_11: string;
|
|
2300
|
+
generic_name: string;
|
|
2301
|
+
brand_name: string;
|
|
2302
|
+
labeler_name: string;
|
|
2303
|
+
product_type: string;
|
|
2304
|
+
dosage_form: string;
|
|
2305
|
+
marketing_category: string;
|
|
2306
|
+
application_number: string;
|
|
2307
|
+
dea_schedule: string;
|
|
2308
|
+
active_ingredients: string;
|
|
2309
|
+
route?: string[] | undefined;
|
|
2310
|
+
pharm_class?: string[] | undefined;
|
|
2311
|
+
packages?: {
|
|
2312
|
+
package_ndc: string;
|
|
2313
|
+
package_ndc_11: string;
|
|
2314
|
+
description: string;
|
|
2315
|
+
marketing_start?: string | undefined;
|
|
2316
|
+
marketing_end?: string | undefined;
|
|
2317
|
+
}[] | undefined;
|
|
2318
|
+
}, {
|
|
2319
|
+
product_ndc: string;
|
|
2320
|
+
product_ndc_11: string;
|
|
2321
|
+
generic_name: string;
|
|
2322
|
+
brand_name: string;
|
|
2323
|
+
labeler_name: string;
|
|
2324
|
+
product_type: string;
|
|
2325
|
+
dosage_form: string;
|
|
2326
|
+
marketing_category: string;
|
|
2327
|
+
application_number: string;
|
|
2328
|
+
dea_schedule: string;
|
|
2329
|
+
active_ingredients: string;
|
|
2330
|
+
route?: string[] | undefined;
|
|
2331
|
+
pharm_class?: string[] | undefined;
|
|
2332
|
+
packages?: {
|
|
2333
|
+
package_ndc: string;
|
|
2334
|
+
package_ndc_11: string;
|
|
2335
|
+
description: string;
|
|
2336
|
+
marketing_start?: string | undefined;
|
|
2337
|
+
marketing_end?: string | undefined;
|
|
2338
|
+
}[] | undefined;
|
|
2339
|
+
}>;
|
|
2340
|
+
/** Cross-reference result (NDC + RxNorm RXCUI) */
|
|
2341
|
+
declare const NdcCrossRefSchema: z.ZodObject<{
|
|
2342
|
+
product: z.ZodObject<{
|
|
2343
|
+
product_ndc: z.ZodString;
|
|
2344
|
+
product_ndc_11: z.ZodString;
|
|
2345
|
+
generic_name: z.ZodString;
|
|
2346
|
+
brand_name: z.ZodString;
|
|
2347
|
+
labeler_name: z.ZodString;
|
|
2348
|
+
product_type: z.ZodString;
|
|
2349
|
+
dosage_form: z.ZodString;
|
|
2350
|
+
marketing_category: z.ZodString;
|
|
2351
|
+
application_number: z.ZodString;
|
|
2352
|
+
dea_schedule: z.ZodString;
|
|
2353
|
+
active_ingredients: z.ZodString;
|
|
2354
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2355
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2356
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2357
|
+
package_ndc: z.ZodString;
|
|
2358
|
+
package_ndc_11: z.ZodString;
|
|
2359
|
+
description: z.ZodString;
|
|
2360
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2361
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2362
|
+
}, "strip", z.ZodTypeAny, {
|
|
2363
|
+
package_ndc: string;
|
|
2364
|
+
package_ndc_11: string;
|
|
2365
|
+
description: string;
|
|
2366
|
+
marketing_start?: string | undefined;
|
|
2367
|
+
marketing_end?: string | undefined;
|
|
2368
|
+
}, {
|
|
2369
|
+
package_ndc: string;
|
|
2370
|
+
package_ndc_11: string;
|
|
2371
|
+
description: string;
|
|
2372
|
+
marketing_start?: string | undefined;
|
|
2373
|
+
marketing_end?: string | undefined;
|
|
2374
|
+
}>, "many">>;
|
|
2375
|
+
}, "strip", z.ZodTypeAny, {
|
|
2376
|
+
product_ndc: string;
|
|
2377
|
+
product_ndc_11: string;
|
|
2378
|
+
generic_name: string;
|
|
2379
|
+
brand_name: string;
|
|
2380
|
+
labeler_name: string;
|
|
2381
|
+
product_type: string;
|
|
2382
|
+
dosage_form: string;
|
|
2383
|
+
marketing_category: string;
|
|
2384
|
+
application_number: string;
|
|
2385
|
+
dea_schedule: string;
|
|
2386
|
+
active_ingredients: string;
|
|
2387
|
+
route?: string[] | undefined;
|
|
2388
|
+
pharm_class?: string[] | undefined;
|
|
2389
|
+
packages?: {
|
|
2390
|
+
package_ndc: string;
|
|
2391
|
+
package_ndc_11: string;
|
|
2392
|
+
description: string;
|
|
2393
|
+
marketing_start?: string | undefined;
|
|
2394
|
+
marketing_end?: string | undefined;
|
|
2395
|
+
}[] | undefined;
|
|
2396
|
+
}, {
|
|
2397
|
+
product_ndc: string;
|
|
2398
|
+
product_ndc_11: string;
|
|
2399
|
+
generic_name: string;
|
|
2400
|
+
brand_name: string;
|
|
2401
|
+
labeler_name: string;
|
|
2402
|
+
product_type: string;
|
|
2403
|
+
dosage_form: string;
|
|
2404
|
+
marketing_category: string;
|
|
2405
|
+
application_number: string;
|
|
2406
|
+
dea_schedule: string;
|
|
2407
|
+
active_ingredients: string;
|
|
2408
|
+
route?: string[] | undefined;
|
|
2409
|
+
pharm_class?: string[] | undefined;
|
|
2410
|
+
packages?: {
|
|
2411
|
+
package_ndc: string;
|
|
2412
|
+
package_ndc_11: string;
|
|
2413
|
+
description: string;
|
|
2414
|
+
marketing_start?: string | undefined;
|
|
2415
|
+
marketing_end?: string | undefined;
|
|
2416
|
+
}[] | undefined;
|
|
2417
|
+
}>;
|
|
2418
|
+
rxcui: z.ZodOptional<z.ZodString>;
|
|
2419
|
+
}, "strip", z.ZodTypeAny, {
|
|
2420
|
+
product: {
|
|
2421
|
+
product_ndc: string;
|
|
2422
|
+
product_ndc_11: string;
|
|
2423
|
+
generic_name: string;
|
|
2424
|
+
brand_name: string;
|
|
2425
|
+
labeler_name: string;
|
|
2426
|
+
product_type: string;
|
|
2427
|
+
dosage_form: string;
|
|
2428
|
+
marketing_category: string;
|
|
2429
|
+
application_number: string;
|
|
2430
|
+
dea_schedule: string;
|
|
2431
|
+
active_ingredients: string;
|
|
2432
|
+
route?: string[] | undefined;
|
|
2433
|
+
pharm_class?: string[] | undefined;
|
|
2434
|
+
packages?: {
|
|
2435
|
+
package_ndc: string;
|
|
2436
|
+
package_ndc_11: string;
|
|
2437
|
+
description: string;
|
|
2438
|
+
marketing_start?: string | undefined;
|
|
2439
|
+
marketing_end?: string | undefined;
|
|
2440
|
+
}[] | undefined;
|
|
2441
|
+
};
|
|
2442
|
+
rxcui?: string | undefined;
|
|
2443
|
+
}, {
|
|
2444
|
+
product: {
|
|
2445
|
+
product_ndc: string;
|
|
2446
|
+
product_ndc_11: string;
|
|
2447
|
+
generic_name: string;
|
|
2448
|
+
brand_name: string;
|
|
2449
|
+
labeler_name: string;
|
|
2450
|
+
product_type: string;
|
|
2451
|
+
dosage_form: string;
|
|
2452
|
+
marketing_category: string;
|
|
2453
|
+
application_number: string;
|
|
2454
|
+
dea_schedule: string;
|
|
2455
|
+
active_ingredients: string;
|
|
2456
|
+
route?: string[] | undefined;
|
|
2457
|
+
pharm_class?: string[] | undefined;
|
|
2458
|
+
packages?: {
|
|
2459
|
+
package_ndc: string;
|
|
2460
|
+
package_ndc_11: string;
|
|
2461
|
+
description: string;
|
|
2462
|
+
marketing_start?: string | undefined;
|
|
2463
|
+
marketing_end?: string | undefined;
|
|
2464
|
+
}[] | undefined;
|
|
2465
|
+
};
|
|
2466
|
+
rxcui?: string | undefined;
|
|
2467
|
+
}>;
|
|
2468
|
+
/** lookup_ndc / ndc_lookup output */
|
|
2469
|
+
declare const NdcLookupOutputSchema: z.ZodObject<{
|
|
2470
|
+
product: z.ZodObject<{
|
|
2471
|
+
product_ndc: z.ZodString;
|
|
2472
|
+
product_ndc_11: z.ZodString;
|
|
2473
|
+
generic_name: z.ZodString;
|
|
2474
|
+
brand_name: z.ZodString;
|
|
2475
|
+
labeler_name: z.ZodString;
|
|
2476
|
+
product_type: z.ZodString;
|
|
2477
|
+
dosage_form: z.ZodString;
|
|
2478
|
+
marketing_category: z.ZodString;
|
|
2479
|
+
application_number: z.ZodString;
|
|
2480
|
+
dea_schedule: z.ZodString;
|
|
2481
|
+
active_ingredients: z.ZodString;
|
|
2482
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2483
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2484
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2485
|
+
package_ndc: z.ZodString;
|
|
2486
|
+
package_ndc_11: z.ZodString;
|
|
2487
|
+
description: z.ZodString;
|
|
2488
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2489
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2490
|
+
}, "strip", z.ZodTypeAny, {
|
|
2491
|
+
package_ndc: string;
|
|
2492
|
+
package_ndc_11: string;
|
|
2493
|
+
description: string;
|
|
2494
|
+
marketing_start?: string | undefined;
|
|
2495
|
+
marketing_end?: string | undefined;
|
|
2496
|
+
}, {
|
|
2497
|
+
package_ndc: string;
|
|
2498
|
+
package_ndc_11: string;
|
|
2499
|
+
description: string;
|
|
2500
|
+
marketing_start?: string | undefined;
|
|
2501
|
+
marketing_end?: string | undefined;
|
|
2502
|
+
}>, "many">>;
|
|
2503
|
+
}, "strip", z.ZodTypeAny, {
|
|
2504
|
+
product_ndc: string;
|
|
2505
|
+
product_ndc_11: string;
|
|
2506
|
+
generic_name: string;
|
|
2507
|
+
brand_name: string;
|
|
2508
|
+
labeler_name: string;
|
|
2509
|
+
product_type: string;
|
|
2510
|
+
dosage_form: string;
|
|
2511
|
+
marketing_category: string;
|
|
2512
|
+
application_number: string;
|
|
2513
|
+
dea_schedule: string;
|
|
2514
|
+
active_ingredients: string;
|
|
2515
|
+
route?: string[] | undefined;
|
|
2516
|
+
pharm_class?: string[] | undefined;
|
|
2517
|
+
packages?: {
|
|
2518
|
+
package_ndc: string;
|
|
2519
|
+
package_ndc_11: string;
|
|
2520
|
+
description: string;
|
|
2521
|
+
marketing_start?: string | undefined;
|
|
2522
|
+
marketing_end?: string | undefined;
|
|
2523
|
+
}[] | undefined;
|
|
2524
|
+
}, {
|
|
2525
|
+
product_ndc: string;
|
|
2526
|
+
product_ndc_11: string;
|
|
2527
|
+
generic_name: string;
|
|
2528
|
+
brand_name: string;
|
|
2529
|
+
labeler_name: string;
|
|
2530
|
+
product_type: string;
|
|
2531
|
+
dosage_form: string;
|
|
2532
|
+
marketing_category: string;
|
|
2533
|
+
application_number: string;
|
|
2534
|
+
dea_schedule: string;
|
|
2535
|
+
active_ingredients: string;
|
|
2536
|
+
route?: string[] | undefined;
|
|
2537
|
+
pharm_class?: string[] | undefined;
|
|
2538
|
+
packages?: {
|
|
2539
|
+
package_ndc: string;
|
|
2540
|
+
package_ndc_11: string;
|
|
2541
|
+
description: string;
|
|
2542
|
+
marketing_start?: string | undefined;
|
|
2543
|
+
marketing_end?: string | undefined;
|
|
2544
|
+
}[] | undefined;
|
|
2545
|
+
}>;
|
|
2546
|
+
}, "strip", z.ZodTypeAny, {
|
|
2547
|
+
product: {
|
|
2548
|
+
product_ndc: string;
|
|
2549
|
+
product_ndc_11: string;
|
|
2550
|
+
generic_name: string;
|
|
2551
|
+
brand_name: string;
|
|
2552
|
+
labeler_name: string;
|
|
2553
|
+
product_type: string;
|
|
2554
|
+
dosage_form: string;
|
|
2555
|
+
marketing_category: string;
|
|
2556
|
+
application_number: string;
|
|
2557
|
+
dea_schedule: string;
|
|
2558
|
+
active_ingredients: string;
|
|
2559
|
+
route?: string[] | undefined;
|
|
2560
|
+
pharm_class?: string[] | undefined;
|
|
2561
|
+
packages?: {
|
|
2562
|
+
package_ndc: string;
|
|
2563
|
+
package_ndc_11: string;
|
|
2564
|
+
description: string;
|
|
2565
|
+
marketing_start?: string | undefined;
|
|
2566
|
+
marketing_end?: string | undefined;
|
|
2567
|
+
}[] | undefined;
|
|
2568
|
+
};
|
|
2569
|
+
}, {
|
|
2570
|
+
product: {
|
|
2571
|
+
product_ndc: string;
|
|
2572
|
+
product_ndc_11: string;
|
|
2573
|
+
generic_name: string;
|
|
2574
|
+
brand_name: string;
|
|
2575
|
+
labeler_name: string;
|
|
2576
|
+
product_type: string;
|
|
2577
|
+
dosage_form: string;
|
|
2578
|
+
marketing_category: string;
|
|
2579
|
+
application_number: string;
|
|
2580
|
+
dea_schedule: string;
|
|
2581
|
+
active_ingredients: string;
|
|
2582
|
+
route?: string[] | undefined;
|
|
2583
|
+
pharm_class?: string[] | undefined;
|
|
2584
|
+
packages?: {
|
|
2585
|
+
package_ndc: string;
|
|
2586
|
+
package_ndc_11: string;
|
|
2587
|
+
description: string;
|
|
2588
|
+
marketing_start?: string | undefined;
|
|
2589
|
+
marketing_end?: string | undefined;
|
|
2590
|
+
}[] | undefined;
|
|
2591
|
+
};
|
|
2592
|
+
}>;
|
|
2593
|
+
/** lookup_ndc_batch output */
|
|
2594
|
+
declare const NdcBatchLookupOutputSchema: z.ZodObject<{
|
|
2595
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2596
|
+
ndc: z.ZodString;
|
|
2597
|
+
product: z.ZodNullable<z.ZodObject<{
|
|
2598
|
+
product_ndc: z.ZodString;
|
|
2599
|
+
product_ndc_11: z.ZodString;
|
|
2600
|
+
generic_name: z.ZodString;
|
|
2601
|
+
brand_name: z.ZodString;
|
|
2602
|
+
labeler_name: z.ZodString;
|
|
2603
|
+
product_type: z.ZodString;
|
|
2604
|
+
dosage_form: z.ZodString;
|
|
2605
|
+
marketing_category: z.ZodString;
|
|
2606
|
+
application_number: z.ZodString;
|
|
2607
|
+
dea_schedule: z.ZodString;
|
|
2608
|
+
active_ingredients: z.ZodString;
|
|
2609
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2610
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2611
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2612
|
+
package_ndc: z.ZodString;
|
|
2613
|
+
package_ndc_11: z.ZodString;
|
|
2614
|
+
description: z.ZodString;
|
|
2615
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2616
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2617
|
+
}, "strip", z.ZodTypeAny, {
|
|
2618
|
+
package_ndc: string;
|
|
2619
|
+
package_ndc_11: string;
|
|
2620
|
+
description: string;
|
|
2621
|
+
marketing_start?: string | undefined;
|
|
2622
|
+
marketing_end?: string | undefined;
|
|
2623
|
+
}, {
|
|
2624
|
+
package_ndc: string;
|
|
2625
|
+
package_ndc_11: string;
|
|
2626
|
+
description: string;
|
|
2627
|
+
marketing_start?: string | undefined;
|
|
2628
|
+
marketing_end?: string | undefined;
|
|
2629
|
+
}>, "many">>;
|
|
2630
|
+
}, "strip", z.ZodTypeAny, {
|
|
2631
|
+
product_ndc: string;
|
|
2632
|
+
product_ndc_11: string;
|
|
2633
|
+
generic_name: string;
|
|
2634
|
+
brand_name: string;
|
|
2635
|
+
labeler_name: string;
|
|
2636
|
+
product_type: string;
|
|
2637
|
+
dosage_form: string;
|
|
2638
|
+
marketing_category: string;
|
|
2639
|
+
application_number: string;
|
|
2640
|
+
dea_schedule: string;
|
|
2641
|
+
active_ingredients: string;
|
|
2642
|
+
route?: string[] | undefined;
|
|
2643
|
+
pharm_class?: string[] | undefined;
|
|
2644
|
+
packages?: {
|
|
2645
|
+
package_ndc: string;
|
|
2646
|
+
package_ndc_11: string;
|
|
2647
|
+
description: string;
|
|
2648
|
+
marketing_start?: string | undefined;
|
|
2649
|
+
marketing_end?: string | undefined;
|
|
2650
|
+
}[] | undefined;
|
|
2651
|
+
}, {
|
|
2652
|
+
product_ndc: string;
|
|
2653
|
+
product_ndc_11: string;
|
|
2654
|
+
generic_name: string;
|
|
2655
|
+
brand_name: string;
|
|
2656
|
+
labeler_name: string;
|
|
2657
|
+
product_type: string;
|
|
2658
|
+
dosage_form: string;
|
|
2659
|
+
marketing_category: string;
|
|
2660
|
+
application_number: string;
|
|
2661
|
+
dea_schedule: string;
|
|
2662
|
+
active_ingredients: string;
|
|
2663
|
+
route?: string[] | undefined;
|
|
2664
|
+
pharm_class?: string[] | undefined;
|
|
2665
|
+
packages?: {
|
|
2666
|
+
package_ndc: string;
|
|
2667
|
+
package_ndc_11: string;
|
|
2668
|
+
description: string;
|
|
2669
|
+
marketing_start?: string | undefined;
|
|
2670
|
+
marketing_end?: string | undefined;
|
|
2671
|
+
}[] | undefined;
|
|
2672
|
+
}>>;
|
|
2673
|
+
}, "strip", z.ZodTypeAny, {
|
|
2674
|
+
ndc: string;
|
|
2675
|
+
product: {
|
|
2676
|
+
product_ndc: string;
|
|
2677
|
+
product_ndc_11: string;
|
|
2678
|
+
generic_name: string;
|
|
2679
|
+
brand_name: string;
|
|
2680
|
+
labeler_name: string;
|
|
2681
|
+
product_type: string;
|
|
2682
|
+
dosage_form: string;
|
|
2683
|
+
marketing_category: string;
|
|
2684
|
+
application_number: string;
|
|
2685
|
+
dea_schedule: string;
|
|
2686
|
+
active_ingredients: string;
|
|
2687
|
+
route?: string[] | undefined;
|
|
2688
|
+
pharm_class?: string[] | undefined;
|
|
2689
|
+
packages?: {
|
|
2690
|
+
package_ndc: string;
|
|
2691
|
+
package_ndc_11: string;
|
|
2692
|
+
description: string;
|
|
2693
|
+
marketing_start?: string | undefined;
|
|
2694
|
+
marketing_end?: string | undefined;
|
|
2695
|
+
}[] | undefined;
|
|
2696
|
+
} | null;
|
|
2697
|
+
}, {
|
|
2698
|
+
ndc: string;
|
|
2699
|
+
product: {
|
|
2700
|
+
product_ndc: string;
|
|
2701
|
+
product_ndc_11: string;
|
|
2702
|
+
generic_name: string;
|
|
2703
|
+
brand_name: string;
|
|
2704
|
+
labeler_name: string;
|
|
2705
|
+
product_type: string;
|
|
2706
|
+
dosage_form: string;
|
|
2707
|
+
marketing_category: string;
|
|
2708
|
+
application_number: string;
|
|
2709
|
+
dea_schedule: string;
|
|
2710
|
+
active_ingredients: string;
|
|
2711
|
+
route?: string[] | undefined;
|
|
2712
|
+
pharm_class?: string[] | undefined;
|
|
2713
|
+
packages?: {
|
|
2714
|
+
package_ndc: string;
|
|
2715
|
+
package_ndc_11: string;
|
|
2716
|
+
description: string;
|
|
2717
|
+
marketing_start?: string | undefined;
|
|
2718
|
+
marketing_end?: string | undefined;
|
|
2719
|
+
}[] | undefined;
|
|
2720
|
+
} | null;
|
|
2721
|
+
}>, "many">;
|
|
2722
|
+
found: z.ZodNumber;
|
|
2723
|
+
total: z.ZodNumber;
|
|
2724
|
+
}, "strip", z.ZodTypeAny, {
|
|
2725
|
+
results: {
|
|
2726
|
+
ndc: string;
|
|
2727
|
+
product: {
|
|
2728
|
+
product_ndc: string;
|
|
2729
|
+
product_ndc_11: string;
|
|
2730
|
+
generic_name: string;
|
|
2731
|
+
brand_name: string;
|
|
2732
|
+
labeler_name: string;
|
|
2733
|
+
product_type: string;
|
|
2734
|
+
dosage_form: string;
|
|
2735
|
+
marketing_category: string;
|
|
2736
|
+
application_number: string;
|
|
2737
|
+
dea_schedule: string;
|
|
2738
|
+
active_ingredients: string;
|
|
2739
|
+
route?: string[] | undefined;
|
|
2740
|
+
pharm_class?: string[] | undefined;
|
|
2741
|
+
packages?: {
|
|
2742
|
+
package_ndc: string;
|
|
2743
|
+
package_ndc_11: string;
|
|
2744
|
+
description: string;
|
|
2745
|
+
marketing_start?: string | undefined;
|
|
2746
|
+
marketing_end?: string | undefined;
|
|
2747
|
+
}[] | undefined;
|
|
2748
|
+
} | null;
|
|
2749
|
+
}[];
|
|
2750
|
+
found: number;
|
|
2751
|
+
total: number;
|
|
2752
|
+
}, {
|
|
2753
|
+
results: {
|
|
2754
|
+
ndc: string;
|
|
2755
|
+
product: {
|
|
2756
|
+
product_ndc: string;
|
|
2757
|
+
product_ndc_11: string;
|
|
2758
|
+
generic_name: string;
|
|
2759
|
+
brand_name: string;
|
|
2760
|
+
labeler_name: string;
|
|
2761
|
+
product_type: string;
|
|
2762
|
+
dosage_form: string;
|
|
2763
|
+
marketing_category: string;
|
|
2764
|
+
application_number: string;
|
|
2765
|
+
dea_schedule: string;
|
|
2766
|
+
active_ingredients: string;
|
|
2767
|
+
route?: string[] | undefined;
|
|
2768
|
+
pharm_class?: string[] | undefined;
|
|
2769
|
+
packages?: {
|
|
2770
|
+
package_ndc: string;
|
|
2771
|
+
package_ndc_11: string;
|
|
2772
|
+
description: string;
|
|
2773
|
+
marketing_start?: string | undefined;
|
|
2774
|
+
marketing_end?: string | undefined;
|
|
2775
|
+
}[] | undefined;
|
|
2776
|
+
} | null;
|
|
2777
|
+
}[];
|
|
2778
|
+
found: number;
|
|
2779
|
+
total: number;
|
|
2780
|
+
}>;
|
|
2781
|
+
/** search_products output */
|
|
2782
|
+
declare const NdcSearchOutputSchema: z.ZodObject<{
|
|
2783
|
+
query: z.ZodString;
|
|
2784
|
+
count: z.ZodNumber;
|
|
2785
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2786
|
+
product_ndc: z.ZodString;
|
|
2787
|
+
product_ndc_11: z.ZodString;
|
|
2788
|
+
generic_name: z.ZodString;
|
|
2789
|
+
brand_name: z.ZodString;
|
|
2790
|
+
labeler_name: z.ZodString;
|
|
2791
|
+
product_type: z.ZodString;
|
|
2792
|
+
dosage_form: z.ZodString;
|
|
2793
|
+
marketing_category: z.ZodString;
|
|
2794
|
+
application_number: z.ZodString;
|
|
2795
|
+
dea_schedule: z.ZodString;
|
|
2796
|
+
active_ingredients: z.ZodString;
|
|
2797
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2798
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2799
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2800
|
+
package_ndc: z.ZodString;
|
|
2801
|
+
package_ndc_11: z.ZodString;
|
|
2802
|
+
description: z.ZodString;
|
|
2803
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2804
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2805
|
+
}, "strip", z.ZodTypeAny, {
|
|
2806
|
+
package_ndc: string;
|
|
2807
|
+
package_ndc_11: string;
|
|
2808
|
+
description: string;
|
|
2809
|
+
marketing_start?: string | undefined;
|
|
2810
|
+
marketing_end?: string | undefined;
|
|
2811
|
+
}, {
|
|
2812
|
+
package_ndc: string;
|
|
2813
|
+
package_ndc_11: string;
|
|
2814
|
+
description: string;
|
|
2815
|
+
marketing_start?: string | undefined;
|
|
2816
|
+
marketing_end?: string | undefined;
|
|
2817
|
+
}>, "many">>;
|
|
2818
|
+
}, "strip", z.ZodTypeAny, {
|
|
2819
|
+
product_ndc: string;
|
|
2820
|
+
product_ndc_11: string;
|
|
2821
|
+
generic_name: string;
|
|
2822
|
+
brand_name: string;
|
|
2823
|
+
labeler_name: string;
|
|
2824
|
+
product_type: string;
|
|
2825
|
+
dosage_form: string;
|
|
2826
|
+
marketing_category: string;
|
|
2827
|
+
application_number: string;
|
|
2828
|
+
dea_schedule: string;
|
|
2829
|
+
active_ingredients: string;
|
|
2830
|
+
route?: string[] | undefined;
|
|
2831
|
+
pharm_class?: string[] | undefined;
|
|
2832
|
+
packages?: {
|
|
2833
|
+
package_ndc: string;
|
|
2834
|
+
package_ndc_11: string;
|
|
2835
|
+
description: string;
|
|
2836
|
+
marketing_start?: string | undefined;
|
|
2837
|
+
marketing_end?: string | undefined;
|
|
2838
|
+
}[] | undefined;
|
|
2839
|
+
}, {
|
|
2840
|
+
product_ndc: string;
|
|
2841
|
+
product_ndc_11: string;
|
|
2842
|
+
generic_name: string;
|
|
2843
|
+
brand_name: string;
|
|
2844
|
+
labeler_name: string;
|
|
2845
|
+
product_type: string;
|
|
2846
|
+
dosage_form: string;
|
|
2847
|
+
marketing_category: string;
|
|
2848
|
+
application_number: string;
|
|
2849
|
+
dea_schedule: string;
|
|
2850
|
+
active_ingredients: string;
|
|
2851
|
+
route?: string[] | undefined;
|
|
2852
|
+
pharm_class?: string[] | undefined;
|
|
2853
|
+
packages?: {
|
|
2854
|
+
package_ndc: string;
|
|
2855
|
+
package_ndc_11: string;
|
|
2856
|
+
description: string;
|
|
2857
|
+
marketing_start?: string | undefined;
|
|
2858
|
+
marketing_end?: string | undefined;
|
|
2859
|
+
}[] | undefined;
|
|
2860
|
+
}>, "many">;
|
|
2861
|
+
}, "strip", z.ZodTypeAny, {
|
|
2862
|
+
query: string;
|
|
2863
|
+
count: number;
|
|
2864
|
+
results: {
|
|
2865
|
+
product_ndc: string;
|
|
2866
|
+
product_ndc_11: string;
|
|
2867
|
+
generic_name: string;
|
|
2868
|
+
brand_name: string;
|
|
2869
|
+
labeler_name: string;
|
|
2870
|
+
product_type: string;
|
|
2871
|
+
dosage_form: string;
|
|
2872
|
+
marketing_category: string;
|
|
2873
|
+
application_number: string;
|
|
2874
|
+
dea_schedule: string;
|
|
2875
|
+
active_ingredients: string;
|
|
2876
|
+
route?: string[] | undefined;
|
|
2877
|
+
pharm_class?: string[] | undefined;
|
|
2878
|
+
packages?: {
|
|
2879
|
+
package_ndc: string;
|
|
2880
|
+
package_ndc_11: string;
|
|
2881
|
+
description: string;
|
|
2882
|
+
marketing_start?: string | undefined;
|
|
2883
|
+
marketing_end?: string | undefined;
|
|
2884
|
+
}[] | undefined;
|
|
2885
|
+
}[];
|
|
2886
|
+
}, {
|
|
2887
|
+
query: string;
|
|
2888
|
+
count: number;
|
|
2889
|
+
results: {
|
|
2890
|
+
product_ndc: string;
|
|
2891
|
+
product_ndc_11: string;
|
|
2892
|
+
generic_name: string;
|
|
2893
|
+
brand_name: string;
|
|
2894
|
+
labeler_name: string;
|
|
2895
|
+
product_type: string;
|
|
2896
|
+
dosage_form: string;
|
|
2897
|
+
marketing_category: string;
|
|
2898
|
+
application_number: string;
|
|
2899
|
+
dea_schedule: string;
|
|
2900
|
+
active_ingredients: string;
|
|
2901
|
+
route?: string[] | undefined;
|
|
2902
|
+
pharm_class?: string[] | undefined;
|
|
2903
|
+
packages?: {
|
|
2904
|
+
package_ndc: string;
|
|
2905
|
+
package_ndc_11: string;
|
|
2906
|
+
description: string;
|
|
2907
|
+
marketing_start?: string | undefined;
|
|
2908
|
+
marketing_end?: string | undefined;
|
|
2909
|
+
}[] | undefined;
|
|
2910
|
+
}[];
|
|
2911
|
+
}>;
|
|
2912
|
+
/** search_fuzzy output */
|
|
2913
|
+
declare const NdcFuzzySearchOutputSchema: z.ZodObject<{
|
|
2914
|
+
query: z.ZodString;
|
|
2915
|
+
count: z.ZodNumber;
|
|
2916
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2917
|
+
product_ndc: z.ZodString;
|
|
2918
|
+
product_ndc_11: z.ZodString;
|
|
2919
|
+
generic_name: z.ZodString;
|
|
2920
|
+
brand_name: z.ZodString;
|
|
2921
|
+
labeler_name: z.ZodString;
|
|
2922
|
+
product_type: z.ZodString;
|
|
2923
|
+
dosage_form: z.ZodString;
|
|
2924
|
+
marketing_category: z.ZodString;
|
|
2925
|
+
application_number: z.ZodString;
|
|
2926
|
+
dea_schedule: z.ZodString;
|
|
2927
|
+
active_ingredients: z.ZodString;
|
|
2928
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2929
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2930
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2931
|
+
package_ndc: z.ZodString;
|
|
2932
|
+
package_ndc_11: z.ZodString;
|
|
2933
|
+
description: z.ZodString;
|
|
2934
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
2935
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
2936
|
+
}, "strip", z.ZodTypeAny, {
|
|
2937
|
+
package_ndc: string;
|
|
2938
|
+
package_ndc_11: string;
|
|
2939
|
+
description: string;
|
|
2940
|
+
marketing_start?: string | undefined;
|
|
2941
|
+
marketing_end?: string | undefined;
|
|
2942
|
+
}, {
|
|
2943
|
+
package_ndc: string;
|
|
2944
|
+
package_ndc_11: string;
|
|
2945
|
+
description: string;
|
|
2946
|
+
marketing_start?: string | undefined;
|
|
2947
|
+
marketing_end?: string | undefined;
|
|
2948
|
+
}>, "many">>;
|
|
2949
|
+
} & {
|
|
2950
|
+
similarity: z.ZodOptional<z.ZodNumber>;
|
|
2951
|
+
}, "strip", z.ZodTypeAny, {
|
|
2952
|
+
product_ndc: string;
|
|
2953
|
+
product_ndc_11: string;
|
|
2954
|
+
generic_name: string;
|
|
2955
|
+
brand_name: string;
|
|
2956
|
+
labeler_name: string;
|
|
2957
|
+
product_type: string;
|
|
2958
|
+
dosage_form: string;
|
|
2959
|
+
marketing_category: string;
|
|
2960
|
+
application_number: string;
|
|
2961
|
+
dea_schedule: string;
|
|
2962
|
+
active_ingredients: string;
|
|
2963
|
+
similarity?: number | undefined;
|
|
2964
|
+
route?: string[] | undefined;
|
|
2965
|
+
pharm_class?: string[] | undefined;
|
|
2966
|
+
packages?: {
|
|
2967
|
+
package_ndc: string;
|
|
2968
|
+
package_ndc_11: string;
|
|
2969
|
+
description: string;
|
|
2970
|
+
marketing_start?: string | undefined;
|
|
2971
|
+
marketing_end?: string | undefined;
|
|
2972
|
+
}[] | undefined;
|
|
2973
|
+
}, {
|
|
2974
|
+
product_ndc: string;
|
|
2975
|
+
product_ndc_11: string;
|
|
2976
|
+
generic_name: string;
|
|
2977
|
+
brand_name: string;
|
|
2978
|
+
labeler_name: string;
|
|
2979
|
+
product_type: string;
|
|
2980
|
+
dosage_form: string;
|
|
2981
|
+
marketing_category: string;
|
|
2982
|
+
application_number: string;
|
|
2983
|
+
dea_schedule: string;
|
|
2984
|
+
active_ingredients: string;
|
|
2985
|
+
similarity?: number | undefined;
|
|
2986
|
+
route?: string[] | undefined;
|
|
2987
|
+
pharm_class?: string[] | undefined;
|
|
2988
|
+
packages?: {
|
|
2989
|
+
package_ndc: string;
|
|
2990
|
+
package_ndc_11: string;
|
|
2991
|
+
description: string;
|
|
2992
|
+
marketing_start?: string | undefined;
|
|
2993
|
+
marketing_end?: string | undefined;
|
|
2994
|
+
}[] | undefined;
|
|
2995
|
+
}>, "many">;
|
|
2996
|
+
}, "strip", z.ZodTypeAny, {
|
|
2997
|
+
query: string;
|
|
2998
|
+
count: number;
|
|
2999
|
+
results: {
|
|
3000
|
+
product_ndc: string;
|
|
3001
|
+
product_ndc_11: string;
|
|
3002
|
+
generic_name: string;
|
|
3003
|
+
brand_name: string;
|
|
3004
|
+
labeler_name: string;
|
|
3005
|
+
product_type: string;
|
|
3006
|
+
dosage_form: string;
|
|
3007
|
+
marketing_category: string;
|
|
3008
|
+
application_number: string;
|
|
3009
|
+
dea_schedule: string;
|
|
3010
|
+
active_ingredients: string;
|
|
3011
|
+
similarity?: number | undefined;
|
|
3012
|
+
route?: string[] | undefined;
|
|
3013
|
+
pharm_class?: string[] | undefined;
|
|
3014
|
+
packages?: {
|
|
3015
|
+
package_ndc: string;
|
|
3016
|
+
package_ndc_11: string;
|
|
3017
|
+
description: string;
|
|
3018
|
+
marketing_start?: string | undefined;
|
|
3019
|
+
marketing_end?: string | undefined;
|
|
3020
|
+
}[] | undefined;
|
|
3021
|
+
}[];
|
|
3022
|
+
}, {
|
|
3023
|
+
query: string;
|
|
3024
|
+
count: number;
|
|
3025
|
+
results: {
|
|
3026
|
+
product_ndc: string;
|
|
3027
|
+
product_ndc_11: string;
|
|
3028
|
+
generic_name: string;
|
|
3029
|
+
brand_name: string;
|
|
3030
|
+
labeler_name: string;
|
|
3031
|
+
product_type: string;
|
|
3032
|
+
dosage_form: string;
|
|
3033
|
+
marketing_category: string;
|
|
3034
|
+
application_number: string;
|
|
3035
|
+
dea_schedule: string;
|
|
3036
|
+
active_ingredients: string;
|
|
3037
|
+
similarity?: number | undefined;
|
|
3038
|
+
route?: string[] | undefined;
|
|
3039
|
+
pharm_class?: string[] | undefined;
|
|
3040
|
+
packages?: {
|
|
3041
|
+
package_ndc: string;
|
|
3042
|
+
package_ndc_11: string;
|
|
3043
|
+
description: string;
|
|
3044
|
+
marketing_start?: string | undefined;
|
|
3045
|
+
marketing_end?: string | undefined;
|
|
3046
|
+
}[] | undefined;
|
|
3047
|
+
}[];
|
|
3048
|
+
}>;
|
|
3049
|
+
/** get_product output */
|
|
3050
|
+
declare const NdcGetProductOutputSchema: z.ZodObject<{
|
|
3051
|
+
product: z.ZodObject<{
|
|
3052
|
+
product_ndc: z.ZodString;
|
|
3053
|
+
product_ndc_11: z.ZodString;
|
|
3054
|
+
generic_name: z.ZodString;
|
|
3055
|
+
brand_name: z.ZodString;
|
|
3056
|
+
labeler_name: z.ZodString;
|
|
3057
|
+
product_type: z.ZodString;
|
|
3058
|
+
dosage_form: z.ZodString;
|
|
3059
|
+
marketing_category: z.ZodString;
|
|
3060
|
+
application_number: z.ZodString;
|
|
3061
|
+
dea_schedule: z.ZodString;
|
|
3062
|
+
active_ingredients: z.ZodString;
|
|
3063
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3064
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3065
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3066
|
+
package_ndc: z.ZodString;
|
|
3067
|
+
package_ndc_11: z.ZodString;
|
|
3068
|
+
description: z.ZodString;
|
|
3069
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
3070
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
3071
|
+
}, "strip", z.ZodTypeAny, {
|
|
3072
|
+
package_ndc: string;
|
|
3073
|
+
package_ndc_11: string;
|
|
3074
|
+
description: string;
|
|
3075
|
+
marketing_start?: string | undefined;
|
|
3076
|
+
marketing_end?: string | undefined;
|
|
3077
|
+
}, {
|
|
3078
|
+
package_ndc: string;
|
|
3079
|
+
package_ndc_11: string;
|
|
3080
|
+
description: string;
|
|
3081
|
+
marketing_start?: string | undefined;
|
|
3082
|
+
marketing_end?: string | undefined;
|
|
3083
|
+
}>, "many">>;
|
|
3084
|
+
}, "strip", z.ZodTypeAny, {
|
|
3085
|
+
product_ndc: string;
|
|
3086
|
+
product_ndc_11: string;
|
|
3087
|
+
generic_name: string;
|
|
3088
|
+
brand_name: string;
|
|
3089
|
+
labeler_name: string;
|
|
3090
|
+
product_type: string;
|
|
3091
|
+
dosage_form: string;
|
|
3092
|
+
marketing_category: string;
|
|
3093
|
+
application_number: string;
|
|
3094
|
+
dea_schedule: string;
|
|
3095
|
+
active_ingredients: string;
|
|
3096
|
+
route?: string[] | undefined;
|
|
3097
|
+
pharm_class?: string[] | undefined;
|
|
3098
|
+
packages?: {
|
|
3099
|
+
package_ndc: string;
|
|
3100
|
+
package_ndc_11: string;
|
|
3101
|
+
description: string;
|
|
3102
|
+
marketing_start?: string | undefined;
|
|
3103
|
+
marketing_end?: string | undefined;
|
|
3104
|
+
}[] | undefined;
|
|
3105
|
+
}, {
|
|
3106
|
+
product_ndc: string;
|
|
3107
|
+
product_ndc_11: string;
|
|
3108
|
+
generic_name: string;
|
|
3109
|
+
brand_name: string;
|
|
3110
|
+
labeler_name: string;
|
|
3111
|
+
product_type: string;
|
|
3112
|
+
dosage_form: string;
|
|
3113
|
+
marketing_category: string;
|
|
3114
|
+
application_number: string;
|
|
3115
|
+
dea_schedule: string;
|
|
3116
|
+
active_ingredients: string;
|
|
3117
|
+
route?: string[] | undefined;
|
|
3118
|
+
pharm_class?: string[] | undefined;
|
|
3119
|
+
packages?: {
|
|
3120
|
+
package_ndc: string;
|
|
3121
|
+
package_ndc_11: string;
|
|
3122
|
+
description: string;
|
|
3123
|
+
marketing_start?: string | undefined;
|
|
3124
|
+
marketing_end?: string | undefined;
|
|
3125
|
+
}[] | undefined;
|
|
3126
|
+
}>;
|
|
3127
|
+
}, "strip", z.ZodTypeAny, {
|
|
3128
|
+
product: {
|
|
3129
|
+
product_ndc: string;
|
|
3130
|
+
product_ndc_11: string;
|
|
3131
|
+
generic_name: string;
|
|
3132
|
+
brand_name: string;
|
|
3133
|
+
labeler_name: string;
|
|
3134
|
+
product_type: string;
|
|
3135
|
+
dosage_form: string;
|
|
3136
|
+
marketing_category: string;
|
|
3137
|
+
application_number: string;
|
|
3138
|
+
dea_schedule: string;
|
|
3139
|
+
active_ingredients: string;
|
|
3140
|
+
route?: string[] | undefined;
|
|
3141
|
+
pharm_class?: string[] | undefined;
|
|
3142
|
+
packages?: {
|
|
3143
|
+
package_ndc: string;
|
|
3144
|
+
package_ndc_11: string;
|
|
3145
|
+
description: string;
|
|
3146
|
+
marketing_start?: string | undefined;
|
|
3147
|
+
marketing_end?: string | undefined;
|
|
3148
|
+
}[] | undefined;
|
|
3149
|
+
};
|
|
3150
|
+
}, {
|
|
3151
|
+
product: {
|
|
3152
|
+
product_ndc: string;
|
|
3153
|
+
product_ndc_11: string;
|
|
3154
|
+
generic_name: string;
|
|
3155
|
+
brand_name: string;
|
|
3156
|
+
labeler_name: string;
|
|
3157
|
+
product_type: string;
|
|
3158
|
+
dosage_form: string;
|
|
3159
|
+
marketing_category: string;
|
|
3160
|
+
application_number: string;
|
|
3161
|
+
dea_schedule: string;
|
|
3162
|
+
active_ingredients: string;
|
|
3163
|
+
route?: string[] | undefined;
|
|
3164
|
+
pharm_class?: string[] | undefined;
|
|
3165
|
+
packages?: {
|
|
3166
|
+
package_ndc: string;
|
|
3167
|
+
package_ndc_11: string;
|
|
3168
|
+
description: string;
|
|
3169
|
+
marketing_start?: string | undefined;
|
|
3170
|
+
marketing_end?: string | undefined;
|
|
3171
|
+
}[] | undefined;
|
|
3172
|
+
};
|
|
3173
|
+
}>;
|
|
3174
|
+
/** get_labeler output */
|
|
3175
|
+
declare const NdcGetLabelerOutputSchema: z.ZodObject<{
|
|
3176
|
+
labeler: z.ZodString;
|
|
3177
|
+
count: z.ZodNumber;
|
|
3178
|
+
results: z.ZodArray<z.ZodObject<{
|
|
3179
|
+
product_ndc: z.ZodString;
|
|
3180
|
+
product_ndc_11: z.ZodString;
|
|
3181
|
+
generic_name: z.ZodString;
|
|
3182
|
+
brand_name: z.ZodString;
|
|
3183
|
+
labeler_name: z.ZodString;
|
|
3184
|
+
product_type: z.ZodString;
|
|
3185
|
+
dosage_form: z.ZodString;
|
|
3186
|
+
marketing_category: z.ZodString;
|
|
3187
|
+
application_number: z.ZodString;
|
|
3188
|
+
dea_schedule: z.ZodString;
|
|
3189
|
+
active_ingredients: z.ZodString;
|
|
3190
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3191
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3192
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3193
|
+
package_ndc: z.ZodString;
|
|
3194
|
+
package_ndc_11: z.ZodString;
|
|
3195
|
+
description: z.ZodString;
|
|
3196
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
3197
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
3198
|
+
}, "strip", z.ZodTypeAny, {
|
|
3199
|
+
package_ndc: string;
|
|
3200
|
+
package_ndc_11: string;
|
|
3201
|
+
description: string;
|
|
3202
|
+
marketing_start?: string | undefined;
|
|
3203
|
+
marketing_end?: string | undefined;
|
|
3204
|
+
}, {
|
|
3205
|
+
package_ndc: string;
|
|
3206
|
+
package_ndc_11: string;
|
|
3207
|
+
description: string;
|
|
3208
|
+
marketing_start?: string | undefined;
|
|
3209
|
+
marketing_end?: string | undefined;
|
|
3210
|
+
}>, "many">>;
|
|
3211
|
+
}, "strip", z.ZodTypeAny, {
|
|
3212
|
+
product_ndc: string;
|
|
3213
|
+
product_ndc_11: string;
|
|
3214
|
+
generic_name: string;
|
|
3215
|
+
brand_name: string;
|
|
3216
|
+
labeler_name: string;
|
|
3217
|
+
product_type: string;
|
|
3218
|
+
dosage_form: string;
|
|
3219
|
+
marketing_category: string;
|
|
3220
|
+
application_number: string;
|
|
3221
|
+
dea_schedule: string;
|
|
3222
|
+
active_ingredients: string;
|
|
3223
|
+
route?: string[] | undefined;
|
|
3224
|
+
pharm_class?: string[] | undefined;
|
|
3225
|
+
packages?: {
|
|
3226
|
+
package_ndc: string;
|
|
3227
|
+
package_ndc_11: string;
|
|
3228
|
+
description: string;
|
|
3229
|
+
marketing_start?: string | undefined;
|
|
3230
|
+
marketing_end?: string | undefined;
|
|
3231
|
+
}[] | undefined;
|
|
3232
|
+
}, {
|
|
3233
|
+
product_ndc: string;
|
|
3234
|
+
product_ndc_11: string;
|
|
3235
|
+
generic_name: string;
|
|
3236
|
+
brand_name: string;
|
|
3237
|
+
labeler_name: string;
|
|
3238
|
+
product_type: string;
|
|
3239
|
+
dosage_form: string;
|
|
3240
|
+
marketing_category: string;
|
|
3241
|
+
application_number: string;
|
|
3242
|
+
dea_schedule: string;
|
|
3243
|
+
active_ingredients: string;
|
|
3244
|
+
route?: string[] | undefined;
|
|
3245
|
+
pharm_class?: string[] | undefined;
|
|
3246
|
+
packages?: {
|
|
3247
|
+
package_ndc: string;
|
|
3248
|
+
package_ndc_11: string;
|
|
3249
|
+
description: string;
|
|
3250
|
+
marketing_start?: string | undefined;
|
|
3251
|
+
marketing_end?: string | undefined;
|
|
3252
|
+
}[] | undefined;
|
|
3253
|
+
}>, "many">;
|
|
3254
|
+
}, "strip", z.ZodTypeAny, {
|
|
3255
|
+
count: number;
|
|
3256
|
+
results: {
|
|
3257
|
+
product_ndc: string;
|
|
3258
|
+
product_ndc_11: string;
|
|
3259
|
+
generic_name: string;
|
|
3260
|
+
brand_name: string;
|
|
3261
|
+
labeler_name: string;
|
|
3262
|
+
product_type: string;
|
|
3263
|
+
dosage_form: string;
|
|
3264
|
+
marketing_category: string;
|
|
3265
|
+
application_number: string;
|
|
3266
|
+
dea_schedule: string;
|
|
3267
|
+
active_ingredients: string;
|
|
3268
|
+
route?: string[] | undefined;
|
|
3269
|
+
pharm_class?: string[] | undefined;
|
|
3270
|
+
packages?: {
|
|
3271
|
+
package_ndc: string;
|
|
3272
|
+
package_ndc_11: string;
|
|
3273
|
+
description: string;
|
|
3274
|
+
marketing_start?: string | undefined;
|
|
3275
|
+
marketing_end?: string | undefined;
|
|
3276
|
+
}[] | undefined;
|
|
3277
|
+
}[];
|
|
3278
|
+
labeler: string;
|
|
3279
|
+
}, {
|
|
3280
|
+
count: number;
|
|
3281
|
+
results: {
|
|
3282
|
+
product_ndc: string;
|
|
3283
|
+
product_ndc_11: string;
|
|
3284
|
+
generic_name: string;
|
|
3285
|
+
brand_name: string;
|
|
3286
|
+
labeler_name: string;
|
|
3287
|
+
product_type: string;
|
|
3288
|
+
dosage_form: string;
|
|
3289
|
+
marketing_category: string;
|
|
3290
|
+
application_number: string;
|
|
3291
|
+
dea_schedule: string;
|
|
3292
|
+
active_ingredients: string;
|
|
3293
|
+
route?: string[] | undefined;
|
|
3294
|
+
pharm_class?: string[] | undefined;
|
|
3295
|
+
packages?: {
|
|
3296
|
+
package_ndc: string;
|
|
3297
|
+
package_ndc_11: string;
|
|
3298
|
+
description: string;
|
|
3299
|
+
marketing_start?: string | undefined;
|
|
3300
|
+
marketing_end?: string | undefined;
|
|
3301
|
+
}[] | undefined;
|
|
3302
|
+
}[];
|
|
3303
|
+
labeler: string;
|
|
3304
|
+
}>;
|
|
3305
|
+
/** get_packages output */
|
|
3306
|
+
declare const NdcGetPackagesOutputSchema: z.ZodObject<{
|
|
3307
|
+
product_ndc: z.ZodString;
|
|
3308
|
+
count: z.ZodNumber;
|
|
3309
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
3310
|
+
package_ndc: z.ZodString;
|
|
3311
|
+
package_ndc_11: z.ZodString;
|
|
3312
|
+
description: z.ZodString;
|
|
3313
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
3314
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
3315
|
+
}, "strip", z.ZodTypeAny, {
|
|
3316
|
+
package_ndc: string;
|
|
3317
|
+
package_ndc_11: string;
|
|
3318
|
+
description: string;
|
|
3319
|
+
marketing_start?: string | undefined;
|
|
3320
|
+
marketing_end?: string | undefined;
|
|
3321
|
+
}, {
|
|
3322
|
+
package_ndc: string;
|
|
3323
|
+
package_ndc_11: string;
|
|
3324
|
+
description: string;
|
|
3325
|
+
marketing_start?: string | undefined;
|
|
3326
|
+
marketing_end?: string | undefined;
|
|
3327
|
+
}>, "many">;
|
|
3328
|
+
}, "strip", z.ZodTypeAny, {
|
|
3329
|
+
count: number;
|
|
3330
|
+
product_ndc: string;
|
|
3331
|
+
packages: {
|
|
3332
|
+
package_ndc: string;
|
|
3333
|
+
package_ndc_11: string;
|
|
3334
|
+
description: string;
|
|
3335
|
+
marketing_start?: string | undefined;
|
|
3336
|
+
marketing_end?: string | undefined;
|
|
3337
|
+
}[];
|
|
3338
|
+
}, {
|
|
3339
|
+
count: number;
|
|
3340
|
+
product_ndc: string;
|
|
3341
|
+
packages: {
|
|
3342
|
+
package_ndc: string;
|
|
3343
|
+
package_ndc_11: string;
|
|
3344
|
+
description: string;
|
|
3345
|
+
marketing_start?: string | undefined;
|
|
3346
|
+
marketing_end?: string | undefined;
|
|
3347
|
+
}[];
|
|
3348
|
+
}>;
|
|
3349
|
+
/** crossref_rxcui output */
|
|
3350
|
+
declare const NdcCrossRefOutputSchema: z.ZodObject<{
|
|
3351
|
+
result: z.ZodObject<{
|
|
3352
|
+
product: z.ZodObject<{
|
|
3353
|
+
product_ndc: z.ZodString;
|
|
3354
|
+
product_ndc_11: z.ZodString;
|
|
3355
|
+
generic_name: z.ZodString;
|
|
3356
|
+
brand_name: z.ZodString;
|
|
3357
|
+
labeler_name: z.ZodString;
|
|
3358
|
+
product_type: z.ZodString;
|
|
3359
|
+
dosage_form: z.ZodString;
|
|
3360
|
+
marketing_category: z.ZodString;
|
|
3361
|
+
application_number: z.ZodString;
|
|
3362
|
+
dea_schedule: z.ZodString;
|
|
3363
|
+
active_ingredients: z.ZodString;
|
|
3364
|
+
route: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3365
|
+
pharm_class: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3366
|
+
packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3367
|
+
package_ndc: z.ZodString;
|
|
3368
|
+
package_ndc_11: z.ZodString;
|
|
3369
|
+
description: z.ZodString;
|
|
3370
|
+
marketing_start: z.ZodOptional<z.ZodString>;
|
|
3371
|
+
marketing_end: z.ZodOptional<z.ZodString>;
|
|
3372
|
+
}, "strip", z.ZodTypeAny, {
|
|
3373
|
+
package_ndc: string;
|
|
3374
|
+
package_ndc_11: string;
|
|
3375
|
+
description: string;
|
|
3376
|
+
marketing_start?: string | undefined;
|
|
3377
|
+
marketing_end?: string | undefined;
|
|
3378
|
+
}, {
|
|
3379
|
+
package_ndc: string;
|
|
3380
|
+
package_ndc_11: string;
|
|
3381
|
+
description: string;
|
|
3382
|
+
marketing_start?: string | undefined;
|
|
3383
|
+
marketing_end?: string | undefined;
|
|
3384
|
+
}>, "many">>;
|
|
3385
|
+
}, "strip", z.ZodTypeAny, {
|
|
3386
|
+
product_ndc: string;
|
|
3387
|
+
product_ndc_11: string;
|
|
3388
|
+
generic_name: string;
|
|
3389
|
+
brand_name: string;
|
|
3390
|
+
labeler_name: string;
|
|
3391
|
+
product_type: string;
|
|
3392
|
+
dosage_form: string;
|
|
3393
|
+
marketing_category: string;
|
|
3394
|
+
application_number: string;
|
|
3395
|
+
dea_schedule: string;
|
|
3396
|
+
active_ingredients: string;
|
|
3397
|
+
route?: string[] | undefined;
|
|
3398
|
+
pharm_class?: string[] | undefined;
|
|
3399
|
+
packages?: {
|
|
3400
|
+
package_ndc: string;
|
|
3401
|
+
package_ndc_11: string;
|
|
3402
|
+
description: string;
|
|
3403
|
+
marketing_start?: string | undefined;
|
|
3404
|
+
marketing_end?: string | undefined;
|
|
3405
|
+
}[] | undefined;
|
|
3406
|
+
}, {
|
|
3407
|
+
product_ndc: string;
|
|
3408
|
+
product_ndc_11: string;
|
|
3409
|
+
generic_name: string;
|
|
3410
|
+
brand_name: string;
|
|
3411
|
+
labeler_name: string;
|
|
3412
|
+
product_type: string;
|
|
3413
|
+
dosage_form: string;
|
|
3414
|
+
marketing_category: string;
|
|
3415
|
+
application_number: string;
|
|
3416
|
+
dea_schedule: string;
|
|
3417
|
+
active_ingredients: string;
|
|
3418
|
+
route?: string[] | undefined;
|
|
3419
|
+
pharm_class?: string[] | undefined;
|
|
3420
|
+
packages?: {
|
|
3421
|
+
package_ndc: string;
|
|
3422
|
+
package_ndc_11: string;
|
|
3423
|
+
description: string;
|
|
3424
|
+
marketing_start?: string | undefined;
|
|
3425
|
+
marketing_end?: string | undefined;
|
|
3426
|
+
}[] | undefined;
|
|
3427
|
+
}>;
|
|
3428
|
+
rxcui: z.ZodOptional<z.ZodString>;
|
|
3429
|
+
}, "strip", z.ZodTypeAny, {
|
|
3430
|
+
product: {
|
|
3431
|
+
product_ndc: string;
|
|
3432
|
+
product_ndc_11: string;
|
|
3433
|
+
generic_name: string;
|
|
3434
|
+
brand_name: string;
|
|
3435
|
+
labeler_name: string;
|
|
3436
|
+
product_type: string;
|
|
3437
|
+
dosage_form: string;
|
|
3438
|
+
marketing_category: string;
|
|
3439
|
+
application_number: string;
|
|
3440
|
+
dea_schedule: string;
|
|
3441
|
+
active_ingredients: string;
|
|
3442
|
+
route?: string[] | undefined;
|
|
3443
|
+
pharm_class?: string[] | undefined;
|
|
3444
|
+
packages?: {
|
|
3445
|
+
package_ndc: string;
|
|
3446
|
+
package_ndc_11: string;
|
|
3447
|
+
description: string;
|
|
3448
|
+
marketing_start?: string | undefined;
|
|
3449
|
+
marketing_end?: string | undefined;
|
|
3450
|
+
}[] | undefined;
|
|
3451
|
+
};
|
|
3452
|
+
rxcui?: string | undefined;
|
|
3453
|
+
}, {
|
|
3454
|
+
product: {
|
|
3455
|
+
product_ndc: string;
|
|
3456
|
+
product_ndc_11: string;
|
|
3457
|
+
generic_name: string;
|
|
3458
|
+
brand_name: string;
|
|
3459
|
+
labeler_name: string;
|
|
3460
|
+
product_type: string;
|
|
3461
|
+
dosage_form: string;
|
|
3462
|
+
marketing_category: string;
|
|
3463
|
+
application_number: string;
|
|
3464
|
+
dea_schedule: string;
|
|
3465
|
+
active_ingredients: string;
|
|
3466
|
+
route?: string[] | undefined;
|
|
3467
|
+
pharm_class?: string[] | undefined;
|
|
3468
|
+
packages?: {
|
|
3469
|
+
package_ndc: string;
|
|
3470
|
+
package_ndc_11: string;
|
|
3471
|
+
description: string;
|
|
3472
|
+
marketing_start?: string | undefined;
|
|
3473
|
+
marketing_end?: string | undefined;
|
|
3474
|
+
}[] | undefined;
|
|
3475
|
+
};
|
|
3476
|
+
rxcui?: string | undefined;
|
|
3477
|
+
}>;
|
|
3478
|
+
}, "strip", z.ZodTypeAny, {
|
|
3479
|
+
result: {
|
|
3480
|
+
product: {
|
|
3481
|
+
product_ndc: string;
|
|
3482
|
+
product_ndc_11: string;
|
|
3483
|
+
generic_name: string;
|
|
3484
|
+
brand_name: string;
|
|
3485
|
+
labeler_name: string;
|
|
3486
|
+
product_type: string;
|
|
3487
|
+
dosage_form: string;
|
|
3488
|
+
marketing_category: string;
|
|
3489
|
+
application_number: string;
|
|
3490
|
+
dea_schedule: string;
|
|
3491
|
+
active_ingredients: string;
|
|
3492
|
+
route?: string[] | undefined;
|
|
3493
|
+
pharm_class?: string[] | undefined;
|
|
3494
|
+
packages?: {
|
|
3495
|
+
package_ndc: string;
|
|
3496
|
+
package_ndc_11: string;
|
|
3497
|
+
description: string;
|
|
3498
|
+
marketing_start?: string | undefined;
|
|
3499
|
+
marketing_end?: string | undefined;
|
|
3500
|
+
}[] | undefined;
|
|
3501
|
+
};
|
|
3502
|
+
rxcui?: string | undefined;
|
|
3503
|
+
};
|
|
3504
|
+
}, {
|
|
3505
|
+
result: {
|
|
3506
|
+
product: {
|
|
3507
|
+
product_ndc: string;
|
|
3508
|
+
product_ndc_11: string;
|
|
3509
|
+
generic_name: string;
|
|
3510
|
+
brand_name: string;
|
|
3511
|
+
labeler_name: string;
|
|
3512
|
+
product_type: string;
|
|
3513
|
+
dosage_form: string;
|
|
3514
|
+
marketing_category: string;
|
|
3515
|
+
application_number: string;
|
|
3516
|
+
dea_schedule: string;
|
|
3517
|
+
active_ingredients: string;
|
|
3518
|
+
route?: string[] | undefined;
|
|
3519
|
+
pharm_class?: string[] | undefined;
|
|
3520
|
+
packages?: {
|
|
3521
|
+
package_ndc: string;
|
|
3522
|
+
package_ndc_11: string;
|
|
3523
|
+
description: string;
|
|
3524
|
+
marketing_start?: string | undefined;
|
|
3525
|
+
marketing_end?: string | undefined;
|
|
3526
|
+
}[] | undefined;
|
|
3527
|
+
};
|
|
3528
|
+
rxcui?: string | undefined;
|
|
3529
|
+
};
|
|
3530
|
+
}>;
|
|
3531
|
+
/** get_stats output */
|
|
3532
|
+
declare const NdcGetStatsOutputSchema: z.ZodObject<{
|
|
3533
|
+
products: z.ZodNumber;
|
|
3534
|
+
packages: z.ZodNumber;
|
|
3535
|
+
labelers: z.ZodNumber;
|
|
3536
|
+
version: z.ZodString;
|
|
3537
|
+
status: z.ZodString;
|
|
3538
|
+
download_date: z.ZodOptional<z.ZodString>;
|
|
3539
|
+
}, "strip", z.ZodTypeAny, {
|
|
3540
|
+
status: string;
|
|
3541
|
+
version: string;
|
|
3542
|
+
packages: number;
|
|
3543
|
+
products: number;
|
|
3544
|
+
labelers: number;
|
|
3545
|
+
download_date?: string | undefined;
|
|
3546
|
+
}, {
|
|
3547
|
+
status: string;
|
|
3548
|
+
version: string;
|
|
3549
|
+
packages: number;
|
|
3550
|
+
products: number;
|
|
3551
|
+
labelers: number;
|
|
3552
|
+
download_date?: string | undefined;
|
|
3553
|
+
}>;
|
|
3554
|
+
/** health output */
|
|
3555
|
+
declare const NdcHealthOutputSchema: z.ZodObject<{
|
|
3556
|
+
engine: z.ZodString;
|
|
3557
|
+
version: z.ZodString;
|
|
3558
|
+
database: z.ZodString;
|
|
3559
|
+
}, "strip", z.ZodTypeAny, {
|
|
3560
|
+
engine: string;
|
|
3561
|
+
version: string;
|
|
3562
|
+
database: string;
|
|
3563
|
+
}, {
|
|
3564
|
+
engine: string;
|
|
3565
|
+
version: string;
|
|
3566
|
+
database: string;
|
|
3567
|
+
}>;
|
|
3568
|
+
type NdcPackage = z.infer<typeof NdcPackageSchema>;
|
|
3569
|
+
type NdcProduct = z.infer<typeof NdcProductSchema>;
|
|
3570
|
+
type NdcCrossRef = z.infer<typeof NdcCrossRefSchema>;
|
|
3571
|
+
type NdcLookupOutput = z.infer<typeof NdcLookupOutputSchema>;
|
|
3572
|
+
type NdcBatchLookupOutput = z.infer<typeof NdcBatchLookupOutputSchema>;
|
|
3573
|
+
type NdcSearchOutput = z.infer<typeof NdcSearchOutputSchema>;
|
|
3574
|
+
type NdcFuzzySearchOutput = z.infer<typeof NdcFuzzySearchOutputSchema>;
|
|
3575
|
+
type NdcGetProductOutput = z.infer<typeof NdcGetProductOutputSchema>;
|
|
3576
|
+
type NdcGetLabelerOutput = z.infer<typeof NdcGetLabelerOutputSchema>;
|
|
3577
|
+
type NdcGetPackagesOutput = z.infer<typeof NdcGetPackagesOutputSchema>;
|
|
3578
|
+
type NdcCrossRefOutput = z.infer<typeof NdcCrossRefOutputSchema>;
|
|
3579
|
+
type NdcGetStatsOutput = z.infer<typeof NdcGetStatsOutputSchema>;
|
|
3580
|
+
type NdcHealthOutput = z.infer<typeof NdcHealthOutputSchema>;
|
|
3581
|
+
|
|
2243
3582
|
/**
|
|
2244
3583
|
* Simplified Public SDK Engine Categories
|
|
2245
3584
|
*
|
|
@@ -2614,6 +3953,109 @@ declare class LifeExpectancyCategory {
|
|
|
2614
3953
|
getStats(): Promise<LEGetStatsOutput>;
|
|
2615
3954
|
health(): Promise<LEHealthOutput>;
|
|
2616
3955
|
}
|
|
3956
|
+
declare const NdcLookupInputSchema: z.ZodObject<{
|
|
3957
|
+
ndc: z.ZodString;
|
|
3958
|
+
}, "strip", z.ZodTypeAny, {
|
|
3959
|
+
ndc: string;
|
|
3960
|
+
}, {
|
|
3961
|
+
ndc: string;
|
|
3962
|
+
}>;
|
|
3963
|
+
declare const NdcBatchLookupInputSchema: z.ZodObject<{
|
|
3964
|
+
ndcs: z.ZodArray<z.ZodString, "many">;
|
|
3965
|
+
}, "strip", z.ZodTypeAny, {
|
|
3966
|
+
ndcs: string[];
|
|
3967
|
+
}, {
|
|
3968
|
+
ndcs: string[];
|
|
3969
|
+
}>;
|
|
3970
|
+
declare const NdcSearchInputSchema: z.ZodObject<{
|
|
3971
|
+
query: z.ZodString;
|
|
3972
|
+
productType: z.ZodOptional<z.ZodString>;
|
|
3973
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3974
|
+
}, "strip", z.ZodTypeAny, {
|
|
3975
|
+
query: string;
|
|
3976
|
+
limit?: number | undefined;
|
|
3977
|
+
productType?: string | undefined;
|
|
3978
|
+
}, {
|
|
3979
|
+
query: string;
|
|
3980
|
+
limit?: number | undefined;
|
|
3981
|
+
productType?: string | undefined;
|
|
3982
|
+
}>;
|
|
3983
|
+
declare const NdcFuzzySearchInputSchema: z.ZodObject<{
|
|
3984
|
+
query: z.ZodString;
|
|
3985
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
3986
|
+
}, "strip", z.ZodTypeAny, {
|
|
3987
|
+
query: string;
|
|
3988
|
+
limit?: number | undefined;
|
|
3989
|
+
}, {
|
|
3990
|
+
query: string;
|
|
3991
|
+
limit?: number | undefined;
|
|
3992
|
+
}>;
|
|
3993
|
+
declare const NdcGetProductInputSchema: z.ZodObject<{
|
|
3994
|
+
productNdc: z.ZodString;
|
|
3995
|
+
}, "strip", z.ZodTypeAny, {
|
|
3996
|
+
productNdc: string;
|
|
3997
|
+
}, {
|
|
3998
|
+
productNdc: string;
|
|
3999
|
+
}>;
|
|
4000
|
+
declare const NdcGetLabelerInputSchema: z.ZodObject<{
|
|
4001
|
+
labeler: z.ZodString;
|
|
4002
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
4003
|
+
}, "strip", z.ZodTypeAny, {
|
|
4004
|
+
labeler: string;
|
|
4005
|
+
limit?: number | undefined;
|
|
4006
|
+
}, {
|
|
4007
|
+
labeler: string;
|
|
4008
|
+
limit?: number | undefined;
|
|
4009
|
+
}>;
|
|
4010
|
+
declare const NdcGetPackagesInputSchema: z.ZodObject<{
|
|
4011
|
+
productNdc: z.ZodString;
|
|
4012
|
+
}, "strip", z.ZodTypeAny, {
|
|
4013
|
+
productNdc: string;
|
|
4014
|
+
}, {
|
|
4015
|
+
productNdc: string;
|
|
4016
|
+
}>;
|
|
4017
|
+
declare const NdcCrossRefInputSchema: z.ZodObject<{
|
|
4018
|
+
ndc: z.ZodString;
|
|
4019
|
+
}, "strip", z.ZodTypeAny, {
|
|
4020
|
+
ndc: string;
|
|
4021
|
+
}, {
|
|
4022
|
+
ndc: string;
|
|
4023
|
+
}>;
|
|
4024
|
+
type NdcLookupInput = z.infer<typeof NdcLookupInputSchema>;
|
|
4025
|
+
type NdcBatchLookupInput = z.infer<typeof NdcBatchLookupInputSchema>;
|
|
4026
|
+
type NdcSearchInput = z.infer<typeof NdcSearchInputSchema>;
|
|
4027
|
+
type NdcFuzzySearchInput = z.infer<typeof NdcFuzzySearchInputSchema>;
|
|
4028
|
+
type NdcGetProductInput = z.infer<typeof NdcGetProductInputSchema>;
|
|
4029
|
+
type NdcGetLabelerInput = z.infer<typeof NdcGetLabelerInputSchema>;
|
|
4030
|
+
type NdcGetPackagesInput = z.infer<typeof NdcGetPackagesInputSchema>;
|
|
4031
|
+
type NdcCrossRefInput = z.infer<typeof NdcCrossRefInputSchema>;
|
|
4032
|
+
/**
|
|
4033
|
+
* FDA NDC Directory - drug product identification.
|
|
4034
|
+
* - lookupNdc(): Look up a product by package NDC (any format)
|
|
4035
|
+
* - lookupBatch(): Batch lookup multiple NDCs
|
|
4036
|
+
* - searchProducts(): Full-text search by drug name
|
|
4037
|
+
* - searchFuzzy(): Fuzzy trigram search (handles misspellings)
|
|
4038
|
+
* - getProduct(): Get full product details by product NDC
|
|
4039
|
+
* - getLabeler(): Get all products from a labeler/manufacturer
|
|
4040
|
+
* - getPackages(): Get all packages for a product NDC
|
|
4041
|
+
* - crossRefRxcui(): Cross-reference NDC with RxNorm RXCUI
|
|
4042
|
+
* - getStats(): Get database statistics
|
|
4043
|
+
* - health(): Engine health check
|
|
4044
|
+
*/
|
|
4045
|
+
declare class NdcCategory {
|
|
4046
|
+
private request;
|
|
4047
|
+
constructor(request: RequestFunction$1);
|
|
4048
|
+
lookupNdc(input: NdcLookupInput): Promise<NdcLookupOutput>;
|
|
4049
|
+
lookupBatch(input: NdcBatchLookupInput): Promise<NdcBatchLookupOutput>;
|
|
4050
|
+
searchProducts(input: NdcSearchInput): Promise<NdcSearchOutput>;
|
|
4051
|
+
searchFuzzy(input: NdcFuzzySearchInput): Promise<NdcFuzzySearchOutput>;
|
|
4052
|
+
getProduct(input: NdcGetProductInput): Promise<NdcGetProductOutput>;
|
|
4053
|
+
getLabeler(input: NdcGetLabelerInput): Promise<NdcGetLabelerOutput>;
|
|
4054
|
+
getPackages(input: NdcGetPackagesInput): Promise<NdcGetPackagesOutput>;
|
|
4055
|
+
crossRefRxcui(input: NdcCrossRefInput): Promise<NdcCrossRefOutput>;
|
|
4056
|
+
getStats(): Promise<NdcGetStatsOutput>;
|
|
4057
|
+
health(): Promise<NdcHealthOutput>;
|
|
4058
|
+
}
|
|
2617
4059
|
|
|
2618
4060
|
declare const DiagnosisToProceduresInputSchema: z.ZodObject<{
|
|
2619
4061
|
snomed_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2791,6 +4233,10 @@ declare class SystemCategory {
|
|
|
2791
4233
|
* const lcd = await client.lcd.searchGuidelines({ query: "MRI" });
|
|
2792
4234
|
* const ncd = await client.ncd.identifyGuideline({ section: "220.6" });
|
|
2793
4235
|
*
|
|
4236
|
+
* // FDA NDC Directory
|
|
4237
|
+
* const ndc = await client.ndc.lookupNdc({ ndc: "0071-0157-23" });
|
|
4238
|
+
* const search = await client.ndc.searchProducts({ query: "Lipitor" });
|
|
4239
|
+
*
|
|
2794
4240
|
* // Life expectancy (CDC/CMS WCMSA)
|
|
2795
4241
|
* const le = await client.lifeExpectancy.lookupByAge({ age: 65 });
|
|
2796
4242
|
*
|
|
@@ -2819,6 +4265,8 @@ declare class SequoiaCodesClient {
|
|
|
2819
4265
|
readonly loinc: LoincCategory;
|
|
2820
4266
|
/** RxNorm drug/medication codes */
|
|
2821
4267
|
readonly rxnorm: RxnormCategory;
|
|
4268
|
+
/** FDA NDC Directory - drug product identification (133K products, 248K packages) */
|
|
4269
|
+
readonly ndc: NdcCategory;
|
|
2822
4270
|
/** Life Expectancy actuarial tables (CDC/CMS WCMSA standard) */
|
|
2823
4271
|
readonly lifeExpectancy: LifeExpectancyCategory;
|
|
2824
4272
|
/** LCD (Local Coverage Determination) guidelines */
|
|
@@ -2847,4 +4295,4 @@ declare class CodesApiError extends Error {
|
|
|
2847
4295
|
};
|
|
2848
4296
|
}
|
|
2849
4297
|
|
|
2850
|
-
export { type ApiResponse, type CPTCode, CodesApiError, type CoverageCheckInput, type CoverageCheckOutput, CptCategory, type CptGetCodeOutput, type CptGetCostInput, type CptGetCostOutput, type CptIdentifyCodeInput, type CptLinkIcd10Input, type CptLinkIcd10Output, type CptSearchCodeInput, type CptSearchOutput, type DiagnosisToProceduresInput, type DiagnosisToProceduresOutput, type EngineStatus, type GetCategoriesOutput, type GetResultInput, type GetResultOutput, HcpcsCategory, type HcpcsGetCostInput, type HcpcsIdentifyCodeInput, type HcpcsSearchCodeInput, type HealthOutput, Icd10Category, type Icd10Chapter, type Icd10Code, type Icd10GetChaptersOutput, type Icd10IdentifyCodeInput, type Icd10LookupOutput, type Icd10Mapping, type Icd10SearchCodeInput, type Icd10SearchOutput, type LEGetStatsOutput, type LEGetTableInput, type LEGetTableOutput, type LEGetVersionOutput, type LEHealthOutput, type LELookupBatchInput, type LELookupBatchOutput, type LELookupByAgeInput, type LELookupByAgeOutput, type VersionInfo as LEVersionInfo, LcdCategory, type LcdGetOutput, type LcdIdentifyGuidelineInput, type LcdSearchGuidelinesInput, type LcdSearchOutput, LifeExpectancyCategory, type LifeExpectancyResult, LoincCategory, type LoincCode, type LoincGetPanelMembersInput, type LoincGetPanelMembersOutput, type LoincIdentifyCodeInput, type LoincLookupOutput, type LoincSearchCodeInput, type LoincSearchOutput, NcdCategory, type NcdGetOutput, type NcdIdentifyGuidelineInput, type NcdSearchGuidelinesInput, type NcdSearchOutput, type NdcResult, type PanelInfo, type PanelMember, RxnormCategory, type RxnormDrug, type RxnormGetIngredientsInput, type RxnormGetIngredientsOutput, type RxnormIdentifyCodeInput, type RxnormLookupNdcOutput, type RxnormLookupRxcuiOutput, type RxnormSearchCodeInput, type RxnormSearchOutput, SequoiaCodesClient, type SequoiaCodesClientConfig, SnomedCategory, type SnomedConcept, type SnomedIdentifyCodeInput, type SnomedLookupOutput, type SnomedRelationship, type SnomedSearchCodeInput, type SnomedSearchOutput };
|
|
4298
|
+
export { type ApiResponse, type CPTCode, CodesApiError, type CoverageCheckInput, type CoverageCheckOutput, CptCategory, type CptGetCodeOutput, type CptGetCostInput, type CptGetCostOutput, type CptIdentifyCodeInput, type CptLinkIcd10Input, type CptLinkIcd10Output, type CptSearchCodeInput, type CptSearchOutput, type DiagnosisToProceduresInput, type DiagnosisToProceduresOutput, type EngineStatus, type GetCategoriesOutput, type GetResultInput, type GetResultOutput, HcpcsCategory, type HcpcsGetCostInput, type HcpcsIdentifyCodeInput, type HcpcsSearchCodeInput, type HealthOutput, Icd10Category, type Icd10Chapter, type Icd10Code, type Icd10GetChaptersOutput, type Icd10IdentifyCodeInput, type Icd10LookupOutput, type Icd10Mapping, type Icd10SearchCodeInput, type Icd10SearchOutput, type LEGetStatsOutput, type LEGetTableInput, type LEGetTableOutput, type LEGetVersionOutput, type LEHealthOutput, type LELookupBatchInput, type LELookupBatchOutput, type LELookupByAgeInput, type LELookupByAgeOutput, type VersionInfo as LEVersionInfo, LcdCategory, type LcdGetOutput, type LcdIdentifyGuidelineInput, type LcdSearchGuidelinesInput, type LcdSearchOutput, LifeExpectancyCategory, type LifeExpectancyResult, LoincCategory, type LoincCode, type LoincGetPanelMembersInput, type LoincGetPanelMembersOutput, type LoincIdentifyCodeInput, type LoincLookupOutput, type LoincSearchCodeInput, type LoincSearchOutput, NcdCategory, type NcdGetOutput, type NcdIdentifyGuidelineInput, type NcdSearchGuidelinesInput, type NcdSearchOutput, type NdcBatchLookupInput, type NdcBatchLookupOutput, NdcCategory, type NdcCrossRef, type NdcCrossRefInput, type NdcCrossRefOutput, type NdcFuzzySearchInput, type NdcFuzzySearchOutput, type NdcGetLabelerInput, type NdcGetLabelerOutput, type NdcGetPackagesInput, type NdcGetPackagesOutput, type NdcGetProductInput, type NdcGetProductOutput, type NdcGetStatsOutput, type NdcHealthOutput, type NdcLookupInput, type NdcLookupOutput, type NdcPackage, type NdcProduct, type NdcResult, type NdcSearchInput, type NdcSearchOutput, type PanelInfo, type PanelMember, RxnormCategory, type RxnormDrug, type RxnormGetIngredientsInput, type RxnormGetIngredientsOutput, type RxnormIdentifyCodeInput, type RxnormLookupNdcOutput, type RxnormLookupRxcuiOutput, type RxnormSearchCodeInput, type RxnormSearchOutput, SequoiaCodesClient, type SequoiaCodesClientConfig, SnomedCategory, type SnomedConcept, type SnomedIdentifyCodeInput, type SnomedLookupOutput, type SnomedRelationship, type SnomedSearchCodeInput, type SnomedSearchOutput };
|