"""icdlookup — look up icd codes and map them to human-readable descriptions.

data sourced from official cms icd-10 files
(https://www.cms.gov/medicare/coding-billing/icd-10-codes).
inspired by the hierarchy work in https://github.com/rjake/ICD10-hierarchy.

public api
----------
lookup(code, detail=False)   – look up a single icd code
search(keyword, limit=20)    – search descriptions by keyword
annotate(df, code_column, …) – add description column to a pandas dataframe
"""

from icdlookup.lookup import lookup, search, annotate

__all__ = ["lookup", "search", "annotate"]
__version__ = "0.1.0"
