anchor.diff:      <templateId root="2.16.840.1.113883.10.20.22.4.16" <% if !r2_compatibility %>extension="2014-06-09"<%end%>/>
       <!-- Medication, Active template -->
       <templateId root="2.16.840.1.113883.10.20.24.3.41" <% if !r2_compatibility %>extension="2014-12-01"<%end%>/>
  -    
  +
       <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
       <text><%= entry.description %></text>
  -    <statusCode code="active"/> 
  +    <statusCode code="active"/>
       <effectiveTime xsi:type="IVL_TS">
           <low <%= value_or_null_flavor(entry.start_time) %>/>
           <high <%= value_or_null_flavor(entry.end_time) %>/>
  
positive.code:     </consumable>
      <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"], :r2_compatibility => r2_compatibility}) %>
  
      <%== render(:partial => 'medication_dispense', :collection => entry.fulfillmentHistory, :locals => {:entry => entry, :value_set_map => value_set_map, :value_set_oid => value_set_oid}, :r2_compatibility => r2_compatibility}) %>
  
    </substanceAdministration>
  
  </entry>
negative.code:         <period value="<%= period['value']%>" unit="<%= period['unit']%>"/>
        </effectiveTime>
      <% end %>
  
      <%== render(:partial => 'medication_details', :locals => {:entry => entry, :route_oids=>field_oids["ROUTE"]}) %>
  
      <% if entry.product_form.present? -%>
  