Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

Latest commit

 

History

History

api

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

API Documentation

The snoicd-codex API provide two endpoints for REST requests.

/api/search?q=copper+fever

Definition: This endpoint returns those terms that contains the search query in their descriptions or code.
Return object:

[{
  "code": String,
  "terminology_name": (snomed | icd_9 | icd_10),
  "descriptions": [
    String,
    ... ],
  "related_codes": [{
    "code": String,
    "terminology_name": (snomed | icd_9 | icd_10),
    "descriptions": [
      String,
      ...
    },... ]
  }, ...
]

/api/search?q=copper+fever&filter=(description|code)

Definition: This endpoint returns those terms that contains the search query in their given filter parameter.
Return object:

[{
  "code": String,
  "terminology_name": (snomed | icd_9 | icd_10),
  "descriptions": [
    String,
    ... ],
  "related_codes": [{
    "code": String,
    "terminology_name": (snomed | icd_9 | icd_10),
    "descriptions": [
      String,
      ...
    },... ]
  }, ...
]