NCIOCPL / drug-dictionary-api

NCI Drug Dictionary API
0 stars 3 forks source link

Story: Implement the Drug GetByID endpoint #9

Closed blairlearn closed 4 years ago

blairlearn commented 4 years ago

As a developer, I would like to retrieve a drug term by its ID, so that I may display it to users of my application.

Acceptance Criteria

### Notes: * Specific Endpoint Information: https://github.com/NCIOCPL/drug-dictionary-api/wiki/Drug-Dictionary-API#getbyid * Connect to ElasticSearch using the "Get (specific match)" query listed at: https://github.com/NCIOCPL/drug-dictionary-api/wiki/Elastic-search-queries#4-get ### Tasks: - [ ] `DrugsController::GetById()` - [ ] `IDrugQueryService::GetById()` - [ ] `DrugsESQueryService::GetById()`