CKD Care Orchestration Framework · Conceptual Note

Encounters, Events, Illnesses & Episodes

Operational definitions and grouping rules for representing clinical time, and how they map to standard informatics models.

1.The core problem: one word doing two jobs

The phrase “an event may be made up of numerous encounters or illnesses” is the tell. Event is being used as an aggregating container, but the same word is also natural for an atomic happening (an MI, dialysis start, an AKI onset). Almost every mature clinical information model splits these into two distinct primitives. The recommendation is to do the same: reserve event for the atomic happening and use episode for the container.

Five primitives, ordered from atomic to aggregate:

Encounter
A documented contact between the patient and the care system at a point or short interval in time (date, setting, type, reason, labs, vitals). An encounter is evidence, not interpretation — it is where data is captured and carries no clinical meaning by itself.
Clinical event
A discrete, timestamped happening or state-change of clinical significance: AKI onset, started dialysis, hospital admission, a biopsy result crossing a threshold, a medication start/stop. An event is a fact / inflection point. It may be (a) anchored to an encounter — discovered or occurring at a visit — or (b) inferred between encounters: patient-reported, reconstructed, or pulled from an outside HIE feed. Events are granular; they are not containers.
Illness / condition
A longitudinal disease thread with its own lifecycle (onset → course → possible abatement) that is independent of any single encounter. This is where acuity, chronicity, and progression live. The illness is the through-line that stitches encounters and events into meaning; CKD is one illness thread that persists across dozens of encounters and many episodes.
Episode
The aggregate container — the concept “event” was standing in for. It bundles the encounters and events that hang together. Worth splitting into two flavors: an episode of illness (a bounded arc with a beginning and usually an end — the sepsis hospitalization, the lupus flare, the AKI episode that resolved) and an episode of care (an open-ended relationship grouping around a care goal — the transplant workup, “managed by nephrology 2018–present,” the pre-dialysis CKM pathway).
Observation
The atomic data point (a single eGFR, a BP) living inside an encounter. Worth naming because the acuity and progression logic is computed from sequences of these.

2.Acuity, chronicity, progression are three orthogonal axes

The common mistake is treating these as a single continuum. They are independent attributes of an illness, and nephrology shows why they don’t collapse into one another.

Acuity

Tempo and current intensity — onset acuity (acute vs. insidious) and current activity (flaring vs. quiescent). “How fast did it arrive / how hot is it now.”

Chronicity

Persistence — self-limited vs. persistent vs. recurrent/relapsing-remitting. “Will it end.”

Progression

Direction over time — improving / stable / progressive / fluctuating. “Which way is it heading.”

IllnessAcuityChronicityProgression
CKD (nephrosclerosis)LowChronic-persistentSlowly progressive
AKI on CKDHighAcute / may resolveResolving or progressive
Lupus nephritisHigh on flareChronic-recurrentRelapsing-remitting
FSGS post-transplant recurrenceModerateChronicProgressive

The same illness moves along the progression axis over time while its chronicity classification stays fixed — that is the distinction that lets you say “CKD is stable this year” without implying it stopped being chronic.

3.How the primitives compose

Entity relationships between Episode, Encounter, Event and Illness Episode aggregates encounters and events and references illnesses; events anchor to encounters and mark state-changes on illness threads. EPISODE aggregate container illness-arc · or · care-pathway ILLNESS / CONDITION longitudinal thread · lifecycle Acuity onset tempo · current activity Chronicity self-limited · persistent · recurrent Progression improving · stable · progressive ENCOUNTER atomic contact · evidence contains observations CLINICAL EVENT atomic happening · inflection anchored or inferred-between groups · m:n references · m:n (not owns) anchors to marks state-change groups · 1:n accent = the longitudinal spine dashed = reference, not containment
The five primitives and their cardinalities. Episodes aggregate; illnesses are the spine; events are inflection points.

Four composition rules fall out of these definitions:

