smart-on-fhir / chart-review

Measure agreement between chart reviewers.
https://docs.smarthealthit.org/cumulus/chart-review/
Apache License 2.0
1 stars 0 forks source link

feat(accuracy): add --verbose to print table of per-chart results #41

Closed mikix closed 3 weeks ago

mikix commented 3 weeks ago

accuracy --verbose will now print a table of chart id / label / classification for the annotator, like this:

    ╭──────────┬──────────┬────────────────╮
    │ Chart ID │ Label    │ Classification │
    ├──────────┼──────────┼────────────────┤
    │ 1        │ Cough    │ TP             │
    │ 1        │ Fatigue  │ TP             │
    ├──────────┼──────────┼────────────────┤
    │ 4        │ Cough    │ FP             │
    │ 4        │ Fatigue  │ TP             │
    ╰──────────┴──────────┴────────────────╯

This is in addition to normal stat output. If --save is passed, the verbose bit is still only printed to the console.

Fixes: #40

Checklist