Hierarchical State Derivation
Derive historical parent state from independently changing child entities.
Parent histories such as policies, portfolios or departments must be rebuilt from child timelines and explicit business aggregation rules.
The parent entity has no direct historical state.
In many source systems, business state exists at a lower level than the reporting entity. Contracts have status history, while the policy status must be derived from all contracts belonging to the policy.
This is not a simple current-state aggregation. The parent timeline must be reconstructed from every relevant child boundary.
If child changes are skipped, the derived parent state can change too early, too late or become impossible to explain.
A policy state is derived from two contracts that become annulled at different times.
Compare a boundary-aware derivation with a naive rollup and an unresolved mixed-state rule.
All contract boundaries are collected first. The policy is Active while at least one contract remains Active and becomes Annulled only after all child contracts are annulled.
Never derive a historical parent state from one current child snapshot. Rebuild the shared timeline first, then apply the business rule interval by interval.
Child timelines define the boundaries; business rules define the parent value.
Hierarchical State Derivation first aligns all child state histories into common non-overlapping time slices.
Each slice is then probed for active child states and evaluated through a documented rule such as “Active if at least one child is Active.”
If at least one contract is Active, the policy is Active.
valid_from | valid_to | policy_status | evidence Jan | Apr | Active | A and B active Apr | Jun | Active | B still active Jun | ∞ | Annulled | all contracts annulled
Children change independently while the parent is reported as one entity.
Contracts, accounts, positions or organizational units can start, end or change status on different dates.
A parent-level report compresses those separate histories into one derived state, which requires complete temporal alignment and an explicit aggregation rule.
Build parent history from atomic child-aligned intervals.
Historical derivation should be complete, deterministic and explainable.
Hierarchical derivation keeps parent reporting consistent with child history.
Without time-aware derivation, a parent state can contradict the child states that actually existed during the same period.
With atomic intervals and explicit rules, every parent state is reproducible and traceable to its contributing children.
This is essential for policy, portfolio, account and organizational reporting where the parent is not maintained as an independent source state.
How Hierarchical State Derivation connects to other historical patterns
Hierarchical derivation combines temporal alignment, relationship history and state modeling to produce one parent-level history.
Review a hierarchical historical derivation.
Use the Historical Data Assistant to reason about child boundaries, parent aggregation rules, changing hierarchies and derived state reproducibility.
Open Historical Data Assistant →