Docstoc

DecisionPatientTherapyxls - OpenRules.xls

Document Sample
DecisionPatientTherapyxls - OpenRules.xls Powered By Docstoc
					Decision DeterminePatientTherapy
           Decisions                       Execute Rules
Define Medication             := DefineMedication()
Define Creatinine Clearance   := CalculateCreatinineClearance()
Define Dosing                 := DefineDosing()
Check Drug Interaction        := WarnAboutDrugInteraction()
DT DefineMedication
           Condition             Condition       Condition                 Conclusion
                                                                         Recommended
      Encounter Diagnosis    Patient Age     Patient Allergies
                                                                          Medication
                                             Do not
 Is        Acute Sinusitis   >=       18               Penicillin   Is      Amoxicillin
                                             include
                                             Do not
 Is        Acute Sinusitis   <        18               Penicillin   Is      Cefuroxime
                                             include
 Is        Acute Sinusitis                   Include   Penicillin   Is      Levofloxacin
DT DefineDosing
  Condition         Condition      Condition    Condition           Conclusion
                                    Patient      Patient
  Encounter
                   Patient Age     Creatinine   Creatinine    Recommended Dose
  Diagnosis
                                     Level      Clearance
       Acute                                                      500mg every 24 hours
 Is               Within 15 - 60                             Is
      Sinusitis                                                       for 14 days
       Acute                                                      250mg every 24 hours
 Is                                >    1.4     <     50     Is
      Sinusitis                                                       for 14 days
       Acute
 Is                                                          Is      Not defined yet
      Sinusitis
DT CalculateCreatinineClearance
                              Conclusion
                     Patient Creatinine Clearance

      ::= (140 - getInt("Patient Age") ) * getReal("Patient Weight") /
 Is
      (getReal("Patient Creatinine Level") * 72)
DT WarnAboutDrugInteraction
        Condition               Condition                     Message
      Recommended             Patient Active
                                                               Warning
       Medication              Medication
                                               Coumadin and Levofloxacin can result in
 Is      Levofloxacin    Is       Coumadin
                                               reduced effectiveness of Coumadin.
Glossary glossary
         Variable Name         Business Concept             Attribute
Encounter Diagnosis                               encounterDiagnosis
Recommended Medication            Doctor Visit    recommendedMedication
Recommended Dose                                  recommendedDose
Patient Age                                       age
Patient Weight                                    weight
Patient Allergies                                 allergies
                                    Patient
Patient Creatinine Level                          creatinineLevel
Patient Creatinine Clearance                      creatinineClearance
Patient Active Medication                         activeMedication
Datatype Patient                                    Datatype DoctorVisit
String       name                                   Date               date
int          age                                    String             encounterDiagnosis
double       creatinineLevel                        String             recommendedMedicatio
double       creatinineClearance                    String             n
                                                                       recommendedDose
String[]     allergies
double       weight
String       activeMedication




Data Patient patients
   name                   age          allergies     creatinineLevel    creatinineClearance

   Name                   Age         Allergies     Creatinine Level   Creatinine Clearance
                                       Penicillin
John Smith                58                              2.00                46.50
                                     Streptomycin
Mary Smith                65                              1.80                48.75




Data DoctorVisit visits
                                   recommendedMed recommendedDos
    date      encounterDiagnosis
                                        ication         e
                  Encounter         Recommended    Recommended
    Date
                  Diagnosis           Medication       Dose
 2/15/2011       Acute Sinusitis           ?            ?
 2/25/2011       Acute Sinusitis           ?            ?
                             Medications
                                None
                              Amoxicillin
                             Cefuroxime
                             Levofloxacin
                              Coumadin
                               Penicillin

                               Problems
                             Acute Sinusitis



weight    activeMedication

Weight   Active Medication

  78         Coumadin
  83
DecisionObject decisionObjects
  Business Concept           Business Object
Patient                := patients[0]
Doctor Visit           := visits[0]
Environment
include       ../../openrules.config/DecisionTemplates.xls

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:8/9/2012
language:English
pages:10
suchufp suchufp http://
About