SNOMEDCTClient
SNOMEDCTClient is a python object responsible for mapping free text terms to SNOMED CT 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 SNOMED CT codes occurs.
from einmind import SNOMEDCTClient
# Initialize the ICD10CMClient
snomed_client = SNOMEDCTClient(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, term_category, time_out=20)term: A required string parameter that represents the free text to be mapped to a SNOMED CT code.
term_category: A required string parameter that represents the input text category. Accepted values are PROBLEM and PROCEDURE.
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