Added unbbayes libs and bayesian network use example.
authorMichele Silva <michele.silva@gmail.com>
Wed, 7 Dec 2011 04:22:10 +0000 (02:22 -0200)
committerMichele Silva <michele.silva@gmail.com>
Wed, 7 Dec 2011 04:22:10 +0000 (02:22 -0200)
24 files changed:
config.cfg [new file with mode: 0644]
lib/avalon-framework-4.1.3.jar [new file with mode: 0644]
lib/commons-logging-1.1.jar [new file with mode: 0644]
lib/icu4j-3.8.jar [new file with mode: 0644]
lib/javahelp-2.0.02.jar [new file with mode: 0644]
lib/jaxme2-0.5.1.jar [new file with mode: 0644]
lib/jaxme2-rt-0.5.1.jar [new file with mode: 0644]
lib/jaxmeapi-0.5.1.jar [new file with mode: 0644]
lib/jaxmejs-0.5.1.jar [new file with mode: 0644]
lib/jaxmexs-0.5.1.jar [new file with mode: 0644]
lib/jpf-1.5.jar [new file with mode: 0644]
lib/junit-4.1.jar [new file with mode: 0644]
lib/log4j-1.2.12.jar [new file with mode: 0644]
lib/logkit-1.0.1.jar [new file with mode: 0644]
lib/servlet-api-2.3.jar [new file with mode: 0644]
lib/unbbayes-4.10.4-1s.jar [new file with mode: 0755]
lib/xalan-2.7.0.jar [new file with mode: 0644]
lib/xml-apis-1.0.b2.jar [new file with mode: 0644]
nbproject/build-impl.xml
nbproject/genfiles.properties
nbproject/project.properties
nbproject/project.xml
samples/headache.xml [new file with mode: 0644]
src/java/org/ufcspa/simdecs/diagram/bn/BayesianNetwork.java [new file with mode: 0644]

