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 .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /csv/reply/PrimaryLookup HTTP/1.1
Host: api.vitalware.com
Content-Type: text/csv
Content-Length: length
{"icd9Code":"String","targetDate":"\/Date(-62135596800000+0000)\/"}
HTTP/1.1 200 OK Content-Type: text/csv 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"}]}}