OHIF Viewer doesn't check valid lh-toolkit session
Since the OHIF Viewer runs over meteor, it doesn't ping back to see if the lh-toolkit user session, (hosting the iframe or when used separately). This causes some issues in order-report reconciliation or user security. There can be two approaches that can be used:
- Use a websocket between lh-toolkit (tomcat) and OHIF Viewer (meteor) to check the logged in user session - this might mean additional work on the lh-toolkit (tomcat) side.
- Ping often from OHIF Viewer to lh-toolkit REST endpoint that checks user is logged in (/session resource). This might also keep the user session from invalidating, which may/may not be a good idea.