Skip to main content
A Smart Template (medicalRecordConfiguration) defines the medical record your consultation produces: a map of sections, where each section has an output schema and a prompt strategy.
Prefer Smart Templates with Telepatia Sections. This is the recommended path: you control the EMR-shaped output, Telepatia maintains the curated medical prompts behind each section. Session Templates (scribeSessionConfigurationId) remain supported for legacy integrations.

Lifecycle

  1. Define the sections you need — see Sections.
  2. Create it via POST /v1/medical-record-configurations. Telepatia hashes the content; identical configurations return the same id with created: false (idempotent).
  3. Reference it on POST /v1/set-consultation-context using one of the two fields below.

Three ways to attach a template to a session

Pass exactly one of the three. A future scribeTemplates field will accept either kind of template id — no breaking change is planned for the current variants.

Create a Smart Template

Response:

List Smart Templates

Get a Smart Template by id

Delete a Smart Template

Soft-deletes a template by its public id. It returns 204 No Content and drops out of the default list; historical consultations that referenced it are unaffected. Deletion is blocked with 409 while a linked session is still processing, and returns 404 if the id is not found.

Template status

List and detail responses expose a status per template: Deleted templates drop from the default list. Use the ?status query parameter to change the view:
Response:

Next steps