<?xml version="1.0" ?>

<BIF VERSION="0.3">
<NETWORK>

<!-- Variables -->
<VARIABLE TYPE="decision">
	<NAME>H</NAME>
	<PROPERTY>Hospitalize?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="decision">
	<NAME>Ta</NAME>
	<PROPERTY>Take X-Ray?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>S</NAME>
	<PROPERTY>Smoking?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>B</NAME>
	<PROPERTY>Bronchitis?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>L</NAME>
	<PROPERTY>Lung Cancer?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>E</NAME>
	<PROPERTY>Either tuberculosis or lung cancer?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>D</NAME>
	<PROPERTY>Dyspnoea?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>P</NAME>
	<PROPERTY>Positive X-Ray?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>Tu</NAME>
	<PROPERTY>Tuberculosis?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="nature">
	<NAME>A</NAME>
	<PROPERTY>Visit to Asia?</PROPERTY>
	<OUTCOME>Yes</OUTCOME>
	<OUTCOME>No</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="utility">
	<NAME>Uh</NAME>
	<PROPERTY>Utility of Hospitalization</PROPERTY>
	<OUTCOME>0</OUTCOME>
</VARIABLE>

<VARIABLE TYPE="utility">
	<NAME>Ut</NAME>
	<PROPERTY>Utility of Taking XRay</PROPERTY>
	<OUTCOME>0</OUTCOME>
</VARIABLE>

<!-- Probability distributions -->
<DEFINITION>
	<FOR>Ta</FOR>
	<GIVEN>H</GIVEN>
</DEFINITION>
<DEFINITION>
	<FOR>S</FOR>
	<TABLE>0.5 0.5 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>B</FOR>
	<GIVEN>S</GIVEN>
	<TABLE>0.6 0.4 0.3 0.7 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>L</FOR>
	<GIVEN>S</GIVEN>
	<TABLE>0.1 0.9 0.01 0.99 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>E</FOR>
	<GIVEN>L</GIVEN>
	<GIVEN>Tu</GIVEN>
	<TABLE>1 0 1 0 1 0 0 1 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>D</FOR>
	<GIVEN>E</GIVEN>
	<GIVEN>B</GIVEN>
	<TABLE>0.9 0.1 0.7 0.3 0.8 0.2 0.1 0.9 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>P</FOR>
	<GIVEN>E</GIVEN>
	<GIVEN>Ta</GIVEN>
	<TABLE>0.98 0.02 0.5 0.5 0.05 0.95 0.5 0.5 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>Tu</FOR>
	<GIVEN>A</GIVEN>
	<TABLE>0.05 0.95 0.01 0.99 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>A</FOR>
	<TABLE>0.01 0.99 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>Uh</FOR>
	<GIVEN>H</GIVEN>
	<GIVEN>L</GIVEN>
	<GIVEN>Tu</GIVEN>
	<TABLE>180 2 120 4 160 0 15 40 </TABLE>
</DEFINITION>
<DEFINITION>
	<FOR>Ut</FOR>
	<GIVEN>Ta</GIVEN>
	<GIVEN>Tu</GIVEN>
	<TABLE>0 10 1 10 </TABLE>
</DEFINITION>

</NETWORK>
</BIF>
