lib/health-data-standards/models/cqm/measure.rb in health-data-standards-3.2.1 vs lib/health-data-standards/models/cqm/measure.rb in health-data-standards-3.2.2
- old
+ new
@@ -136,11 +136,11 @@
qrda_template = HealthDataStandards::Export::QRDA::EntryTemplateResolver.qrda_oid_for_hqmf_oid(template,value_set_oid)
rescue
value_set_oid = 'In QRDA Header (Non Null Value)'
qrda_template = 'N/A'
end # end begin recue
- result << {description: data_criteria.description, oid: value_set_oid, template: qrda_template}
-
+ description = "#{HQMF::DataCriteria.title_for_template_id(template).titleize}: #{data_criteria.title}"
+ result << {description: description, oid: value_set_oid, template: qrda_template}
if data_criteria.temporal_references
data_criteria.temporal_references.each do |temporal_reference|
if temporal_reference.reference.id != 'MeasurePeriod'
result.concat loop_data_criteria(hqmf, hqmf.data_criteria(temporal_reference.reference.id), rationale)
end #if temporal_reference.reference.id
\ No newline at end of file