charithv
10/09/2024, 1:34 PMfocus field to link a Condition to an Observation , we found a bug (a race condition) in our system which sets reference to undefined
{
... observation ,
focus: [{reference: undefined}]
}
on Medplum this is being stored as
{
...observation,
focus: [{}]
}
problem with this is when use the search filter focus:missing=true these does not show up as the array has an empty object in it .
i have also tried using focus:contains={} even that does not return anything .
currently i use focus:missing=false&sort=-focus to sort and get these kinda values on top .
but i remember from our previous conversation when doing batch queries sorting is not good and we cant find a way to query just these values.
do you have any suggestions ?charithv
10/11/2024, 3:03 AMrahul1
10/11/2024, 3:49 PMcharithv
10/12/2024, 2:47 PM