Comp Analytics API is structured around REST and specifically the POST method. The API accepts json-encoded request bodies and return JSON encoded responses. Standard HTTP response codes are returned.
Provider Analysis
REQUEST
Endpoint: https://comp-analytics.com/compapp/api/request_icd.php
Method: POST
Content-Type: application/json
Parameters:
jwt | string | Login Token |
icd1 | string | ICD10 code |
icd2 | string | ICD10 code |
icd3 | string | ICD10 code |
icd4 | string | ICD10 code |
icd5 | string | ICD10 code |
RESPONSE
Returns JSON encoded dictionary with the following values:
message | string | Informational Message | |
icd_response | dictionary with results | ||
mincharge | string | Minimum Provider Charge | |
maxcharge | string | Maximum Provider Charge | |
avgcharge | string | Average Provider Charge | |
minpaid | string | Minimum Provider Payment | |
maxpaid | string | Maximum Provider Payment | |
avgpaid | string | Average Provider Payment | |
minbills | string | Minimum Number of Bills per Injury | |
maxbills | string | Maximum Number of Bills per Injury | |
avgbills | string | Average Number of Bills per Injury | |
mediancharge | string | Median Provider Charge | |
medianpaid | string | Median Provider Payment | |
medianbillcount | string | Median Number of Bills per Injury | |
trendarray | dictionary with per injury detail | ||
AVG_Charge | string | Average Charge for Injury | |
AVG_Paid | string | Average Paid for Injury | |
AgeMonths | string | Age for Injury | |
Date_of_Injury | string | Date of Injury | |
Claim_Number | string | Injury Identifier |
{ "message":"Procedure request was updated.", "icd_response":{ "mincharge":"75", "maxcharge":"2337962.5", "avgcharge":"18613.629306027065", "minpaid":"0", "maxpaid":"208098.265625", "avgpaid":"4103.81906372549", "minbills":"1", "maxbills":"268", "avgbills":"10.701717490361023", "mediancharge":"4483.2", "medianpaid":"1163.91", "medianbillcount":"4", "trendarray":[ {"AVG_Charge":"5785", "AVG_Paid":"1838", "AgeMonths":"5", "Date_of_Injury":"201905", "Claim_Number":"Claim1" }, {"AVG_Charge":"5974", "AVG_Paid":"1260", "AgeMonths":"6", "Date_of_Injury":"201904", "Claim_Number":"Claim1" } ] } }