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
Expected behavior
create a new encounter, it is immediately indexed for searching
Current behavior
sometimes a new encounter is not immediately in the index
Notes
there is problematic code in enc.opensearchIndexDeep() which tries to remedy this by using origEnc -- and it needs to be removed.
for example: create a new Encounter with no images. this causes postStore() to execute, and then opensearchIndexDeep()... however the encounter is not available in db yet for some reason; thus the index fails. [assuming the origEnc problematic code is removed.]
The text was updated successfully, but these errors were encountered:
Expected behavior
create a new encounter, it is immediately indexed for searching
Current behavior
sometimes a new encounter is not immediately in the index
Notes
there is problematic code in
enc.opensearchIndexDeep()
which tries to remedy this by usingorigEnc
-- and it needs to be removed.for example: create a new Encounter with no images. this causes
postStore()
to execute, and thenopensearchIndexDeep()
... however the encounter is not available in db yet for some reason; thus the index fails. [assuming theorigEnc
problematic code is removed.]The text was updated successfully, but these errors were encountered: