<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -487,9 +487,20 @@ class CohortTool &lt; OpenMRS
     }
     
     changed_to_obs.each{|a,b|
+      changed_from_obs.each{|x,y|
+        if (a == x) 
+          next if b == y
+          changed_data[a] = &quot;#{b} to #{y}&quot; 
+          changed_to_obs.delete(a)
+          changed_from_obs.delete(x)
+        end  
+      }  
+    }
+=begin    
+    changed_to_obs.each{|a,b|
       changed_data[a] = &quot;to #{b}&quot; if changed_data[a].blank? 
     }
-    
+=end    
     changed_data.each{|k,v|   
       from = v.split(&quot;to&quot;)[0].strip rescue ''
       to = v.split(&quot;to&quot;)[1].strip rescue ''</diff>
      <filename>app/models/cohort_tool.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>544c70c02580588015db3d2af4347152105fc8f2</id>
    </parent>
  </parents>
  <author>
    <name>mwatha</name>
    <email>ace@lalanje.(none)</email>
  </author>
  <url>http://github.com/baobab/bart/commit/28a549138802d4620e4d925b7b4203843484b261</url>
  <id>28a549138802d4620e4d925b7b4203843484b261</id>
  <committed-date>2009-10-14T06:36:02-07:00</committed-date>
  <authored-date>2009-10-14T06:36:02-07:00</authored-date>
  <message>ecords_that_were_updated - listing records that where cahnged only</message>
  <tree>6038f59f95d5bd387a9e0827ba86251347476bb4</tree>
  <committer>
    <name>mwatha</name>
    <email>ace@lalanje.(none)</email>
  </committer>
</commit>
