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.4.6 lib/hqmf-generator/field.xml.erb
health-data-standards-3.4.5 lib/hqmf-generator/field.xml.erb
health-data-standards-3.4.4 lib/hqmf-generator/field.xml.erb
health-data-standards-3.4.3 lib/hqmf-generator/field.xml.erb
health-data-standards-3.4.2 lib/hqmf-generator/field.xml.erb
health-data-standards-3.4.1 lib/hqmf-generator/field.xml.erb
health-data-standards-3.4.0 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.12 lib/hqmf-generator/field.xml.erb
health-data-standards-3.3.0 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.11 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.10 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.8 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.7 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.6 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.5 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.4 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.3 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.2 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.1 lib/hqmf-generator/field.xml.erb
health-data-standards-3.2.0 lib/hqmf-generator/field.xml.erb