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
We should provide a series of system 'health checks' on the front end that confirm that EMAP/HySys/HyCastle and HyMind etc are all 'green' or otherwise.
The text was updated successfully, but these errors were encountered:
There is now a HySys endpoint in the HyFlow API /admissions/latest.
This returns one date and time for the most recent admission to ED and one for the most recent admission to any ICU within HySys. This gives us an idea of whether the IDS, UDS and hylode infrastructure is running correctly.
We can use this in HyUi to do something like:
if datetime.now() - latest_icu_admission_datetime > timedelta(hours=12):
# show red light
else:
# show green light
It would have been nice to use something more frequent like observations, however the table to select those takes several minutes to return a query. The episodes tables here take milliseconds. In the future we could index the observations tables appropriately if we wanted to use them.
We should provide a series of system 'health checks' on the front end that confirm that EMAP/HySys/HyCastle and HyMind etc are all 'green' or otherwise.
The text was updated successfully, but these errors were encountered: