-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Description
The encounter element pregnant expression is defined as:
define "Pregnant Observation":
Elements."Pregnant Observation" O
where O.encounter.references(EncounterId)
or O.effective.toInterval() starts 9 months on or before day of AsOf
This doesn't seem to work as expected. I'm not quite sure what this syntax is doing. I tried with a few different dates in Observation.effective and never got anything to match. I'm also not sure what the "source" of this file should be.
The following will do what I think it should be doing, but I'm not sure of the requirements.
define "Pregnant Observation":
Elements."Pregnant Observation" O
where O.encounter.references(EncounterId)
or O.effective.toInterval() starts same day or after AsOf - 9 months
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels