All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openl.rules.examples.healthcare.rules.HealthCare.xls Maven / Gradle / Ivy

??ࡱ?>??	*????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????)	

 !"#$%&'(????3<,-./0124?56789:;=????>@????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????Root Entry???????? ?F???:???4v:[??+?%Workbook?????????L_VBA_PROJECT_CUR"???D??e+?D??VBA???????????D?? ??D??	????????\pStanislav Shor                                                                                               B?a?=
???ThisWorkbook???=??$X/?#8i@?"??1???Arial1???Arial1???Arial1???Arial1???Arial1??Arial1?$?Arial1?	?Arial1?	?Arial1?Q?Tahoma1?Q?Tahoma1???Arial1?	?Arial"$"#,##0_);\("$"#,##0\)!"$"#,##0_);[Red]\("$"#,##0\)""$"#,##0.00_);\("$"#,##0.00\)'""$"#,##0.00_);[Red]\("$"#,##0.00\)7*2_("$"* #,##0_);_("$"* \(#,##0\);_("$"* "-"_);_(@_).))_(* #,##0_);_(* \(#,##0\);_(* "-"_);_(@_)?,:_("$"* #,##0.00_);_("$"* \(#,##0.00\);_("$"* "-"??_);_(@_)6+1_(* #,##0.00_);_(* \(#,##0.00\);_(* "-"??_);_(@_)?"Yes";"Yes";"No"?"True";"True";"False"?"On";"On";"Off"]?,[$? -2]\ #,##0.00_);[Red]\([$? -2]\ #,##0.00\)??? ? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ??? ?? ? ? ?+?? ?? ?)?? ?? ?,?? ?? ?*?? ?? ????? ????? ?	?? ?? ?p@ @ ? ?? ?? ?x@ @ * ?x@ @  ?0@ @ ? ?x@ @ , ?x@ @ , ?p@ @ + ?p@ @ + ?x@ @ + ?x@ @ , ?x@ @ , ?t@ @ ? ?x@ @ , ?t@ @ ? ?"8@ @ ? ?
x@ @  ?p@ @ ) ?p? ?x""@ @ , ?x"@ ? ?p"@ @ ? ?p"@ @? ?p"!@ @ ? ?p@ @+ ?p@ @ ? ?p!@ @ ? ?p@ @ ? ?p@  ? ?x"@ @ * ?x"@ @ * ?x!"@ @  ?p@ @ + ?p!@ @ + ?p@ @+ ?p!@ @+ ? `@ @ ) ?x  ?p@ @? ?p@ ? ?p @  ? ?x@@  ?x@  ?x  @  ?p@ ? ?p @  ? ?p!@ ? ?p! @  ? ?p!@ @? ?p@ @? ?t@ @? ?t@  ? ?x@@  ?x@  ?p@ @? ?p@  ? ?t@ @? ?x@ @  ?x@@ ?x  @ ?!x  ?
x   ?p""@ @ ) ??????????????	??????????`?;Medication Rules?m"Dosing Rules??6Drug Interaction??=Data??C	Datatypes??GMethods?JEnvironment??%medications;	problems??`i?r?j?03???A?@@?
???
?dC1C2C3C4A1
int minAgeIf patient is older thanIf patient is younger thanIf Encounter diagnosis isAcute SinusitisAmoxicillin
CefuroximeIf patient is allergic toLevofloxacinpatient.age > minAgepatient.age <= maxAge	String Dx#visit.encounterDiagnosis.equals(Dx)Coumadin
int maxAge
PenicillinString allergy#contains(patient.allergies,allergy)String  medicationDefine MedicationProduce WarningJCoumadin and Levofloxacin can result in reduced effectiveness of Coumadin.Recommended Dose*If patient's Creatinine Level is more than.If patient's Creatinine Clearance is less than
Not Known YetDatatype PatientStringnameintagedoublecreatinineLevelcreatinineClearanceString[]	allergiesDatatype VisitDatedateencounterDiagnosis
medicationdose:Rules void recommendTherapy(Patient patient, Visit visit) 	visit.medication = medicationData Patient patientsNameAge	Allergies
John Smith
Mary SmithCreatinine LevelData Visit visitsEncounter DiagnosisStreptomycinMethod void main(String[] args)	
7Rules void recommendDose(Patient patient, Visit visit) 	9Rules void drugInteraction(Patient patient, Visit visit) 	C5%creatinineClearance(patient) < ccrMaxString  dosepatient.creatinineLevel > clMinvisit.dose = dosedouble clMin
double ccrMax?patient.creatinineClearance = 
    (140 - patient.age) * patient.weight / (patient.creatinineLevel * 72);
return patient.creatinineClearance;2Method double creatinineClearance(Patient patient)	!
weightWeight 500mg every 24 hours for 14 days 250mg every 24 hours for 14 days2If recommended medication is one of the following String[] medicationsMedicationsNone#&contains(medications,visit.medication)String medication1String medication2String warning$visit.medication.equals(medication1)Recommended MedicationActive Medication,patient.activeMedication.equals(medication2)activeMedication?Patient patient = patients[0];
Visit visit = visits[0];
recommendTherapy(patient,visit);
recommendDose(patient,visit);
System.out.println("*** " + patient + "\n*** " + visit); 
drugInteraction(patient,visit);8HYfw??+System.out.println("*** Warning: "+warning)Environmentlanguageorg.openl.rules.java/Method boolean contains(String[] ary, String s)4Method boolean contains(String[] ary, String[] ary2)Zfor(int ii = 0; ii < ary.length; ++ii)
  if (ary[ii].equals(s)) return true;
