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
`