Sha256: 4d6ff4f5f850ec25ce36c240739800affcce576ed76308281ce1a0449c5be095

Contents?: true

Size: 1.1 KB

Versions: 1

Compression:

Stored size: 1.1 KB

Contents

 <!-- SHALL have 1..* author. MAY be device or person. 
    The author of the CDA document in this example is a device at a data submission vendor/registry. -->
  <author>
    <time value="<%= author.time.to_formatted_s(:number) %>"/>
    <assignedAuthor>
      <!-- Registry author ID -->
      <%== render :partial=>"id", :collection=>author.ids, :id=>"identifier" %>
      <%== render :partial=>"address" , :collection=>author.addresses %>
      <%== render :partial=>"telecom" , :collection=>author.telecoms %>

      <% if author.person %>
        <assignedPerson>
        <name>
           <given><%= author.person.given %></given>
           <family><%= author.person.family %></family>
        </name>
        </assignedPerson> 
      <% elsif author.device %>
       <assignedAuthoringDevice>
         <softwareName><%= author.device.name %></softwareName>
         <manufacturerModelName><%= author.device.model %></manufacturerModelName>
       </assignedAuthoringDevice>
      <% end %> 
     
     <%== render :partial=>"organization", :locals=>{organization: author.organization} %>

    </assignedAuthor>
  </author>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-3.2.12 templates/cat3/_author.cat3.erb