-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: replace hashed_id with pseudo study uid #389
Conversation
Failing imaging and system tests sys tests - due to expecting a predetermined folder name based on hashing algorithm img tests - internal errors, unclear
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #389 +/- ##
==========================================
+ Coverage 83.17% 83.38% +0.21%
==========================================
Files 80 80
Lines 3280 3304 +24
==========================================
+ Hits 2728 2755 +27
+ Misses 552 549 -3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah great thanks for getting this in. Couple of small changes. I'd really like to the pseudo image identifiers that have already been run in production, imagine we can rename easily enough
pixl_imaging/alembic/versions/cb5ee12a6e20_replace_hashed_id_with_pseudo_study_uid.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Stef Piatek <s.piatek@ucl.ac.uk>
…nto peshence/250-pseudo-study-uid
Co-authored-by: Stef Piatek <s.piatek@ucl.ac.uk>
Co-authored-by: Stef Piatek <s.piatek@ucl.ac.uk>
…nto peshence/250-pseudo-study-uid
Replace linking variable
from: PatientID=hash(PatientID+AccesseionNumber)
to: StudyInstanceUID=generate_uid()
Database is queried to check if a UID was already assigned to this image (identified by patient id and accession number for now, but to be switched to StudyUID once OMOP ES starts serving that)