Sha256: a0118962be5f3cd6f13af8236d6ee2f6ad714ec64f6a3bde8cfcdfbff6ef02f6

Contents?: true

Size: 1.15 KB

Versions: 31

Compression:

Stored size: 1.15 KB

Contents

          <outboundRelationship typeCode="SUBJ">
<%- if details[:code] == 'SDLOC' -%>
            <encounterCriteria classCode="ENC" moodCode="EVN">
              <%- if details[:templateId] -%>
              <templateId>
                <item root="<%= details[:template_id] %>"/>
              </templateId> 
              <%- end -%>
              <participation typeCode="LOC">
                <role classCode="SDLOC">
                  <%= xml_for_value(value, 'code') %>
                </role>
              </participation>
            </encounterCriteria>
<%- else -%>
            <observationCriteria classCode="OBS" moodCode="EVN">
              <%- if details[:templateId] -%>
              <templateId>
                <item root="<%= details[:template_id] %>"/>
              </templateId> 
              <%- end -%>
              <code code="<%= details[:code] %>" codeSystem="<%= details[:code_system] %>" codeSystemName="<%= details[:code_system_name] %>">
                <displayName value="<%= details[:title] %>"/> 
              </code>
              <%= xml_for_value(value) %>
            </observationCriteria>
<%- end -%>
          </outboundRelationship>

Version data entries

31 entries across 31 versions & 2 rubygems

Version Path
health-data-standards-3.1.1 lib/hqmf-generator/field.xml.erb
health-data-standards-3.1.0 lib/hqmf-generator/field.xml.erb
health-data-standards-3.0.6 lib/hqmf-generator/field.xml.erb
health-data-standards-3.0.5 lib/hqmf-generator/field.xml.erb
health-data-standards-3.0.4 lib/hqmf-generator/field.xml.erb
health-data-standards-3.0.3 lib/hqmf-generator/field.xml.erb
hqmf-parser-1.1.0 lib/hqmf-generator/field.xml.erb
hqmf-parser-1.0.6 lib/hqmf-generator/field.xml.erb
hqmf-parser-1.0.5 lib/hqmf-generator/field.xml.erb
hqmf-parser-1.0.4 lib/hqmf-generator/field.xml.erb
hqmf-parser-1.0.3 lib/hqmf-generator/field.xml.erb