For the claims. there is history type='viewing', how can we get count of other history types that has occurred other than viewing before 5 min and after 5 minutes of viewing. There are different history types
There is timestamp that captures what history type has occurred at what time, based on this I want to get the count of other history types that has occurred within 5 minutes of before and after the history type='viewing' has occurred.
Kindly help with idea for the PQL query