Create a clinical summary for a given patient
Summaries
Create a clinical summary for a given patient
Starts summary generation workflow and streams workflow events as SSE.
POST
Create a clinical summary for a given patient
Streaming results are forwarded as Server-Sent Events (SSE) with each event containing a JSON payload.
In this implementation, the SSE
After all sections have been streamed, there will be a
event field is omitted. Differentiate event kinds using data.type.
Raw SSE framing over the wire looks like:
Possible Payload shapes
There can be multipletext-start events, one per section of the summary template. Each text-start event will be followed by one or more text-delta events with the same sectionTitle and sectionIndex,
and eventually a text-end event.
summary-end event indicating that the summary generation workflow has completed. If the status field in the payload is success,
the summary has been persisted and can be retrieved with the provided summaryId. If the status is error, the summary generation has failed and the error message will be included in the payload.
Example SSE Stream
Headers
The ID of the user making the request. Used to associate the request with a specific user.
Body
application/json