Sha256: 2dc64029f0cbc6243905ec7b223777c818748312de4f4ce431a3907a77fb9656

Contents?: true

Size: 1.28 KB

Versions: 3

Compression:

Stored size: 1.28 KB

Contents

<component>
  <!--Social History - Not C32-->
  <section>
    <templateId root="2.16.840.1.113883.3.88.11.83.126" assigningAuthorityName="HITSP/C83"/>
    <templateId root="2.16.840.1.113883.10.20.1.15" assigningAuthorityName="CCD"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.16" assigningAuthorityName="IHE PCC"/>
    <!-- Social history section template -->
    <code code="29762-2" codeSystem="2.16.840.1.113883.6.1"/>
    <title>Social History</title>
    <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'social_history'} %>
    <% entries.each_with_index do |entry, i| -%>
    <entry typeCode="DRIV">
      <observation classCode="OBS" moodCode="EVN">
        <templateId root="2.16.840.1.113883.3.88.11.83.19" assigningAuthorityName="HITSP C83"/>
        <templateId root="2.16.840.1.113883.10.20.1.33" assigningAuthorityName="CCD"/>
        <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.13.4" assigningAuthorityName="IHE PCC"/>
        <!-- Social history observation template -->
        <id root="<%= UUID.generate %>"/>
        <%== code_display(entry) %>
        <statusCode code="completed"/>
        <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
      </observation>
    </entry>
    <% end -%>
  </section>
</component>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
health-data-standards-0.3.0 templates/_social_history.c32.erb
health-data-standards-0.2.0 templates/_social_history.c32.erb
health-data-standards-0.1.0 templates/_social_history.c32.erb