Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add two attachment-focused metrics #8

Merged
merged 2 commits into from
Dec 2, 2024

Conversation

mikix
Copy link
Contributor

@mikix mikix commented Nov 26, 2024

  • c_attachment_count: looks at attachment metadata
  • c_content_type_use: looks at content types available among resources

- c_attachment_count: looks at attachment metadata
- c_content_type_use: looks at content types available among resources
@mikix
Copy link
Contributor Author

mikix commented Nov 26, 2024

Heyo @gotdan I know you're feeling under the weather right now, no urgency on this. But here are the two metrics I had mentioned I was working on.

You can also review the code for them here: smart-on-fhir/cumulus-library-data-metrics#64

Copy link
Contributor

@gotdan gotdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Mike! I added a few pedantic notes on wording - see what you think.

metrics.md Outdated
@@ -572,6 +572,57 @@ Choice elements:
Notes:
- These are the choice fields in US Core, but could use the FHIR definitions to create a full list, or could do a more general query based on JSON key prefix (not supported by all databases and potentially slow even where supported)

### c_attachment_count
**[structure]** Survey of attachment data and formats
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't use the term "survey" anywhere else, though I'm not necessarily averse to it. For consistency, maybe "Count of attachments by format" instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"By format" might be overselling it, especially since format is a field that DiagnosticReport doesn't have. Maybe "Count of attachment metadata"

metrics.md Outdated Show resolved Hide resolved
metrics.md Show resolved Hide resolved
metrics.md Outdated Show resolved Hide resolved
@gotdan gotdan merged commit 730ae4f into sync-for-science:master Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants