com.aetna.api.ecc
Class ECCApi

java.lang.Object
  extended by com.aetna.api.ecc.ECCApi

public class ECCApi
extends java.lang.Object


Constructor Summary
ECCApi(java.lang.String apiKey)
           
 
Method Summary
 java.lang.String getApiKey()
          Retrieve current api key that was specified
 java.util.List<Categories> listCategories()
          Retrieve list of catergories
 java.util.List<Cpt> listECCDentalCPTCodes()
          Retrieve a list of all Dental's CPT codes with your short and long description
 java.util.List<CostCareInformation> listECCDentalInformation(java.lang.String cdt, java.lang.String zip)
          Retrieve the Dental Estimated Cost of Care Information based on the CPT, ZIP
 java.util.List<CostCareInformation> listECCDentalInformation(java.lang.String cdt, java.lang.String lat, java.lang.String lng)
          Retrieve the Dental Estimated Cost of Care Information based on the CPT, LAT, LNG
 java.util.List<Cpt> listECCMedCPTCodes()
          Retrieve a list of all Medical's CPT codes with your short and long description
 java.util.List<CostCareInformation> listECCMedicalInformation(java.lang.String cpt, java.lang.String zip)
          Retrieve the Medical Estimated Cost of Care Information based on the CPT, ZIP
 java.util.List<CostCareInformation> listECCMedicalInformation(java.lang.String cpt, java.lang.String lat, java.lang.String lng)
          Retrieve the Medical Estimated Cost of Care Information based on the CPT, LAT, LNG
 java.util.List<Categories> retrieveSubCategories(java.lang.String category)
          Retrieve list of subcategories
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECCApi

public ECCApi(java.lang.String apiKey)
Parameters:
apiKey - the API key
Method Detail

getApiKey

public java.lang.String getApiKey()
Retrieve current api key that was specified

Returns:
apiKey

listECCMedicalInformation

public java.util.List<CostCareInformation> listECCMedicalInformation(java.lang.String cpt,
                                                                     java.lang.String lat,
                                                                     java.lang.String lng)
                                                              throws InvalidCredentialException,
                                                                     java.io.IOException,
                                                                     java.net.MalformedURLException
Retrieve the Medical Estimated Cost of Care Information based on the CPT, LAT, LNG

Parameters:
cpt - Current procedural terminology code
lat - Degrees latitude
lng - Degrees longitude
Returns:
List
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

listECCMedicalInformation

public java.util.List<CostCareInformation> listECCMedicalInformation(java.lang.String cpt,
                                                                     java.lang.String zip)
                                                              throws InvalidCredentialException,
                                                                     java.io.IOException,
                                                                     java.net.MalformedURLException
Retrieve the Medical Estimated Cost of Care Information based on the CPT, ZIP

Parameters:
cpt - Current procedural terminology code
zip - the Zip code
Returns:
List
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

listECCMedCPTCodes

public java.util.List<Cpt> listECCMedCPTCodes()
                                       throws InvalidCredentialException,
                                              java.io.IOException,
                                              java.net.MalformedURLException
Retrieve a list of all Medical's CPT codes with your short and long description

Returns:
List listECCCPTCodes()
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

listECCDentalInformation

public java.util.List<CostCareInformation> listECCDentalInformation(java.lang.String cdt,
                                                                    java.lang.String lat,
                                                                    java.lang.String lng)
                                                             throws InvalidCredentialException,
                                                                    java.io.IOException,
                                                                    java.net.MalformedURLException
Retrieve the Dental Estimated Cost of Care Information based on the CPT, LAT, LNG

Parameters:
cdt - Current dental terminology code
lat - Degrees latitude
lng - Degrees longitude
Returns:
List
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

listECCDentalInformation

public java.util.List<CostCareInformation> listECCDentalInformation(java.lang.String cdt,
                                                                    java.lang.String zip)
                                                             throws InvalidCredentialException,
                                                                    java.io.IOException,
                                                                    java.net.MalformedURLException
Retrieve the Dental Estimated Cost of Care Information based on the CPT, ZIP

Parameters:
cdt - Current dental terminology code
zip - the Zip code
Returns:
List
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

listECCDentalCPTCodes

public java.util.List<Cpt> listECCDentalCPTCodes()
                                          throws InvalidCredentialException,
                                                 java.io.IOException,
                                                 java.net.MalformedURLException
Retrieve a list of all Dental's CPT codes with your short and long description

Returns:
List listECCCPTCodes()
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

listCategories

public java.util.List<Categories> listCategories()
                                          throws InvalidCredentialException,
                                                 java.io.IOException,
                                                 java.net.MalformedURLException
Retrieve list of catergories

Returns:
List
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException

retrieveSubCategories

public java.util.List<Categories> retrieveSubCategories(java.lang.String category)
                                                 throws InvalidCredentialException,
                                                        java.io.IOException,
                                                        java.net.MalformedURLException
Retrieve list of subcategories

Parameters:
category - the Category name
Returns:
List
Throws:
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException