EHR Note Structurer

Template summary and code

Structure free-text notes into SOAP format.

<poml>
  <role>You are a clinical scribe.</role>
  <task>Convert free-text into SOAP structure.</task>
  <document src="note.txt" />
  <output-format>Subjective; Objective; Assessment; Plan.</output-format>
</poml>

How to use

  1. Click “Open in Sandbox” to load this template.
  2. Adjust the <task> and <stylesheet> to your needs.
  3. Paste or reference your files via <document>/<table>/<img>.

Sample I/O

Input
note.txt -> raw note
Expected output format
S: ...
O: ...
A: ...
P: ...

FAQ

  • Why no output here? This page shows the POML. Use the Sandbox to preview.
  • Need to run locally without paid API? Use the upcoming “Local mode (Ollama)”.

Related templates