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
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:
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
icd_codes holds the codes, and GET /visits/{id} carries them from then on:
Jobs
Repeating a request with the same
Idempotency-Key returns the same job; the same key with a different body
answers 409.