Sha256: 60163224351108286782a867654698186bdbdb70bff149622eda016597717bf3

Contents?: true

Size: 1.67 KB

Versions: 1

Compression:

Stored size: 1.67 KB

Contents

<component>
  <!--Surgeries-->
  <section>
    <templateId root="2.16.840.1.113883.10.20.1.12" assigningAuthorityName="HL7 CCD"/>
    <templateId root="2.16.840.1.113883.3.88.11.83.108" assigningAuthorityName="HITSP/C83"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.12" assigningAuthorityName="IHE PCC"/>
    <templateId root="1.3.6.1.4.1.19376.1.5.3.1.3.11" assigningAuthorityName="IHE PCC"/>
    <!--Surgeries section template-->
    <code code="47519-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="List of surgeries"/>
    <%== render :partial => 'narrative_block', :locals => {:entries => entries, :section => 'procedures'} %>
    <% entries.each_with_index do |entry, i| -%>
    <entry typeCode="DRIV">
      <procedure classCode="PROC" moodCode="EVN">
        <templateId root="2.16.840.1.113883.3.88.11.83.17" assigningAuthorityName="HITSP C83"/>
        <templateId root="2.16.840.1.113883.10.20.1.29" assigningAuthorityName="CCD"/>
        <templateId root="1.3.6.1.4.1.19376.1.5.3.1.4.19" assigningAuthorityName="IHE PCC"/>
        <!-- Procedure activity template -->
        <id root="<%= UUID.generate %>"/>
        <%== render :partial => 'code_with_reference', :locals => {:entry => entry, :i => i, :section => 'procedures',
                                                                   :preferred_code_sets => ['CPT', 'ICD-9-CM', 'ICD-10-CM', 'HCPCS', 'SNOMED-CT']} %>
        <text>
          <reference value="#procedures-desc-<%= i %>"/>
        </text>
        <statusCode code="completed"/>
        <effectiveTime value="<%= Time.at(entry.time).utc.to_formatted_s(:number) %>"/>
      </procedure>
    </entry>
    <% end -%>
  </section>
</component>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
health-data-standards-0.5.0 templates/_procedures.c32.erb