Skip to main content
A visit has one main note, written when it completes and returned by GET /visits/{id}. From there you can do what a clinician does in the app: Each takes as long as writing a note — about a minute — so none of them makes you hold a connection open.

Regenerate the main note

The note is written again from the visit’s transcript. Omit template_id to keep the visit’s template. A visit that is still being processed answers 409.

Write another note

Response (202)
source chooses what it is written from: note (the visit’s main note), transcript, or auto (the template’s own choice, as in the app). Poll the job:
When status is completed, note holds the new note — sections and fields in template order, and html — in the same shape as a visit’s main note. GET /visits/{id}/notes lists every additional note on the visit.

ICD codes

When the job completes, icd_codes holds the codes, and GET /visits/{id} carries them from then on:
Codes are drawn from the main note, so generate them after it completes — and again after a regenerate.

Jobs

Repeating a request with the same Idempotency-Key returns the same job; the same key with a different body answers 409.