Lexigram API Documentation (stefan.skliarov) | RapidAPI

Lexigram

FREE
By stefan.skliarov
Updated 9 months ago
Health, Fitness
7.1/10
Popularity Score
304ms
Latency
100%
Success Rate

Lexigram API Documentation

Pull medical symptoms, diseases and drugs from text block.

View API Details
POSTextractEntities
POSTgetConcept
POSTgetConceptAncestors
POSTgetConceptDescendants
POSThighlightEntities
POSTsearch
POSTextractEntities

The core of our data extraction API. Matches the input text against concepts in the Lexigraph to find and extract concept matches. Maintains pointers to the exact character offsets matched in the text. Identifies the types of the concept (drug, anatomy, problem, etc.), its context (negation, speculation, patient/family history, demographics), and a sectionId if it appears in a known section.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
conceptIdSTRING
REQUIREDConcept ID
querySTRING
REQUIREDText to search
apiKeyCREDENTIALS
REQUIREDApi key
Optional Parameters
withContextBOOLEAN
OPTIONALTrue performs contextulization and includes contexts in the result.
withTextBOOLEAN
OPTIONALtrue returns the orginal text in the response.
withMatchLogicSELECT
OPTIONAL'longest' expands to the longest unique match during concept detection. 'ignore-length' returns all detected concepts regardless if a concept is contained or part of a larger concept e.g. 'Kidney Failure' will return 'kidney', 'Failure', and 'Kidney Failure' instead of only 'kidney Failure'. Allowed: longest, ignore-length. Default: longest
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication