Generate documents with templates using facts or transcripts
POST
request to the /interactions/{id}/documents
endpoint, and include the finalized facts, templateKey
, and language
in the request payload.
GET /templates
request to see available templates; add ?lang=
to the request to filter for available languages.200 OK
status along with the formatted document.PATCH
request to /interactions/{id}
, setting the interaction state to "completed"
.source: core
) but you might have also created facts to pipe over relevant pre-chart information, e.g. demographics (source: system
), or have given the clinician the ability to add and edit live notes (source: user
). In the end, you decide which facts to use as the basis to generate a document.
Let’s look at the differences in the request payload when generating a document on the basis of facts vs. a transcript: