Jump to content

Blueprint:ObsTable

From Sahana Eden Wiki

Observation Tables

Background

Observation tables are a monitoring and decision support tool representing observations along a time axis. Such representations are useful in various context, e.g.

Medical observations for an individual patient:

Medical Measurement Values

Observed water levels at measurement stations along a river system:

Water Levels

Typically, these tables show observed values grouped by categories representing the type or point of measurement - and each category would have a specific reference range. To guide the users attention, and support decision making, values deviating from the reference range are usually highlighted in some way.

Problem

Eden does not currently provide a dedicated UI method to generate such observation tables.

While it is possible to use the DataTable endpoint in combination with representation methods to highlight deviations, this is typically limited to hard-coded per-field categories (rather than user-definable per-record categories) along a vertical time axis.

PivotTableReports, on the other hand, would allow for user-definable per-record categories, as well as a horizontal time axis, but lack time slot aggregation capabilities.

Timeplot reports, in turn, can perform time slot aggregation and support per-record categories, but do not produce a table representation at all.

Further, neither of the above supports category grouping, category-specific reference range representation or highlighting of out-of-range values.

It makes therefore sense to implement a generic, configurable CRUDMethod to produce observation tables.

Analysis / Requirements

  • tbw

Solution Ideas / Proposals

  • tbw

Implementation

  • tbw