return false;bfor(int ii = 0; ii < ary2.length; ++ii)
  if (!contains(ary, ary2[ii])) return false;
return true;Method void out(Object o)System.out.println(o)?j?Fj?
???????(<Tx,???	cc?
	????

;!
d????MbP?_*+??%????MHP LaserJet 6L?4C??
odXXLetter????DINU"4?`f?"d??,????U}q}?}?}?}?}?}}?}	
?@?a!J?	?
=/?====?
!?
!?
!?
!?
!?
?
?
?
?
0?
 ?
 ?
 ?
 ?
 ?
?
?
?
?
?
	~
1@?
?
	~
1@?
?

?
		?
	?
	?
	
??? FFFF>8?P?H??0?(	?
?>?@?
?7??????+#	?+#	?	Sheet2
	????o+M2
d????MbP?_*+??%????MBhp deskjet 3600 series!@?d߀?
od??B?e?????RLd????Arial???H?B?e??ں?ں\\JACOB\hp deskjet 3600 series,LocalOnly,DrvConvert?r?*???XX?"d??,????U}q}U}? }q
}?
}}?}U}q}		}

?}	?@ ?@ h????? ,? ,@,@	;@ 
@@@ 
@  ??
A<?BBBBBC8?
8?
 ?
 ?
 ?
 >?
98?
8P?
 ?
 ?
 A?
 ??
9B:?
:L?
0?
0?
0C?
0D?
;@?
5O?
5K?
6?
6?
6?
6?
7~
????
4
D~
D.@?
DD?
F??
1?DDDDF	@?
	2
?	EEEEG~

>@?

3
~

IN@?
III?

H??
1?DDDDF@?
2
?EEEEG~

>@?

3
?
I.@IN@?

II?

HI??
1?DDDDF@?
2
?EEEEG~
?@?
4
?D.@DN@D?a@DI@?
FJ??
1?DDDDF@?
2
?EEEEG?*******?*******?.?$^^^bP,,H,,N,,L,,???` ?
?H?(	?
????
?
??B??I????
X?P?P??????	???]4@?I??/
Id?ԤA??v??cd?
??-<.[M]:
Add here the actual doses for other ages<
?-!?????
?
??B?0J????
X?P?P??????	???]4@0J?L/
4?s???N????????
??-<.[M]:
Add here the actual doses for other ages<
?-!
Jacob Feldmanl

Jacob Feldmanl>?@??











						?7??????3#?	Sheet1
	?????:?<
d????MbP?_*+??%????MHP LaserJet 6L?4C??
odXXLetter????DINU"4?`f?"d??,????U}q}}}?"}}?}	!?a!?@?
==?
==?
!?
!?
!?
!T?
!W?
!Z?
!Q?
!R?
!S?
U?
V?
?

?
?
?fd****?P?H0??0?(	?
?>?@?
?7??????+#?	Sheet3
	????C>?B
d????MbP?_*+??%?????"????U}U}?
}?}U}q}U}U??
?????
?@
?
L1?MMMMM??
"!?
"#?
"G?
"%?
"X?
"(???
#2?
#3?
#H?
#7?
#V?
#4???
N5?NM@N?S@J@?
J?
$???OOOK?
K?
':???
6?3@O@$?f@?$$??

L8
M?
"+?
%,?
#*?
9~

P??@?

N	
*?OO*~
&@??@?
	*???@||nVV&?P?H@??0?(	?
?>?@?J	



?7??????+#
	????	?DCG
d????MbP?_*+??%?????"????U}U}?
}?}}}U	 ?@?
QQ?
R)S?
 ?
!?
*?
+?
"?
#?
 ?
,?
$?
%?
 ?
-?
$?
&?
 ?
.?
'?
(?
$?
G?
 ?
X??08888>?@


??7
	????fH?I
d????MbP?_*+??%?????"????U}?<}.?@?@?@?@?@ ?@   ?
(;?
)Y?
(F?
)E?
U^?
U_?
V`?
Va?
Ub?
Vc?,?>?@?7
	????
?JkL
d????MbP?_*+??%?????"????U}}
  	 ?
T[T?
<\?
<]?
+M?
,N?
-
?
-?
-
?
.?
	/?^?>?@?
?7
Sheet1	?????ThisWorkbook?????????Sheet3???? ?Sheet2????????????0?	

????????!"#$%&'()*+,-./????123456789:;<=>?????ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopq????stuvwxyz{|}~?????????????LS???#??????????????????????????x??ME?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????(SL????S????S?????J???1?F?M?Ys???????6H???B?{y?f)??????az?\MM?9;?t?'???????=1oj?N??stdo?le
f%\*\G{00?020430-C
0046}#2.0#0#C:\WINNT\System32\c2.tlb#OLE Automation^?DOffic?DO?>fic5?D?????D2DF8D04C-5BFA-101B -BDE5?DAA5?B4?2?D??gram Files\Microso(ft 6\MS?O9.DLL#
? 9.0 Ob? Library#?C?MSForms>!SF??r ms3???D452EE1 -E08F?XA-8-02608?C4D0BB4?N@DOWS\sEOF?M20'B ?[?&?/;"1?Cf	mAm00}#0m#???50?
?	??AB1607258-36BF-4B94-9F0B-A7B3D3BC659F?6DOCUME~1\STANISALOCALTemp\Exce l8.0\?U.e




© 2015 - 2024 Weber Informatics LLC | Privacy Policy