|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aetna.api.hhs.HHSAPI
public class HHSAPI
HHS application program interface java endpoitns.
| Constructor Summary | |
|---|---|
HHSAPI(java.lang.String apiKey)
|
|
| Method Summary | |
|---|---|
java.util.List<Alternative> |
getAllAlternatives(java.lang.String nda)
Retrieves alternative therapies for the provided |
java.util.List<DrugNDC> |
getAllDrugByNDC(java.lang.String ndc2)
Retrieves a list of drugs according to the NC2 segment with its package info and imprints |
java.util.List<DrugImage> |
getAllDrugImages(java.lang.String ndc2)
Retrieves a list of images of the drugs for the given NDC2 segment |
java.util.List<DrugPackageInfo> |
getAllDrugPackageInfo(java.lang.String ndc2,
java.lang.String ndc3)
Retrieves the package info of drug according to the given NDC2 segment and the NDC3 segment |
java.util.List<Nda> |
getAllNDA(java.lang.String nda)
Retrieves a list of NDAs based on the NDA supplied |
java.lang.String |
getApiKey()
Retrieve current api key that was specified |
java.util.List<Document> |
getDocuments(java.lang.String nda)
Retrieves list of Drug Documents |
java.util.List<ART> |
listARTs(java.util.Map<java.lang.String,java.lang.String> searchParameter,
boolean exactMatch)
Finds a ART based on the given parameter and value |
ClinicalTrialsSearch |
listClinicalTrials(java.util.Map<java.lang.String,java.lang.String> searchParameter)
Finds a Clinical Trial based on the given parameter and value |
java.util.List<ClinicalTrialsNCTID> |
listClinicalTrialsNCTID(java.lang.String nctid)
Finds clinical trials information according to the registry number indicated |
java.util.List<DrugResource> |
listDrugResources(java.lang.String nda)
Retrieves a list of DrugResources InvalidCredentialException |
java.util.List<DrugSearch> |
listDrugs(java.lang.String drugName)
Finds a drug based on drug name |
java.util.List<FDARecallSearch> |
listFDARecall(java.util.Map<java.lang.String,java.lang.String> searchParameter)
Finds a FDA Recall based on the given parameter and value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HHSAPI(java.lang.String apiKey)
apiKey - the API key| Method Detail |
|---|
public java.lang.String getApiKey()
public java.util.List<Document> getDocuments(java.lang.String nda)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
nda - The NDA code
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<Nda> getAllNDA(java.lang.String nda)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
nda - The NDA code
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<Alternative> getAllAlternatives(java.lang.String nda)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
nda - The NDA code
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<DrugResource> listDrugResources(java.lang.String nda)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
nda - The NDA code
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<DrugSearch> listDrugs(java.lang.String drugName)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
drugName - The drug name
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<DrugImage> getAllDrugImages(java.lang.String ndc2)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
ndc2 - the given NDC2 segment
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<DrugNDC> getAllDrugByNDC(java.lang.String ndc2)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
ndc2 - the NDC two segment
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<DrugPackageInfo> getAllDrugPackageInfo(java.lang.String ndc2,
java.lang.String ndc3)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
ndc2 - the NDC two segmentndc3 - the NDC three segment
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<ART> listARTs(java.util.Map<java.lang.String,java.lang.String> searchParameter,
boolean exactMatch)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
searchParameter - the parameters for the ART search. The values are represented
in a map where the parameter is the key and parameter's value
is the valueexactMatch - true if and only if it requires exact match.
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<ClinicalTrialsNCTID> listClinicalTrialsNCTID(java.lang.String nctid)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
nctid - The NCT id
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public ClinicalTrialsSearch listClinicalTrials(java.util.Map<java.lang.String,java.lang.String> searchParameter)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
searchParameter - the parameters for the clinical trials search. The values are
represented in a map where the parameter is the key and
parameter's value is the value
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
public java.util.List<FDARecallSearch> listFDARecall(java.util.Map<java.lang.String,java.lang.String> searchParameter)
throws InvalidCredentialException,
java.io.IOException,
java.net.MalformedURLException
searchParameter - the parameters for the clinical trials search. The values are
represented in a map where the parameter is the key and
parameter's value is the value
InvalidCredentialException
java.io.IOException
java.net.MalformedURLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||