I am making software for patients in hospitals. I want to make an option that if a doctor has prescribed a drug that interacts with another drug that the patient already uses, a warning will appear explaining that the two drugs shouldn't be administered together.
There will be data in the database for every drug, with its composition and its interactions with other drugs.
How can I link between drug interactions and make that feature possible in my design?
- patient: Albert Ricky
- diagnosis: asthmatic patient
- treatment: salbutamol inhalation
When salbutamol is written in the patient profile in the database, a warning message should appear:
WARNING: that patient has been prescribed atenolol since 10-9-2010 as a hypertensive drug and that interacts with salbutamol, causing a severe rash and swollen edema.