-
Notifications
You must be signed in to change notification settings - Fork 51
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 ProjectID to scanner candidate #914
Conversation
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.
@laemtl Noticed on little mistake in the commented code of MRI.pm. Once resolved, need to recreate the MRI.md file.
Tested and having this error with
|
@regisoc did you source the environment file before running the script? That could explain the error if the file was not sourced before executing the script |
0d669a6
to
6b063ea
Compare
6b063ea
to
4f2c733
Compare
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.
I can see the Tarchive in the db now! LGTM, thanks @laemtl!
dicom-archive/profileTemplate.pl
Outdated
@@ -33,7 +33,7 @@ | |||
# extracts the subject and timepoint identifiers from the patient name | |||
# assumes identifers are stored as <PSCID>_<DCCID>_<visit> in PatientName field, where <visit> is 3 digits. | |||
sub getSubjectIDs { | |||
my ($patientName, $patientID, $scannerID, $dbhr, $db) = @_; | |||
my ($patientName, $scannerID, $dbhr, $db) = @_; |
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.
Wouldn't removing the patientID
field in the prod
file function getSubjectIDs
break some projects that might be using DICOM header PatientID instead of PatientName to determine subject IDs? Unless the value $patientName
is either PatientName
header or PatientID
header based on the lookupCenterName
config value?
@nicolasbrossard thoughts on this?
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.
This change is not necessary if it breaks things. I just noticed it was not used in the default logic.
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.
OK then, if you can revert this specific change just in case there is a project that is using PatientID in their prod file. Thanks!
No description provided.