Skip to content

Commit

Permalink
add expected output for RolledOutIntervals test
Browse files Browse the repository at this point in the history
  • Loading branch information
antvaset committed Jun 12, 2024
1 parent cd72520 commit be98a1d
Showing 1 changed file with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,23 @@
<output>120</output>
</test>
<test name="RolledOutIntervals">
<expression>MedicationRequestIntervals M
<expression>({
Interval[@2012-01-01, @2012-02-28],
Interval[@2012-02-01, @2012-03-31],
Interval[@2012-03-01, @2012-04-30]
}) M
aggregate R starting (null as List&lt;Interval&lt;DateTime>>): R union ({
M X
let S: Max({ end of Last(R) + 1 day, start of X }),
E: S + duration in days of X
return Interval[S, E]
})</expression>
<output>TODO</output>
<!-- Translation Error: Could not resolve identifier MedicationRequestIntervals in the current library. -->
<output>{
Interval[@2012-01-01, @2012-02-28],
Interval[@2012-02-29, @2012-04-28],
Interval[@2012-04-29, @2012-06-28]
}</output>
<!-- Execution Error: Invalid precision: 1. -->
</test>
</group>
</tests>

0 comments on commit be98a1d

Please sign in to comment.