test/unit/hqmf_javascript_test.rb in hqmf2js-1.0.0 vs test/unit/hqmf_javascript_test.rb in hqmf2js-1.0.1
- old
+ new
@@ -22,11 +22,11 @@
@converter = HQMF2JS::Generator::JS.new(doc)
converted_hqmf = "#{@converter.js_for_data_criteria}
#{@converter.js_for('IPP')}
#{@converter.js_for('DENOM')}
#{@converter.js_for('NUMER')}
- #{@converter.js_for('EXCEP')}
+ #{@converter.js_for('DENEXCEP')}
#{@converter.js_for('DUMMY')}"
initialize_javascript_context(hqmf_utils, codes_json, converted_hqmf)
end
@@ -118,10 +118,10 @@
# Standard population health query buckets
assert @context.eval("hqmfjs.IPP(numeratorPatient).isTrue()")
assert @context.eval("hqmfjs.DENOM(numeratorPatient).isTrue()")
assert @context.eval("hqmfjs.NUMER(numeratorPatient).isTrue()")
- assert !@context.eval("hqmfjs.EXCEP(numeratorPatient).isTrue()")
+ assert !@context.eval("hqmfjs.DENEXCEP(numeratorPatient).isTrue()")
# COUNTing
assert @context.eval("hqmfjs.moreThanTwoHbA1CTests(numeratorPatient).isTrue()")
assert !@context.eval("hqmfjs.moreThanFourHbA1CTests(numeratorPatient).isTrue()")
\ No newline at end of file