Skip to content
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(SR): text structured report (TEXT, CODE, NUM, PNAME, DATE, TIME and DATETIME) #4287

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

lscoder
Copy link
Collaborator

@lscoder lscoder commented Jul 12, 2024

Context

Added support for text Structure Reports that can contain TEXT, CODE, NUM, PNAME, DATE, TIME and DATETIME content items, nested containers and separate/continous (0040,a050) ContinuityOfContent. The value types IMAGE, WAVEFORM, COMPOSITE, SCOORD and TCOORD are still not supported. The user shall see "[VALUE_TYPE is not supported]" for each of the unsupported value types.

PS 1: SR Measurement (TID 1500) works as before
PS 2: IMAGE value type support will be added soon and SCOORD/TCOORD later.

Screenshots

Testing

Some SR files can be downloaded from here:
https://www.dropbox.com/scl/fi/mmq2ofh88c9ytn7fmkx7z/Structured-Reports.zip?rlkey=46szt3w974jwlgs0paw617t2l&st=0sglct4o&dl=0

@lscoder lscoder requested a review from sedghi July 12, 2024 12:27
@lscoder lscoder self-assigned this Jul 12, 2024
Copy link

netlify bot commented Jul 12, 2024

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit b3de339
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/6696c26c03a6d400096eeeee
😎 Deploy Preview https://deploy-preview-4287--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jul 12, 2024

Deploy Preview for ohif-dev canceled.

Name Link
🔨 Latest commit b3de339
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/6696c26d384f5f00088ffcbd

Copy link
Member

@sedghi sedghi left a comment

Choose a reason for hiding this comment

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

Very nice addition!

The unit test is failing because you added something to utils in the core. You need to add that to the unit test as well and export it.

@wayfarer3130, I dislike this test.

@lscoder lscoder requested a review from sedghi July 16, 2024 18:56
@wayfarer3130
Copy link
Contributor

Very nice addition!

The unit test is failing because you added something to utils in the core. You need to add that to the unit test as well and export it.

@wayfarer3130, I dislike this test.

Yes, I hate that unit test too.

@lscoder lscoder requested a review from sedghi July 22, 2024 22:14
@sedghi sedghi merged commit 246ebab into OHIF:master Jul 23, 2024
11 checks passed
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.

3 participants