download_rxnorm
- download_rxnorm(version=None, *, api_key=None, force=False)[source]
Ensure the given version of the RxNorm monthly file.
- Parameters:
version (
Optional
[str
]) – The version of RxNorm to ensure. If not given, is looked up withbioversions
.api_key (
Optional
[str
]) – An API key. If not given, is looked up usingpystow.get_config()
with theumls
module andapi_key
key.force (
bool
) – Should the file be re-downloaded, even if it already exists?
- Return type:
- Returns:
The path of the file for the given version of RxNorm.