-
Notifications
You must be signed in to change notification settings - Fork 4
only use dcm files for export #471
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
Conversation
dab5ef4
to
a4b7481
Compare
a4b7481
to
55e5086
Compare
src/WorkflowManager/WorkflowExecuter/Services/WorkflowExecuterService.cs
Show resolved
Hide resolved
Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
Signed-off-by: Jack Schofield <jack.schofield@answerdigital.com>
55e5086
to
73a2d7e
Compare
Kudos, SonarCloud Quality Gate passed! |
true); | ||
if (objects.IsNullOrEmpty() is false) | ||
|
||
var dcmFiles = objects?.Where(o => o.FilePath.EndsWith(".dcm"))?.ToList(); |
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.
Sometimes, users may not use .dcm
extension.
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.
Does this change also removes the ability to export HL7/FHIR?
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.
Do we know what other file extensions we will support?
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.
Currently we only support exporting to the dicom scu endpoint. So when we extend the export to other endpoints we can update supported filetypes.
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.
We will need to support DICOM, FHIR, and HL7 but no guarantee what file extensions users will use. Therefore, I think we must document the usage, e.g., without .dcm
we will not export their DICOM files.
Signed-off-by: Jack Schofield jack.schofield@answerdigital.com
Description
Fixes # .
Only submits dicom files for export.
Now fails task and workflow if there are no files to export.
Status
Ready
Types of changes