Sha256: 96a8d448b135e63fbaa0c01efae05e602bb31d8984edb98d6709ed18b1530475
Contents?: true
Size: 1.86 KB
Versions: 16
Compression:
Stored size: 1.86 KB
Contents
<excerpt typeCode="XCRPT"> <!-- Subset operator for: <%= subset.type %> --> <% if HQMF2::SubsetOperator::ORDER_SUBSETS.include? subset.type %> <sequenceNumber value="<%= (HQMF2::SubsetOperator::ORDER_SUBSETS.index subset.type) + 1%>"/> <% elsif HQMF2::SubsetOperator::LAST_SUBSETS.include? subset.type %> <qdm:subsetCode code="QDM_LAST"/> <% elsif subset.type == 'COUNT' %> <subsetCode code="SUM"/> <qdm:subsetCode code="QDM_SUM"/> <% else %> <% if HQMF2::SubsetOperator::TIME_SUBSETS.include? subset.type %> <!-- NOTE: DATEDIFF and TIMEDIFF are not valid in population criteria... measure requires rewrite --> <%end%> <subsetCode code="<%= subset.type %>"/> <% end %> <<%= 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
16 entries across 16 versions & 1 rubygems