VitalWare API

<back to all web services

PrimaryLookup

The following routes are available for this service:
GET POST/primarylookupReturns 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
Parameters:
NameParameterData TypeRequiredDescription
Icd9Codepath,querystringYesICD-9 code to search from
TargetDatepathDateTimeNoTarget date

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + 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"}]}}