You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library Queries
using QICore version '4.1.1'
include FHIRHelpers version '4.1.000'
parameter "Measurement Period" Interval<DateTime> default Interval[@2023-01-01T00:00:00.0Z, @2023-12-31T23:59:59.999Z]
context Patient
define "Blood Pressure Observations":
["Observation Blood Pressure Profile"]
define "Encounters With Blood Pressure":
[Encounter] E
with ["Observation Blood Pressure Profile"] O
such that O.effective during E.period
define "Encounter-1 Period":
singleton from (
[Encounter] E
whereE.id='Encounter-1'
return E.period
)
define "Observation Blood Pressure Effective":
singleton from (
["Observation Blood Pressure Profile"] O
return O.effective
)
define "Is During":
"Observation Blood Pressure Effective" during "Encounter-1 Period"
define "On Or After Start Of":
"Observation Blood Pressure Effective"onor after start "Encounter-1 Period"
define "On Or Before End Of":
"Observation Blood Pressure Effective"onor before end "Encounter-1 Period"
And the following Encounter and Observation resources:
Given the following library:
And the following Encounter and Observation resources:
The result of the "Is During" expression should be true, but is returning null
The text was updated successfully, but these errors were encountered: