smart-on-fhir / chart-review

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

feat: add new implied-labels config field #12

Closed mikix closed 8 months ago

mikix commented 9 months ago

This commit adds a new configuration option that looks like:

implied-labels:
  Cat: Animal
  Lion: Cat

With the above config, when Truth has labeled Animal, and the annotator has labeled Lion, you'll see the following agreement matrix result:

Animal: TP Lion: FP

This feature is useful for situations where one label implies another and/or has more priority over another.