templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.64.cat1.erb in health-data-standards-4.1.0 vs templates/cat1/r5/_2.16.840.1.113883.10.20.24.3.64.cat1.erb in health-data-standards-4.2.0

- old
+ new

@@ -11,10 +11,18 @@ <effectiveTime> <low <%= value_or_null_flavor(entry.start_time) %>/> <high <%= value_or_null_flavor(entry.end_time) %>/> </effectiveTime> <%== render(:partial => 'ordinality', :locals => {:entry => entry, :ordinality_oids=>field_oids["ORDINAL"]}) %> + <%== render(:partial => 'method', :locals => {:entry => entry, :method_oids=>field_oids["METHOD"]}) %> + <% if entry.anatomical_location -%> + <targetSiteCode code="<%= entry.anatomical_location[:code] %>" + codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.anatomical_location[:codeSystem] || entry.anatomical_location[:code_system]) %>" + <% if entry.anatomical_location.has_key?(:title) -%> + displayName="<%=entry.anatomical_location[:title]%>" + <% end -%>/> + <% end -%> <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %> <% if entry.respond_to?(:incision_time) && entry.incision_time.present? -%> <entryRelationship typeCode="REFR"> <procedure classCode="PROC" moodCode="EVN"> <templateId root="2.16.840.1.113883.10.20.24.3.89"/> @@ -50,6 +58,5 @@ <% if entry.components -%> <%== render(:partial => 'components', :locals => {:entry => entry} ) %> <% end %> </procedure> </entry> -