Sha256: 7e730b7c386eeabee79fc140aa1f7f433d3cf895b4f19eb4d0522a18083f3a92

Contents?: true

Size: 1.46 KB

Versions: 5

Compression:

Stored size: 1.46 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>Device, Applied</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['codeSystem']) %>"/>
    <% end -%>
    <participant typeCode="DEV">
      <participantRole classCode="MANU">
        <playingDevice classCode="DEV">
          <%== code_display(entry, '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}) %>
  </procedure>
</entry>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
health-data-standards-3.1.0 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.0.6 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.0.5 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.0.4 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb
health-data-standards-3.0.3 templates/cat1/_2.16.840.1.113883.10.20.24.3.7.cat1.erb