⚠️ Breaking
- [EkaAgents] echo-sdk prompt-schema rename —
AgentConfig,PersonaConfig, andTaskConfigare renamed toAgentPrompt,PromptPersona, andPromptTaskand have moved fromecho.agents.configtoecho.prompts.schemas.GenericAgentandAgUiAgentnow requireagent_prompt=instead ofagent_config=,FetchedPrompt.agent_configis nowFetchedPrompt.agent_prompt, andload_agent_config()is replaced byload_agent_prompt(). The old module path and kwargs are removed — callers must update imports and constructor arguments before upgrading to 0.3.3. - [EkaAgents] echo-sdk skill package move —
echo.agents.skill.Skillis nowecho.skills.Skill;Skillis no longer re-exported fromecho.agents. Update imports tofrom echo.skills import Skill.
Added
- [EMR] Appointment reschedule history on the doctor app — Rescheduling an appointment now persists a forward/back link between the source and the newly created appointment. The old appointment record stores
next_aid(the new appointment id) at reschedule time, and the new appointment storesprev_aids(the chain of prior appointment ids) and inherits the existingreceiptsso payments and services already attached to the original visit are preserved. Both fields are exposed on theAppointmentsModelreturned by the Firestore manager. - [EkaAgents] Runtime skill configuration in echo-sdk — New
echo.skills.SkillRuntimeConfig(name, description,prompt_config: PromptConfig,tool_names) plus abuild_skills_from_runtime()helper that fetches every skill’s prompt in parallel via the configured prompt provider and materialises them intoSkillinstances. Individual prompt-fetch failures are logged and the offending skill is dropped, so one bad skill config no longer breaks the whole turn. - [EkaAgents]
PromptConfigdescriptor — New Pydantic model for fetching prompts from a provider (currentlylangfuse), withname,version, andprompt_variablesand automatic whitespace-stripping onname. Used bySkillRuntimeConfigand intended for host apps that wire skill prompts dynamically.
Fixed
- [EMR] Property persistence for examination findings and procedures — The prescription pad now carries the
propertiesmap through the local upsert path and the genie sync middleware for both examination findings and procedures. Previously the save pipeline only forwardedidandname(plussourcefor findings), so structured property-group values such as Since/Note on findings and Date/Note on procedures were silently dropped on save and never made it to the synced prescription. Both reducer paths now use the sharednormalizeExaminationEntities/normalizeProcedureEntitieshelpers and spread the full normalised entity, and the middleware emitspropertieswhen present.
Changed
- [EkaAgents] Langfuse prompt provider returns
AgentPrompt—LangfusePromptProvider.get_prompt()andFetchedPromptnow exposeagent_prompt(wasagent_config); the underlying Langfuse-side schema (role,goal,backstory,expected_outputon the prompt config; description in the prompt text) is unchanged.
Upgraded
- [Platform] echo-sdk 0.3.3 — Python package version bumped from 0.3.2 to 0.3.3 alongside the prompt-schema rename and skills package split.
Added
- [EMR] IPD dashboard and admit-patient drawer as remote web components — The IPD list and admit-patient flows now render through
<ipd-dashboard>and<ipd-admit-patient-drawer>custom elements loaded from a remotely-hosted IPD SDK (elixir-dr.eka.care/ipd/main/assets/index.js, with a matching dev URL). The host app injects Firestore,fetchWithRefresh, and a Firestore SDK adapter into the elements, and receives callbacks for profile mount, switch-workspace mount, admit/discharge, EMAR, IPD notes, medical history, medical document, billing payments, IPD slip print, and discharge summary. This decouples IPD shipping from the main app release cycle. - [EMR]
OPEN_GLOBAL_SEARCHbridge event — The IPD web component (and other embedded surfaces) can now request the host app to open global search by dispatching anOPEN_GLOBAL_SEARCHevent over theEKA_EVENTbus. The host respects route eligibility viacanOpenGlobalSearch(pathname)and emits aGLOBAL_SEARCHtrack withwhere: 'ipd'. - [EMR] Property groups on examination findings and procedures — The prescription pad’s examination findings and procedures rows now support the same structured property-group editor previously available only on symptoms and diagnoses. Examination findings expose a
Sinceprefix-suggest group (Hour/Day/Week/Month/Year) and aNoteopen-text group; procedures expose aDategroup and aNotegroup. Each row renders a more-options modal driven bySymDiaPropertyInput, with backward-compatible migration from the legacy top-levelnotesstring into the structured note property group on read. - [EMR]
sourcediscriminator on examination findings —ExaminationEntitynow carries an optionalsource: 'symptom' | 'diagnosis'field so the pad can track whether a finding was added from the symptoms or diagnoses path, enabling correct routing of property updates back into the originating entity. - [EMR] Context-scoped sym/dia properties endpoint —
GET /v1/sym-and-diag/propertiesaccepts three new optional query parameters:procedures(comma-separated procedure ids),resource(Observation|Condition|ServiceRequest), andcategory(e.g.symptom,encounter-diagnosis,exam). Callers pass aSymDiaPropertiesContextofsymptoms,diagnosis,examination_findings, orproceduresand the SDK maps it to the rightresource/categorypair. - [EMR] Capillary Blood Glucose (CBG) and Hip Circumference vitals — Prescription pad vitals catalogue adds two new server-backed vitals: Capillary Blood Glucose (CBG) and Hip Circumference. Both accept numeric values with decimal precision and render through the standard vitals input flow alongside existing vitals.
Improved
- [EMR] On-demand IPD SDK loading —
ensureIpdSdkScriptLoaded()lazily injects the IPD SDK<script type="module">only when an IPD surface is opened, dedupes parallel callers via a shared promise, and surfaces a clean error toast if the SDK fails to load. Subsequent navigations reuse the already-loadedwindow.IpdSDKand avoid re-fetching the bundle. - [EMR] Templar prescription rendering for examination findings and procedures — Templar templates now render the new structured
propertiesmap on examination findings and procedures alongside legacynotes, with PDF print-body config and local PDF generation pipelines updated to consume the merged shape. Existing templates that only usenotescontinue to render unchanged. - [EMR] Property-aware caching for sym/dia lookups — Property-group fetches are now cached per
context:id(e.g.examination_findings:<id>,procedures:<id>) so switching between symptoms, diagnoses, findings, and procedures no longer collides on a single cache key.
Fixed
- [EMR] Lab tests table search returns stale or empty results — The Lab Tests table built its Fuse fuzzy-search index once in the constructor and never refreshed it when the underlying lab data loaded or changed, so searches would miss entries or return nothing until the page was reopened. The index now rebuilds in
componentDidUpdatewheneverdatachanges, and any active search result is cleared to avoid showing matches against the stale index.
Migrated
- [EMR] IPD UI extracted to a standalone SDK — IPD admit, dashboard, billing, slip-print, and discharge surfaces previously bundled inside the doctor web app are now served from a separately-versioned IPD SDK and consumed through custom elements. The host app retains orchestration (Redux state, navigation, AI prompts for discharge summaries, PDF generation) and forwards data and callbacks into the elements.
Hardened
- [Platform] JWT context propagation across appointment communication service — Introduced an
AsyncLocalStorage-backed request-context middleware that captures the caller’s JWT identity (cid,idp) at the edge and threads it through all downstream messenger and appointment-event lookups without manual plumbing. Outbound bulk-review, reminder, reschedule, refund, receipt, payment, and cancellation payloads now carry the originating identity automatically, removing a class of bugs where context could be lost across async boundaries and tightening auditability of partner-triggered communications. - [Platform] JWT-scoped attribution on patient messaging — The patient messaging pipeline (welcome, prescription, self-assessment, and post-action communications) now propagates the authenticated caller’s
c-idandidpclaims from the request JWT into messengerlookup_paramsalongsidekhata_key. This routes downstream billing and rate-limiting against the correct identity provider and client tenant for every SMS, WhatsApp, and push notification triggered via khata.
Fixed
- [EMR] Lab tests browse-panel search returning empty/stale results — The Fuse search index on the lab tests table was being built once in the constructor against the initial (often empty)
dataprop, so the first search after data finished loading returned no matches and later prop updates were ignored. The index now rebuilds whenever the underlyingdataprop changes, and any active search result is cleared on rebuild so users see fresh matches without having to reload the panel.
Changed
- [EMR]
ExaminationEntityshape —ExaminationEntitygains optionalproperties: { [k: string]: SymDiaProperty }andsourcefields and is exported fromprescription-types-bundle. The legacynotes: stringfield is preserved for read-compatibility but new writes route through thepg-5243973452note property group; consumers reading examination notes should prefer the property-group value and fall back tonotes. - [EMR]
Procedureshape —Proceduregains optionalproperties: { [k: string]: SymDiaProperty }. Date is now authored via the structuredDateproperty group (pg-31705165) rather than the freedatestring; thedatefield remains for back-compat reads.
⚠️ Breaking
- [Platform] eka-usage-sdk metric-type cleanup — Dedicated error metrics are removed across all three SDKs (Go, Python, TypeScript). The
agentmetric dropscredit_consumedandtool_call_error;emr_toolsandclinical_toolsdroptool_call_error. Record tool and agent error outcomes by emitting the corresponding metric withstatus="error"instead. Theagentmetric also adds a newmessagetype for conversational events.
Added
- [Platform] IDP-aware billable tagging in eka-usage-sdk —
record()now accepts optionalidpandc_idparameters (Python kwargs, TS trailing args, GoWithIDP/WithCIDoptions) sourced from the request JWT by the caller — the SDK does no token parsing or I/O.is_billableis set to1only whenstatus == "ok"andidp == "api-key"; every other caller (SaaS/subscription, internal jobs, error outcomes, no-context callers) emits0. The newc_id(API key id) is copied verbatim into the payload for per-API-key analytics and defaults to"".idpitself is never written to the payload.
Fixed
- [Platform] Stale ABDM metric names in eka-usage-sdk docs — Documentation now reflects the current ABDM metric set (
abha,linking,data_transfer), replacing the outdated names.
Upgraded
- [Platform] eka-usage-sdk → 0.2.0 — Go, Python, and TypeScript SDKs all bumped to
0.2.0(TS tagts-v0.2.0) covering the IDP-aware billing tags and metric-type cleanup above.
Added
- [EkaScribe] MedScribe Alliance TS SDK feature update — The
@eka-care/medscribe-alliance-ts-sdkships a feature refresh (LIFE-1696) covering 13 files with new/updated session and recording surfaces. Pull the latest tag and review the diff for the full surface.
Improved
- [EMR] Server-synchronized time in Health Records Android SDK —
TimeProvidernow tracks a server-time offset persisted viaSharedPreferences, withRecordsSyncparsing theDateheader from server responses to keep the offset current.FileEntity,FileStorageManagerImpl, andRecordsRepositoryImpluseTimeProvider.nowMillis()/nowSeconds()instead ofSystem.currentTimeMillis(), socreatedAt,updatedAt, andlastUsedstay consistent across devices with skewed clocks. - [EMR] Stale-analysing record reset in Health Records Android SDK —
RecordsDao.resetStaleAnalysingRecordsnow clears theis_analysingflag for documents that have been stuck in analysis past a cutoff, and the reset is triggered automatically when records are read — so a crashed or interrupted parse no longer leaves a document permanently in the analysing state. - [EMR] Analysing state consolidated into SmartTag — The
android-document-uirecords grid removes its centered analysis progress indicator and separate blur/background treatment;SmartTagnow drives both the “Smart” and “Analysing” states via anisAnalysingparameter (circular progress + “Analysing” text). Simpler conditional modifiers inRecordsGridItem, single source of truth for the tag visuals.
Added
- [EkaScribe] startRecordingV2 in Eka JS SDK —
@eka-care/eka-js-sdkadds astartRecordingV2method that exposes the next-generation EkaScribe recording flow to JS consumers, alongside the existingstartRecording. Use the V2 entry point for new integrations. - [EMR] Date on Templar pt attribute — The
ptattribute in Templar templates now carries adatefield, enabling richer rendering of patient-attached events with explicit dates on receipts and prescriptions.
Added
- [EkaScribe] Scribe UI widget in Eka JS SDK —
@eka-care/eka-js-sdkadds a packaged UI widget for the scribe recording flow, giving integrators a drop-in surface for capture, status, and transcript display instead of wiring those primitives by hand.
Changed
- [EMR] Gson-based parameter parsing in AddRecordPreviewActivity —
android-document-uiswaps manualJSONObjectparsing forGson().fromJsonwhen reading the intent’s params payload, and removes explicitfinish()calls during initial validation — simpler initialization, fewer transient activity teardowns on malformed input.
Added
- [EkaAgents] show_appointments_basic and get_patient_appointments_basic in Eka MCP SDK —
eka-mcp-sdkv0.1.40 enablesshow_appointments_basic(list appointments with filters) and v0.1.41 addsget_patient_appointments_basic(fetch appointments for a specific patient), giving agents direct read access to the appointments surface without bespoke tool wiring. View docs - [EMR] GST on Templar receipts — Templar receipt templates now print GST on receipts, surfacing tax breakdown alongside the line items.
Changed
- [EkaAgents] show_appointments_basic patient_id filter constraint —
show_appointments_basicineka-mcp-sdknow treatspatient_idas a single-value filter — when a patient id is supplied, other filters are ignored — making the contract explicit and reducing ambiguous query combinations.
Added
- [Platform] Custom Interceptor list in EkaNetwork Android —
EkaNetwork.initnow accepts an optional list of OkHttpInterceptors (stored perappId) and propagates them throughRetrofitServiceCreatorto both theAuthApiand dynamically-created services.@JvmOverloadsis added for Java interop. Hosts can now plug in their own logging, tracing, or header interceptors without forking the network layer.
Upgraded
- [EkaScribe] Eka Scribe Android → ekaNetworkAndroid 2.0.6 —
Eka-Scribe-Androidbumps theekaNetworkAndroidversion catalog entry from 2.0.5 to 2.0.6 to pick up the custom-interceptor support. - [EMR] Health Records Android → network 2.0.6 —
eka-health-records-androidbumps thenetworklibrary ingradle/libs.versions.tomlfrom 2.0.5 to 2.0.6. - [EMR] android-document-ui → records 3.3.1 —
android-document-uibumps the records dependency from 3.3.0 to 3.3.1.
Added
- [EkaAgents] CRM lead-creation tool in Eka MCP SDK —
eka-mcp-sdkships a new MCP tool for creating CRM leads, letting agents capture and route a lead in the same conversation flow as discovery and booking. - [EkaAgents] AG-UI streaming in Echo Agent Kit —
echo-sdkadds AG-UI streaming support so agents can emit incremental UI updates to compatible clients during a turn instead of buffering the full response. - [EkaAgents] Claude prompts in Echo Agent Kit —
echo-sdkadds prompt support for Anthropic Claude models, broadening the LLM provider mix available to agents built on the kit.
Changed
- [EMR] Templar OPD slip moved from string templates to JSX — Templar’s OPD slip is rewritten from string-concatenated templates to a JSX-rendered template, aligning it with the rest of the template engine and unlocking more structured composition for downstream changes.
Improved
- [EMR] AddRecordPreview stability and performance in android-document-ui — Image URI resolution and large-image validation in
AddRecordPreviewScreenmove to a background thread (LaunchedEffect+Dispatchers.IO); the preview list now handsFileobjects directly toAsyncImageinstead of decoding bitmaps and computing orientation on the UI thread. The “Add Details” bottom sheet is gated on PDF resolution.FileSharingswitches toMediaStorefor downloads on Android Q+, with stream-based copy to public Downloads and URI-segment-based PDF detection. Temporary files now live in a dedicatedrecords_tempcache sub-directory with better cleanup on failure.
Fixed
- [EMR] AddRecordPreviewActivity initialization on malformed params — Manual
JSONObjectparsing of intent params now runs inside proper try/catch withfinish()calls when params are missing or malformed, so the activity can no longer persist in an invalid state on bad input.
Added
- [EkaAgents] Agent skills in Echo Agent Kit —
echo-sdkintroduces a skills concept for building modular, reusable agent capabilities that can be composed into larger workflows.
Fixed
- [EMR] Missing source files during record creation in Health Records Android —
RecordsRepositoryImplnow checks each source file’s existence before processing or compression, logs a sync event with the document, business, and owner IDs when a file is missing, and returnsnullearly so the broader record-creation path no longer surfaces a hard error when a single file has gone missing locally.
Added
- [EMR] examinationFindings property group in Templar — Templar adds a new
examinationFindingsproperty group with backward-compatible support for legacy notes, so prescriptions and clinical templates can render structured examination findings without breaking existing notes-only content.
Improved
- [EkaAgents] doctor_availability success response in Eka MCP SDK —
eka-mcp-sdkenriches the success response from the doctor availability flow so downstream booking tools have the context they need without re-querying.
Fixed
- [EMR] Text wrapping on Templar receipts — Fixed a Templar rendering bug where text was not breaking to the next line as expected; content now wraps correctly inside its container.
Improved
- [EkaAgents] Selected hospital pushed to the top in Eka MCP SDK —
eka-mcp-sdknow surfaces the user’s selected hospital at the top of availability listings, so chosen-hospital options aren’t buried under nearby alternatives during a booking flow.
Added
- [Platform] Java bindings for ABDM ECDH primitives — The
abdm-ecdhproject adds a Java implementation of the ECDH primitives required for ABDM data-fetch flows, alongside the existing Python and Go bindings — making it easier for JVM-based HIP/HIU integrations to handle ABDM consent and data exchange.
Hardened
- [Platform] CI for ABDM ECDH — The
abdm-ecdhrepository gains a continuous integration pipeline so changes across the Python, Go, and Java surfaces are built and validated on every PR.
Fixed
- [Platform] ABDM ECDH Python release pipeline — Corrected the Python release configuration in
abdm-ecdhso the package now publishes cleanly from the release workflow.
Fixed
- [Platform] Aakaar EditableTable bottom AutoSuggest dropdown anchoring — The bottom-row
AutoSuggestdropdown inEditableTablewas portalled todocument.bodyand only realigned on window scroll or resize, so it could drift to a stale position after a row was added without triggering a page scroll, and it could hold a stale portal position that blocked user scroll after mass-clearing rows. The dropdown now uses agetPopupContainerthat resolves to the nearest scrollable ancestor, sorc-triggerplaces it inside the same scroll context as the trigger and realigns natively on layout changes — no manual resize dispatch or blur-on-clear workaround required.EditableTablePropsalso exposes an optionalgetPopupContainerfor callers with non-standard scroll hierarchies (virtualised lists, nested portals).
Added
- [EkaScribe] Pause and resume in MedScribe Alliance TS SDK — The MedScribe Alliance TypeScript SDK now exposes
pauseandresumemethods, letting integrators temporarily halt and continue an in-progress scribe recording without ending or restarting the session. Useful for handling interruptions mid-consultation.
⚠️ Breaking
- [EMR] Templar receipt patient age field — The
TPdfObjecttype used bygetPatientIntroForReceiptreplaces the numericageInM?: numberfield with a stringage?: string. Callers must now pass a pre-formatted age (for example,"5 Years 3 Months") instead of months as an integer; the previous “compute years from months” behaviour has been removed in favour of richer year-and-month rendering. Update any caller that was passingageInMto passageinstead.
Added
-
[EkaScribe] EkaScribe TS SDK getDocument, getSessionDetails, and existing-session resume —
@eka-care/ekascribe-ts-sdkv2.1.50 adds three new instance methods:getDocument(document_id)(fetch a document by id),getSessionDetails({ session_id, presigned })(fetch full session metadata, documents, anduser_statuslifecycle), andstartRecordingForExistingSession({ txn_id, business_id, created_at, microphoneID?, sharedWorkerUrl?, flavour? })(resume recording for a previously initialised session by reconstructing the audio pipeline and session bucket path). NewTGetV1SessionDetailsResponse,TSessionDocument, and related types are exported. View docs -
[EkaScribe] Document publish payload in EkaScribe TS SDK —
postV1Documentand thegetV1Documentresponse now carry an optionalpublish: Record<string, unknown>payload, allowing integrators to send and read structured publish metadata alongside a session document. -
[EkaScribe] user_status on patchTransactionStatus —
patchTransactionStatusnow accepts an optionaluser_statusfield, mirroring the lifecycle states (init,recording_started,commit) returned bygetSessionDetails, so clients can advance the user-side status on a session in one call.
Improved
-
[EkaScribe] Hardened VAD lifecycle in EkaScribe TS SDK —
VadWebClientnow wrapsstartVad,pauseVad,destroyVad,resetVadWebInstance,reinitializeVad, and the silent-audio monitor in defensive try/catch blocks, andmonitorAudioCapturenow guardsmicVad.pause()with an existence check. Errors are logged via[EkaScribe]console output instead of bubbling up and breaking the host page. TheEkaScribefacade applies the same protection aroundreinitializeVad,destroyVad, andpauseVad. -
[EMR] Patient age rendering on receipts —
getPatientIntroForReceiptnow prints the patient’s full age string (years and months) on receipts instead of computing only whole years from months, giving a more clinically meaningful age label.
Added
-
[EkaAgents] service_availability_elicitation and book_service in Eka MCP SDK — The Eka MCP SDK gains two new tools for service and health-package booking flows:
service_availability_elicitation(interactive UI tool that lets users discover services, view available dates, and pick a slot — accepts eithersuggested_service_idsor a singleservice_id, plus optionalhospital_id,preferred_date, andpreferred_slot_time) andbook_service(creates a health-package booking from aServiceBookingRequestwith deduplication of concurrent calls and slot-unavailable handling). The shared elicitation builder was also generalised with anentity_typeparameter so the same UI contract powers both doctor and service flows. View docs -
[EMR] Analysing UI in Health Records Android and Document UI — The Eka Health Records Android SDK and
android-document-uimodule introduce an “analysing” state UI for documents under processing, surfacing parse-in-progress to end users instead of leaving the document in an ambiguous state. Internal core SDK contracts were adapted to drive the new UI cleanly. View docs
Improved
- [EkaAgents] doctor_availability_elicitation now returns selected_doctor_id and selected_hospital_id — When the elicitation completes successfully, the tool result now includes
selected_doctor_idandselected_hospital_idin_meta.tool_result, so downstream booking tools can chain off the elicitation output without re-prompting the user.
Fixed
- [EkaScribe] Session polling now surfaces failures as ERROR —
SessionManagerin the EkaScribe Android SDK now transitions toERROR(instead ofCOMPLETED) when transcript or full-output polling fails or times out. Failed transcript polls also short-circuit subsequent full-output polling, andhandleTransactionErroris consistently invoked on failures so users can recover and start a new session. Test scenarios were updated to reflect the new contract.
Improved
-
[EkaAgents] doctor_availability_elicitation aligned with search_doctor_tool — The Eka MCP SDK removes the legacy
doctor_discoverytool references and updatesdoctor_availability_elicitationto consume results fromsearch_doctor_tool. The tool description and UI contract were updated to render multiple doctor cards in a single elicitation, andsuggested_doctor_idsis now an accepted input parameter so an agent can hand a shortlist directly to the elicitation. View docs -
[EMR] IPD billing print totals — The IPD billing print template (
getBodyForIpdBilling) now computes Total Amount asΣ(MRP × Qty), derives Total Discount from the difference with the line-item-discounted total, and renders an explicit Grand Total alongside Total Paid and amount due. The output replaces the previous Total MRP / Line Item Discount / Total Amount layout with a clearer Total Amount / Total Discount / Grand Total breakdown.
Added
- [EkaAgents] Audio transcription module in Echo Agent Kit — Echo Agent Kit adds a new
echo.audiomodule with aBaseTranscriberinterface, aTranscriberConfigmodel, and two pluggable providers:GeminiTranscriber(Gemini 2.0 / 2.5 audio models) andEkaCareTranscriber(Eka Care ASR over HTTPS, supportingen-IN,en-US, andhi). Audio can be supplied as raw bytes (with explicitmime_type), a public URL, or a Gemini Files API URI. A newecho[ekacare]extra pulls inhttpxfor the Eka Care provider.get_transcriber(config)andgenerate_transcriber_config(...)factory helpers make it straightforward to swap providers without rewriting agent code. View docs
Upgraded
- [EkaAgents] Echo Agent Kit v0.1.34 — Echo Agent Kit released as v0.1.34 with the new audio transcription module bundled in. The Gemini install hint also corrected from
google-generativeaitogoogle-genai.pip install -U echois safe — defaults preserve existing agent behavior.
Added
-
[EkaAgents] Skills in Echo Agent Kit —
GenericAgentnow supportsSkill— a lazy-loaded bundle of(instructions + tools + description)that can be attached and detached mid-conversation. Two activation modes are supported:llm(default, agent auto-injectsload_skill/unload_skillmeta-tools and an<available_skills>registry into the system prompt so the model self-routes) andmanual(host callsawait agent.activate_skill(name)from an upstream router). Skills also exposeon_activate/on_deactivatelifecycle hooks for tenant-scoped setup or telemetry, and tool-name collisions across base tools and skills are caught at agent construction. Existing agents that don’t passskills=are byte-for-byte unaffected. View docs -
[EkaAgents] Postgres engine and PgQueryTool in Echo Agent Kit — Echo Agent Kit now ships an opt-in Postgres client (
echo[postgres]extra) backed by anasyncpgconnection pool with lazy initialization, plusPgQueryTool— aBaseToolsubclass that runs a parametric SQL query and returns rows. SQL files can use psycopg-style%(name)splaceholders, which the client rewrites to asyncpg$Npositional binds. A process-wide default client can be registered withset_default_client(...)so dynamic loaders that calltool_class()resolve correctly. Configuration is read fromECHO_PG_*environment variables. View docs -
[EMR] pageBreakTableTr in Templar getHead — The
getHeadhelper in the Templar prescription engine now supportspageBreakTableTr, allowing template authors to declare table-row level page breaks for cleaner multi-page prescription rendering.
Improved
-
[EkaAgents] Echo Agent Kit v0.1.33 — Echo Agent Kit released as v0.1.33 with the new Skills primitive, Postgres engine, and
PgQueryToolbundled in.pip install -U echois safe — defaults preserve existing agent behavior. - [EMR] Diet chart authoring in Templar — Diet chart support in the Templar prescription engine has been extended with additional structure and rendering refinements, building on the diet chart sections introduced on April 22.
Added
- [Platform] ABDM ECDH Python package — The ABDM ECDH key-exchange primitives used for secure consent and data-fetch flows are now distributable as a Python package, making it easier for partners to integrate ABDM-aligned encryption helpers without re-implementing the protocol.
Improved
- [EMR] Doctor name on IPD receipts and bills — IPD receipt and bill print output now uses the doctor profile’s first-name and last-name fields directly instead of a single concatenated string, giving cleaner, more consistent doctor-name rendering across IPD billing artifacts.
Added
- [EMR] forceApiSearch flag in Patient Directory TS SDK — The Patient Directory TypeScript SDK now exposes a
forceApiSearchoption, letting integrators bypass the local cache and force a live API lookup for patient search — useful for high-confidence lookups where freshness must beat latency.
Fixed
- [EMR] Patient Directory TS SDK lookup correctness — Resolved an edge case in the Patient Directory TypeScript SDK where stale or partial cached state could surface incorrect patient search results; lookups now consistently reflect the live directory.
Improved
- [EMR] Clinic name on OPD slip — The Templar OPD slip print template now renders the clinic name in the slip header, improving identifiability of the issuing clinic on physical copies.
- [EkaAgents] MedAssist web file upload validation — The MedAssist web widget now validates uploaded files against an updated allow-list of supported file types, surfacing a clear rejection for unsupported formats before the upload is attempted.
Fixed
- [EkaAgents] [Client-Specific] MedAssist web widget configuration — Resolved a configuration regression that caused the MedAssist web widget to behave incorrectly on a partner deployment; the widget now initializes with the expected configuration on that surface.
Improved
- [EkaAgents] [Client-Specific] Doctor card revamp — Doctor discovery cards in the MCP SDK have been redesigned for the EMR client, with refreshed layout and additional doctor metadata surfaced inline. View docs
Changed
- [Platform] ABDM usage metrics events — The eka-usage-sdk now emits the latest ABDM-related usage events to Kafka, keeping the metrics pipeline aligned with current ABDM consent and linking flows.
Added
-
[EkaAgents] MCP session caching in Echo Agent Kit — The Echo Agent Kit MCP integration now caches MCP sessions per user, splitting tool discovery and session caches with independent idle and absolute TTLs, LRU eviction on pool exhaustion, and
user_session_idplumbed throughMCPTool.runviatool_context. Tool cache keys are partitioned by configurable headers (tool_cache_key_headers), and concurrent cache misses are serialized to avoid duplicate discovery work. View docs -
[EkaAgents] Doctor discovery elicitation — The MCP SDK now supports interactive elicitation for
doctor_discoverycards, allowing agents to confirm doctor availability mid-conversation before booking. View docs - [EMR] Diet charts in prescription templates — The Templar prescription engine now supports diet chart sections, enabling structured diet plans to be authored and rendered alongside prescriptions.
Improved
- [EkaAgents] MCP tool call timeout — Tool calls in the Echo Agent Kit MCP integration are now bounded by a 10-second timeout, preventing slow downstream tools from blocking agent responses indefinitely.
-
[EMR] Unit display name fallback in prescriptions — Prescription
rxandlabVitalssections now renderunit_display_namewhen available and fall back toname, producing cleaner unit labels on printed prescriptions.
Fixed
- [EMR] IPD admission TinyMCE preview — Fixed a rendering bug where the IPD admission rich-text preview was showing stale or malformed HTML in the Templar template engine.
Removed
- [EkaAgents] Legacy MCP caching layer — The previous monolithic MCP cache has been removed from the Echo Agent Kit in favor of the new split tool/session caching design.
Fixed
- [Platform] Android document UI PDF initialization — Fixed a crash where PDF rendering could initialize before view layout constraints were available, producing zero-sized canvases on some devices.
Changed
- [EMR] Prescription QR placement — The QR code on prescription PDFs has been moved into the footer details block for a cleaner header and consistent placement across templates.
Added
- [EMR] IPD admission template upgrades — The Templar prescription engine adds new fields and layout improvements to the IPD admission template, supporting richer admission notes.
Improved
- [EkaScribe] Voice-to-text error handling on iOS DocAssist — DocAssist for iOS now detects and surfaces voice-to-text failure scenarios with a clear error state instead of silently dropping the recording, making transient transcription errors recoverable for the user.
Fixed
- [EkaAgents] MedAssist web microphone restored — A temporary disablement of the microphone capture path in the MedAssist web widget was reverted on the same day after a regression was identified, restoring voice input.
Added
- [EkaAgents] Contextual popup in MedAssist web widget — The MedAssist web chat widget now supports a contextual popup, surfacing relevant suggestions and actions tied to the current conversation state.
Improved
- [EkaAgents] MedAssist nudge configurability — The onboarding nudge in the MedAssist web widget can now be disabled by integration partners that don’t want unsolicited prompts on first load.
Fixed
- [EkaAgents] Agent ID resolution in MedAssist web — Fixed a bug where the MedAssist web widget could resolve to the wrong agent ID under certain configurations, ensuring conversations always route to the configured agent.
Upgraded
- [Platform] eka-usage-sdk 0.1.1 — The eka-usage-sdk has been published at version 0.1.1, fixing the test runner and shipping the latest Kafka usage metric event definitions.
Improved
- [EkaScribe] Android SDK MP3 encoding — The EkaScribe Android SDK now uses MP3 encoding (via LAME) instead of AAC/MP4, producing raw MPEG Layer III bitstreams for more reliable audio chunk uploads. The AAC encoder and MP4 format option have been removed. View docs
-
[EkaScribe] Android SDK partial output polling — Transaction result polling in the Android SDK now checks statuses across
integration,transcript, andcustomfields withintemplateResults, replacing the legacyoutputlist. Empty statuses are treated as failures instead of timing out, improving error detection. View docs - [EkaScribe] iOS SDK parallel chunk processing — The EkaScribe iOS SDK now processes audio chunks in parallel, improving transcription throughput and reducing end-to-end latency for longer recording sessions.
- [EkaAgents] Doctor discovery tool in MCP SDK — The Eka MCP SDK now includes a doctor discovery tool for EMR workspaces, enabling agents to search for available doctors within a clinic context. View docs
- [EkaAgents] MedAssist web widget responsive layout — The MedAssist web chat widget now renders correctly on small screens (under 360px and 767px widths), preventing layout overflow and improving usability on mobile devices.
Added
-
[EkaAgents] OTP authentication for EMR clients in MCP SDK — The Eka MCP SDK now includes an
authentication_elicitationtool enabled by default for EMR workspaces, supporting SMS-based OTP login with country code selection, OTP verification, and UHID profile selection. Agents can authenticate clinic users mid-conversation without leaving the AI client. View docs -
[EkaScribe] Document management in JS SDK — The EkaScribe JS SDK now exposes
createDocument,deleteDocument, andgetChunkTranscriptmethods, enabling programmatic document lifecycle management and per-chunk transcript retrieval directly from the SDK. View docs
Improved
-
[EkaScribe] Output polling parameters in JS SDK — The
pollOutputSummarymethod now acceptsdocument_idanddlpquery parameters, and the status API response type includesdocument_idanddocument_pathfields. The status API timeout has been increased from 16s to 20s for improved reliability. View docs - [EkaAgents] MCP SDK workspace tool fallback — When a workspace has no explicitly configured tool list, the MCP SDK now falls back to the default EMR tool set instead of failing, improving resilience for new workspace onboarding.
Improved
-
[EMR] Prescription PDF asset loading — S3-hosted assets such as doctor signatures in prescription PDFs now include cache-busting query parameters, preventing stale cached versions from appearing. Signature display is also now controlled by a
show_signatureconfiguration flag for more flexible template rendering. View docs - [EMR] Eye exam ordering in prescription PDFs — Ophthalmology examination tables in prescription PDFs now render in the correct display order, ensuring eye-care data appears consistently across generated documents. View docs
-
[EMR] Patient Directory API extras field — The
extrasfield in the Update EMR User endpoint now documents restrictions: no nested lists, no dictionaries inside lists, only one level of nesting in dictionaries, keys must not exceed 16 characters, and keys starting with_are ignored. View docs
Added
- BODHI open-source clinical knowledge graphs — Two SNOMED-linked knowledge graphs (bodhi-s for condition–symptom mapping and bodhi-m for concept–drug–lab investigation mapping) are now publicly available. The graphs contain 9,300+ nodes and 16,700+ relationships across six formats (Neo4j, CSV, JSONL, PyG, RDF/Turtle, browser JSON), supporting symptom checking, differential diagnosis, and patient health profiling use cases. Released under CC BY-NC 4.0.
Improved
- [Client-Specific] Prescription PDF template engine — Added support for configurable prescription template styles, enabling custom PDF layouts that map clinical data (symptoms, history, vitals, medications, investigations, diagnosis, advices, review, and signature) to form-specific positions. A new
template_styleconfiguration option controls which layout is applied during PDF generation.
Improved
- IPD billing PDF layout — The pricing summary in IPD billing PDFs now displays Total Paid and Amount Due/Overpaid labels, replacing the previous single “Amount to be paid” line for clearer printed output. View docs
- OPD slip enhancements — OPD slips now print tags and additional data fields, and the token number font size has been increased for better readability at the front desk.
- Echo Agent Kit — Empty prompt variables are now handled gracefully, preventing errors when prompt templates contain optional or unfilled placeholders. View docs
- Medical Records Android SDK — Oversized images are now validated before upload with a clear user alert, and PDF URI resolution has been moved to a background thread to prevent main-thread crashes.
Fixed
- Health Records Android SDK — Missing files during record processing are now handled gracefully instead of causing crashes, with improved error handling in MD5 checksum generation.
Updates
- EkaScribe documentation revamped — The EkaScribe docs now include a Quick Start guide with a step-by-step TypeScript SDK integration walkthrough. Integration methods are reordered to recommend SDKs first, REST APIs second, and Chrome Extension third. SDK sidebar titles use proper casing, and deprecated APIs are nested under a warning section for clarity. View docs
Updates
- EkaScribe documentation revamped — A new Quick Start guide walks you through installing the SDK and transcribing your first consultation in minutes. SDKs are now promoted as the recommended integration path, and v1 APIs are marked deprecated with clear migration pointers to the v2 APIs. View docs
- Retrieve EMR User API — A new GET endpoint is available in the Patient Directory to retrieve an EMR user profile by OID, complementing the existing update endpoint. View docs
New features
- New Patient Directory APIs — Two new endpoints are now available in the Patient Directory: retrieve a patient profile by username, and update an EMR user profile (name, contact details, blood group, salutation, and custom fields). View docs
Updates
- EkaScribe documentation revamped — The EkaScribe docs have been restructured with a new Quick Start guide, reordered integration methods (SDKs recommended first, then REST APIs, then Chrome Extension), improved SDK sidebar titles, and deprecated APIs now nested under a warning group for clarity. View docs
New features
- New Patient Directory APIs — Two new endpoints are now available in the Patient Directory: retrieve a patient profile by username, and update an EMR user profile (name, contact details, blood group, salutation, and custom fields). View docs
Updates
- EkaScribe documentation revamp — The EkaScribe docs have been reorganized with a new Quick Start guide for the TypeScript SDK, SDKs promoted above REST APIs as the recommended integration path, corrected sidebar titles, and deprecated API endpoints clearly marked. View docs
New features
- ABHA login and profile tools in MCP SDK — The Eka MCP SDK now includes tools for ABHA login and profile management. Agents can initiate login via mobile, Aadhaar, ABHA number, or PHR address, verify OTP, select from multiple ABHA profiles, and retrieve the ABHA card — all within an agent conversation. View docs
Updates
- MCP Server documentation restructured — The MCP Server docs have been reorganized into separate Remote MCP and Local MCP SDK guides, with per-client setup instructions and a comparison table, making it easier to choose the right deployment model and get connected faster. View docs
-
_metafield support in doctor discovery and availability tools — The Eka MCP SDK now forwards_metacontext from tool calls to thedoctor_discoveryanddoctor_availabilitytools. This lets MCP clients pass additional metadata (such as UI hints or session context) when searching for doctors or checking appointment availability. View docs - More ophthalmology tables in prescription PDFs — Prescription PDFs now include pachymetry, Amsler grid, and contact lens examination tables, expanding the range of eye-care data printed alongside the rest of the prescription. View docs
- MedAssist iOS background session handling — MedAssist chat sessions on iOS now gracefully handle app backgrounding. When you switch away and return, the session reconnects automatically so conversations are not lost mid-interaction.
Bug fixes
- MedAssist iOS error handling — Fixed an issue where WebSocket errors during a MedAssist chat session could fail silently. Errors such as session timeouts and connection drops are now surfaced with clear messages, and the chat UI recovers gracefully.
New features
- Ophthalmology tables in prescription PDFs — Prescription PDFs now include ophthalmology examination tables, so eye-care data captured during a visit is printed alongside the rest of the prescription. View docs
Updates
New features
- IPD billing PDF generation — Clinics can now generate inpatient department (IPD) billing documents as PDFs. The generated PDF includes patient details, admission information, an itemized bills and receipts table, and a pricing summary with discounts. View docs
Updates
- Medical Records Android SDK — Record grid items now support conditional visibility for contextual actions, giving integrators more control over the options displayed on each medical record card.
New features
- Patient benefits tool in MCP Server — A new
get_patient_benefitstool is available in the Eka MCP Server, letting agents retrieve available offers and benefits for a specific patient. View docs
Updates
- Email authentication in MCP Server — Authentication elicitation now supports email as a verification method in addition to mobile number, giving users more flexibility during in-agent authentication flows. View docs
- MedAssist iOS chat improvements — The MedAssist chat experience on iOS now includes updated suggestion chips, improved message bubbles, and better file upload handling.
Updates
- OPD slip improvements — OPD slips now display price and patient (PT) attributes, giving clinic staff more complete information at a glance.
- Pagify SDK — Improved iframe cleanup logic so embedded views are properly removed when a job completes, whether or not a container ID is specified.
- EkaScribe iOS SDK — Updated session ID generation for improved reliability and removed an unused dependency.
Bug fixes
- MedAssist web widget — Fixed an issue where OTP verification could fail silently or return incorrect error messages. The verification flow now properly handles edge cases including callback requests and missing patient records.
New features
- Vaccination reminder webhooks — Receive webhook events when vaccination reminders are triggered for patients. View docs
- Appointment reminder webhooks — New webhook endpoints for appointment reminders, follow-up reminders, and their instant variants. View docs
- Follow-up appointment confirmation API — Confirm follow-up appointments programmatically using the new endpoint. View docs
- Appointment rescheduling via MCP Server — You can now reschedule appointments through the Eka MCP Server.
- ABDM milestone flows — Structured milestone guides (M1–M4) for ABDM integration, covering ABHA creation, login, profile management, and health data exchange. View docs
Updates
-
Doctor Profile API — The Get Doctor Profile response now includes a
salutationfield. View docs -
Echo Agent Kit — Added
_metafield support per the MCP specification for passing tool call metadata. Elicitation support now includes status tracking, messaging, and handling of multiple tool elicitations. View docs - EkaScribe Android SDK v4.0.4 — Architecture V2 with Java sample app support, session cancellation, and improved state management with idempotent operations. View docs
- Authentication elicitation in MCP Server — MCP Server tools now support authentication elicitation, allowing tools to prompt for credentials during execution. View docs
- EkaScribe JS SDK — Improved error tracking, header handling, and ES6 build support. View docs
Bug fixes
- EkaVoiceToRx — Fixed an issue where transcription results could appear in the wrong order, and resolved a bug where the stop button was unresponsive during active sessions.
- Medical Records (iOS) — Fixed an issue where deleting a record could fail silently.

