VitalWare API

<back to all web services

SherpaSearch

The following routes are available for this service:
GET POST/sherpaLtdReturns a comprehensive dataset with concept and code information
GET POST/sherpaLtd/{search}Returns a comprehensive dataset with concept and code informationSearch string can be directly within the URL as part of the path
Parameters:
NameParameterData TypeRequiredDescription
codeSetpathstringNoCode set to search; allows "ICD-10 CM", "ICD-10 PCS", or "ICD-9 CM"; defaults to "ICD-10 CM"
includeIndexpathboolNoTrue to include the ICD index when performing searches (expands results)
searchpath,querystringYesPrimary search phrase
conceptIdListpathint[]NoArray of concept ID's to further limit the primary search phrase
dateOfServicepathdateNoReturns code specific information valid as of this date (defaults to the current date)
startRowpathintNoControls the start row of the code results, typically used in pagination scenarios
endRowpathintNoControls the maximum number of codes returned, defaults to 10
callerUidpathstringNoClient controlled unique identifier, can be anything even embedded JSON, XML, CSV, or anything else. Typically used to tie async responses to some object at the caller.
includeUnspecifiedConceptspathstringNoInclude the unspecified concepts

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/SherpaSearch HTTP/1.1 
Host: api.vitalware.com 
Content-Type: text/csv
Content-Length: length

{"codeSet":"String","includeIndex":false,"search":"String","conceptIdList":[0],"dateOfService":"0001-01-01T12:00:00.0000000-08:00","startRow":0,"endRow":0,"callerUid":"String","includeUnspecifiedConcepts":false}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"request":{"codeSet":"String","includeIndex":false,"search":"String","conceptIdList":[0],"dateOfService":"0001-01-01T12:00:00.0000000-08:00","startRow":0,"endRow":0,"callerUid":"String","includeUnspecifiedConcepts":false},"result":{"parameters":{"param":[{"type":"String","value":"String","hasInfo":false,"isAlias":false,"isDIndex":false,"position":0}]},"messages":[{"message":"String"}],"results":{"selectedDiagnosisTotal":{"count":0},"selectedDiagnosisPageset":{"diagnosis":[{"id":0,"code":"String","codeAlt":"String","desc":"String"}]},"selectedConcepts":{"conceptType":[{"type":"String","typeID":0,"count":0,"concepts":{"concept":[{"id":0,"desc":"String","count":0,"hasInfo":false}]}}]},"infoNodes":{"info":[{"typeID":0,"type":"String","label":"String","title":"String","description":"String"}]},"instructions":{"type":"String","instructionType":[{"type":"String","instruction":[{"instruction":"String","codeRanges":"String"}]}]}}},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String"}]}}