allergic - an allegic of the patient to medicaments.
weight - a weight of the patient.
diagnosis - an diagnosis made by a doctor.
creatinineLevel - one of the medicals factors.
creatinineClearance - the second of the medicals factors, that can be calculated with the help of creatinineLevel factor.
medication - the name of the drug prescribed by a doctor.
dose - the amount of the drug prescribed by a doctor.
Relations:
age → creatinineClearance
age → dose
age → medication
allergic → medication
diagnosis → medication
weight → creatinineClearance
creatinineLevel → creatinineClearance
creatinineLevel → dose
creatinineClearance → dose
medication → dose
Original Rules
The following description of system behaviour comes from OpenRules:
Additionaly the screenshots from the calculation sheet, which contains the rules grupped into tables are also provided:
And the original sheet from OpenRules can be downloaded here
Observations
In this example it is possible to distinguish two independent subsystems.
One chooses type of medicaments, second sets medicaments dosing.
The type of medicaments doesn't influence dosing.