Skip to content

Conversation

@mikix
Copy link
Contributor

@mikix mikix commented Nov 7, 2024

When we strip the data & url fields from DocumentReferences, we previously just deleted the fields and moved on.

But in order to be able to do some QA analysis on whether those fields were provided in the first place, it's nice to have a record of them.

So whenever we delete those fields, we also now leave a data-absent extension in place with the value "masked".

Checklist

  • Consider if documentation (like in docs/) needs to be updated
  • Consider if tests should be added

@github-actions
Copy link

github-actions bot commented Nov 7, 2024

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
3606 3545 98% 98% 🟢

New Files

No new covered files...

Modified Files

File Coverage Status
cumulus_etl/deid/scrubber.py 100% 🟢
TOTAL 100% 🟢

updated for commit: 4b782f2 by action🐍

When we strip the data & url fields from DocumentReferences, we
previously just deleted the fields and moved on.

But in order to be able to do some QA analysis on whether those fields
were provided in the first place, it's nice to have a record of them.

So whenever we delete those fields, we also now leave a data-absent
extension in place with the value "masked".
Copy link
Contributor

@dogversioning dogversioning left a comment

Choose a reason for hiding this comment

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

nice that there's already a valueCode in the spec for this use case

@mikix mikix merged commit 93311d1 into main Nov 7, 2024
3 checks passed
@mikix mikix deleted the mikix/mask-attachments branch November 7, 2024 17:28
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