What is a longitudinal patient record?
It is a record assembled over time and often across sources. A reliable implementation preserves source, clinical dates, update times, and completeness instead of presenting every event as equally certain.
Production-grade access is free with an account. · Synthetic demo · no account needed
Patient-authorized EHR integration
A timeline is not a giant sorted array. It is a source-aware projection over records with different clinical dates, update times, identities, and completeness.
Updated: 2026-08-25 · 11 min read
Ingest records per source and category, retain stable source identities, map them to typed timeline events, and rebuild projections deterministically. Clinical time, source update time, and ingestion time should remain separate fields.
Evidence boundary: Uses synthetic examples and source-aware record practices; it does not provide clinical decision support.
Author: FinchNode Engineering
type TimelineEvent = {
key: string;
kind: 'lab' | 'condition' | 'medication' | 'encounter' | 'immunization';
clinicalTime?: string;
recordedTime?: string;
ingestedAt: string;
title: string;
summary?: string;
source: { organization: string; resourceType: string; resourceId?: string };
confidence: 'exact' | 'derived' | 'unknown';
};
Prefer a stable business identifier within its namespace. Otherwise use the source connection, resource type, and logical ID. A content hash can help detect changes, but it should not be the sole real-world identity because clinically distinct events can contain identical data.
Use a source cursor, supported history, or bounded updated-since query.
Preserve version, last-updated, and the raw-to-normalized mapping.
Regenerate projections deterministically for changed source records.
Use tombstones or lifecycle state rather than silently deleting history.
Advance progress only after the data and projection transaction succeeds.
It is a record assembled over time and often across sources. A reliable implementation preserves source, clinical dates, update times, and completeness instead of presenting every event as equally certain.
Use the clinically relevant date for display, not Bundle order or ingestion time. Keep date precision and uncertainty visible.
Use stable source-aware identity, business identifiers where reliable, version lineage, and conservative domain rules. Do not deduplicate only by display text.
No. It is a data organization pattern. Clinical interpretation and decision support require separate validation, governance, and regulatory analysis.