@sequoiaport/codes 0.1.2-beta.1 → 0.1.3-beta.3
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 +1994 -3
- package/dist/index.d.ts +1994 -3
- package/dist/index.js +155 -0
- package/dist/index.mjs +153 -0
- package/dist/mcp.js +206 -0
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -1757,6 +1757,1828 @@ type RxnormLookupNdcOutput = z.infer<typeof LookupNdcOutputSchema>;
|
|
|
1757
1757
|
type RxnormLookupRxcuiOutput = z.infer<typeof LookupRxcuiOutputSchema>;
|
|
1758
1758
|
type RxnormGetIngredientsOutput = z.infer<typeof GetIngredientsOutputSchema>;
|
|
1759
1759
|
|
|
1760
|
+
/** Life expectancy result for a single age/gender combination */
|
|
1761
|
+
declare const LifeExpectancyResultSchema: z.ZodObject<{
|
|
1762
|
+
age_start: z.ZodNumber;
|
|
1763
|
+
age_end: z.ZodNullable<z.ZodNumber>;
|
|
1764
|
+
gender: z.ZodEnum<["male", "female", "total"]>;
|
|
1765
|
+
data_year: z.ZodNumber;
|
|
1766
|
+
source: z.ZodString;
|
|
1767
|
+
qx: z.ZodNumber;
|
|
1768
|
+
lx: z.ZodNumber;
|
|
1769
|
+
dx: z.ZodNumber;
|
|
1770
|
+
lx_person_years: z.ZodNumber;
|
|
1771
|
+
tx: z.ZodNumber;
|
|
1772
|
+
ex: z.ZodNumber;
|
|
1773
|
+
nvsr_volume: z.ZodOptional<z.ZodNumber>;
|
|
1774
|
+
nvsr_issue: z.ZodOptional<z.ZodNumber>;
|
|
1775
|
+
cms_reference: z.ZodOptional<z.ZodString>;
|
|
1776
|
+
}, "strip", z.ZodTypeAny, {
|
|
1777
|
+
source: string;
|
|
1778
|
+
age_start: number;
|
|
1779
|
+
age_end: number | null;
|
|
1780
|
+
gender: "male" | "female" | "total";
|
|
1781
|
+
data_year: number;
|
|
1782
|
+
qx: number;
|
|
1783
|
+
lx: number;
|
|
1784
|
+
dx: number;
|
|
1785
|
+
lx_person_years: number;
|
|
1786
|
+
tx: number;
|
|
1787
|
+
ex: number;
|
|
1788
|
+
nvsr_volume?: number | undefined;
|
|
1789
|
+
nvsr_issue?: number | undefined;
|
|
1790
|
+
cms_reference?: string | undefined;
|
|
1791
|
+
}, {
|
|
1792
|
+
source: string;
|
|
1793
|
+
age_start: number;
|
|
1794
|
+
age_end: number | null;
|
|
1795
|
+
gender: "male" | "female" | "total";
|
|
1796
|
+
data_year: number;
|
|
1797
|
+
qx: number;
|
|
1798
|
+
lx: number;
|
|
1799
|
+
dx: number;
|
|
1800
|
+
lx_person_years: number;
|
|
1801
|
+
tx: number;
|
|
1802
|
+
ex: number;
|
|
1803
|
+
nvsr_volume?: number | undefined;
|
|
1804
|
+
nvsr_issue?: number | undefined;
|
|
1805
|
+
cms_reference?: string | undefined;
|
|
1806
|
+
}>;
|
|
1807
|
+
/** Version metadata for a life table dataset */
|
|
1808
|
+
declare const VersionInfoSchema: z.ZodObject<{
|
|
1809
|
+
id: z.ZodNumber;
|
|
1810
|
+
nvsr_volume: z.ZodNumber;
|
|
1811
|
+
nvsr_issue: z.ZodNumber;
|
|
1812
|
+
data_year: z.ZodNumber;
|
|
1813
|
+
gender: z.ZodString;
|
|
1814
|
+
source_url: z.ZodString;
|
|
1815
|
+
cms_reference: z.ZodOptional<z.ZodString>;
|
|
1816
|
+
status: z.ZodString;
|
|
1817
|
+
row_count: z.ZodNumber;
|
|
1818
|
+
ingested_at: z.ZodString;
|
|
1819
|
+
}, "strip", z.ZodTypeAny, {
|
|
1820
|
+
status: string;
|
|
1821
|
+
gender: string;
|
|
1822
|
+
data_year: number;
|
|
1823
|
+
nvsr_volume: number;
|
|
1824
|
+
nvsr_issue: number;
|
|
1825
|
+
id: number;
|
|
1826
|
+
source_url: string;
|
|
1827
|
+
row_count: number;
|
|
1828
|
+
ingested_at: string;
|
|
1829
|
+
cms_reference?: string | undefined;
|
|
1830
|
+
}, {
|
|
1831
|
+
status: string;
|
|
1832
|
+
gender: string;
|
|
1833
|
+
data_year: number;
|
|
1834
|
+
nvsr_volume: number;
|
|
1835
|
+
nvsr_issue: number;
|
|
1836
|
+
id: number;
|
|
1837
|
+
source_url: string;
|
|
1838
|
+
row_count: number;
|
|
1839
|
+
ingested_at: string;
|
|
1840
|
+
cms_reference?: string | undefined;
|
|
1841
|
+
}>;
|
|
1842
|
+
/** lookupByAge output */
|
|
1843
|
+
declare const LookupByAgeOutputSchema: z.ZodObject<{
|
|
1844
|
+
age_start: z.ZodNumber;
|
|
1845
|
+
gender: z.ZodString;
|
|
1846
|
+
found: z.ZodBoolean;
|
|
1847
|
+
result: z.ZodOptional<z.ZodObject<{
|
|
1848
|
+
age_start: z.ZodNumber;
|
|
1849
|
+
age_end: z.ZodNullable<z.ZodNumber>;
|
|
1850
|
+
gender: z.ZodEnum<["male", "female", "total"]>;
|
|
1851
|
+
data_year: z.ZodNumber;
|
|
1852
|
+
source: z.ZodString;
|
|
1853
|
+
qx: z.ZodNumber;
|
|
1854
|
+
lx: z.ZodNumber;
|
|
1855
|
+
dx: z.ZodNumber;
|
|
1856
|
+
lx_person_years: z.ZodNumber;
|
|
1857
|
+
tx: z.ZodNumber;
|
|
1858
|
+
ex: z.ZodNumber;
|
|
1859
|
+
nvsr_volume: z.ZodOptional<z.ZodNumber>;
|
|
1860
|
+
nvsr_issue: z.ZodOptional<z.ZodNumber>;
|
|
1861
|
+
cms_reference: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
}, "strip", z.ZodTypeAny, {
|
|
1863
|
+
source: string;
|
|
1864
|
+
age_start: number;
|
|
1865
|
+
age_end: number | null;
|
|
1866
|
+
gender: "male" | "female" | "total";
|
|
1867
|
+
data_year: number;
|
|
1868
|
+
qx: number;
|
|
1869
|
+
lx: number;
|
|
1870
|
+
dx: number;
|
|
1871
|
+
lx_person_years: number;
|
|
1872
|
+
tx: number;
|
|
1873
|
+
ex: number;
|
|
1874
|
+
nvsr_volume?: number | undefined;
|
|
1875
|
+
nvsr_issue?: number | undefined;
|
|
1876
|
+
cms_reference?: string | undefined;
|
|
1877
|
+
}, {
|
|
1878
|
+
source: string;
|
|
1879
|
+
age_start: number;
|
|
1880
|
+
age_end: number | null;
|
|
1881
|
+
gender: "male" | "female" | "total";
|
|
1882
|
+
data_year: number;
|
|
1883
|
+
qx: number;
|
|
1884
|
+
lx: number;
|
|
1885
|
+
dx: number;
|
|
1886
|
+
lx_person_years: number;
|
|
1887
|
+
tx: number;
|
|
1888
|
+
ex: number;
|
|
1889
|
+
nvsr_volume?: number | undefined;
|
|
1890
|
+
nvsr_issue?: number | undefined;
|
|
1891
|
+
cms_reference?: string | undefined;
|
|
1892
|
+
}>>;
|
|
1893
|
+
}, "strip", z.ZodTypeAny, {
|
|
1894
|
+
found: boolean;
|
|
1895
|
+
age_start: number;
|
|
1896
|
+
gender: string;
|
|
1897
|
+
result?: {
|
|
1898
|
+
source: string;
|
|
1899
|
+
age_start: number;
|
|
1900
|
+
age_end: number | null;
|
|
1901
|
+
gender: "male" | "female" | "total";
|
|
1902
|
+
data_year: number;
|
|
1903
|
+
qx: number;
|
|
1904
|
+
lx: number;
|
|
1905
|
+
dx: number;
|
|
1906
|
+
lx_person_years: number;
|
|
1907
|
+
tx: number;
|
|
1908
|
+
ex: number;
|
|
1909
|
+
nvsr_volume?: number | undefined;
|
|
1910
|
+
nvsr_issue?: number | undefined;
|
|
1911
|
+
cms_reference?: string | undefined;
|
|
1912
|
+
} | undefined;
|
|
1913
|
+
}, {
|
|
1914
|
+
found: boolean;
|
|
1915
|
+
age_start: number;
|
|
1916
|
+
gender: string;
|
|
1917
|
+
result?: {
|
|
1918
|
+
source: string;
|
|
1919
|
+
age_start: number;
|
|
1920
|
+
age_end: number | null;
|
|
1921
|
+
gender: "male" | "female" | "total";
|
|
1922
|
+
data_year: number;
|
|
1923
|
+
qx: number;
|
|
1924
|
+
lx: number;
|
|
1925
|
+
dx: number;
|
|
1926
|
+
lx_person_years: number;
|
|
1927
|
+
tx: number;
|
|
1928
|
+
ex: number;
|
|
1929
|
+
nvsr_volume?: number | undefined;
|
|
1930
|
+
nvsr_issue?: number | undefined;
|
|
1931
|
+
cms_reference?: string | undefined;
|
|
1932
|
+
} | undefined;
|
|
1933
|
+
}>;
|
|
1934
|
+
/** lookupBatch output */
|
|
1935
|
+
declare const LookupBatchOutputSchema: z.ZodObject<{
|
|
1936
|
+
gender: z.ZodString;
|
|
1937
|
+
count: z.ZodNumber;
|
|
1938
|
+
results: z.ZodArray<z.ZodObject<{
|
|
1939
|
+
age_start: z.ZodNumber;
|
|
1940
|
+
age_end: z.ZodNullable<z.ZodNumber>;
|
|
1941
|
+
gender: z.ZodEnum<["male", "female", "total"]>;
|
|
1942
|
+
data_year: z.ZodNumber;
|
|
1943
|
+
source: z.ZodString;
|
|
1944
|
+
qx: z.ZodNumber;
|
|
1945
|
+
lx: z.ZodNumber;
|
|
1946
|
+
dx: z.ZodNumber;
|
|
1947
|
+
lx_person_years: z.ZodNumber;
|
|
1948
|
+
tx: z.ZodNumber;
|
|
1949
|
+
ex: z.ZodNumber;
|
|
1950
|
+
nvsr_volume: z.ZodOptional<z.ZodNumber>;
|
|
1951
|
+
nvsr_issue: z.ZodOptional<z.ZodNumber>;
|
|
1952
|
+
cms_reference: z.ZodOptional<z.ZodString>;
|
|
1953
|
+
}, "strip", z.ZodTypeAny, {
|
|
1954
|
+
source: string;
|
|
1955
|
+
age_start: number;
|
|
1956
|
+
age_end: number | null;
|
|
1957
|
+
gender: "male" | "female" | "total";
|
|
1958
|
+
data_year: number;
|
|
1959
|
+
qx: number;
|
|
1960
|
+
lx: number;
|
|
1961
|
+
dx: number;
|
|
1962
|
+
lx_person_years: number;
|
|
1963
|
+
tx: number;
|
|
1964
|
+
ex: number;
|
|
1965
|
+
nvsr_volume?: number | undefined;
|
|
1966
|
+
nvsr_issue?: number | undefined;
|
|
1967
|
+
cms_reference?: string | undefined;
|
|
1968
|
+
}, {
|
|
1969
|
+
source: string;
|
|
1970
|
+
age_start: number;
|
|
1971
|
+
age_end: number | null;
|
|
1972
|
+
gender: "male" | "female" | "total";
|
|
1973
|
+
data_year: number;
|
|
1974
|
+
qx: number;
|
|
1975
|
+
lx: number;
|
|
1976
|
+
dx: number;
|
|
1977
|
+
lx_person_years: number;
|
|
1978
|
+
tx: number;
|
|
1979
|
+
ex: number;
|
|
1980
|
+
nvsr_volume?: number | undefined;
|
|
1981
|
+
nvsr_issue?: number | undefined;
|
|
1982
|
+
cms_reference?: string | undefined;
|
|
1983
|
+
}>, "many">;
|
|
1984
|
+
}, "strip", z.ZodTypeAny, {
|
|
1985
|
+
count: number;
|
|
1986
|
+
results: {
|
|
1987
|
+
source: string;
|
|
1988
|
+
age_start: number;
|
|
1989
|
+
age_end: number | null;
|
|
1990
|
+
gender: "male" | "female" | "total";
|
|
1991
|
+
data_year: number;
|
|
1992
|
+
qx: number;
|
|
1993
|
+
lx: number;
|
|
1994
|
+
dx: number;
|
|
1995
|
+
lx_person_years: number;
|
|
1996
|
+
tx: number;
|
|
1997
|
+
ex: number;
|
|
1998
|
+
nvsr_volume?: number | undefined;
|
|
1999
|
+
nvsr_issue?: number | undefined;
|
|
2000
|
+
cms_reference?: string | undefined;
|
|
2001
|
+
}[];
|
|
2002
|
+
gender: string;
|
|
2003
|
+
}, {
|
|
2004
|
+
count: number;
|
|
2005
|
+
results: {
|
|
2006
|
+
source: string;
|
|
2007
|
+
age_start: number;
|
|
2008
|
+
age_end: number | null;
|
|
2009
|
+
gender: "male" | "female" | "total";
|
|
2010
|
+
data_year: number;
|
|
2011
|
+
qx: number;
|
|
2012
|
+
lx: number;
|
|
2013
|
+
dx: number;
|
|
2014
|
+
lx_person_years: number;
|
|
2015
|
+
tx: number;
|
|
2016
|
+
ex: number;
|
|
2017
|
+
nvsr_volume?: number | undefined;
|
|
2018
|
+
nvsr_issue?: number | undefined;
|
|
2019
|
+
cms_reference?: string | undefined;
|
|
2020
|
+
}[];
|
|
2021
|
+
gender: string;
|
|
2022
|
+
}>;
|
|
2023
|
+
/** getTable output */
|
|
2024
|
+
declare const GetTableOutputSchema: z.ZodObject<{
|
|
2025
|
+
gender: z.ZodString;
|
|
2026
|
+
min_age: z.ZodNumber;
|
|
2027
|
+
max_age: z.ZodNumber;
|
|
2028
|
+
count: z.ZodNumber;
|
|
2029
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2030
|
+
age_start: z.ZodNumber;
|
|
2031
|
+
age_end: z.ZodNullable<z.ZodNumber>;
|
|
2032
|
+
gender: z.ZodEnum<["male", "female", "total"]>;
|
|
2033
|
+
data_year: z.ZodNumber;
|
|
2034
|
+
source: z.ZodString;
|
|
2035
|
+
qx: z.ZodNumber;
|
|
2036
|
+
lx: z.ZodNumber;
|
|
2037
|
+
dx: z.ZodNumber;
|
|
2038
|
+
lx_person_years: z.ZodNumber;
|
|
2039
|
+
tx: z.ZodNumber;
|
|
2040
|
+
ex: z.ZodNumber;
|
|
2041
|
+
nvsr_volume: z.ZodOptional<z.ZodNumber>;
|
|
2042
|
+
nvsr_issue: z.ZodOptional<z.ZodNumber>;
|
|
2043
|
+
cms_reference: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
}, "strip", z.ZodTypeAny, {
|
|
2045
|
+
source: string;
|
|
2046
|
+
age_start: number;
|
|
2047
|
+
age_end: number | null;
|
|
2048
|
+
gender: "male" | "female" | "total";
|
|
2049
|
+
data_year: number;
|
|
2050
|
+
qx: number;
|
|
2051
|
+
lx: number;
|
|
2052
|
+
dx: number;
|
|
2053
|
+
lx_person_years: number;
|
|
2054
|
+
tx: number;
|
|
2055
|
+
ex: number;
|
|
2056
|
+
nvsr_volume?: number | undefined;
|
|
2057
|
+
nvsr_issue?: number | undefined;
|
|
2058
|
+
cms_reference?: string | undefined;
|
|
2059
|
+
}, {
|
|
2060
|
+
source: string;
|
|
2061
|
+
age_start: number;
|
|
2062
|
+
age_end: number | null;
|
|
2063
|
+
gender: "male" | "female" | "total";
|
|
2064
|
+
data_year: number;
|
|
2065
|
+
qx: number;
|
|
2066
|
+
lx: number;
|
|
2067
|
+
dx: number;
|
|
2068
|
+
lx_person_years: number;
|
|
2069
|
+
tx: number;
|
|
2070
|
+
ex: number;
|
|
2071
|
+
nvsr_volume?: number | undefined;
|
|
2072
|
+
nvsr_issue?: number | undefined;
|
|
2073
|
+
cms_reference?: string | undefined;
|
|
2074
|
+
}>, "many">;
|
|
2075
|
+
}, "strip", z.ZodTypeAny, {
|
|
2076
|
+
count: number;
|
|
2077
|
+
results: {
|
|
2078
|
+
source: string;
|
|
2079
|
+
age_start: number;
|
|
2080
|
+
age_end: number | null;
|
|
2081
|
+
gender: "male" | "female" | "total";
|
|
2082
|
+
data_year: number;
|
|
2083
|
+
qx: number;
|
|
2084
|
+
lx: number;
|
|
2085
|
+
dx: number;
|
|
2086
|
+
lx_person_years: number;
|
|
2087
|
+
tx: number;
|
|
2088
|
+
ex: number;
|
|
2089
|
+
nvsr_volume?: number | undefined;
|
|
2090
|
+
nvsr_issue?: number | undefined;
|
|
2091
|
+
cms_reference?: string | undefined;
|
|
2092
|
+
}[];
|
|
2093
|
+
gender: string;
|
|
2094
|
+
min_age: number;
|
|
2095
|
+
max_age: number;
|
|
2096
|
+
}, {
|
|
2097
|
+
count: number;
|
|
2098
|
+
results: {
|
|
2099
|
+
source: string;
|
|
2100
|
+
age_start: number;
|
|
2101
|
+
age_end: number | null;
|
|
2102
|
+
gender: "male" | "female" | "total";
|
|
2103
|
+
data_year: number;
|
|
2104
|
+
qx: number;
|
|
2105
|
+
lx: number;
|
|
2106
|
+
dx: number;
|
|
2107
|
+
lx_person_years: number;
|
|
2108
|
+
tx: number;
|
|
2109
|
+
ex: number;
|
|
2110
|
+
nvsr_volume?: number | undefined;
|
|
2111
|
+
nvsr_issue?: number | undefined;
|
|
2112
|
+
cms_reference?: string | undefined;
|
|
2113
|
+
}[];
|
|
2114
|
+
gender: string;
|
|
2115
|
+
min_age: number;
|
|
2116
|
+
max_age: number;
|
|
2117
|
+
}>;
|
|
2118
|
+
/** getVersion output */
|
|
2119
|
+
declare const GetVersionOutputSchema: z.ZodObject<{
|
|
2120
|
+
count: z.ZodNumber;
|
|
2121
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
2122
|
+
id: z.ZodNumber;
|
|
2123
|
+
nvsr_volume: z.ZodNumber;
|
|
2124
|
+
nvsr_issue: z.ZodNumber;
|
|
2125
|
+
data_year: z.ZodNumber;
|
|
2126
|
+
gender: z.ZodString;
|
|
2127
|
+
source_url: z.ZodString;
|
|
2128
|
+
cms_reference: z.ZodOptional<z.ZodString>;
|
|
2129
|
+
status: z.ZodString;
|
|
2130
|
+
row_count: z.ZodNumber;
|
|
2131
|
+
ingested_at: z.ZodString;
|
|
2132
|
+
}, "strip", z.ZodTypeAny, {
|
|
2133
|
+
status: string;
|
|
2134
|
+
gender: string;
|
|
2135
|
+
data_year: number;
|
|
2136
|
+
nvsr_volume: number;
|
|
2137
|
+
nvsr_issue: number;
|
|
2138
|
+
id: number;
|
|
2139
|
+
source_url: string;
|
|
2140
|
+
row_count: number;
|
|
2141
|
+
ingested_at: string;
|
|
2142
|
+
cms_reference?: string | undefined;
|
|
2143
|
+
}, {
|
|
2144
|
+
status: string;
|
|
2145
|
+
gender: string;
|
|
2146
|
+
data_year: number;
|
|
2147
|
+
nvsr_volume: number;
|
|
2148
|
+
nvsr_issue: number;
|
|
2149
|
+
id: number;
|
|
2150
|
+
source_url: string;
|
|
2151
|
+
row_count: number;
|
|
2152
|
+
ingested_at: string;
|
|
2153
|
+
cms_reference?: string | undefined;
|
|
2154
|
+
}>, "many">;
|
|
2155
|
+
}, "strip", z.ZodTypeAny, {
|
|
2156
|
+
count: number;
|
|
2157
|
+
versions: {
|
|
2158
|
+
status: string;
|
|
2159
|
+
gender: string;
|
|
2160
|
+
data_year: number;
|
|
2161
|
+
nvsr_volume: number;
|
|
2162
|
+
nvsr_issue: number;
|
|
2163
|
+
id: number;
|
|
2164
|
+
source_url: string;
|
|
2165
|
+
row_count: number;
|
|
2166
|
+
ingested_at: string;
|
|
2167
|
+
cms_reference?: string | undefined;
|
|
2168
|
+
}[];
|
|
2169
|
+
}, {
|
|
2170
|
+
count: number;
|
|
2171
|
+
versions: {
|
|
2172
|
+
status: string;
|
|
2173
|
+
gender: string;
|
|
2174
|
+
data_year: number;
|
|
2175
|
+
nvsr_volume: number;
|
|
2176
|
+
nvsr_issue: number;
|
|
2177
|
+
id: number;
|
|
2178
|
+
source_url: string;
|
|
2179
|
+
row_count: number;
|
|
2180
|
+
ingested_at: string;
|
|
2181
|
+
cms_reference?: string | undefined;
|
|
2182
|
+
}[];
|
|
2183
|
+
}>;
|
|
2184
|
+
/** health output */
|
|
2185
|
+
declare const LEHealthOutputSchema: z.ZodObject<{
|
|
2186
|
+
status: z.ZodEnum<["healthy", "degraded"]>;
|
|
2187
|
+
engine: z.ZodOptional<z.ZodString>;
|
|
2188
|
+
version: z.ZodOptional<z.ZodString>;
|
|
2189
|
+
database: z.ZodOptional<z.ZodObject<{
|
|
2190
|
+
status: z.ZodString;
|
|
2191
|
+
total_conns: z.ZodOptional<z.ZodNumber>;
|
|
2192
|
+
idle_conns: z.ZodOptional<z.ZodNumber>;
|
|
2193
|
+
acquired_conns: z.ZodOptional<z.ZodNumber>;
|
|
2194
|
+
}, "strip", z.ZodTypeAny, {
|
|
2195
|
+
status: string;
|
|
2196
|
+
total_conns?: number | undefined;
|
|
2197
|
+
idle_conns?: number | undefined;
|
|
2198
|
+
acquired_conns?: number | undefined;
|
|
2199
|
+
}, {
|
|
2200
|
+
status: string;
|
|
2201
|
+
total_conns?: number | undefined;
|
|
2202
|
+
idle_conns?: number | undefined;
|
|
2203
|
+
acquired_conns?: number | undefined;
|
|
2204
|
+
}>>;
|
|
2205
|
+
}, "strip", z.ZodTypeAny, {
|
|
2206
|
+
status: "healthy" | "degraded";
|
|
2207
|
+
engine?: string | undefined;
|
|
2208
|
+
version?: string | undefined;
|
|
2209
|
+
database?: {
|
|
2210
|
+
status: string;
|
|
2211
|
+
total_conns?: number | undefined;
|
|
2212
|
+
idle_conns?: number | undefined;
|
|
2213
|
+
acquired_conns?: number | undefined;
|
|
2214
|
+
} | undefined;
|
|
2215
|
+
}, {
|
|
2216
|
+
status: "healthy" | "degraded";
|
|
2217
|
+
engine?: string | undefined;
|
|
2218
|
+
version?: string | undefined;
|
|
2219
|
+
database?: {
|
|
2220
|
+
status: string;
|
|
2221
|
+
total_conns?: number | undefined;
|
|
2222
|
+
idle_conns?: number | undefined;
|
|
2223
|
+
acquired_conns?: number | undefined;
|
|
2224
|
+
} | undefined;
|
|
2225
|
+
}>;
|
|
2226
|
+
/** getStats output */
|
|
2227
|
+
declare const GetStatsOutputSchema: z.ZodObject<{
|
|
2228
|
+
stats: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2229
|
+
}, "strip", z.ZodTypeAny, {
|
|
2230
|
+
stats: Record<string, unknown>;
|
|
2231
|
+
}, {
|
|
2232
|
+
stats: Record<string, unknown>;
|
|
2233
|
+
}>;
|
|
2234
|
+
type LifeExpectancyResult = z.infer<typeof LifeExpectancyResultSchema>;
|
|
2235
|
+
type VersionInfo = z.infer<typeof VersionInfoSchema>;
|
|
2236
|
+
type LELookupByAgeOutput = z.infer<typeof LookupByAgeOutputSchema>;
|
|
2237
|
+
type LELookupBatchOutput = z.infer<typeof LookupBatchOutputSchema>;
|
|
2238
|
+
type LEGetTableOutput = z.infer<typeof GetTableOutputSchema>;
|
|
2239
|
+
type LEGetVersionOutput = z.infer<typeof GetVersionOutputSchema>;
|
|
2240
|
+
type LEHealthOutput = z.infer<typeof LEHealthOutputSchema>;
|
|
2241
|
+
type LEGetStatsOutput = z.infer<typeof GetStatsOutputSchema>;
|
|
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
|
+
|
|
1760
3582
|
/**
|
|
1761
3583
|
* Simplified Public SDK Engine Categories
|
|
1762
3584
|
*
|
|
@@ -2076,6 +3898,164 @@ declare class NcdCategory {
|
|
|
2076
3898
|
searchGuidelines(input: NcdSearchGuidelinesInput): Promise<NcdSearchOutput>;
|
|
2077
3899
|
identifyGuideline(input: NcdIdentifyGuidelineInput): Promise<NcdGetOutput>;
|
|
2078
3900
|
}
|
|
3901
|
+
declare const LELookupByAgeInputSchema: z.ZodObject<{
|
|
3902
|
+
age: z.ZodNumber;
|
|
3903
|
+
gender: z.ZodOptional<z.ZodEnum<["male", "female", "total"]>>;
|
|
3904
|
+
}, "strip", z.ZodTypeAny, {
|
|
3905
|
+
age: number;
|
|
3906
|
+
gender?: "male" | "female" | "total" | undefined;
|
|
3907
|
+
}, {
|
|
3908
|
+
age: number;
|
|
3909
|
+
gender?: "male" | "female" | "total" | undefined;
|
|
3910
|
+
}>;
|
|
3911
|
+
declare const LELookupBatchInputSchema: z.ZodObject<{
|
|
3912
|
+
ages: z.ZodArray<z.ZodNumber, "many">;
|
|
3913
|
+
gender: z.ZodOptional<z.ZodEnum<["male", "female", "total"]>>;
|
|
3914
|
+
}, "strip", z.ZodTypeAny, {
|
|
3915
|
+
ages: number[];
|
|
3916
|
+
gender?: "male" | "female" | "total" | undefined;
|
|
3917
|
+
}, {
|
|
3918
|
+
ages: number[];
|
|
3919
|
+
gender?: "male" | "female" | "total" | undefined;
|
|
3920
|
+
}>;
|
|
3921
|
+
declare const LEGetTableInputSchema: z.ZodObject<{
|
|
3922
|
+
gender: z.ZodOptional<z.ZodEnum<["male", "female", "total"]>>;
|
|
3923
|
+
min_age: z.ZodOptional<z.ZodNumber>;
|
|
3924
|
+
max_age: z.ZodOptional<z.ZodNumber>;
|
|
3925
|
+
}, "strip", z.ZodTypeAny, {
|
|
3926
|
+
gender?: "male" | "female" | "total" | undefined;
|
|
3927
|
+
min_age?: number | undefined;
|
|
3928
|
+
max_age?: number | undefined;
|
|
3929
|
+
}, {
|
|
3930
|
+
gender?: "male" | "female" | "total" | undefined;
|
|
3931
|
+
min_age?: number | undefined;
|
|
3932
|
+
max_age?: number | undefined;
|
|
3933
|
+
}>;
|
|
3934
|
+
type LELookupByAgeInput = z.infer<typeof LELookupByAgeInputSchema>;
|
|
3935
|
+
type LELookupBatchInput = z.infer<typeof LELookupBatchInputSchema>;
|
|
3936
|
+
type LEGetTableInput = z.infer<typeof LEGetTableInputSchema>;
|
|
3937
|
+
/**
|
|
3938
|
+
* Life Expectancy actuarial tables (CDC/CMS WCMSA standard).
|
|
3939
|
+
* - lookupByAge(): Get life expectancy for a specific age
|
|
3940
|
+
* - lookupBatch(): Batch lookup for multiple ages
|
|
3941
|
+
* - getTable(): Get the full actuarial life table (or a filtered range)
|
|
3942
|
+
* - getVersion(): Get active dataset version metadata
|
|
3943
|
+
* - getStats(): Get database statistics
|
|
3944
|
+
* - health(): Engine health check
|
|
3945
|
+
*/
|
|
3946
|
+
declare class LifeExpectancyCategory {
|
|
3947
|
+
private request;
|
|
3948
|
+
constructor(request: RequestFunction$1);
|
|
3949
|
+
lookupByAge(input: LELookupByAgeInput): Promise<LELookupByAgeOutput>;
|
|
3950
|
+
lookupBatch(input: LELookupBatchInput): Promise<LELookupBatchOutput>;
|
|
3951
|
+
getTable(input?: LEGetTableInput): Promise<LEGetTableOutput>;
|
|
3952
|
+
getVersion(): Promise<LEGetVersionOutput>;
|
|
3953
|
+
getStats(): Promise<LEGetStatsOutput>;
|
|
3954
|
+
health(): Promise<LEHealthOutput>;
|
|
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
|
+
}
|
|
2079
4059
|
|
|
2080
4060
|
declare const DiagnosisToProceduresInputSchema: z.ZodObject<{
|
|
2081
4061
|
snomed_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2193,12 +4173,12 @@ declare const HealthOutputSchema: z.ZodObject<{
|
|
|
2193
4173
|
environment: z.ZodOptional<z.ZodString>;
|
|
2194
4174
|
engines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<["ok", "error", "unknown"]>>>;
|
|
2195
4175
|
}, "strip", z.ZodTypeAny, {
|
|
2196
|
-
status: "
|
|
4176
|
+
status: "degraded" | "ok";
|
|
2197
4177
|
version?: string | undefined;
|
|
2198
4178
|
environment?: string | undefined;
|
|
2199
4179
|
engines?: Record<string, "unknown" | "error" | "ok"> | undefined;
|
|
2200
4180
|
}, {
|
|
2201
|
-
status: "
|
|
4181
|
+
status: "degraded" | "ok";
|
|
2202
4182
|
version?: string | undefined;
|
|
2203
4183
|
environment?: string | undefined;
|
|
2204
4184
|
engines?: Record<string, "unknown" | "error" | "ok"> | undefined;
|
|
@@ -2253,6 +4233,13 @@ declare class SystemCategory {
|
|
|
2253
4233
|
* const lcd = await client.lcd.searchGuidelines({ query: "MRI" });
|
|
2254
4234
|
* const ncd = await client.ncd.identifyGuideline({ section: "220.6" });
|
|
2255
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
|
+
*
|
|
4240
|
+
* // Life expectancy (CDC/CMS WCMSA)
|
|
4241
|
+
* const le = await client.lifeExpectancy.lookupByAge({ age: 65 });
|
|
4242
|
+
*
|
|
2256
4243
|
* // Orchestrator endpoints
|
|
2257
4244
|
* const coverage = await client.clinical.checkCoverage({ cpt_code: "99213" });
|
|
2258
4245
|
* const procedures = await client.clinical.getProceduresForDiagnosis({ icd10_code: "E11.9" });
|
|
@@ -2278,6 +4265,10 @@ declare class SequoiaCodesClient {
|
|
|
2278
4265
|
readonly loinc: LoincCategory;
|
|
2279
4266
|
/** RxNorm drug/medication codes */
|
|
2280
4267
|
readonly rxnorm: RxnormCategory;
|
|
4268
|
+
/** FDA NDC Directory - drug product identification (133K products, 248K packages) */
|
|
4269
|
+
readonly ndc: NdcCategory;
|
|
4270
|
+
/** Life Expectancy actuarial tables (CDC/CMS WCMSA standard) */
|
|
4271
|
+
readonly lifeExpectancy: LifeExpectancyCategory;
|
|
2281
4272
|
/** LCD (Local Coverage Determination) guidelines */
|
|
2282
4273
|
readonly lcd: LcdCategory;
|
|
2283
4274
|
/** NCD (National Coverage Determination) guidelines */
|
|
@@ -2304,4 +4295,4 @@ declare class CodesApiError extends Error {
|
|
|
2304
4295
|
};
|
|
2305
4296
|
}
|
|
2306
4297
|
|
|
2307
|
-
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, LcdCategory, type LcdGetOutput, type LcdIdentifyGuidelineInput, type LcdSearchGuidelinesInput, type LcdSearchOutput, 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 };
|