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

{
	providerType: String,
	codeCheckTypes: 
	[
		String
	],
	cptCodes: 
	[
		String
	],
	contractorNumber: String,
	contractorType: String,
	contractorTypeName: String,
	effectiveDate: 0001-01-01,
	icdCodes: 
	[
		String
	],
	icdType: String,
	state: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	request: 
	{
		providerType: String,
		codeCheckTypes: 
		[
			String
		],
		cptCodes: 
		[
			String
		],
		contractorNumber: String,
		contractorType: String,
		contractorTypeName: String,
		effectiveDate: 0001-01-01,
		icdCodes: 
		[
			String
		],
		icdType: String,
		state: String
	},
	response: 
	{
		results: 
		[
			{
				status: String,
				statusId: 0,
				primaryCodeId: 0,
				primaryCode: 0,
				codes: 
				[
					{
						codeId: 0,
						code: String,
						codeType: String,
						description: String
					}
				],
				issues: 
				[
					{
						type: String,
						codeId: 0,
						code: String,
						reason: String,
						policy: String,
						policyId: 0,
						policyType: String,
						policyName: String,
						editId: 0,
						status: String,
						statusId: 0,
						version: 0
					}
				]
			}
		]
	},
	responseStatus: 
	{
		errorCode: String,
		message: String,
		stackTrace: String,
		errors: 
		[
			{
				errorCode: String,
				fieldName: String,
				message: String
			}
		]
	}
}