Class DrugInteractionChecker
java.lang.Object
org.episteme.natural.medicine.DrugInteractionChecker
Utility for checking potential drug-drug interactions.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordRepresents a specific interaction between two drugs.static enumSeverity levels for drug interactions. -
Method Summary
Modifier and TypeMethodDescriptioncheckInteractions(Collection<Medication> medications) Checks for potential interactions within a list of medications.
-
Method Details
-
checkInteractions
public static List<DrugInteractionChecker.InteractionAlert> checkInteractions(Collection<Medication> medications) Checks for potential interactions within a list of medications.- Parameters:
medications- the list of medications to check- Returns:
- a list of identified interaction alerts
-