Try StructaMed

No install required to understand the workflow. Copy a sample note + commands, then run locally.

How to run (local)

# From the repo root:
cargo build --release
BIN=./target/release/clinote

# Save a sample note to note.txt, then:
$BIN preview note.txt --template soap
$BIN validate note.txt --template soap --strict --json | python3 -m json.tool
$BIN parse --input note.txt --format soap --out out.json --out-format json
cat out.json

Tip: Start with preview to see detected sections.

SOAP sample (clean)

Commands:

Expected: strict validate = 0 warnings/errors.

H&P sample (clean)

Commands:

Expected: strict validate = 0 warnings/errors.

Discharge sample (clean)

Commands:

Expected: strict validate = 0 warnings/errors.

Messy input test (no crash)

Warnings allowed, but the CLI should not crash.

BIN=./target/release/clinote
$BIN selftest --fixtures tests/fixtures --template soap