smart-on-fhir / cumulus-library-data-metrics

A data metrics study for the Cumulus project
https://docs.smarthealthit.org/cumulus/
Apache License 2.0
2 stars 0 forks source link

Add category slicing to c_resources_per_pt #21

Closed mikix closed 5 months ago

mikix commented 5 months ago

This is two commits, to try to help readability. First is a small refactor (and throwing Encounter.subject into a couple of the reference-checking metrics).

Second is adding category slicing and max to c_resources_per_pt

Fixes #18

mikix commented 5 months ago

resource_info.py feels like something we might want to move down to core at some point? I can see other use cases there.

Yeah fair - we can keep an eye out for that and copy it down as needed. It's lightly opinionated (like which systems to look at, mostly colored by US Core), but not in a way that the rest of our ecosystem would mind.