Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (16 loc) · 701 Bytes

vocabulary.rst

File metadata and controls

23 lines (16 loc) · 701 Bytes

/vocabExpansion?type=<TYPE>&concept=<CONCEPT>&vocab=<VOCAB>

About:

This API is responsible for vocabulary explosion for a given concept. API accepts a _type which can be synonyms, ancestors or descendants. The API has to accept the _concept name which is supposed be exploded. The vocabulary _vocab can also be passed as an optional parameter.

Parameters:

  • Type: mandatory
    • 1: synonyms
    • 2: ancestors
    • 3: descendants
  • Concept: mandatory
  • Vocab: optional

Example usage:

` http://nlp-api:5000/vocabExpansion?type=1&concept=Inactive http://nlp-api:5000/vocabExpansion?type=1&concept=Inactive&vocab=SNOMED`