From an EMR to an Intelligent Clinical Environment
Vibe Rounds: Progress, Architecture and the Road Ahead — November 2026
By Dr. Avinash Kumar Gupta
From clinical documentation to contextual intelligence: building an ecosystem in which clinical knowledge is authored, patient information is accumulated, and intelligence is generated through governed, reusable clinical context.
1. The idea has grown beyond an EMR
What began as an effort to improve electronic medical records has gradually evolved into a much broader architectural vision.
Traditional EMRs are primarily designed around patients, encounters, forms and documentation. They capture information, but much of its clinical meaning remains trapped inside individual forms, specialty-specific templates and isolated encounters.
A patient with diabetes and chronic kidney disease, for example, may have creatinine recorded in one form, eGFR in another, blood pressure in a third, and related clinical decisions documented elsewhere. Although these observations belong to the same clinical story, the system does not necessarily understand their shared meaning.
The central question became:
What if an EMR could understand clinical information as connected context rather than simply storing completed forms?
This question led to the development of three interconnected projects:
Clinical Intelligence Studio — where clinical knowledge and reusable clinical artefacts are designed.
Vibe Rounds EMR Enhancer — where patient-level clinical information is captured and accumulated.
CCIS (Contextual Clinical Intelligence Standard) — where clinical concepts, context, pathways and analytics are represented, validated and executed.
Together, these projects aim to establish an Intelligent Clinical Environment rather than another conventional EMR with an AI assistant attached.
2. The three-repository architecture
The three repositories have increasingly distinct responsibilities.
A. Clinical Intelligence Studio — the authoring environment
Repository: https://github.com/avi33tbtt/Vibe-Rounds---Clinical-Intelligence-Studio
The Studio is intended to become the environment in which clinical knowledge is authored and governed.
Its planned responsibilities include:
Defining reusable clinical elements.
Organising elements into groups.
Designing clinical pathways and pathway packages.
Defining shared clinical concepts and ownership.
Attaching analytics and rule packages.
Validating and publishing versioned clinical artefacts.
Distributing published packages through a Marketplace.
The important architectural decision is that clinical knowledge should not be independently recreated in every application.
A clinical element should have a reusable definition. A pathway should describe the information needed for a clinical journey. Analytics and rules should be separately governed and versioned.
Current progress: The ecosystem plan, core architectural conventions, master task tracker and initial decision framework have been committed. Phase A is underway. The current next task is A1a: resolving twelve architectural decisions before the detailed vocabulary, element catalogue, field mapping and package design are completed.
The Studio application itself is not yet at its implementation stage in the current master plan. Its application-building phase is deliberately locked until the underlying CCIS contract is ready. This avoids building an authoring interface around a contract that may subsequently change.
B. Vibe Rounds EMR Enhancer — the patient-level clinical workspace
Repository: https://github.com/avi33tbtt/Vibe-Rounds---EMR-Enhancer-App
The EMR Enhancer is the patient-facing clinical environment.
Its development has progressed considerably beyond a simple documentation prototype.
Major capabilities implemented include:
Patient registration and encounter management.
Role-based access and audit logging.
Versioned clinical element sets and review workflows.
Local clinical terminology and binding verification.
Structured OPD complaints, symptom attributes, adaptive history, examination and assessment-plan documentation.
Problems, allergies and medication history.
Medication orders and reconciliation.
Investigation orders, specimens, results and acknowledgement workflows.
Referrals and procedures.
IPD admission, progress notes, medication administration, discharge and follow-up.
FHIR export and staged import foundations.
Versioned context-envelope export.
A patient-level longitudinal clinical explorer.
The longitudinal explorer is a particularly important milestone.
It brings together clinical events over time, supports views by clinical context, provides a linked event-detail view, and includes simple trends for repeated numeric observations.
The explorer also preserves distinctions that are essential for clinical data integrity:
Missing information is not zero.
Unknown is not the same as negative.
Entered-in-error observations are not valid measurements.
Effective time and recorded time are kept distinct.
This moves the EMR towards representing a patient's clinical trajectory rather than merely displaying a list of encounters.
Current progress: The longitudinal explorer's R9k browser acceptance task is marked complete in the tracker. However, the recorded full test run had 23 failures among 955 tests, documented as pre-existing or timing-related. The overall suite therefore still needs reconciliation and a reliable green baseline.
The application remains a synthetic-data prototype. Completion of implementation tasks does not constitute clinical validation or production approval.
C. CCIS — the contextual intelligence standard and engine
Repository: https://github.com/avi33tbtt/Vibe-Rounds---CCIS
CCIS is the architectural layer that makes clinical meaning reusable and computationally accessible.
It is not simply another analytics dashboard.
It defines how clinical artefacts are represented, validated, composed, executed and governed.
Important capabilities already developed include:
Versioned clinical artefact schemas.
An eight-layer artefact validation framework.
Reference-integrity and semantic validation.
Graph and compatibility validation.
Executable-safety and governance checks.
Canonical JSON and SHA-256 checksums.
Deterministic compilation.
A command-line execution workflow.
A browser application for importing, browsing, selecting, running and exporting analytics.
Remote Marketplace loading foundations.
An authoring SDK for bindings, elements, pathways and analytics.
An early governed AI-drafting foundation.
The validator is particularly important. It does not simply ask whether an artefact is valid JSON. It checks whether its structure, references, semantics, graph relationships, executable constraints, tests and governance declarations are internally consistent.
The SDK also establishes an important principle: authoring an artefact through code should produce the same canonical artefact and checksum as authoring it through JSON.
The browser application has progressed from a minimal shell to a workflow with catalogue, import, compatibility, execution, results and export components.
Current progress: CCIS 0.1.0 has been frozen as the initial standard baseline. Subsequent work has advanced distribution, SDK authoring and early governed AI drafting. The latest tracker entry shows the next task as 4.3b, the governed drafting page model.
One distinction is important: the EMR context-envelope schema has separately advanced through versions 0.2.0 and 0.3.0. This does not mean that the planned CCIS artefact standard 0.2.0 has already been released. The latter remains part of the locked ecosystem build sequence.
3. The architectural ideas that are taking shape
The most important progress is not the number of screens or modules. It is the emergence of a coherent clinical information architecture.
3.1 Clinical elements instead of specialty-specific fields
A clinical element represents a reusable definition of something recorded about a patient.
For example, creatinine should not become a completely different concept merely because it appears in a diabetes pathway, CKD pathway or general medicine form.
The definition can be reused while its clinical context changes.
This creates the possibility of building forms for different specialties from common, governed building blocks.
3.2 Pathways instead of static templates
A form is usually a collection of fields.
A clinical pathway is more meaningful: it describes the information required for a particular clinical journey.
The same element may appear in multiple pathways without being independently redefined.
A pathway can therefore become a reusable clinical knowledge package rather than a fixed screen layout.
3.3 Trajectories instead of isolated encounters
A patient's clinical trajectory is the accumulated information across time and across pathways.
A diagnosis does not need to be the only organising principle. The system can also organise information around shared concepts and clinical contexts.
For example, a patient's diabetes and CKD trajectories may share kidney-function measurements, blood pressure and other observations.
This allows the system to present the same underlying clinical information in different relevant contexts without duplicating its meaning.
3.4 Composition instead of duplication
When two pathways require the same clinical concept, the system should recognise that they are referring to the same thing.
The developing architecture establishes:
Shared concepts matched by concept key, never merely by display label.
One owner element for each shared concept.
References from other elements rather than duplicate ownership.
Explicit conflict reporting when composition is ambiguous.
Versioned artefacts that preserve their original identity.
This is a foundation for composable clinical knowledge.
3.5 Governance instead of uncontrolled automation
Clinical intelligence must remain explainable and governed.
The architecture therefore distinguishes data-quality rules from clinical prompts, keeps parameters disabled by default, preserves provenance, and records the artefacts and records used in an evaluation.
A rule should generate a visible, traceable prompt. It should not silently alter a clinical record or independently authorise treatment.
4. What has been achieved so far
The following is a qualitative milestone summary based on the current repository trackers and documentation.
| Area | Progress by November 27 |
|---|---|
| EMR foundations | Core patient, encounter, security and documentation foundations implemented |
| Clinical workflows | OPD and substantial IPD, orders, results and longitudinal workflows implemented |
| Clinical terminology | Local terminology and review/binding workflows implemented |
| Longitudinal context | Patient-level contextual explorer implemented and browser acceptance recorded |
| Context envelopes | Multiple versioned envelope sections implemented |
| CCIS validation | Eight-layer validator and deterministic compilation foundations implemented |
| CCIS execution | CLI and browser execution workflows implemented |
| CCIS authoring | SDK builders for elements, pathways and analytics implemented |
| Marketplace distribution | Remote loading and distribution foundations implemented |
| AI-assisted authoring | Early governed drafting components implemented; user interface still in progress |
| Studio | Ecosystem plan, decisions and architecture foundations committed; detailed authoring application still ahead |
This is meaningful engineering progress, but it is important to distinguish implemented software from verified clinical performance.
The current repositories are prototypes using synthetic data. Some tests still require reconciliation, and clinical review, privacy review and production validation remain outstanding.
5. The next stage: completing the ecosystem contract
The next major objective is not to add more independent features. It is to complete the shared architecture on which all three applications depend.
The master ecosystem plan defines the sequence:
Decide and define → CCIS contract → clinical content and Marketplace → EMR integration and CCIS analytics → Studio application → integration and hardening.
Phase A — Complete the architectural decisions
The immediate Studio work is to resolve the twelve decisions already recorded in the tracker.
Then the project will document:
Shared vocabulary.
Core clinical elements.
Specialty-specific elements.
Concept ownership.
EMR-to-CCIS field mapping.
Pathway package structure.
Rule-pack design.
This will make the intended relationship between the existing EMR model and the CCIS model explicit.
Phase B — CCIS standard 0.2.0
The next major contract milestone will add or formalise:
Clinical concepts and contexts.
Element groups.
Pathway entry forms.
Composition and ownership validation.
Rule-pack schemas and evaluation.
Additional SDK builders.
Compatibility and Marketplace support.
The goal is to make elements, groups, pathways and rule packs composable and consistently governed.
Phase C — Clinical content and Marketplace
The first content packages will focus on:
Basic EMR.
Core presentation, vitals, examination and assessment-plan.
Diabetes.
CKD.
Hypertension.
A combined diabetes-CKD pathway.
The Marketplace will distribute immutable, validated versions of these artefacts.
Clinical content and thresholds will remain synthetic or unreviewed until a named clinician owner has reviewed them. Parameters will remain disabled by default.
Phase D — EMR integration
The EMR will consume the published CCIS packages.
Planned work includes:
Importing and staging pathway packages.
Converting packages into reviewable EMR drafts.
Publishing through existing governance workflows.
Rendering pathway-driven forms.
Composing forms when multiple pathways are applied.
Linking observations through shared concepts.
Building longitudinal context from applied pathways.
Importing and evaluating governed rule packs.
The key principle is that the EMR remains responsible for patient-level records and clinical workflows. It materialises and uses published knowledge rather than becoming a separate authoring source for every clinical definition.
Phase E — CCIS analytics
The initial analytics will focus on documentation completeness and monitoring gaps.
Examples include:
Vitals documentation completeness.
Diabetes glycaemic-monitoring gaps.
Diabetes documentation completeness.
CKD kidney-function monitoring gaps.
CKD documentation completeness.
Combined diabetes-CKD monitoring documentation.
These analytics will use explicit parameters, with thresholds and intervals disabled until locally reviewed and enabled.
Phase F — Clinical Intelligence Studio application
Once the contract and content foundations are stable, the Studio application can be built.
Its planned capabilities include:
Artefact catalogue.
Element editor.
Concept picker and ownership report.
Element-group composer.
Pathway composer.
Analytics attachment.
Rule builder and tester.
Package validation and publishing.
This is deliberately later in the sequence. The authoring interface should be a representation of a stable clinical knowledge model, not the place where that model is improvised.
Phase G — Integration and hardening
The final ecosystem phase will bring the three repositories together through end-to-end acceptance, security and governance checks, version compatibility, documentation and release coordination.
6. The next major innovation: patient context and cohort context
There is another important architectural distinction in the roadmap.
The EMR and CCIS should not become two versions of the same application.
The EMR operates at the patient level:
What is happening to this patient?
What has changed over time?
Which clinical contexts are relevant?
Which records support this view?
CCIS will increasingly operate at the cohort and population level:
What patterns appear across a group of patients?
Which clinical concepts are connected?
How do trajectories differ?
Which relationships deserve further investigation?
What can be learned from aggregate clinical experience?
The planned Cohort Context Graph and Cohort Explorer are important steps in this direction.
The cohort layer should be based on purpose-limited, governed and de-identified data exchange. It should not simply query the EMR's patient database directly.
This separation allows patient-level clinical workflows and cohort-level intelligence to evolve independently while sharing a common clinical knowledge architecture.
7. The role of AI: an assistant to the knowledge-building process
AI is being introduced carefully rather than made the foundation of the entire system.
One early CCIS direction is governed AI-assisted drafting.
The intended workflow is:
A user provides a source or drafting instruction.
The system applies a controlled request gate.
AI proposes a draft.
The response is parsed and checked.
A draft is accepted only through the defined SDK and validation pathway.
Human review and publication governance remain separate.
AI should help accelerate the creation of clinical artefacts, not become the authority that determines their clinical correctness.
The same philosophy applies to clinical prompts. A deterministic, traceable rule can surface information for a clinician to consider. The clinician remains responsible for interpretation and action.
8. What remains before real-world deployment?
A substantial gap remains between a working prototype and a clinically deployable system.
The next stages must include:
Reconciliation of outstanding automated test failures.
Full end-to-end integration testing.
Real-browser workflow acceptance.
Independent clinician review of clinical elements, pathways and analytics.
Privacy and security assessment.
Review of de-identification and data-retention controls.
Interoperability validation, including external FHIR validation.
A documented safety case.
Formal clinical and operational go-live approval.
The EMR tracker already identifies several of these as explicit owner and go-live tasks. The cohort exporter also remains blocked until the relevant CCIS cohort contract work is completed.
Until these gates are satisfied, the applications remain prototypes for synthetic data only and must not be used for real patient care.
9. The larger vision: an Intelligent Clinical Environment
The destination is not simply a better EMR, a more advanced analytics tool or a clinical AI chatbot.
It is an environment in which:
Clinical knowledge is authored once.
Clinical elements are reused across specialties.
Pathways organise what information is needed.
Patient observations accumulate into longitudinal trajectories.
Shared concepts connect related clinical information.
Analytics operate on governed clinical context.
Cohort intelligence emerges from appropriately governed data.
AI helps clinicians and knowledge authors while preserving human responsibility.
Every important output has provenance and a traceable basis.
The deeper architectural proposition is:
Separate clinical meaning from physical data representation, and clinical knowledge becomes reusable across forms, pathways, patient trajectories and cohort analytics.
This is the foundation of a schema-light, knowledge-driven clinical information architecture.
It is not about removing structure. It is about putting structure in the right place: in reusable clinical definitions, governed relationships, explicit context and versioned knowledge artefacts, rather than hard-coding every clinical possibility into a separate database table or screen.
10. The immediate proof: one complete clinical journey
The best way to demonstrate the value of this architecture is to complete one coherent end-to-end clinical journey.
Diabetes and CKD offer a particularly useful demonstration.
Imagine the following:
A clinical author defines reusable core, diabetes and CKD elements in the knowledge ecosystem.
The elements are connected through shared concept ownership.
A diabetes pathway and a CKD pathway are composed into a combined pathway.
The package is validated, versioned and published.
The EMR imports it through its review and publication workflow.
A clinician applies the pathway to a synthetic patient.
Observations are captured through the composed form.
The patient's longitudinal trajectory brings together the relevant observations.
CCIS evaluates the appropriate analytics over the context envelope.
Results return as explainable, traceable outputs.
This single journey would demonstrate the central proposition of all three repositories.
It would show that the system is not merely capable of creating flexible forms. It can author clinical knowledge, distribute it, apply it to patient care workflows, accumulate contextual information and derive governed intelligence.
Conclusion: Building the infrastructure for clinical intelligence
The progress made during November 2026 represents a transition from an EMR enhancement project towards a broader clinical information architecture.
The EMR foundations are substantial. CCIS has developed a meaningful standard, validator, execution environment and authoring SDK. The Studio ecosystem plan now defines how clinical knowledge will eventually be authored and distributed.
The next challenge is integration, not simply adding more code.
The three repositories must demonstrate that they can work together as one coherent system while retaining their distinct responsibilities.
If this succeeds, the result could be a new way of thinking about clinical software: not as collections of forms and databases, but as an evolving environment of clinical meaning, patient context, longitudinal trajectories and governed intelligence.
The ambition is simple to state, but substantial to achieve: move from recording clinical information to understanding and reusing clinical context.
Vibe Rounds — towards an Intelligent Clinical Environment.
Project repositories
Clinical Intelligence Studio: https://github.com/avi33tbtt/Vibe-Rounds---Clinical-Intelligence-Studio
EMR Enhancer App: https://github.com/avi33tbtt/Vibe-Rounds---EMR-Enhancer-App
Status reference: repository task trackers and README documentation reviewed through November 27, 2026. All three projects remain prototypes. Synthetic data only. Not for clinical use.