tooluniverse.tools.DailyMed_search_spls module

DailyMed_search_spls

Search SPL list using multiple filter conditions (drug_name/ndc/rxcui/setid) and return metadata …

tooluniverse.tools.DailyMed_search_spls.DailyMed_search_spls(drug_name, ndc, rxcui, setid, published_date_gte, published_date_eq, pagesize, page, *, stream_callback=None, use_cache=False, validate=True)[source]

Search SPL list using multiple filter conditions (drug_name/ndc/rxcui/setid) and return metadata …

Parameters:
  • drug_name (str) – Generic or brand name of the drug, e.g., ‘TAMSULOSIN HYDROCHLORIDE’.

  • ndc (str) – National Drug Code (NDC).

  • rxcui (str) – RxNorm Code (RXCUI).

  • setid (str) – Set ID corresponding to the SPL.

  • published_date_gte (str) – Published date >= specified date, format ‘YYYY-MM-DD’.

  • published_date_eq (str) – Published date == specified date, format ‘YYYY-MM-DD’.

  • pagesize (int) – Number of items per page, maximum 100, default 100.

  • page (int) – Page number, starts from 1, default 1.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any