Episode ↔ Encounter is many-to-many. One clinic visit can serve several episodes at once (the CKD thread, a new HTN finding, a med-safety review); one episode spans many encounters. Encounters can’t “belong to” a single episode — you need a link table, and probably a notion of the primary episode for an encounter plus secondary links.

Event → Episode is mostly many-to-one. Events are the spine of an episode, and one event can open or close it.

Event ↔ Illness: an event marks a state-change on an illness’s trajectory. The AKI-on-CKD event is what bumps the CKD thread’s progression vector. This is how the acuity/chronicity/progression attributes get updated — they are not static fields, they are recomputed as events land on the thread.

The decision that matters most. Illness is referenced by episodes, never contained by them. An illness outlives any episode — CKD persists through the sepsis admission, the access surgery, the transplant. If you nest illnesses inside episodes (or inside encounters), longitudinal CKD becomes impossible to represent and you’ll be re-deriving the disease thread from scratch at every visit. Episodes and encounters point at the illness; the illness owns its own timeline.

4.Where this sits in the informatics literature

This is not novel — it rediscovers a well-trodden model, which is reassuring for a demo tool aiming at face validity. The relevant bodies of work:

FHIR (HL7) — the closest direct map

FHIR separates Encounter (a single activity/contact) from EpisodeOfCare — explicitly “the container that can link a series of Encounters together for problems/issues… even if not currently participating in an encounter.” That is precisely the episode-vs-encounter split. And Condition.clinicalStatus already encodes the acuity/chronicity/progression axes as a value set: active, recurrence, relapse, inactive, remission, resolved — plus separate onset, abatement, and severity elements. Adopting those status terms makes the framework speak the same language as any modern EHR.

OMOP CDM (OHDSI) — the computational version of grouping

OMOP’s condition_era is literally “a span of time when the person is assumed to have a given condition,” built by collapsing individual condition_occurrence rows using a 30-day persistence window. That is the algorithm for turning atomic events into an illness thread — and the observation_period concept (when the patient is “at-risk to have a clinical event recorded”) is a useful honesty check on whether absence of data means absence of disease.

Foundational lineage

For provenance: Weed’s problem-oriented medical record (the original argument that the problem/illness — not the visit — should be the organizing spine); the primary-care “episode of care” tradition (Lamberts & WONCA/ICPC, which formalized episode-of-care as the unit of analysis in ambulatory data); openEHR’s archetype model and HL7’s RIM Act/clinical-statement pattern (both distinguish atomic acts from their groupings); and Shahar’s knowledge-based temporal abstraction, the academic basis for deriving “progression / stable / worsening” trends from raw observation sequences — directly relevant to computing the progression axis rather than hand-entering it.

5.References

  1. HL7 FHIR. EpisodeOfCare (R5). hl7.org/fhir/episodeofcare.html
  2. HL7 FHIR. Condition resource — clinicalStatus, verificationStatus, onset/abatement, severity. hl7.org/fhir/condition.html
  3. OHDSI. OMOP Common Data Model v5.4 — CONDITION_ERA, CONDITION_OCCURRENCE, OBSERVATION_PERIOD. ohdsi.github.io/CommonDataModel/cdm54.html
  4. OHDSI. condition_era definition and 30-day persistence window. ohdsi.org/web/wiki/doku.php?id=documentation:cdm:condition_era
  5. Weed LL. Medical records that guide and teach. N Engl J Med. 1968;278(11):593–600 & 652–657. (Problem-oriented medical record.)
  6. Lamberts H, Hofmans-Okkes I. Episode of care: a core concept in family practice. J Fam Pract. 1996;42(2):161–167. (WONCA / ICPC episode-of-care tradition.)
  7. Shahar Y. A framework for knowledge-based temporal abstraction. Artif Intell. 1997;90(1–2):79–133. (Deriving trend/progression from observation sequences.)
  8. openEHR Foundation. Archetype / reference model (EHR Information Model). specifications.openehr.org/releases/RM/latest/ehr.html