Sha256: e2bcc56d8f77daa165f3fa3d12f1692d006bb1e422475d4e710048f411e75c04

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 KB

Contents

<entry>
  <procedure classCode="PROC" moodCode="EVN" <%== negation_indicator(entry) %>>
    <!-- Procedure Activity Procedure -->
    <templateId root="2.16.840.1.113883.10.20.22.4.14"/>
    <!-- Device Applied -->
    <templateId root="2.16.840.1.113883.10.20.24.3.7"/>
    <id root="1.3.6.1.4.1.115" extension="<%= entry.id %>"/>
    <code code="360030002" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED CT" displayName="application of device"/>
    <text><%= entry.description %></text>
    <statusCode code="completed"/>
    
    <effectiveTime>
      <low <%= value_or_null_flavor(entry.start_time) %>/>
      <high <%= value_or_null_flavor(entry.removal_time || entry.end_time) %>/>
    </effectiveTime>
    
    <% if entry.respond_to?(:anatomical_structure) && entry.anatomical_structure.present? -%>
    <targetSiteCode code="<%= entry.anatomical_structure['code'] %>" 
                    codeSystem="<%= HealthDataStandards::Util::CodeSystemHelper.oid_for_code_system(entry.anatomical_structure['code_system']) %>"/>
    <% end -%>
    <participant typeCode="DEV">
      <participantRole classCode="MANU">
        <playingDevice classCode="DEV">
          <%== code_display(entry, 'value_set_map' => value_set_map, 'preferred_code_sets' => ['LOINC', 'SNOMED-CT', 'ICD-9-PCS', 'ICD-10-PCS', 'CPT'], 'extra_content' => "sdtc:valueSet=\"#{value_set_oid}\"") %>
        </playingDevice>
      </participantRole>
    </participant>
    <%== render(:partial => 'reason', :locals => {:entry => entry, :reason_oids=>field_oids["REASON"]}) %>
  </procedure>
</entry>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.5.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.5.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.5.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.5.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.2 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.1 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.4.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb