https://openrulesdecisionmanager.com/business-decision-models/decision-model-patient-therapy/ Table 0: Determine patient therapy If: | 0| 1| 1| 2| 3| 'Doctor has determined Acute Sinusitus' | Y| Y| Y| Y| N| 'Medication has been determined' | Y| Y| Y| N| -| Dosage is Full | Y| N| N| -| -| Dosage is Half | -| Y| N| -| -| Then: Therapy is Full_Dosage | X| | | | | Therapy is Half_Dosage | | X| | | | Therapy is No_Dosage_Determined | | | X| | | Therapy is Not_Applicable | | | | | X| # ....... GoalAttribute: Therapy Case: Full_Dosage Print: "---------------------------------------------------------" Print: "Recommended Medication: %s." Medication Print: "500mg every 24 hours for 14 days" Print: "---------------------------------------------------------" Case: Half_Dosage Print: "---------------------------------------------------------" Print: "Recommended Medication: %s." Medication Print: "250mg every 24 hours for 14 days" Print: "---------------------------------------------------------" Print: "Calculated Creatinine Clearance: %s" Patient_Creatine_Clearance Case: No_Dosage_Determined Print: "---------------------------------------------------------" Print: "Recommended Medication: %s." Medication Print: "The dosage could not be determined due to a lack" Print: "of rules for determining the dosage." Print: "---------------------------------------------------------" Case: Not_Applicable Print: "---------------------------------------------------------" Print: "Sorry, this decision model can handle only Acute Sinusitus " Print: "---------------------------------------------------------" Proposition: 'Doctor has determined Acute Sinusitus' Askable_using: "**?" rTable 1: Medication has been determined If: | 0| 1| 2| Medication is Amoxicillin | Y| N| N| Medication is Cefuroxime | -| Y| N| Medication is Levofloxacin | -| -| Y| Then: 'Medication has been determined' | X| X| X| # ....... Table 2: Determine Medication If: | 0| 1| 2| 'Patient is allergic to Penicillin' | Y| N| N| Age >= 18 | -| Y| N| Then: Medication is Levofloxacin | X| | | Medication is Amoxicillin | | X| | Medication is Cefuroxime | | | X| # ....... Proposition: 'Patient is allergic to Penicillin' Askable_using: "**?" rTable 3: Determine Full Dosage If: | 0| Age >= 15 | Y| Age <= 60 | Y| Then: Dosage is Full | X| # ....... rTable 4: Determine Halved Dosage If: | 0| Patient_Creatine_Level > 1.4 | Y| Patient_Creatine_Clearance < 50.0 | Y| Then: Dosage is Half | X| # ....... rTable 5: Drug interaction If: | 0| 'Doctor has determined Acute Sinusitus' | Y| Medication is Levofloxacin | Y| Active_Medication is Courmadin | Y| Then: 'Drug interaction warning' | X| # ....... GoalProposition: 'Drug interaction warning' Print: "Warning: Coumadin and Levofloxacin can result in reduced effectiveness of Coumadin." Attribute: Active_Medication Askable_using: "Is the patient on medication now?" Attribute: Age Askable_using: "What is the years of age of the patient?" Attribute: Weight Type: Real Askable_using: "What is the weight of the patient?" Attribute: Patient_Creatine_Level Askable_using: "What is the creatine level of the patient?" Attribute: Patient_Creatine_Clearance Derived_from_formula: (140 - Age) * Weight / (Patient_Creatine_Level*72)