-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Candidate] Allow null Sex for scanner candidates #7058
[Candidate] Allow null Sex for scanner candidates #7058
Conversation
I don't think this is supposed to be the case. The options for Sex in the candidate table are "enum('Male','Female','Other')". Aren't scanners supposed to be 'Other'? (@cmadjar @nicolasbrossard ?) |
Right. I believe Sex = Other is (or should be) used for Scanners. |
So can we close this? |
My understanding is that the options map directly from the (required) DICOM PatientSex column where scanners are classified as "O"(ther). |
@driusan Right. Maybe change the label to 'Other (scanner)'? Just to emphasize that when you select 'Other' you are not going to get any humans. |
Are we decided on changing the "other" label for sex to "Other (scanner)" for scanners and continuing to not allow null sex? |
No, I don't think "Other (scanner)" makes sense. "Other" does not mean it's a scanner, it means it's not Male or Female. (which happens to include scanners.) |
@driusan So is the action plan to leave it as other, and change the sex of Scanners to "Other" instead of null so that it can still be mapped from DICOM PatientSex column? |
@CamilleBeau I don't understand the question. Isn't that already the behaviour that this PR is trying to change it from? Sorry for the delay in responding. |
@driusan No this PR is working off of scanners having "null" as sex. I'm just a bit unclear of where we want to go with this based on the conversation in this PR. Do we want scanners to have "null", "other", or a unique scanner sex? |
I think "Other", but maybe it's worth holding off until an imaging meeting. |
Ok that sounds good! I'll check in with this soon then. |
@driusan Has an imaging meeting happened yet to give more insight on this? |
As far as I know there hasn't been one yet. |
Will be discussed on Friday. @CamilleBeau let me know if you want to join regarding this bit. |
Discussed at the imaging meeting of June 11th 2021. Instead of modifying the structure of the table to fix the bug in the candidate parameter module, the candidate parameter module should be updated to allow Note: Scanners have the following sex values which is what is reflected in LORIS to identify the scanner's candidate sex: M (male), F (female), O (other). https://dicom.innolitics.com/ciods/general-ecg/patient/00100040 Closing the PR as discussed during the meeting. |
Brief summary of changes
Currently, the default value for "Sex" when a scanner is created is NULL. This causes an error when the candidate profile is visited from the family tab (as described in issue #6990). This PR makes it so that a Sex value is not required when selecting a Candidate to accommodate these Scanner candidates.
Testing instructions (if applicable)
scanner
Link(s) to related issue(s)