Sha256: 7b15536e1919a5ef3aa4734f635782ce67d83af035349d0626f8064295758ea0

Contents?: true

Size: 1.14 KB

Versions: 147

Compression:

Stored size: 1.14 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>
         <manufacturerModelName><%= author.device.model %></manufacturerModelName>
         <softwareName><%= author.device.name %></softwareName>
       </assignedAuthoringDevice>
      <% end %> 
     
     <%== render :partial=>"organization", :locals=>{organization: author.organization, tag_name: "representedOrganization"} %>

    </assignedAuthor>
  </author>

Version data entries

147 entries across 22 versions & 1 rubygems

Version Path
health-data-standards-4.3.3 templates/cat3/r2/_author.cat3.erb
health-data-standards-4.3.3 templates/cat3/r1/_author.cat3.erb
health-data-standards-4.3.3 templates/cat1/r2/_author.cat1.erb
health-data-standards-4.3.3 templates/cat3/r2_1/_author.cat3.erb
health-data-standards-4.3.3 templates/cat1/r4/_author.cat1.erb
health-data-standards-4.3.3 templates/cat1/r5/_author.cat1.erb
health-data-standards-4.3.3 templates/cat1/r3/_author.cat1.erb
health-data-standards-4.3.2 templates/cat1/r2/_author.cat1.erb
health-data-standards-4.3.2 templates/cat1/r3/_author.cat1.erb
health-data-standards-4.3.2 templates/cat1/r5/_author.cat1.erb
health-data-standards-4.3.2 templates/cat1/r3_1/_author.cat1.erb
health-data-standards-4.3.2 templates/cat3/r2_1/_author.cat3.erb
health-data-standards-4.3.2 templates/cat3/r1/_author.cat3.erb
health-data-standards-4.3.2 templates/cat3/r1_1/_author.cat3.erb
health-data-standards-4.3.2 templates/cat1/r4/_author.cat1.erb
health-data-standards-4.3.2 templates/cat3/r2/_author.cat3.erb
health-data-standards-4.3.1 templates/cat3/r2_1/_author.cat3.erb
health-data-standards-4.3.1 templates/cat1/r5/_author.cat1.erb
health-data-standards-4.3.1 templates/cat1/r3/_author.cat1.erb
health-data-standards-4.3.1 templates/cat1/r2/_author.cat1.erb