scribe:write.
Open the encounter
POST /workflows/session
200 response contains patient, session, and resumed. Store the returned
patient.id and session.id. resumed: false means this request created the
session; true means it found an existing one.
Resume an existing session
On resume, supplied patient fields are updated and session settings are preserved. UsePATCH /sessions/{session_id} to change the title, background, or language.
A conflicting patient or external session ID returns 409 without saving changes.
Reusing an idempotency key returns the original response, including resumed.
Use a new key for a new opening action and the same grant for the encounter.