ICD10CMClient

ICD10CMClient is a python object responsible for mapping free text terms to ICD-10-CM codes. Please note that einmind is a python client library that interfaces with the EinMind servers, where the actual processing of mapping free-text medical terms to ICD-10-CM codes occurs.

from einmind import ICD10CMClient

# Initialize the ICD10CMClient
icd10cm_client = ICD10CMClient(base_url=None, api_key=None)

Parameters

base_url: An optional string parameter that specifies the URL of a privately hosted EinMind API. If base_url is not provided, the library defaults to sending requests to the publicly available EinMind servers for term mapping. Default value is None .

api_key: An optional string parameter that speicifies API key for privately hosted EinMind API. Default value is None .

Functions

code_term(term, time_out=20)

term: A required string parameter that represents the free text to be mapped to an ICD-10-CM code.

time_out: An optional integer parameter specifying the time-out period, in seconds, after which the request will fail if not completed. The default value is 20 (seconds).

Last updated