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