Closed nmorasb closed 8 months ago
Hi @nmorasb. What's the code for the Dx.isActive()
function? Most likely that is looking at clinicalStatus
property, which is why it's showing up the data requirements.
Closing due to inactivity. Please reopen if needed.
We are requesting an update to the DataRequirementProcessor to stop adding additional, unnecessary data requirements to the output. This is when calling
DataRequirementsProcessor.gatherDataRequirements()
inelm-fhir
. It seems like, while composing the dateRequirement entries, the processor sometimes loses the call stack context and returns an unfiltered dataRequirement entry. Take the below for example. If we have a Cohort measure where the IP is this:The following is returned for dataRequirement:
It seems like the condition context has been lost inside the isActive() call, resulting in two Condition dataRequirement entries - one with the valueset, and one without. What we would really like is for just this to be returned:
If needed, we'd be ok with this being added behind a configuration option.