Sha256: bd18a41687d66ff86ff95b8e038fe59a1cb1d694be5b8f6a482d30aa1f1fd6be

Contents?: true

Size: 1.21 KB

Versions: 16

Compression:

Stored size: 1.21 KB

Contents

<entry>
	<encounter classCode="ENC" moodCode="EVN">
		<templateId root="2.16.840.1.113883.10.20.24.3.81" <% if !r2_compatibility %>extension="2014-12-01"<%end%>/>
		<id root="1.3.6.1.4.1.115" extension="<%= "#{entry.transferFrom.id}#{entry.id}".hash.abs.to_s(16) %>"/>
		<code code="77305-1" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="transferred from"/>
		<statusCode code="completed"/>
		<participant typeCode="ORG">
	    <time>
        <low <%= value_or_null_flavor(entry.transferFrom.time) %>/>
      </time>
	    <participantRole classCode="LOCE">
	      <% 
	        entry.transferFrom.codes[entry.transferFrom.code_system] = [entry.transferFrom.code]
	        transfer_vs_map = [{"set"=>entry.transferFrom.code_system, "values"=>[entry.transferFrom.code]}]
	        transfer_oid = (data_criteria.field_values || {})['TRANSFER_FROM'].try(:code_list_id)
	        options = {'value_set_map' => transfer_vs_map, 'preferred_code_sets' => ['SNOMED-CT', 'ICD-9-CM', 'ICD-10-CM', 'CPT']}
	        options['extra_content'] = "sdtc:valueSet=\"#{transfer_oid}\"" if transfer_oid
	        %>
	        <%== code_display(entry.transferFrom, options) %>
	      </participantRole> 
	    </participant>
	</encounter>
</entry>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
health-data-standards-4.3.5 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.3.4 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.3.3 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.3.2 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.3.1 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.3.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.2.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.1.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.6 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.5 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.4 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.3 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.2 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.1 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-4.0.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb
health-data-standards-3.7.0 templates/cat1/r2/_2.16.840.1.113883.10.20.24.3.81.cat1.erb