open ecgs in a new tab from a query, so we can open other results later
handle ecgs with more data than declared. Not sure if it's the best choice...