Returns a comprehensive dataset with concept and code information | |
Returns a comprehensive dataset with concept and code information | Search string can be directly within the URL as part of the path |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
codeSet | path | string | No | Code set to search; allows "ICD-10 CM", "ICD-10 PCS", or "ICD-9 CM"; defaults to "ICD-10 CM" |
includeIndex | path | bool | No | True to include the ICD index when performing searches (expands results) |
search | path,query | string | Yes | Primary search phrase |
conceptIdList | path | int[] | No | Array of concept ID's to further limit the primary search phrase |
dateOfService | path | date | No | Returns code specific information valid as of this date (defaults to the current date) |
startRow | path | int | No | Controls the start row of the code results, typically used in pagination scenarios |
endRow | path | int | No | Controls the maximum number of codes returned, defaults to 10 |
callerUid | path | string | No | Client 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. |
includeUnspecifiedConcepts | path | string | No | Include the unspecified concepts |
To override the Content-type in your clients, use the HTTP Accept Header, append the .soap12 suffix or ?format=soap12
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /soap12 HTTP/1.1
Host: api.vitalware.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<SherpaSearch xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">
<callerUid>String</callerUid>
<codeSet>String</codeSet>
<conceptIdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</conceptIdList>
<dateOfService>0001-01-01T00:00:00</dateOfService>
<endRow>0</endRow>
<includeIndex>false</includeIndex>
<includeUnspecifiedConcepts>false</includeUnspecifiedConcepts>
<search>String</search>
<startRow>0</startRow>
</SherpaSearch>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/xml Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <SherpaSearchResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack"> <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types"> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:Message>String</d2p1:Message> <d2p1:StackTrace>String</d2p1:StackTrace> <d2p1:Errors> <d2p1:ResponseError> <d2p1:ErrorCode>String</d2p1:ErrorCode> <d2p1:FieldName>String</d2p1:FieldName> <d2p1:Message>String</d2p1:Message> </d2p1:ResponseError> </d2p1:Errors> </ResponseStatus> <request> <callerUid>String</callerUid> <codeSet>String</codeSet> <conceptIdList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d3p1:int>0</d3p1:int> </conceptIdList> <dateOfService>0001-01-01T00:00:00</dateOfService> <endRow>0</endRow> <includeIndex>false</includeIndex> <includeUnspecifiedConcepts>false</includeUnspecifiedConcepts> <search>String</search> <startRow>0</startRow> </request> <result> <Messages> <SherpaMessage> <Message>String</Message> </SherpaMessage> </Messages> <Results> <Instructions> <InstructionType> <SherpaInstructionType> <Instruction> <SherpaInstruction> <codeRanges>String</codeRanges> <instruction>String</instruction> </SherpaInstruction> </Instruction> <type>String</type> </SherpaInstructionType> </InstructionType> <type>String</type> </Instructions> <SelectedConcepts> <ConceptType> <SherpaConceptType> <Concepts> <Concept> <SherpaConcept> <count>0</count> <desc>String</desc> <hasInfo>false</hasInfo> <id>0</id> </SherpaConcept> </Concept> </Concepts> <count>0</count> <type>String</type> <typeID>0</typeID> </SherpaConceptType> </ConceptType> </SelectedConcepts> <SelectedDiagnosisPageset> <Diagnosis> <SherpaDiagnosis> <code>String</code> <codeAlt>String</codeAlt> <desc>String</desc> <id>0</id> </SherpaDiagnosis> </Diagnosis> </SelectedDiagnosisPageset> <SelectedDiagnosisTotal> <count>0</count> </SelectedDiagnosisTotal> <infoNodes> <Info> <SherpaResultInfo> <description>String</description> <label>String</label> <title>String</title> <type>String</type> <typeID>0</typeID> </SherpaResultInfo> </Info> </infoNodes> </Results> </result> </SherpaSearchResponse> </soap12:Body> </soap12:Envelope>