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 .jsv suffix or ?format=jsv

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