Sha256: f18b7d59c3c5e39d125b19d3ae8059d398f9d2a9d7182994a07800b0a644f6e8
Contents?: true
Size: 1.04 KB
Versions: 10
Compression:
Stored size: 1.04 KB
Contents
<allergy xmlns="urn:hl7-org:greencda:c32"> <id><%= allergy.id%></id> <%== code_display allergy, "tag_name" => "code", 'preferred_code_sets' => ['SNOMED-CT', "RxNorm", "FDA"] %> <status><%= allergy.status%></status> <freeText><%= allergy.free_text %></freeText> <effectiveTime> <% if allergy.start_time || allergy.end_time %> <start><%= time_if_not_nil(allergy.start_time) %></start> <end><%= time_if_not_nil(allergy.end_time) %></end> <% else %> <%= time_if_not_nil(allergy.time) %> <% end %> </effectiveTime> <% if allergy.type %> <%== code_display allergy, "tag_name" => "type", "attribute" => "type", 'preferred_code_sets' => ['RxNorm', 'SNOMED-CT'] %> <% end %> <% if allergy.reaction %> <%== code_display allergy, "tag_name" => "reaction", "attribute" => "reaction", 'preferred_code_sets' => ['RxNorm', 'SNOMED-CT'] %> <% end %> <% if allergy.severity%> <%== code_display allergy, "tag_name" => "severity", "attribute" => "severity", 'preferred_code_sets' => ['RxNorm', 'SNOMED-CT'] %> <% end %> </allergy>
Version data entries
10 entries across 10 versions & 1 rubygems