VitalWare API

<back to all web services

CodeCheck

The following routes are available for this service:
POST/codecheck/codecheckValidates NCD/LCDValidates NCD/LCD
Parameters:
NameParameterData TypeRequiredDescription
providerTypepathstringNoProvider Type. H = Hospital, P = Physician
codeCheckTypespathListNoCode Check Types (NCD and/or LCD)
cptCodespathListNoCPT Codes (max of 50)
contractorNumberpathstringNoContractor Number
contractorTypepathstringNoContractor Type
contractorTypeNamepathstringNoContractor Type Name
effectiveDatepathDateTimeNoEffective Date
icdCodespathListNoICD9/10 Codes
icdTypepathstringNoICD Type (icd-9 cm or icd-10 cm)
statepathstringNoState (ex: WA)

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

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/CodeCheck HTTP/1.1 
Host: api.vitalware.com 
Content-Type: application/xml
Content-Length: length

<CodeCheck xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <codeCheckTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </codeCheckTypes>
  <contractorNumber>String</contractorNumber>
  <contractorType>String</contractorType>
  <contractorTypeName>String</contractorTypeName>
  <cptCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </cptCodes>
  <effectiveDate>0001-01-01T00:00:00</effectiveDate>
  <icdCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </icdCodes>
  <icdType>String</icdType>
  <providerType>String</providerType>
  <state>String</state>
</CodeCheck>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CodeCheckResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Vw.Api.ServiceModel.App.CodeCheck">
  <Request>
    <codeCheckTypes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="">
      <d3p1:string>String</d3p1:string>
    </codeCheckTypes>
    <contractorNumber xmlns="">String</contractorNumber>
    <contractorType xmlns="">String</contractorType>
    <contractorTypeName xmlns="">String</contractorTypeName>
    <cptCodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="">
      <d3p1:string>String</d3p1:string>
    </cptCodes>
    <effectiveDate xmlns="">0001-01-01T00:00:00</effectiveDate>
    <icdCodes xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="">
      <d3p1:string>String</d3p1:string>
    </icdCodes>
    <icdType xmlns="">String</icdType>
    <providerType xmlns="">String</providerType>
    <state xmlns="">String</state>
  </Request>
  <Response>
    <results>
      <rootResults>
        <codes>
          <rootResultsCode>
            <code>String</code>
            <codeId>0</codeId>
            <codeType>String</codeType>
            <description>String</description>
          </rootResultsCode>
        </codes>
        <issues>
          <rootResultsIssue>
            <code>String</code>
            <codeId>0</codeId>
            <editId>0</editId>
            <policy>String</policy>
            <policyId>0</policyId>
            <policyName>String</policyName>
            <policyType>String</policyType>
            <reason>String</reason>
            <status>String</status>
            <statusId>0</statusId>
            <type>String</type>
            <version>0</version>
          </rootResultsIssue>
        </issues>
        <primaryCode>0</primaryCode>
        <primaryCodeId>0</primaryCodeId>
        <status>String</status>
        <statusId>0</statusId>
      </rootResults>
    </results>
  </Response>
  <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>
</CodeCheckResponse>