public interface InteractionService
| Modifier and Type | Method and Description |
|---|---|
InteractionDrugResponse |
findDrugInteractions(java.lang.String rxcui)
Get the drug interactions for a specified drug.
|
InteractionListResponse |
findInteractionsFromList(java.util.List<java.lang.String> rxcuis)
Find the interactions between a list of drugs.
|
InteractionListResponse findInteractionsFromList(java.util.List<java.lang.String> rxcuis) throws java.io.IOException
rxcuis - the list of RxNorm drugs, specified by the RxNorm identifiers. The identifiers can represent
ingredients (e.g. simvastatin), brand names (e.g. Tylenol) or branded or clinical drugs (e.g.
Morphine 50 mg oral tablet). A maximum of 50 identifiers is allowed.java.io.IOExceptionInteractionDrugResponse findDrugInteractions(java.lang.String rxcui) throws java.io.IOException
rxcui - the RxNorm identifier of the drug.java.io.IOException