Sha256: 633f194e14ef5af3de136cb2113b79f98e0d7ba4acaa424c562bc38a7d1e46bf

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 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, {:preferred_code_sets => ['SNOMED-CT']}) %>
        <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.7.1 templates/_social_history.c32.erb
health-data-standards-0.7.0 templates/_social_history.c32.erb
health-data-standards-0.5.0 templates/_social_history.c32.erb