diff --git a/config.cfg b/config.cfg
new file mode 100644 (file)
index 0000000..a7ba392
Binary files /dev/null and b/config.cfg differ
diff --git a/lib/avalon-framework-4.1.3.jar b/lib/avalon-framework-4.1.3.jar
new file mode 100644 (file)
index 0000000..fd72580
Binary files /dev/null and b/lib/avalon-framework-4.1.3.jar differ
diff --git a/lib/commons-logging-1.1.jar b/lib/commons-logging-1.1.jar
new file mode 100644 (file)
index 0000000..2ff9bbd
Binary files /dev/null and b/lib/commons-logging-1.1.jar differ
diff --git a/lib/icu4j-3.8.jar b/lib/icu4j-3.8.jar
new file mode 100644 (file)
index 0000000..2665486
Binary files /dev/null and b/lib/icu4j-3.8.jar differ
diff --git a/lib/javahelp-2.0.02.jar b/lib/javahelp-2.0.02.jar
new file mode 100644 (file)
index 0000000..6b894bc
Binary files /dev/null and b/lib/javahelp-2.0.02.jar differ
diff --git a/lib/jaxme2-0.5.1.jar b/lib/jaxme2-0.5.1.jar
new file mode 100644 (file)
index 0000000..9696d43
Binary files /dev/null and b/lib/jaxme2-0.5.1.jar differ
diff --git a/lib/jaxme2-rt-0.5.1.jar b/lib/jaxme2-rt-0.5.1.jar
new file mode 100644 (file)
index 0000000..3ef8d91
Binary files /dev/null and b/lib/jaxme2-rt-0.5.1.jar differ
diff --git a/lib/jaxmeapi-0.5.1.jar b/lib/jaxmeapi-0.5.1.jar
new file mode 100644 (file)
index 0000000..dcf0556
Binary files /dev/null and b/lib/jaxmeapi-0.5.1.jar differ
diff --git a/lib/jaxmejs-0.5.1.jar b/lib/jaxmejs-0.5.1.jar
new file mode 100644 (file)
index 0000000..63cb385
Binary files /dev/null and b/lib/jaxmejs-0.5.1.jar differ
diff --git a/lib/jaxmexs-0.5.1.jar b/lib/jaxmexs-0.5.1.jar
new file mode 100644 (file)
index 0000000..17a7e65
Binary files /dev/null and b/lib/jaxmexs-0.5.1.jar differ
diff --git a/lib/jpf-1.5.jar b/lib/jpf-1.5.jar
new file mode 100644 (file)
index 0000000..5353d0c
Binary files /dev/null and b/lib/jpf-1.5.jar differ
diff --git a/lib/junit-4.1.jar b/lib/junit-4.1.jar
new file mode 100644 (file)
index 0000000..2c46d67
Binary files /dev/null and b/lib/junit-4.1.jar differ
diff --git a/lib/log4j-1.2.12.jar b/lib/log4j-1.2.12.jar
new file mode 100644 (file)
index 0000000..9b5a720
Binary files /dev/null and b/lib/log4j-1.2.12.jar differ
diff --git a/lib/logkit-1.0.1.jar b/lib/logkit-1.0.1.jar
new file mode 100644 (file)
index 0000000..d3250ee
Binary files /dev/null and b/lib/logkit-1.0.1.jar differ
diff --git a/lib/servlet-api-2.3.jar b/lib/servlet-api-2.3.jar
new file mode 100644 (file)
index 0000000..cd5b351
Binary files /dev/null and b/lib/servlet-api-2.3.jar differ
diff --git a/lib/unbbayes-4.10.4-1s.jar b/lib/unbbayes-4.10.4-1s.jar
new file mode 100755 (executable)
index 0000000..c53c95e
Binary files /dev/null and b/lib/unbbayes-4.10.4-1s.jar differ
diff --git a/lib/xalan-2.7.0.jar b/lib/xalan-2.7.0.jar
new file mode 100644 (file)
index 0000000..007be39
Binary files /dev/null and b/lib/xalan-2.7.0.jar differ
diff --git a/lib/xml-apis-1.0.b2.jar b/lib/xml-apis-1.0.b2.jar
new file mode 100644 (file)
index 0000000..ad33a5a
Binary files /dev/null and b/lib/xml-apis-1.0.b2.jar differ
index 4550ee3..740612b 100755 (executable)
@@ -675,12 +675,46 @@ exists or setup the property manually. For example like this:
     <target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
         <copyfiles files="${libs.primefaces.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <copyfiles files="${libs.hibernate-support.classpath}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.avalon-framework-4.1.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.commons-logging-1.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.icu4j-3.8.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.javahelp-2.0.02.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jaxme2-0.5.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jaxme2-rt-0.5.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jaxmeapi-0.5.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jaxmejs-0.5.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jaxmexs-0.5.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.jpf-1.5.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.junit-4.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.log4j-1.2.12.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.logkit-1.0.1.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.servlet-api-2.3.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.unbbayes-4.10.4-1s.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.xalan-2.7.0.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+        <copyfiles files="${file.reference.xml-apis-1.0.b2.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
         <mkdir dir="${build.web.dir}/META-INF"/>
         <manifest file="${build.web.dir}/META-INF/MANIFEST.MF" mode="update"/>
     </target>
     <target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
         <copyfiles files="${libs.primefaces.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
         <copyfiles files="${libs.hibernate-support.classpath}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.avalon-framework-4.1.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.commons-logging-1.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.icu4j-3.8.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.javahelp-2.0.02.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jaxme2-0.5.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jaxme2-rt-0.5.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jaxmeapi-0.5.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jaxmejs-0.5.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jaxmexs-0.5.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.jpf-1.5.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.junit-4.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.log4j-1.2.12.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.logkit-1.0.1.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.servlet-api-2.3.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.unbbayes-4.10.4-1s.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.xalan-2.7.0.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+        <copyfiles files="${file.reference.xml-apis-1.0.b2.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
     </target>
     <target depends="init" if="dist.ear.dir" name="-clean-webinf-lib">
         <delete dir="${build.web.dir}/WEB-INF/lib"/>
index b276730..594a486 100755 (executable)
@@ -1,8 +1,8 @@
-build.xml.data.CRC32=f5fca5b3
+build.xml.data.CRC32=4ef9c105
 build.xml.script.CRC32=3c672195
 build.xml.stylesheet.CRC32=651128d4@1.33.1.1
 # This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
 # Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=f5fca5b3
-nbproject/build-impl.xml.script.CRC32=add2363b
+nbproject/build-impl.xml.data.CRC32=4ef9c105
+nbproject/build-impl.xml.script.CRC32=aa816119
 nbproject/build-impl.xml.stylesheet.CRC32=0cbf5bb7@1.33.1.1
index 914f4d8..600c370 100755 (executable)
@@ -1,6 +1,5 @@
 annotation.processing.enabled=true
 annotation.processing.enabled.in.editor=true
-annotation.processing.processors.list=
 annotation.processing.run.all.processors=true
 annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output
 auxiliary.org-netbeans-modules-projectapi.jsf_2e_language=Facelets
@@ -26,11 +25,28 @@ dist.javadoc.dir=${dist.dir}/javadoc
 dist.war=${dist.dir}/${war.name}
 endorsed.classpath=
 excludes=
+file.reference.avalon-framework-4.1.3.jar=lib/avalon-framework-4.1.3.jar
+file.reference.commons-logging-1.1.jar=lib/commons-logging-1.1.jar
+file.reference.icu4j-3.8.jar=lib/icu4j-3.8.jar
+file.reference.javahelp-2.0.02.jar=lib/javahelp-2.0.02.jar
+file.reference.jaxme2-0.5.1.jar=lib/jaxme2-0.5.1.jar
+file.reference.jaxme2-rt-0.5.1.jar=lib/jaxme2-rt-0.5.1.jar
+file.reference.jaxmeapi-0.5.1.jar=lib/jaxmeapi-0.5.1.jar
+file.reference.jaxmejs-0.5.1.jar=lib/jaxmejs-0.5.1.jar
+file.reference.jaxmexs-0.5.1.jar=lib/jaxmexs-0.5.1.jar
+file.reference.jpf-1.5.jar=lib/jpf-1.5.jar
+file.reference.junit-4.1.jar=lib/junit-4.1.jar
+file.reference.log4j-1.2.12.jar=lib/log4j-1.2.12.jar
+file.reference.logkit-1.0.1.jar=lib/logkit-1.0.1.jar
+file.reference.servlet-api-2.3.jar=lib/servlet-api-2.3.jar
+file.reference.unbbayes-4.10.4-1s.jar=lib/unbbayes-4.10.4-1s.jar
+file.reference.xalan-2.7.0.jar=lib/xalan-2.7.0.jar
+file.reference.xml-apis-1.0.b2.jar=lib/xml-apis-1.0.b2.jar
 includes=**
 j2ee.compile.on.save=true
 j2ee.deploy.on.save=true
 j2ee.platform=1.5
-j2ee.platform.classpath=${j2ee.server.home}/modules/jaxrpc-api-osgi.jar:${j2ee.server.home}/modules/javax.jms.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.home}/modules/jsf-impl.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/jaxr-api-osgi.jar:${j2ee.server.home}/modules/javax.security.jacc.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/javax.resource.jar:${j2ee.server.home}/modules/javax.enterprise.deploy.jar:${j2ee.server.home}/modules/endorsed/javax.annotation.jar:${j2ee.server.home}/modules/endorsed/jaxb-api-osgi.jar:${j2ee.server.home}/modules/javax.management.j2ee.jar:${j2ee.server.home}/modules/javax.ejb.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/jsf-api.jar:${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/javax.servlet.jar:${j2ee.server.home}/modules/javax.security.auth.message.jar:${j2ee.server.home}/modules/javax.transaction.jar:${j2ee.server.home}/modules/jersey-core.jar:${j2ee.server.home}/modules/jstl-impl.jar
+j2ee.platform.classpath=${j2ee.server.home}/modules/javax.servlet.jsp.jstl.jar:${j2ee.server.home}/modules/javax.security.jacc.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxrpc-api-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api-osgi.jar:${j2ee.server.home}/modules/endorsed/javax.annotation.jar:${j2ee.server.home}/modules/javax.enterprise.deploy.jar:${j2ee.server.home}/modules/bean-validator.jar:${j2ee.server.home}/modules/jsf-impl.jar:${j2ee.server.home}/modules/javax.persistence.jar:${j2ee.server.home}/modules/javax.resource.jar:${j2ee.server.home}/modules/javax.jms.jar:${j2ee.server.home}/modules/javax.mail.jar:${j2ee.server.home}/modules/weld-osgi-bundle.jar:${j2ee.server.home}/modules/javax.security.auth.message.jar:${j2ee.server.home}/modules/jsf-api.jar:${j2ee.server.home}/modules/javax.servlet.jar:${j2ee.server.home}/modules/javax.servlet.jsp.jar:${j2ee.server.home}/modules/jersey-core.jar:${j2ee.server.home}/modules/javax.ejb.jar:${j2ee.server.home}/modules/jstl-impl.jar:${j2ee.server.home}/modules/javax.management.j2ee.jar:${j2ee.server.home}/modules/jaxr-api-osgi.jar:${j2ee.server.home}/modules/javax.transaction.jar
 j2ee.platform.embeddableejb.classpath=${j2ee.server.home}/lib/embedded/glassfish-embedded-static-shell.jar
 j2ee.platform.wscompile.classpath=${j2ee.server.home}/modules/webservices-osgi.jar
 j2ee.platform.wsgen.classpath=${j2ee.server.home}/modules/webservices-osgi.jar:${j2ee.server.home}/modules/endorsed/webservices-api-osgi.jar:${j2ee.server.home}/modules/jaxb-osgi.jar:${j2ee.server.home}/modules/endorsed/jaxb-api-osgi.jar:${j2ee.server.home}/modules/javax.ejb.jar
@@ -40,7 +56,24 @@ j2ee.server.type=gfv3ee6
 jar.compress=false
 javac.classpath=\
     ${libs.primefaces.classpath}:\
-    ${libs.hibernate-support.classpath}
+    ${libs.hibernate-support.classpath}:\
+    ${file.reference.avalon-framework-4.1.3.jar}:\
+    ${file.reference.commons-logging-1.1.jar}:\
+    ${file.reference.icu4j-3.8.jar}:\
+    ${file.reference.javahelp-2.0.02.jar}:\
+    ${file.reference.jaxme2-0.5.1.jar}:\
+    ${file.reference.jaxme2-rt-0.5.1.jar}:\
+    ${file.reference.jaxmeapi-0.5.1.jar}:\
+    ${file.reference.jaxmejs-0.5.1.jar}:\
+    ${file.reference.jaxmexs-0.5.1.jar}:\
+    ${file.reference.jpf-1.5.jar}:\
+    ${file.reference.junit-4.1.jar}:\
+    ${file.reference.log4j-1.2.12.jar}:\
+    ${file.reference.logkit-1.0.1.jar}:\
+    ${file.reference.servlet-api-2.3.jar}:\
+    ${file.reference.unbbayes-4.10.4-1s.jar}:\
+    ${file.reference.xalan-2.7.0.jar}:\
+    ${file.reference.xml-apis-1.0.b2.jar}
 # Space-separated list of extra javac options
 javac.compilerargs=
 javac.debug=true
index 21b6535..3cd8dec 100755 (executable)
                     <file>${libs.hibernate-support.classpath}</file>
                     <path-in-war>WEB-INF/lib</path-in-war>
                 </library>
+                <library dirs="200">
+                    <file>${file.reference.avalon-framework-4.1.3.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.commons-logging-1.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.icu4j-3.8.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.javahelp-2.0.02.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jaxme2-0.5.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jaxme2-rt-0.5.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jaxmeapi-0.5.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jaxmejs-0.5.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jaxmexs-0.5.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.jpf-1.5.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.junit-4.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.log4j-1.2.12.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.logkit-1.0.1.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.servlet-api-2.3.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.unbbayes-4.10.4-1s.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.xalan-2.7.0.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
+                <library dirs="200">
+                    <file>${file.reference.xml-apis-1.0.b2.jar}</file>
+                    <path-in-war>WEB-INF/lib</path-in-war>
+                </library>
             </web-module-libraries>
             <web-module-additional-libraries/>
             <source-roots>
diff --git a/samples/headache.xml b/samples/headache.xml
new file mode 100644 (file)
index 0000000..7e5d5b5
--- /dev/null
@@ -0,0 +1,1277 @@
+<?xml version='1.0' encoding='US-ASCII'?>
+<xbifns:XMLBIF version="0.6" xmlns:xbifns="http://unbbayes.sourceforge.net/xml/XMLBIF_0_6.xsd">
+  <xbifns:header>
+    <xbifns:version>1.0</xbifns:version>
+    <xbifns:name>Headache</xbifns:name>
+    <xbifns:creator>UnBBayes</xbifns:creator>
+  </xbifns:header>
+  <xbifns:staticProperty>
+    <xbifns:nodeSize>40</xbifns:nodeSize>
+    <xbifns:nodeFontSize>0</xbifns:nodeFontSize>
+    <xbifns:colorUtilityNode>0</xbifns:colorUtilityNode>
+    <xbifns:colorDecisionNode>0</xbifns:colorDecisionNode>
+    <xbifns:colorDiscreteProbabilisticNode>0</xbifns:colorDiscreteProbabilisticNode>
+    <xbifns:colorContinuousProbilisticNode>0</xbifns:colorContinuousProbilisticNode>
+    <xbifns:colorExplanationNode>0</xbifns:colorExplanationNode>
+  </xbifns:staticProperty>
+  <xbifns:hierarchy>
+    <xbifns:root name="root">
+      <xbifns:level name="Rest Relief"/>
+      <xbifns:level name="Nuchal rigidity"/>
+      <xbifns:level name="Nasal Obstruction"/>
+      <xbifns:level name="Uncommon episodies"/>
+      <xbifns:level name="Visual Disturbance"/>
+      <xbifns:level name="High frequency"/>
+      <xbifns:level name="Antimicrobians"/>
+      <xbifns:level name="Fever"/>
+      <xbifns:level name="Nasal Discharge"/>
+      <xbifns:level name="Sinusitis"/>
+      <xbifns:level name="Facial Pain"/>
+      <xbifns:level name="Painful mastication"/>
+      <xbifns:level name="Temporomandibular"/>
+      <xbifns:level name="Aneurysmal History"/>
+      <xbifns:level name="Acute weakness"/>
+      <xbifns:level name="Diplopy"/>
+      <xbifns:level name="Seizure"/>
+      <xbifns:level name="Imaging Investigation"/>
+      <xbifns:level name="Specialist"/>
+      <xbifns:level name="Profilaxy"/>
+      <xbifns:level name="Analgesia"/>
+      <xbifns:level name="Unilateral Red Eye"/>
+      <xbifns:level name="Photophobia"/>
+      <xbifns:level name="Pulsating Pain"/>
+      <xbifns:level name="Hemicranial Pain"/>
+      <xbifns:level name="Cluster Headache"/>
+      <xbifns:level name="Migraine"/>
+      <xbifns:level name="Tension-type Headache"/>
+      <xbifns:level name="Nausea"/>
+      <xbifns:level name="Holocranial Pain"/>
+    </xbifns:root>
+  </xbifns:hierarchy>
+  <xbifns:network>
+    <xbifns:variables>
+      <xbifns:variable perguntas=";A dor de cabe&#231;a melhora ao ficar parado?;" tipo="E" tempoEtapa="0.1" custoEtapa="0.01" rgbColor="-256" height="60.0" width="80.0" yPos="408" xPos="156" type="DiscreteProbabilistic" name="rest_relief">
+        <xbifns:description>Rest Relief</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="218" xPos="1046" type="DiscreteProbabilistic" name="nuchal_rigidity">
+        <xbifns:description>Nuchal rigidity</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="52" xPos="304" type="DiscreteProbabilistic" name="nasal_obstruction">
+        <xbifns:description>Nasal Obstruction</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="446" xPos="265" type="DiscreteProbabilistic" name="uncommon_episodies">
+        <xbifns:description>Uncommon episodies</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas=";A dor de cabe&#231;a melhora ao ficar parado?;Durante a dor, v&#234; pontos coloridos, luzes piscantes ou a vista borrada?;" tipo="E" tempoEtapa="0.1" custoEtapa="0.01" rgbColor="-256" height="60.0" width="80.0" yPos="360" xPos="59" type="DiscreteProbabilistic" name="visual_disturbance">
+        <xbifns:description>Visual Disturbance</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="224" xPos="350" type="DiscreteProbabilistic" name="high_frequency">
+        <xbifns:description>High frequency</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="281" xPos="586" type="DiscreteProbabilistic" name="antimicrobians">
+        <xbifns:description>Antimicrobians</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="427" xPos="609" type="DiscreteProbabilistic" name="fever">
+        <xbifns:description>Fever</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="433" xPos="497" type="DiscreteProbabilistic" name="nasal_discharge">
+        <xbifns:description>Nasal Discharge</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="361" xPos="541" type="DiscreteProbabilistic" name="sinusitis">
+        <xbifns:description>Sinusitis</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="297" xPos="745" type="DiscreteProbabilistic" name="facial_pain">
+        <xbifns:description>Facial Pain</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="262" xPos="927" type="DiscreteProbabilistic" name="painful_mastication">
+        <xbifns:description>Painful mastication</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="195" xPos="744" type="DiscreteProbabilistic" name="temporomandibular">
+        <xbifns:description>Temporomandibular</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="0" xPos="847" type="DiscreteProbabilistic" name="aneurysmal_history">
+        <xbifns:description>Aneurysmal History</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="86" xPos="975" type="DiscreteProbabilistic" name="acute_weakness">
+        <xbifns:description>Acute weakness</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="97" xPos="459" type="DiscreteProbabilistic" name="diplopy">
+        <xbifns:description>Diplopy</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="Ja houve ocasiao de ter convulsao-tremores pelo corpo que nao se podia controlar com desmaio ou sem?;" tipo="E" tempoEtapa="1.0" custoEtapa="2.0" rgbColor="-256" height="60.0" width="97.0" yPos="24" xPos="411" type="DiscreteProbabilistic" name="seizure">
+        <xbifns:description>Seizure</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="0" xPos="666" type="DiscreteProbabilistic" name="imaging_investigation">
+        <xbifns:description>Imaging Investigation</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="D" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="82" xPos="650" type="DiscreteProbabilistic" name="specialist">
+        <xbifns:description>Specialist</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="193" xPos="517" type="DiscreteProbabilistic" name="profilaxy">
+        <xbifns:description>Profilaxy</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="307" xPos="310" type="DiscreteProbabilistic" name="analgesia">
+        <xbifns:description>Analgesia</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="46" xPos="154" type="DiscreteProbabilistic" name="unilateral_red_eye">
+        <xbifns:description>Unilateral Red Eye</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="71" xPos="48" type="DiscreteProbabilistic" name="photophobia">
+        <xbifns:description>Photophobia</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="153" xPos="18" type="DiscreteProbabilistic" name="pulsating_pain">
+        <xbifns:description>Pulsating Pain</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="234" xPos="16" type="DiscreteProbabilistic" name="hemicranial_pain">
+        <xbifns:description>Hemicranial Pain</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="160" xPos="249" type="DiscreteProbabilistic" name="cluster_headache">
+        <xbifns:description>Cluster Headache</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="255" xPos="163" type="DiscreteProbabilistic" name="migraine">
+        <xbifns:description>Migraine</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="374" xPos="279" type="DiscreteProbabilistic" name="tension_type_headache">
+        <xbifns:description>Tension-type Headache</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas=";Durante a dor de cabe&#231;a ocorre tamb&#233;m enj&#244;o?;Durante a dor de cabe&#231;a, sente vontade de vomitar?;" tipo="E" tempoEtapa="0.1" custoEtapa="0.01" rgbColor="-256" height="60.0" width="80.0" yPos="303" xPos="26" type="DiscreteProbabilistic" name="nausea">
+        <xbifns:description>Nausea</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+      <xbifns:variable perguntas="" tipo="E" tempoEtapa="0.0" custoEtapa="0.0" rgbColor="-256" height="60.0" width="80.0" yPos="473" xPos="363" type="DiscreteProbabilistic" name="holocranial_pain">
+        <xbifns:description>Holocranial Pain</xbifns:description>
+        <xbifns:state name="Yes"/>
+        <xbifns:state name="Not"/>
+      </xbifns:variable>
+    </xbifns:variables>
+    <xbifns:structure>
+      <xbifns:edge child="high_frequency" parent="cluster_headache"/>
+      <xbifns:edge child="high_frequency" parent="migraine"/>
+      <xbifns:edge child="antimicrobians" parent="sinusitis"/>
+      <xbifns:edge child="sinusitis" parent="nasal_obstruction"/>
+      <xbifns:edge child="sinusitis" parent="fever"/>
+      <xbifns:edge child="sinusitis" parent="nasal_discharge"/>
+      <xbifns:edge child="sinusitis" parent="facial_pain"/>
+      <xbifns:edge child="temporomandibular" parent="facial_pain"/>
+      <xbifns:edge child="temporomandibular" parent="painful_mastication"/>
+      <xbifns:edge child="imaging_investigation" parent="aneurysmal_history"/>
+      <xbifns:edge child="imaging_investigation" parent="diplopy"/>
+      <xbifns:edge child="imaging_investigation" parent="acute_weakness"/>
+      <xbifns:edge child="imaging_investigation" parent="seizure"/>
+      <xbifns:edge child="specialist" parent="profilaxy"/>
+      <xbifns:edge child="specialist" parent="nuchal_rigidity"/>
+      <xbifns:edge child="specialist" parent="temporomandibular"/>
+      <xbifns:edge child="specialist" parent="diplopy"/>
+      <xbifns:edge child="specialist" parent="aneurysmal_history"/>
+      <xbifns:edge child="specialist" parent="acute_weakness"/>
+      <xbifns:edge child="specialist" parent="seizure"/>
+      <xbifns:edge child="profilaxy" parent="high_frequency"/>
+      <xbifns:edge child="analgesia" parent="sinusitis"/>
+      <xbifns:edge child="analgesia" parent="tension_type_headache"/>
+      <xbifns:edge child="analgesia" parent="migraine"/>
+      <xbifns:edge child="analgesia" parent="cluster_headache"/>
+      <xbifns:edge child="cluster_headache" parent="nausea"/>
+      <xbifns:edge child="cluster_headache" parent="nasal_obstruction"/>
+      <xbifns:edge child="cluster_headache" parent="unilateral_red_eye"/>
+      <xbifns:edge child="cluster_headache" parent="photophobia"/>
+      <xbifns:edge child="cluster_headache" parent="pulsating_pain"/>
+      <xbifns:edge child="cluster_headache" parent="hemicranial_pain"/>
+      <xbifns:edge child="migraine" parent="unilateral_red_eye"/>
+      <xbifns:edge child="migraine" parent="rest_relief"/>
+      <xbifns:edge child="migraine" parent="visual_disturbance"/>
+      <xbifns:edge child="migraine" parent="photophobia"/>
+      <xbifns:edge child="migraine" parent="pulsating_pain"/>
+      <xbifns:edge child="migraine" parent="hemicranial_pain"/>
+      <xbifns:edge child="migraine" parent="nausea"/>
+      <xbifns:edge child="tension_type_headache" parent="pulsating_pain"/>
+      <xbifns:edge child="tension_type_headache" parent="uncommon_episodies"/>
+      <xbifns:edge child="tension_type_headache" parent="holocranial_pain"/>
+    </xbifns:structure>
+    <xbifns:conditionalDistributionSet>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="rest_relief"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.8999999761581421</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="nuchal_rigidity"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9990000128746033</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="nasal_obstruction"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.949999988079071</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="uncommon_episodies"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.8999999761581421</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="visual_disturbance"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="high_frequency"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="migraine"/>
+          <xbifns:parent index="1" name="cluster_headache"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="antimicrobians"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="sinusitis"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.9990000128746033</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="fever"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="nasal_discharge"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.8999999761581421</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="sinusitis"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="facial_pain"/>
+          <xbifns:parent index="1" name="nasal_discharge"/>
+          <xbifns:parent index="2" name="fever"/>
+          <xbifns:parent index="3" name="nasal_obstruction"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.75</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.25</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.15000000596046448</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.8500000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="16">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="17">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="18">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="19">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="20">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="21">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="22">0.15000000596046448</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="23">0.8500000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="24">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="25">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="26">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="27">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="28">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="29">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="30">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="31">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="facial_pain"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.949999988079071</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="painful_mastication"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.949999988079071</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="temporomandibular"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="painful_mastication"/>
+          <xbifns:parent index="1" name="facial_pain"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="aneurysmal_history"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9990000128746033</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="acute_weakness"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="diplopy"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="seizure"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="imaging_investigation"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="seizure"/>
+          <xbifns:parent index="1" name="acute_weakness"/>
+          <xbifns:parent index="2" name="diplopy"/>
+          <xbifns:parent index="3" name="aneurysmal_history"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="16">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="17">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="18">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="19">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="20">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="21">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="22">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="23">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="24">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="25">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="26">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="27">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="28">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="29">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="30">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="31">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="specialist"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="seizure"/>
+          <xbifns:parent index="1" name="acute_weakness"/>
+          <xbifns:parent index="2" name="aneurysmal_history"/>
+          <xbifns:parent index="3" name="diplopy"/>
+          <xbifns:parent index="4" name="temporomandibular"/>
+          <xbifns:parent index="5" name="nuchal_rigidity"/>
+          <xbifns:parent index="6" name="profilaxy"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="16">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="17">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="18">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="19">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="20">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="21">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="22">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="23">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="24">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="25">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="26">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="27">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="28">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="29">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="30">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="31">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="32">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="33">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="34">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="35">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="36">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="37">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="38">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="39">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="40">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="41">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="42">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="43">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="44">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="45">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="46">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="47">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="48">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="49">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="50">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="51">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="52">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="53">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="54">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="55">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="56">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="57">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="58">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="59">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="60">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="61">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="62">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="63">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="64">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="65">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="66">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="67">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="68">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="69">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="70">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="71">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="72">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="73">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="74">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="75">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="76">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="77">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="78">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="79">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="80">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="81">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="82">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="83">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="84">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="85">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="86">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="87">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="88">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="89">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="90">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="91">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="92">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="93">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="94">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="95">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="96">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="97">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="98">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="99">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="100">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="101">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="102">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="103">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="104">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="105">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="106">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="107">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="108">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="109">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="110">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="111">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="112">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="113">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="114">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="115">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="116">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="117">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="118">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="119">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="120">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="121">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="122">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="123">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="124">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="125">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="126">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="127">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="128">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="129">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="130">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="131">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="132">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="133">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="134">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="135">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="136">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="137">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="138">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="139">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="140">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="141">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="142">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="143">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="144">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="145">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="146">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="147">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="148">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="149">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="150">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="151">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="152">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="153">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="154">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="155">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="156">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="157">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="158">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="159">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="160">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="161">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="162">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="163">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="164">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="165">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="166">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="167">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="168">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="169">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="170">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="171">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="172">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="173">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="174">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="175">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="176">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="177">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="178">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="179">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="180">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="181">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="182">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="183">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="184">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="185">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="186">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="187">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="188">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="189">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="190">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="191">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="192">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="193">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="194">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="195">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="196">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="197">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="198">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="199">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="200">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="201">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="202">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="203">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="204">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="205">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="206">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="207">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="208">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="209">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="210">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="211">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="212">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="213">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="214">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="215">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="216">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="217">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="218">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="219">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="220">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="221">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="222">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="223">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="224">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="225">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="226">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="227">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="228">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="229">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="230">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="231">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="232">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="233">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="234">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="235">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="236">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="237">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="238">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="239">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="240">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="241">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="242">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="243">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="244">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="245">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="246">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="247">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="248">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="249">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="250">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="251">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="252">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="253">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="254">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="255">0.9990000128746033</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="profilaxy"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="high_frequency"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="analgesia"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="cluster_headache"/>
+          <xbifns:parent index="1" name="migraine"/>
+          <xbifns:parent index="2" name="tension_type_headache"/>
+          <xbifns:parent index="3" name="sinusitis"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="16">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="17">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="18">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="19">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="20">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="21">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="22">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="23">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="24">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="25">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="26">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="27">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="28">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="29">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="30">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="31">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="unilateral_red_eye"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="photophobia"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9990000128746033</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="pulsating_pain"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="hemicranial_pain"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9990000128746033</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="cluster_headache"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="hemicranial_pain"/>
+          <xbifns:parent index="1" name="pulsating_pain"/>
+          <xbifns:parent index="2" name="photophobia"/>
+          <xbifns:parent index="3" name="unilateral_red_eye"/>
+          <xbifns:parent index="4" name="nasal_obstruction"/>
+          <xbifns:parent index="5" name="nausea"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="16">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="17">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="18">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="19">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="20">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="21">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="22">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="23">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="24">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="25">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="26">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="27">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="28">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="29">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="30">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="31">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="32">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="33">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="34">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="35">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="36">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="37">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="38">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="39">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="40">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="41">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="42">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="43">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="44">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="45">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="46">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="47">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="48">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="49">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="50">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="51">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="52">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="53">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="54">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="55">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="56">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="57">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="58">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="59">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="60">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="61">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="62">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="63">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="64">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="65">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="66">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="67">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="68">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="69">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="70">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="71">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="72">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="73">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="74">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="75">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="76">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="77">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="78">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="79">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="80">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="81">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="82">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="83">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="84">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="85">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="86">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="87">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="88">0.15000000596046448</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="89">0.8500000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="90">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="91">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="92">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="93">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="94">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="95">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="96">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="97">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="98">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="99">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="100">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="101">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="102">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="103">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="104">0.8181819915771484</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="105">0.18181799352169037</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="106">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="107">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="108">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="109">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="110">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="111">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="112">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="113">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="114">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="115">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="116">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="117">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="118">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="119">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="120">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="121">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="122">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="123">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="124">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="125">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="126">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="127">0.9900000095367432</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="migraine"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="nausea"/>
+          <xbifns:parent index="1" name="hemicranial_pain"/>
+          <xbifns:parent index="2" name="pulsating_pain"/>
+          <xbifns:parent index="3" name="photophobia"/>
+          <xbifns:parent index="4" name="visual_disturbance"/>
+          <xbifns:parent index="5" name="rest_relief"/>
+          <xbifns:parent index="6" name="unilateral_red_eye"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="16">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="17">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="18">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="19">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="20">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="21">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="22">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="23">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="24">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="25">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="26">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="27">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="28">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="29">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="30">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="31">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="32">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="33">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="34">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="35">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="36">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="37">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="38">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="39">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="40">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="41">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="42">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="43">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="44">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="45">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="46">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="47">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="48">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="49">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="50">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="51">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="52">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="53">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="54">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="55">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="56">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="57">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="58">0.31818199157714844</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="59">0.6818180084228516</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="60">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="61">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="62">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="63">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="64">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="65">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="66">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="67">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="68">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="69">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="70">0.6666669845581055</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="71">0.33333298563957214</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="72">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="73">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="74">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="75">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="76">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="77">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="78">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="79">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="80">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="81">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="82">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="83">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="84">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="85">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="86">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="87">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="88">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="89">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="90">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="91">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="92">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="93">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="94">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="95">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="96">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="97">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="98">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="99">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="100">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="101">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="102">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="103">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="104">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="105">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="106">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="107">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="108">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="109">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="110">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="111">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="112">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="113">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="114">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="115">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="116">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="117">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="118">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="119">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="120">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="121">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="122">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="123">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="124">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="125">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="126">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="127">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="128">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="129">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="130">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="131">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="132">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="133">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="134">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="135">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="136">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="137">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="138">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="139">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="140">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="141">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="142">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="143">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="144">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="145">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="146">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="147">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="148">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="149">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="150">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="151">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="152">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="153">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="154">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="155">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="156">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="157">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="158">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="159">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="160">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="161">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="162">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="163">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="164">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="165">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="166">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="167">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="168">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="169">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="170">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="171">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="172">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="173">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="174">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="175">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="176">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="177">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="178">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="179">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="180">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="181">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="182">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="183">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="184">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="185">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="186">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="187">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="188">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="189">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="190">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="191">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="192">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="193">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="194">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="195">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="196">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="197">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="198">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="199">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="200">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="201">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="202">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="203">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="204">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="205">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="206">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="207">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="208">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="209">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="210">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="211">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="212">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="213">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="214">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="215">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="216">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="217">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="218">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="219">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="220">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="221">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="222">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="223">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="224">0.9990000128746033</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="225">0.0010000000474974513</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="226">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="227">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="228">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="229">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="230">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="231">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="232">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="233">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="234">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="235">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="236">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="237">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="238">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="239">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="240">0.949999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="241">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="242">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="243">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="244">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="245">0.3499999940395355</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="246">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="247">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="248">0.699999988079071</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="249">0.30000001192092896</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="250">0.550000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="251">0.44999998807907104</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="252">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="253">0.5</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="254">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="255">0.949999988079071</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="tension_type_headache"/>
+        <xbifns:parents>
+          <xbifns:parent index="0" name="holocranial_pain"/>
+          <xbifns:parent index="1" name="uncommon_episodies"/>
+          <xbifns:parent index="2" name="pulsating_pain"/>
+        </xbifns:parents>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="2">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="3">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="4">0.4000000059604645</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="5">0.6000000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="6">0.15000000596046448</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="7">0.8500000238418579</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="8">0.9900000095367432</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="9">0.009999999776482582</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="10">0.800000011920929</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="11">0.20000000298023224</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="12">0.8999999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="13">0.10000000149011612</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="14">0.6499999761581421</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="15">0.3499999940395355</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="nausea"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.029999999329447746</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.9700000286102295</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+      <xbifns:conditionalDistribution type="Discrete">
+        <xbifns:owner name="holocranial_pain"/>
+        <xbifns:CPT>
+          <xbifns:dependentParentIndex index="0">0.05000000074505806</xbifns:dependentParentIndex>
+          <xbifns:dependentParentIndex index="1">0.949999988079071</xbifns:dependentParentIndex>
+        </xbifns:CPT>
+      </xbifns:conditionalDistribution>
+    </xbifns:conditionalDistributionSet>
+  </xbifns:network>
+</xbifns:XMLBIF>
\ No newline at end of file
diff --git a/src/java/org/ufcspa/simdecs/diagram/bn/BayesianNetwork.java b/src/java/org/ufcspa/simdecs/diagram/bn/BayesianNetwork.java
new file mode 100644 (file)
index 0000000..9cef230
--- /dev/null
@@ -0,0 +1,68 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+package org.ufcspa.simdecs.diagram.bn;
+
+import java.io.File;
+import java.util.ArrayList;
+import java.util.Vector;
+
+import unbbayes.io.xmlbif.version6.*;
+import unbbayes.prs.Node;
+import unbbayes.prs.bn.ProbabilisticNetwork;
+import unbbayes.simdecs.PerguntaNodo;
+/**
+ *
+ * @author mchelem
+ */
+public class BayesianNetwork {
+        
+    public static ProbabilisticNetwork loadNetwork(String filename) throws Exception {
+        ProbabilisticNetwork bayesianNetwork = new ProbabilisticNetwork(null);
+        XMLBIFIO.loadXML(new File(filename),bayesianNetwork);        
+        return bayesianNetwork;
+    } 
+    
+    /* Testing */
+    public static void main(String[] args) throws Exception {
+        ProbabilisticNetwork bn = BayesianNetwork.loadNetwork("samples/headache.xml");
+        
+        // Get bayesian network name
+        System.out.println("Network name: "+ bn.getName());
+        
+        // Get all the nodes
+        System.out.println("All nodes: ");
+        ArrayList<Node> nodes = bn.getNodes();
+        for (Node node: nodes){
+            System.out.println("-> " + node.getName());            
+        }
+        
+        // Get node by name and its children
+        Node facialPainNode = bn.getNode("facial_pain");
+        System.out.println("\nNode: " + facialPainNode.getName());
+        
+        // Atenção: campos adicionados aos nodos usando unbbayes.
+        // No projeto será utilizado o armazenado pelo banco de dados.
+        // Foi incluído aqui apenas para uso temporário.
+       System.out.println("Custo: " + facialPainNode.getCustoEtapa());
+       System.out.println("Tempo: " + facialPainNode.getTempoEtapa());
+           
+        // Mostrando as perguntas e respostas do nodo
+        Vector<PerguntaNodo> perguntas = facialPainNode.getPerguntas();
+        for (PerguntaNodo pergunta: perguntas) {
+            // Setting questions because it is not set in the saved net
+            pergunta.setPergunta("Minha pergunta?");
+            System.out.println("Pergunta: " + pergunta.getPergunta()); 
+        }
+                
+        ArrayList<Node> childrenNodes = facialPainNode.getChildren();
+        System.out.println("Children:");
+        for (Node node: childrenNodes){
+            System.out.println("-> " + node.getName());            
+        }
+    }
+    
+    
+}
+