FreeMED. RxList

Wrapper for rxlist.com formulary access.

Summary
Wrapper for rxlist.com formulary access.
Gets the web page from rxlist.com pertaining to the specified query.
Retrieves the appropriate rxlist.com formulary list, based on the drug criteria provided.

Functions

RxList:: getPage

Gets the web page from rxlist.com pertaining to the specified query.

Parameters

$queryString to search for

Returns

HTML text of web page.

RxList:: get_list

Retrieves the appropriate rxlist.com formulary list, based on the drug criteria provided.

Parameters

$queryText to search in the rxlist.com formulary for.

Returns

Associative array (meant to be passed to phpwebtools’ html_form::select_widget) containing the results.