FirelyTeam / firely-cql-sdk

BSD 3-Clause "New" or "Revised" License
26 stars 15 forks source link

2.0/Fix integration test - null is returned instead of true/false #376

Open cheng13231 opened 2 weeks ago

cheng13231 commented 2 weeks ago

Describe the bug

In a CQL, we have following define, a Boolean result (true/false) is expected not null

define "Numerator":
  "Most Recent Viral Load Test During Measurement Period".value < 200 '{copies}/mL'
    or "Most Recent Viral Load Test During Measurement Period".value ~ "Below threshold level (qualifier value)"
    or "Most Recent Viral Load Test During Measurement Period".value ~ "Not detected (qualifier value)"

To Reproduce Steps to reproduce the behavior:

  1. Run following integration test HIVViralSuppressionFHIR -> test case 061ab97e-4e5d-4c1d-91dc-21e34b415b5b
  2. See error image

Version used: