GET POST | /primarylookup | Returns the primary lookup for ICD-9 | |
---|---|---|---|
GET POST | /primarylookup/{icd9code} | Returns the primary lookup for ICD-9 | Search string can be directly within the URL as part of the path |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
Icd9Code | path,query | string | Yes | ICD-9 code to search from |
TargetDate | path | DateTime | No | Target date |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/reply/PrimaryLookup HTTP/1.1
Host: api.vitalware.com
Content-Type: application/json
Content-Length: length
{"icd9Code":"String","targetDate":"\/Date(-62135596800000+0000)\/"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"request":{"icd9Code":"String","targetDate":"\/Date(-62135596800000+0000)\/"},"result":{"code":"String","codeAlt":"String","shortDescription":"String","longDescription":"String","primaryLookup":["String"]},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}