Sha256: df5312954e0702a9d2eb34d7ec826ee804841512abacd1e1b6d62144c6941542

Contents?: true

Size: 1.13 KB

Versions: 5

Compression:

Stored size: 1.13 KB

Contents

          <excerpt typeCode="XCRPT">
            <subsetCode code="<%= subset.type %>"/>
            <<%= element_name_prefix(criteria) %>Criteria moodCode="EVN" classCode="<%= reference_type_name(criteria.id) %>">
            <id root="2.16.840.1.113883.3.100.1" extension="<%= criteria.id %>"/>
            <%- if subset && subset.value -%>
              <%- if subset.type == 'COUNT' -%>
                <repeatNumber <%= "lowClosed=\"true\"" if subset.value.low && subset.value.low.inclusive? %> 
                              <%= "highClosed=\"true\"" if subset.value.high && subset.value.high.inclusive? %>>
                   <%- if subset.value.low -%>
                     <low value="<%= subset.value.low.value %>"/>
                   <%- end -%>
                   <%- if subset.value.high -%>
                     <high value="<%= subset.value.high.value %>"/>
                   <%- end -%>
                </repeatNumber>
              <%- else -%>
                <%= xml_for_value(subset.value, 'value') %>
              <%- end -%>
            <%- end -%>
            </<%= element_name_prefix(criteria) %>Criteria>
          </excerpt>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
health-data-standards-3.6.1 lib/hqmf-generator/subset.xml.erb
health-data-standards-3.5.3 lib/hqmf-generator/subset.xml.erb
health-data-standards-3.5.2 lib/hqmf-generator/subset.xml.erb
health-data-standards-3.5.1 lib/hqmf-generator/subset.xml.erb
health-data-standards-3.5.0 lib/hqmf-generator/subset.xml.erb