Sha256: 4421c1f88748e5e9f7817d94a79206e5fccba232227560fc08553ce633766027

Contents?: true

Size: 974 Bytes

Versions: 41

Compression:

Stored size: 974 Bytes

Contents

<hrf-md:PedigreeInfo>
  <% unless pedigree.source_documents.empty? && pedigree.source_documents.empty?%>
  <hrf-md:Source derived="true">
    <% pedigree.source_documents.each do |source| %>
    <hrf-md:PedigreeInfo>
      <% if source.author %>
        <%== render :partial => "author", locals: {author: source.author }%>
      <% end %>
      <hrf-md:Organization><%= source.organization %></hrf-md:Organization>
    </hrf-md:PedigreeInfo>
    <% end %>
    <% pedigree.source_documents.each do |doc|%>
    <hrf-md:Document>
      <hrf-md:Target <% if doc.extension %> targetExtension="<%=doc.extension%>" <% end %>><%= doc.uri %></hrf-md:Target>
    </hrf-md:Document>
    <% end %>
  </hrf-md:Source>
  <% end %>
  <% if pedigree.author %>
      <%== render :partial => "author", locals: {author: pedigree.author }%>
  <% end %>
  <% if pedigree.organization %>
  <hrf-md:Organization><%= pedigree.organization %></hrf-md:Organization>
  <% end %>
</hrf-md:PedigreeInfo>

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
health-data-standards-3.2.0 templates/_pedigree.hdata.erb